Kodi Community Forum

Full Version: [RELEASE] Official XBMC boblight Addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It needs to be close to the first led.
Hi,
I have a Raspberry Pi with Openelec on it.
I connected a strip of LEDs to the SPI through the GPIO.
Both the RPi and the LEDs are powered from the same power supply and the LEDs flash on startup when boblight connects to the boblightd.
I am also able to control the LED colors using boblight-constant.

When I try to play a movie the LEDs will not change color.

Anyone knows what is the solution for this?
I know there is a problem with X11 and RPi, but I also know that Raspbmc is able to do this so maybe the same solution applied there may be applied for Openelec.

Thanks
I have to take my word back! As Memphiz & bobo1on1 said it really looks like a noise issue.
I realized that after I paused a video and leds were still flashing.

Unfortunatelly 1000uF capacitor didn't help. At least not as much as I would like. Flashes are a bit less frequent but they still exist.

Could it be the PSU issue? Any other idea? Thanks.
This is beyond me.
Changed PSU, added capacitor (2 of them) and I still get flashes. Sad
The only remedy is speed=40 with rate=48000 or less.
Is there already 3d support (ou/sbs) in the latest addon?
I can't get boblight to work!
im running on windows 8 with 50 ws2801 hooked up to an arduino uno.
when i start boblight the colorswirl goes of and it says setup succeeded but after that i can't get it working. neither via xbmc plugin or via bobdroid.

here is my boblight.conf
i set the output to com3 (which is correct)
is the channels and type correct?

Code:
#[global]
interface    127.0.0.1
port        19333

[device]
name        ambilight
output     /dev/com3
channels    150
type        atmo
interval    10000
prefix        FF
rate        115200

[color]
name        red
rgb            FF0000
gamma        0.91
adjust        1.0
blacklevel    0.0

[color]
name        green
rgb            00FF00
gamma        0.86
adjust        0.96
blacklevel    0.0

[color]
name        blue
rgb            0000FF
gamma        0.95
adjust        0.8
blacklevel    0.0

[light]
name            50
color           red     ambilight 148
color           green   ambilight 149
color           blue    ambilight 150
hscan           0 4.17
vscan           92.86 100

[light]
name            49
color           red     ambilight 145
color           green   ambilight 146
color           blue    ambilight 147
hscan           0 4.17
vscan           85.71 92.86

[light]
name            48
color           red     ambilight 142
color           green   ambilight 143
color           blue    ambilight 144
hscan           0 4.17
vscan           78.57 85.71

[light]
name            47
color           red     ambilight 139
color           green   ambilight 140
color           blue    ambilight 141
hscan           0 4.17
vscan           71.43 78.57

[light]
name            46
color           red     ambilight 136
color           green   ambilight 137
color           blue    ambilight 138
hscan           0 4.17
vscan           64.29 71.43

[light]
name            45
color           red     ambilight 133
color           green   ambilight 134
color           blue    ambilight 135
hscan           0 4.17
vscan           57.14 64.29

[light]
name            44
color           red     ambilight 130
color           green   ambilight 131
color           blue    ambilight 132
hscan           0 4.17
vscan           50 57.14

[light]
name            43
color           red     ambilight 127
color           green   ambilight 128
color           blue    ambilight 129
hscan           0 4.17
vscan           42.86 50

[light]
name            42
color           red     ambilight 124
color           green   ambilight 125
color           blue    ambilight 126
hscan           0 4.17
vscan           35.72 42.86

[light]
name            41
color           red     ambilight 121
color           green   ambilight 122
color           blue    ambilight 123
hscan           0 4.17
vscan           28.57 35.72

[light]
name            40
color           red     ambilight 118
color           green   ambilight 119
color           blue    ambilight 120
hscan           0 4.17
vscan           21.43 28.57

[light]
name            39
color           red     ambilight 115
color           green   ambilight 116
color           blue    ambilight 117
hscan           0 4.17
vscan           14.29 21.43

