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.
I just received my Ambiledhd.com Adalight compatible kit. In total its 450cm long and has 85 leds top and bottom and 50 leds on each side. I have successfully made a boblight.conf but it seems a bit slow and colors are still a bit off. Running Openelec btw. Any help would be greatly appreciated!!

My config looks like this:

#[global]
interface 127.0.0.1
port 19333

[device]
name ambilight
output /dev/ttyUSB0
type momo
channels 810
prefix 41 64 61 01 0D 59
interval 120000
rate 115200
debug off
delayafteropen 1000000

[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
Just received my Lightpack and read that the Boblight plugin can be used to control it...

I'm stuck at this point:
(2011-12-06, 23:11)Memphiz Wrote: [ -> ]Linux:
goto the projects site http://code.google.com/p/boblight/ and download the source code.

How do I download the source code?
Is
Code:
wget -r https://code.google.com/p/boblight/source/browse/#svn
correct?
The instructions here seem pretty clear http://code.google.com/p/boblight/source/checkout
Okay, I installed subversion now, and entered
Code:
./configure --without-portaudio --without-opengl --without-x11 --prefix=/usr
in the boblight-read-only directory.

After checking some things these warning message appears:
Code:
configure: WARNING: --without-portaudio passed, boblightd will not have support for sound devices
configure: WARNING: --with-ola not passed, boblightd will not have support for ola
configure: WARNING: --with-ffmpeg not passed, boblight-v4l will not be built (if you don't plan to use boblight-v4l this is ok!)
configure: WARNING: --without-opengl passed, boblight-X11 will not be able to capture on vblanks
configure: WARNING: --without-x11 passed, boblight-X11 and boblight-v4l will not be built

Can I ignore these warnings?

EDIT:

Okay, I ran
Code:
make && sudo make install

and get the following:

Code:
[email protected]:~/boblight-read-only# make && sudo make install
make  all-recursive
make[1]: Entering directory `/home/xbmc/boblight-read-only'
Making all in src
make[2]: Entering directory `/home/xbmc/boblight-read-only/src'
source='lib/boblight_client.cpp' object='libboblight_la-boblight_client.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-boblight_client.lo `test -f 'lib/boblight_client.cpp' || echo './'`lib/boblight_client.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight_client.cpp  -o .libs/libboblight_la-boblight_client.o
../libtool: line 984: g++: command not found
make[2]: *** [libboblight_la-boblight_client.lo] Error 1
make[2]: Leaving directory `/home/xbmc/boblight-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/boblight-read-only'
make: *** [all] Error 2

After some research I did
Code:
apt-get install g++

Now the ouput of make is:

Code:
[email protected]:~/boblight-read-only# make && sudo make install
make  all-recursive
make[1]: Entering directory `/home/xbmc/boblight-read-only'
Making all in src
make[2]: Entering directory `/home/xbmc/boblight-read-only/src'
source='lib/boblight_client.cpp' object='libboblight_la-boblight_client.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-boblight_client.lo `test -f 'lib/boblight_client.cpp' || echo './'`lib/boblight_client.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight_client.cpp  -o .libs/libboblight_la-boblight_client.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight_client.cpp >/dev/null 2>&1
source='lib/boblight.cpp' object='libboblight_la-boblight.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-boblight.lo `test -f 'lib/boblight.cpp' || echo './'`lib/boblight.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight.cpp  -o .libs/libboblight_la-boblight.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c lib/boblight.cpp >/dev/null 2>&1
source='util/messagequeue.cpp' object='libboblight_la-messagequeue.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-messagequeue.lo `test -f 'util/messagequeue.cpp' || echo './'`util/messagequeue.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c util/messagequeue.cpp  -o .libs/libboblight_la-messagequeue.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c util/messagequeue.cpp >/dev/null 2>&1
source='util/misc.cpp' object='libboblight_la-misc.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-misc.lo `test -f 'util/misc.cpp' || echo './'`util/misc.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c util/misc.cpp  -o .libs/libboblight_la-misc.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c util/misc.cpp >/dev/null 2>&1
source='util/tcpsocket.cpp' object='libboblight_la-tcpsocket.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../depcomp \
        /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..      -c -o libboblight_la-tcpsocket.lo `test -f 'util/tcpsocket.cpp' || echo './'`util/tcpsocket.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c util/tcpsocket.cpp  -o .libs/libboblight_la-tcpsocket.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -c util/tcpsocket.cpp >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX   --mode=link g++     -o libboblight.la -rpath /usr/lib libboblight_la-boblight_client.lo libboblight_la-boblight.lo libboblight_la-messagequeue.lo libboblight_la-misc.lo libboblight_la-tcpsocket.lo  -ldl -lm -lrt -lpthread
libtool: link: (cd ".libs" && rm -f "libboblight.so.0" && ln -s "libboblight.so.0.0.0" "libboblight.so.0")
libtool: link: (cd ".libs" && rm -f "libboblight.so" && ln -s "libboblight.so.0.0.0" "libboblight.so")
libtool: link: ar cru .libs/libboblight.a  libboblight_la-boblight_client.o libboblight_la-boblight.o libboblight_la-messagequeue.o libboblight_la-misc.o libboblight_la-tcpsocket.o
ar: libboblight_la-boblight_client.o: No such file or directory
make[2]: *** [libboblight.la] Error 1
make[2]: Leaving directory `/home/xbmc/boblight-read-only/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xbmc/boblight-read-only'
make: *** [all] Error 2
try
Code:
apt-get install build-essential
Code:
build-essential is already the newest version.

Has anyone already successfully installed this plugin under KODIbuntu 14?
@protoheon - redo the steps for building boblight now that you have g++ and stuff installed ... it should build fine imo.
If building failed it pays to do a
Code:
make clean
before trying again.
Thanks, built boblight from scratch successfully.
Next problem: When I start up Kodi an error message pops up saying
"Unable to connect to boblightd."
you need to configure the addon and point it to your running boblightd (you need to configure boblightd and start it before even beeing able to make use of it). You should really try to find and follow one of the various tutorials floating around in the interwebs.
hello! I am new in the forum . I have problems with the minix x8 - h and the link to my macbook pro . I wanted to share via wifi with sharing folders via xbmc . But fails to see the mac , while a Windows PC recognizes it . Can anyone help me ? Smile Thank you very much !!Angel
(2015-02-04, 10:48)pinuzzina Wrote: [ -> ]hello! I am new in the forum . I have problems with the minix x8 - h and the link to my macbook pro . I wanted to share via wifi with sharing folders via xbmc . But fails to see the mac , while a Windows PC recognizes it . Can anyone help me ? Smile Thank you very much !!Angel
Please, your post has nothing to do with the thread you have posted it in. Please start another thread.
I have some problems with boblight not turning probably off.

The boblight works flawless in functions, turns perfectly on as openelec starts and shut down as i turn my system off.

But almost every time i turn it off, it starts 1/2 (sometimes more) RGB leds from the ws2801 strip (it's always the first leds from the raspberry connection) after around 1 min

Does anyone know what the problem could be?
and which color?
Mostly red/purple color. Yesterday the first rbg had light, the second was closed, and 3 had light. [/u]