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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Service Add-ons (/forumdisplay.php?fid=152)
+---- Thread: [RELEASE] Official XBMC boblight Addon (/showthread.php?tid=116331)



- beta-j - 2012-03-03 23:57

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 00:49

Can you post your boblight.conf ?


- Memphiz - 2012-03-04 03:11

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 11:37

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 13:58

[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 14:50

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 17:31

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 19:06

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 00:36

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


- beta-j - 2012-03-05 11:13

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 15:39

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 16:19

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 16:21

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 04:16

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 19:33

"$ 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.