Kodi Community Forum
[RELEASE] Official XBMC boblight Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152)
+---- Thread: [RELEASE] Official XBMC boblight Addon (/showthread.php?tid=116331)



- beta-j - 2012-03-03

I'm trying to run boblight in conjunction with Arduino (based on this tutorial: http://hackhappy.org/linux/build-your-own-ambilight-system-ubuntu-xbmc-boblight/#comment-36)

when I try running $ boblightd& I get the following message:

ERROR: /etc/boblight.conf line 7: unknown key output.

Line 7 of boblight.conf reads:
output /dev/ttyACM0


any ideas what might be wrong here please?


- bobo1on1 - 2012-03-04

Can you post your boblight.conf ?


- Memphiz - 2012-03-04

phil65 Wrote:/dev/ttyS0 seems to connect, but i do not get any light when using the boblight xbmc client. any other ideas?
would it be possible to run the openwrt package on a fritzbox with freetz installed? would be my plan B Big Grin

nope openwrt is not compatible with fritzbox...


- phil65 - 2012-03-04

Memphiz Wrote:nope openwrt is not compatible with fritzbox...

Ok, then I have to find another solution. could it work with a VM? would i be able to access the usb ports there?
a windows version would be sooo nice, more people should be able to use this great tool. tv looks boring without it now Big Grin


- beta-j - 2012-03-04

[global]
interface 127.0.0.1
port 19333

[device]
Here it is - I just copied it off the tutorial page.
Quote:name arduino
output /dev/ttyACM0
channels 6
type momo
interval 20000
rate 38400
prefix 55 AA

#arduino bootloader runs when opening the serial port for the first time
#delay transmission one second after opening so we don.t send shit to the bootloader
delayafteropen 1000000
#debug on

[color]
name red
rgb FF0000

[color]
name green
rgb 00FF00

[color]
name blue
rgb 0000FF

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

[color]
name white
rgb FFFFFF
adjust 0.3
blacklevel 0.7
gamma 1.6

[light]
name main
color red arduino 5
color green arduino 6
color blue arduino 4
hscan 0 50
vscan 0 100



- Memphiz - 2012-03-04

phil65 Wrote:Ok, then I have to find another solution. could it work with a VM? would i be able to access the usb ports there?
a windows version would be sooo nice, more people should be able to use this great tool. tv looks boring without it now Big Grin

sure a linux vm should do it. When using virtual box even usb should work...


- bobo1on1 - 2012-03-04

beta-j Wrote:[global]
interface 127.0.0.1
port 19333

[device]
Here it is - I just copied it off the tutorial page.

Can you post the exact file you're using?


- phil65 - 2012-03-04

Memphiz Wrote:sure a linux vm should do it. When using virtual box even usb should work...

nice.
i got really fast support in the freetz forum, see here:

http://www.ip-phone-forum.de/showthread.php?t=246134&p=1812494#post1812494

will try that first Smile add that link to the first post if you want.


- Memphiz - 2012-03-05

I would link it if it was a bit more userfriendly and official...


- beta-j - 2012-03-05

what do you mean exactly by 'post the exact file'?

I copied my boblight.conf and pasted in my previous reply


- schumi2004 - 2012-03-05

Does anyone have the 64bits binary used by XBMC Boblight to use in OpenELEC?

I tried several re-installes (clean and upgrades) without luck, everytime i'm getting the message library missing.


- bobo1on1 - 2012-03-05

beta-j Wrote:what do you mean exactly by 'post the exact file'?

I copied my boblight.conf and pasted in my previous reply

The error you're getting is impossible, and the only other time I've seen someone having problems with the config file is when it was saved as UTF-8 instead of ascii.


- beta-j - 2012-03-05

bobo1on1 Wrote:The error you're getting is impossible, and the only other time I've seen someone having problems with the config file is when it was saved as UTF-8 instead of ascii.

hehe..that's intersting. Can you tell me what i can do to check whether the file is ASCII?

I just did $ sudo nano /etc/boblight.conf to create the file and pasted the text in there over SSH.


- bobo1on1 - 2012-03-06

file /etc/boblight.conf
That should tell you enough.

It's also possible that the [device] line is not correct.


- beta-j - 2012-03-06

"$ file /etc/boblight.conf
/etc/boblight.conf: ASCII English text"

so I guess that's not the issue..

any pointers on what I should check about the [device] line?

the error specifically points to the "output /dev/ttyACM0" line, but I'm pretty sure that this is correct . I tried dmesg | tail just after connecting the Arduino and it showed ttyACM0 ... is there some other way I can check that this is the correct port?

I'm using an Arduino Uno board....does that make any difference?


bobo1on1 Wrote:file /etc/boblight.conf
That should tell you enough.

It's also possible that the [device] line is not correct.