[light]
name            38
color           red     ambilight 112
color           green   ambilight 113
color           blue    ambilight 114
hscan           0 4.17
vscan           7.15 14.29

[light]
name            37
color           red     ambilight 109
color           green   ambilight 110
color           blue    ambilight 111
hscan           0 4.17
vscan           0 7.14

[light]
name            36
color           red     ambilight 106
color           green   ambilight 107
color           blue    ambilight 108
hscan           4.17 8.33
vscan           0 7.14

[light]
name            35
color           red     ambilight 103
color           green   ambilight 104
color           blue    ambilight 105
hscan           8.33 12.5
vscan           0 7.14

[light]
name            34
color           red     ambilight 100
color           green   ambilight 101
color           blue    ambilight 102
hscan           12.5 16.67
vscan           0 7.14

[light]
name            33
color           red     ambilight 97
color           green   ambilight 98
color           blue    ambilight 99
hscan           16.67 20.83
vscan           0 7.14

[light]
name            32
color           red     ambilight 94
color           green   ambilight 95
color           blue    ambilight 96
hscan           20.83 25
vscan           0 7.14

[light]
name            31
color           red     ambilight 91
color           green   ambilight 92
color           blue    ambilight 93
hscan           25 29.17
vscan           0 7.14

[light]
name            30
color           red     ambilight 88
color           green   ambilight 89
color           blue    ambilight 90
hscan           29.17 33.33
vscan           0 7.14

[light]
name            29
color           red     ambilight 85
color           green   ambilight 86
color           blue    ambilight 87
hscan           33.33 37.5
vscan           0 7.14

[light]
name            28
color           red     ambilight 82
color           green   ambilight 83
color           blue    ambilight 84
hscan           37.5 41.67
vscan           0 7.14

[light]
name            27
color           red     ambilight 79
color           green   ambilight 80
color           blue    ambilight 81
hscan           41.67 45.83
vscan           0 7.14

[light]
name            26
color           red     ambilight 76
color           green   ambilight 77
color           blue    ambilight 78
hscan           45.83 50
vscan           0 7.14

[light]
name            25
color           red     ambilight 73
color           green   ambilight 74
color           blue    ambilight 75
hscan           50 54.17
vscan           0 7.14

[light]
name            24
color           red     ambilight 70
color           green   ambilight 71
color           blue    ambilight 72
hscan           54.17 58.33
vscan           0 7.14

[light]
name            23
color           red     ambilight 67
color           green   ambilight 68
color           blue    ambilight 69
hscan           58.33 62.5
vscan           0 7.14

[light]
name            22
color           red     ambilight 64
color           green   ambilight 65
color           blue    ambilight 66
hscan           62.5 66.67
vscan           0 7.14

[light]
name            21
color           red     ambilight 61
color           green   ambilight 62
color           blue    ambilight 63
hscan           66.67 70.83
vscan           0 7.14

[light]
name            20
color           red     ambilight 58
color           green   ambilight 59
color           blue    ambilight 60
hscan           70.83 75
vscan           0 7.14

[light]
name            19
color           red     ambilight 55
color           green   ambilight 56
color           blue    ambilight 57
hscan           75 79.17
vscan           0 7.14

[light]
name            18
color           red     ambilight 52
color           green   ambilight 53
color           blue    ambilight 54
hscan           79.17 83.33
vscan           0 7.14

[light]
name            17
color           red     ambilight 49
color           green   ambilight 50
color           blue    ambilight 51
hscan           83.33 87.5
vscan           0 7.14

[light]
name            16
color           red     ambilight 46
color           green   ambilight 47
color           blue    ambilight 48
hscan           87.5 91.67
vscan           0 7.14

[light]
name            15
color           red     ambilight 43
color           green   ambilight 44
color           blue    ambilight 45
hscan           91.67 95.83
vscan           0 7.14

[light]
name            14
color           red     ambilight 40
color           green   ambilight 41
color           blue    ambilight 42
hscan           95.83 100
vscan           0 7.14

