This is a pretty hackish implementation of the Boblight deamon.
It is designed to provide basic Boblight functionality and to control IKEA dioder LED strips using an Arduino.
It is based upon Daniel Kennetts "Nerd++: Controlling Dioder RGB LED Strips With Arduino (Pt. 1)". His Arduino sketch can be found here on GitHub.
This is most definitely not the way to use Boblight and there are ways to achieve similar results using the official boblightd, but I needed somehting quick and dirty to communicate with the Arduino and filter/smooth colors and intensity.
pip install pyserial
$ ./boblightd.py localhost:5555
Now you can start a Boblight client, e.g.
$ boblight-X11 -slocalhost:5555 -y off
- XBMC Boblight addon (see notes below!)
- a timeout prevents the XBMC Boblight addon from connecting to simple boblightd. You can increase the timeout in the connect method in
~/.xbmc/addons/script.xbmc.boblight/resources/lib/boblight.py
(currently on line 132)