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.
(2014-03-29, 16:30)cryss Wrote: [ -> ]Hello there, as you can see, i am absolutely new here...

i have a raspberry pi running raspbmc and have newly bought a light pack.

my problem is that i can´t get it to run.
i have followed this tutorial, but my lights won´t light.

http://ajpawelski.wordpress.com/how-to-r...-lightpack

have i missed something?
when i fire up raspbmc i always get a "failed to connect to boblightd" error...but what can i do?

please help me!!!
thank you very much!

edit:

i have also tried this one here:
http://ajpawelski.wordpress.com/how-to-r...1-strip-2/

same result...nothing.

putting the lightpack at my PC...it works and starts shining....

Boblight in XBMC is just the XBMC side of the boblight equation. You still need to run boblightd (or hyperion) system wide for the boblight plugin to connect to.
I know in openELEC there's actually a plugin to install boblightd (the daemon) easily, but on raspxbmc you should probably just use hyperion like in the link you posted.

If you follow the guide you posted http://ajpawelski.wordpress.com/how-to-r...1-strip-2/ it should work.

Note the importance of the config file and rebooting to get it working. If you use HyperCon to make your config, you need to make sure you change the output section to point to the right place to find your light pack.

You can find it pretty easily by using
ls /dev/
with the light pack plugged in and unplugged. Whatever disappears and reappears in that list is what you'll want to use (note which USB plug you use may have an effect so always leave it plugged in the same port). If that doesn't work it maybe in a nested folder. On openELEC my adalight appeared in /dev/serial/
Hello guys! I need some help and this is NOT a joke (April's 1st)! Angel

Setup:
- I have an Arduino One R3 loaded with Adalight code http://learn.adafruit.com/adalight-diy-a...nd-install
- I have a WS2801 LED strip with 72 chips/channels, each chip controls 3 LED's (216 LED, 72 ch.)
- Testing the entire stream with a color swirl code, all LED's are working perfectly and each chip is addressed properly.
- Installed boblight with no errors, XBMC shows "Connected to Boblight".
- Using the interface that "Hansaplast" beautifully developed, I set the config exactly as per my setup: 11+11 channels bottom, 14 ch left and right and 22 ch up, clockwise. The com speed is the same as per Arduino code, 115200
- The generated conf file is http://pastebin.com/SCN8KhRn
- I put into rc.local before the "exit 0" the following:
chmod 777 /dev/ttyACM0
sleep 5
su - htpc -c "boblightd -f"

Problem: It works only the first bottom-half and the left side, about 1/4 of the entire LED strip (25 channels). I tried with few config but no success. Please help. Once again: the entire LED strip works fine and each chip could be addressed (tested with colour swirl pde).

Note: I was unable to run the "Boblight Config Maker" in Ubuntu 12 (where/how to install it and how to run it?) so I ran it on my mac where I generated the config file.

.... to add more info:
I believe that boblight connects fine, here is the boblight.log from ".boblight" folder: http://pastebin.com/4q7pZSjs

And here the snapshot before creating the conf file. http://imgur.com/NR762dv

Image
(2014-04-01, 19:19)Angi321 Wrote: [ -> ]Hello guys! I need some help and this is NOT a joke (April's 1st)! Angel

Setup:
- I have an Arduino One R3 loaded with Adalight code http://learn.adafruit.com/adalight-diy-a...nd-install
- I have a WS2801 LED strip with 72 chips/channels, each chip controls 3 LED's (216 LED, 72 ch.)
- Testing the entire stream with a color swirl code, all LED's are working perfectly and each chip is addressed properly.
- Installed boblight with no errors, XBMC shows "Connected to Boblight".
- Using the interface that "Hansaplast" beautifully developed, I set the config exactly as per my setup: 11+11 channels bottom, 14 ch left and right and 22 ch up, clockwise. The com speed is the same as per Arduino code, 115200
- The generated conf file is http://pastebin.com/SCN8KhRn
- I put into rc.local before the "exit 0" the following:
chmod 777 /dev/ttyACM0
sleep 5
su - htpc -c "boblightd -f"

Problem: It works only the first bottom-half and the left side, about 1/4 of the entire LED strip (25 channels). I tried with few config but no success. Please help. Once again: the entire LED strip works fine and each chip could be addressed (tested with colour swirl pde).

Note: I was unable to run the "Boblight Config Maker" in Ubuntu 12 (where/how to install it and how to run it?) so I ran it on my mac where I generated the config file.

.... to add more info:
I believe that boblight connects fine, here is the boblight.log from ".boblight" folder: http://pastebin.com/4q7pZSjs

Did you check whether your prefix is oke?
(2014-04-01, 20:59)George Wrote: [ -> ]Did you check whether your prefix is oke?

I am not sure how to do it. The prefix was automatically generated by the conf maker and it is: 41 64 61 00 18 4D
(2014-04-01, 21:05)Angi321 Wrote: [ -> ]
(2014-04-01, 20:59)George Wrote: [ -> ]Did you check whether your prefix is oke?

I am not sure how to do it. The prefix was automatically generated by the conf maker and it is: 41 64 61 00 18 4D

I don't know which Arduino code you use, but if you use the Adalight code from the Adafruit site you can calculate your prefix like described in this post:

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

(2014-04-01, 21:05)Angi321 Wrote: [ -> ]
(2014-04-01, 20:59)George Wrote: [ -> ]Did you check whether your prefix is oke?

I am not sure how to do it. The prefix was automatically generated by the conf maker and it is: 41 64 61 00 18 4D

For 72 LED's the prefix should be 41 64 61 00 47 12. The prefix you're using is for 25 LED's.
Thank you George. I should have asked about my problem many hours ago. I have just replaced the number you calculated and now it works! Blush
Wasn't the config maker by Hansaplast to automatically calculate the prefix once you enter the LED's number?
Thank you very much indeed!

I set the boblight in xbmc to respond "fast" to all but it still has a lag of half second. Is there anything else to do?
(2014-04-01, 22:15)Angi321 Wrote: [ -> ]Thank you George. I should have asked about my problem many hours ago. I have just replaced the number you calculated and now it works! Blush
Wasn't the config maker by Hansaplast to automatically calculate the prefix once you enter the LED's number?
Thank you very much indeed!

I set the boblight in xbmc to respond "fast" to all but it still has a lag of half second. Is there anything else to do?

You're welcome Blush

The configmaker uses a fixed prefix, Hansaplast uses a fixed Prefix in his Arduino code for 2812 LED's, so that's why...

You can try to play around with the custom settings. I think the fast is too fast and the threshold is too low for my linking, try Hansaplast's site and read the comments, you'll find some useful tips over there.
I was going to ask what purpose could putting the # of LEDs into the prefix serve either than making it more complicated but just realized that it could be used to avoid having to recompile/edit the code for your arduino if you wanted to change the number of LEDs.
I still cannot find clear info about boblight such as how to tune the values/response and what do they mean or how to turn it OFF by remote. I had a different setup before with other hardware running lightpack and the colours, the response it seemed very decent "out of the box" but NOT with boblight. There are obviously some lack of s/w settings, it is not as some other may say as "personal preferences".

The reliability is another issue: It already happened few times when just stopped working and only by rebooting I could run it again. Is the stability a known issue?
Please help me.
Ok. I have a problem here.
Setup:
Mac with OS X
Arduino UNO with WS2801 LED strip loaded with Adalight code http://learn.adafruit.com/adalight-diy-a...nd-install
Tested all system everything works fine. Boblight is installed on XBMC
XBMC says 'failed to connect to bob light'
What do I have to do the to get connect to bob light?
Also I created a config file with Boblight config maker. Where do I have to put that file?
Please help me out with this....
You don't mention installing the boblight daemon. There are two bits of software here. boblightd the daemon (or server) and the boblight XBMC addon.
@pauliuss
This may help you
http://forum.xbmc.org/showthread.php?tid=188201

you have to have a Deamon - as nickr told you already
Thank you!
So, looks like that without raspberry pi I cannot do anyting?
Firstly apologies for creating a new thread but the official Boblight thread has been closed for some unknown reason.

I was wondering if anyone could tell me what values the XBMC Boblight addon uses for the 'fast' preset? I want to adjust the saturation levels but when I change to 'custom' all the values are zeroed out:

Image

I would like to start with the same settings that 'fast' uses and tweak from there.

Also, I have noticed that running Boblight on my Asus E35M1-I Deluxe (AMD E-350 platform) causes video frames to be dropped. Is there anything I can do to improve this? Let me know if there's any more info I need to provide.