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.
hello guys I'm Newby here and I have one questions
- does any one have experience with this setup
http://www.ebay.co.uk/itm/251610892055 and if it's working on Android xbmc?
Can anyone help me understand why my config doesn't work. I had boblight working great in windows with an arduino uno setup and a 50 light config.

I then moved to openelec and installed the boblight daemon and addon. With the sample config half of my lights come on. I changed the channels in the example conf to 150 from 75, and also the prefix to 41 64 61 00 31 64 to match what I had in my working windows config. This still worked with half the lights, so I then turned my attention to the [light] settings...

This is what I have put in from my windows .conf file - but with this boblightd doesn't start properly and the addon cant connect to it. The working config from the example is underneath. I assume that openelec doesn't like the vscan or hscan values that my windows conf used - can anyone help me understand that I need to do to fix?


Code:
[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


the below works, but doesn't have enough lights and I cant vouch for the spacing until its working either. I am only showing the first 3 lights as an example but if you need the whole lot just let me know.

Quote:[light]
name light1
color red device1 1
color green device1 2
color blue device1 3
hscan 33.33 44.44
vscan 83.33 100

[light]
name light2
color red device1 4
color green device1 5
color blue device1 6
hscan 22.22 33.33
vscan 83.33 100

[light]
name light3
color red device1 7
color green device1 8
color blue device1 9
hscan 11.11 22.22
vscan 83.33 100
What is the error message when boblightd fails to start?
(2015-01-11, 05:21)MrHenky Wrote: [ -> ]Since it is not possible to copy the libboblight.so into the /data/data/org.xbmc.kodi/files/libboblight.so folder without root, can the apk file be altered to have the file in there in the beginning? On my HTC One, where I have root, the boblight plugin installed and worked right away. In the /data/data/org.xbmc.kodi/lib folder were a lot of other Kodi related files, so getting files there is possible. Just not afterwards, which sucks, if one does not have root.

I just had to find out, that XBMC Boblight installs just fine when using Kodi. I was using Gotham before (didn't mention it), since I always prefer eyecandy and the NEON skin just delivered that but Titan Mediabrowser Skin is also awesome. So Kodi on FireTV with XBMC Boblight Plugin just works fine.
I've managed to get boblight working on my RPi2 with openelec and everything is fine except when the colour yellow is displayed I get a red from the LEDs - does anyone have any advice on how to solve this, or how to change my conf file? Here is the important part of my conf file.

Code:
[color]
name          red
rgb              FF0000
gamma          1.6
adjust          0.9
blacklevel    0.0

[color]
name          grn
rgb              0000FF
gamma          1.0
adjust          1.0
blacklevel    0.0

[color]
name          blu
rgb              00FF00
gamma          1.0
adjust        1.0
blacklevel    0.0

[color]
name          yellow
rgb           FFFF00
adjust        0.5
blacklevel    0.0
gamma         2.3

[color]
name          white
rgb           FFFFFF
adjust        0.3
blacklevel    0.0
gamma         1.6
remove yellow and white definitions - they will be mixed from rgb ... or dou you have some special sort of rgbyw leds? ^^
(2015-02-16, 16:15)Memphiz Wrote: [ -> ]remove yellow and white definitions - they will be mixed from rgb ... or dou you have some special sort of rgbyw leds? ^^

Definitely not some rgbyw leds! However I added this to see if additional definitions would help (that was some of the ideas I came across when looking on the internet). Without the Y/W definitions I still get red when there is yellow on screen - any other ideas on how to change that?
Please post your Full config to pastebin and put a link to it in here...
Thanks for looking at this Memphiz, here is the pastebin of the boblight.conf file

http://pastebin.com/P0J1pLuN
well i think that red should be ff0000, green should be 00ff00 and blue should be 0000ff its called RGB afterall not RBG beside that i would say that file looks ok. I have no experience with lightpack - so not much of a help i think.
Image

Can anyone explain why i have such an annoying icon keep blinking at the top of GUI, is it from boblight (looks like) or maybe from hyperion?
Your RPI power supply is inadequate.
(2015-02-18, 22:50)supermax43 Wrote: [ -> ]http://oi62.tinypic.com/34oojl1.jpg

Can anyone explain why i have such an annoying icon keep blinking at the top of GUI, is it from boblight (looks like) or maybe from hyperion?
@teeedubb is right, rainbow square is a Raspberry Pi warning for low voltage, have a look here for detailed explanation: http://www.raspberrypi.org/forums/viewto...29&t=82373
Any reason why all of my options only show preset?

Image
You need to select the "custom" preset for beeing able to specify custom options. *facepalm*