[light]
name            13
color           red     ambilight 37
color           green   ambilight 38
color           blue    ambilight 39
hscan           95.83 100
vscan           7.14 14.29

[light]
name            12
color           red     ambilight 34
color           green   ambilight 35
color           blue    ambilight 36
hscan           95.83 100
vscan           14.29 21.43

[light]
name            11
color           red     ambilight 31
color           green   ambilight 32
color           blue    ambilight 33
hscan           95.83 100
vscan           21.43 28.57

[light]
name            10
color           red     ambilight 28
color           green   ambilight 29
color           blue    ambilight 30
hscan           95.83 100
vscan           28.57 35.71

[light]
name            9
color           red     ambilight 25
color           green   ambilight 26
color           blue    ambilight 27
hscan           95.83 100
vscan           35.71 42.86

[light]
name            8
color           red     ambilight 22
color           green   ambilight 23
color           blue    ambilight 24
hscan           95.83 100
vscan           42.86 50

[light]
name            7
color           red     ambilight 19
color           green   ambilight 20
color           blue    ambilight 21
hscan           95.83 100
vscan           50 57.14

[light]
name            6
color           red     ambilight 16
color           green   ambilight 17
color           blue    ambilight 18
hscan           95.83 100
vscan           57.14 64.28

[light]
name            5
color           red     ambilight 13
color           green   ambilight 14
color           blue    ambilight 15
hscan           95.83 100
vscan           64.28 71.43

[light]
name            4
color           red     ambilight 10
color           green   ambilight 11
color           blue    ambilight 12
hscan           95.83 100
vscan           71.43 78.57

[light]
name            3
color           red     ambilight 7
color           green   ambilight 8
color           blue    ambilight 9
hscan           95.83 100
vscan           78.57 85.71

[light]
name            2
color           red     ambilight 4
color           green   ambilight 5
color           blue    ambilight 6
hscan           95.83 100
vscan           85.71 92.85

[light]
name            1
color           red     ambilight 1
color           green   ambilight 2
color           blue    ambilight 3
hscan           95.83 100
vscan           92.85 100

also here is the output of the boblight window with me starting xbmc (xbmc saying boblight connected) and then starting a movie...

Image

any ideas whats wrongHuh
(2013-06-03, 19:31)pseudoheld Wrote: [ -> ]any ideas whats wrongHuh

http://forum.xbmc.org/showthread.php?tid...pid1059881

read that and check the boblight.conf Big Grin

150 channels, at the correct prefix is necessary.
If your device is an Adalight like, your device type is wrong. It must be 'momo'
Also prefix for 50leds is 41 64 61 00 31 64
Is there a way to disable / enable the addon with a key combination?
As far as I know, boblight only works with Raspbmc. The addon is for a static boblight, not dynamic where it changes according to the video that's being play...



(2013-05-31, 19:22)brooc Wrote: [ -> ]Hi,
I have a Raspberry Pi with Openelec on it.
I connected a strip of LEDs to the SPI through the GPIO.
Both the RPi and the LEDs are powered from the same power supply and the LEDs flash on startup when boblight connects to the boblightd.
I am also able to control the LED colors using boblight-constant.

When I try to play a movie the LEDs will not change color.

Anyone knows what is the solution for this?
I know there is a problem with X11 and RPi, but I also know that Raspbmc is able to do this so maybe the same solution applied there may be applied for Openelec.

Thanks
(2013-06-05, 22:13)bluem6 Wrote: [ -> ][..] The addon is for a static boblight, not dynamic where it changes according to the video that's being play...[..]

Bullshit award from me...
I could be wrong, just trying to help..

(2013-06-06, 15:21)Memphiz Wrote: [ -> ]
(2013-06-05, 22:13)bluem6 Wrote: [ -> ][..] The addon is for a static boblight, not dynamic where it changes according to the video that's being play...[..]

Bullshit award from me...
Memphiz, is it possible to get boblight support for displaying photos?
I agree it may look wierd with vertical shots but nevetheless...
That would sadly be the same like with menu afaik ...
new setup:

Image
Image