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)



RE: [RELEASE] Official XBMC boblight Addon - POst05 - 2012-07-20

Hi,

i installed ubuntu on my htpc again. it works much better than windows :-) My Setup: 55" TV and 50 LEDs adalight.
At boot boblight-Deamon starts (rc.local) and 5 sec later boblight-X11 starts too. If i listen music or i'm in the menu, then boblight-x11 detects the colors. But if a start a film the xbmc boblight plugins starts and overwrite boblight-x11 without any problems (priorities). that is inposible with windows on a low end pc!

Also i think boblight detects the audio and lights up. Are there any settings to edit? I made a little video.

Look: https://www.dropbox.com/s/0ucjlwe7eqvt266/20120718_131552.mp4


RE: [RELEASE] Official XBMC boblight Addon - Fire - 2012-07-20

(2012-07-16, 20:32)plfort Wrote: I have EXACTLY the same problem as you Fire, I sent PM to bobo1on1 and he explained me that video playback on raspberry doesn't use GLES so the RenderCapture interface can't grab the frame.
I use raspbmc, I cant post on the raspbmc forum, Varnish send me 503 ...

So what can we do? is it possible to add the functionallity to this addon so it works on the Raspberry Pi?


RE: [RELEASE] Official XBMC boblight Addon - Memphiz - 2012-07-20

nope.


RE: [RELEASE] Official XBMC boblight Addon - OOge - 2012-07-20

(2012-07-19, 23:58)Memphiz Wrote: post the xbmc.log to pastebin and put the link here.

http://pastebin.com/7Fsa3LD2


RE: [RELEASE] Official XBMC boblight Addon - F0x123 - 2012-07-20

(2012-03-30, 10:54)MrHenky Wrote:
(2012-03-29, 16:18)bobo1on1 Wrote: I've seen that before, apparently if you use a different program first to open the com port, and then open it with boblightd it works ok, I suspect it's a problem in cygwin.

You were totally right. I've first used Lightpack to open the com-port. When I started boblight it said, that the port is in use, which makes sense. Closing lightpack and starting boblight again and it worked. Also XBMC is successfully connecting. Since I'm working remote on my computer, I can't tell if the lights were on but hey... it finally seems to be working.

Did you solve this problem? I got the same issue. I have to first open the port via atmowin or the Arduino IDE software and then bobligh works. Otherwise I get this error:

Code:
C:\Users\htpc\Downloads\boblight\boblightd>boblightd.exe -c boblight.conf
ERROR: unable to make directory /home/htpc/.boblight/:
No such file or directory
(PrintFlags)                    starting boblightd -c boblight.conf
(CConfig::LoadConfigFromFile)   opening boblight.conf
(CConfig::CheckConfig)          checking config lines
(CConfig::CheckConfig)          config lines valid
(CConfig::BuildConfig)          building config
(CConfig::BuildConfig)          built config successfully
(main)                          starting devices
(CClientsHandler::Process)      opening listening socket on 127.0.0.1:19333
(CDevice::Process)              ambilight: starting with output "/dev/com3"
(CDevice::Process)              ambilight: setting up
(CDeviceRS232::OpenSerialPort)  ERROR: ambilight: /dev/com3: tcgetattr() Invalid
argument
(CDeviceRS232::OpenSerialPort)  ambilight: /dev/com3 had a non fatal error, it m
ight still work, continuing



RE: [RELEASE] Official XBMC boblight Addon - Memphiz - 2012-07-20

(2012-07-20, 12:46)OOge Wrote:
(2012-07-19, 23:58)Memphiz Wrote: post the xbmc.log to pastebin and put the link here.

http://pastebin.com/7Fsa3LD2

The boblight printouts are looking very good. You have a 46 channels setup as it seems and all settings are set correctly. So you have to check your backend (e.x. boblightd.conf). Does it work with boblight-constant?


RE: [RELEASE] Official XBMC boblight Addon - OOge - 2012-07-20

sorry....new to boblight. I was an atmowin user Smile
Where can I find boblight constant


RE: [RELEASE] Official XBMC boblight Addon - OOge - 2012-07-21

anybody?....missing my light during the movies Wink


RE: [RELEASE] Official XBMC boblight Addon - bobo1on1 - 2012-07-21

Try setting the baudrate for the port in the windows control panel, it might work that way.


RE: [RELEASE] Official XBMC boblight Addon - OOge - 2012-07-22

boblight runs at 50000. that can"t be set in control panel.


RE: [RELEASE] Official XBMC boblight Addon - F0x123 - 2012-07-22

anybody who can help me to trigger the com3 port without first using another programm?


RE: [RELEASE] Official XBMC boblight Addon - ramouch0 - 2012-07-25

Are you using an Arduino board ?
Try to reinstall FTDI drivers : http://arduino.cc/en/Guide/Windows#toc4

or try with /dev/ttyS2 instead of /dev/com3


RE: [RELEASE] Official XBMC boblight Addon - zwickl - 2012-07-29

Hello there,

first of all: Thank you for your Addon and the work you're putting in. I'm having a little trouble with the boblight configuration, and am hoping to get some help Smile

My setup:
- Arduino Duemilanove
- Mac OS X (boblightd build from the source (without portaudio, opengl, x11, prefix=/usr)
- 50 RGB LED Strip with LPD6803 IC
- PIN 11 is Data, PIN 13 clk (as also defined in the fastSPI lib)

*.INO, boblightd debug dump, xbmc log & my boblight.config

So INO compiles, boblightd connects to Arduino, but I have 3-5 LED's flickering wildly (LED21,22,24,25). When I start XBMC with boblight addon the "rainbow" when finding the daemon is in false colors. The LED's are updated when playing a movie, but again flikering (half of them) and false colors.
Do you have any suggestions ? I came so close and my gf is slowly starting rage mode as I'm spending so much time with the Ambilight Solution Wink

Thank you in advance,
Christian


RE: [RELEASE] Official XBMC boblight Addon - ramouch0 - 2012-07-30

It seems that your prefix should be FF 00 00 according to your .ino.

play with this line to reduce the flickering
Code:
FastSPI_LED.setDataRate(4);

It depends on your strip, but if color are still wrong you may also need to swap RGB to GRB or BRG
Code:
struct CRGB { unsigned char b; unsigned char r; unsigned char g; }



RE: [RELEASE] Official XBMC boblight Addon - bobo1on1 - 2012-07-30

(2012-07-22, 08:31)OOge Wrote: boblight runs at 50000. that can"t be set in control panel.
That's the interval, not the baudrate.