[RELEASE] Official XBMC boblight Addon

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
FocalFury Offline
Junior Member
Posts: 23
Joined: Feb 2012
Reputation: 0
Post: #286
(2012-03-22 20:37)lrusak Wrote:  
(2012-03-22 20:23)FocalFury Wrote:  
Quote:do you have the boblight debug log turned on? could you post it?

Could you post your boblight config?
Ya let me jump to the HTPC and get the conf file....
boblight.conf http://pastebin.com/vk9KfC50

the log keeps infinitely making this
http://dl.dropbox.com/u/1545535/log1.png

a couple things, firstly turn the debug option on in the config file. secondly are you sure it's /dev/com3 ? have you verified this in any way?

Thirdly, I had problems when mine was set to 127.0.0.1, I changed it to 0.0.0.0 and it worked, but this can be seen after you enable the debug option

I actually turned the debug back on so i could take the screenshot.....i don't know what the dev stands for but it IS on com3, figured it out when i installed the drivers manually for the arduino...
same type of results when i do the 0.0.0.0
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,850
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #287
using boblight-constant is as easy as doing

boblight-constant FF0000

this would turn all leds RED ... 00FF00 all green, 0000FF all blue.

Just start boblightd and instead of using XBMC start boblight-constant with the wanted parameters on a commandline.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
phil65 Online
Skilled Skinner
Posts: 4,488
Joined: Mar 2009
Reputation: 60
Location: Cologne, Germany
Post: #288
(2012-03-19 12:51)phil65 Wrote:  sorry Tongue
@Memphiz/Bobo1on1: do you have an idea for my problem? or can i cancel the project "boblightd on fritzbox"? Big Grin
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,850
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #289
you want my opinion? Fritzbox sucks as a plattform for geeks...

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
phil65 Online
Skilled Skinner
Posts: 4,488
Joined: Mar 2009
Reputation: 60
Location: Cologne, Germany
Post: #290
i´d also prefer a different router, it was a present from my provider...
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,758
Joined: Dec 2008
Reputation: 22
Post: #291
Put a space on every empty line in boblight.conf and check if that makes any difference.
find quote
phil65 Online
Skilled Skinner
Posts: 4,488
Joined: Mar 2009
Reputation: 60
Location: Cologne, Germany
Post: #292
(2012-03-27 00:40)bobo1on1 Wrote:  Put a space on every empty line in boblight.conf and check if that makes any difference.

no, same error. thx for helping.
find quote
hotlobster Offline
Senior Member
Posts: 245
Joined: Jan 2009
Reputation: 0
Location: Paris FR
Post: #293
Quote:Well I have a 6Amp power supply...it will need updating so prevent overloading but it should work temporarily to get us working.
I think that 2strips per max is that the circuitboard can only handle 2 meters on one board, but i'm E-Mailing them though to confirm.

6 amp should be far sufficient. Each strip can draws 1.8 amps when full bright, you should reach 7 amp only exeptionnaly, nothing a 6 amp psu can't handle sporadicaly.


I'm interested of Sparkfun answer on your request. Can you pm me when they answer you ?

Cheers. Smile
find quote
FocalFury Offline
Junior Member
Posts: 23
Joined: Feb 2012
Reputation: 0
Post: #294
OK SO I HAVE PROGRESS!!!
ALL LED STRANDS light up red blue green denoting a successful upload of the arduino code.

I started from scratch...new XBMC install....new boblight download...everything
however I'm missing something probably small and I can't remember how to fix this part....
when I start boblightd I get this Error....however it does connect successfully it says

ERROR: unable to make directory /home/Dan/.boblight/:
No such file or directory exists
after that though it connects and goes on its merry way....when I start XBMC it says it is succesfully connected to boblight but there is no light output that I would expect...
ideas

Thank you all for your continued help, I've spent more time on this than I feel I should have had to and I'm really thankful for the help that has been provided

screen cap of the error
http://dl.dropbox.com/u/1545535/IMG_20120329_005859.jpg
(This post was last modified: 2012-03-29 08:04 by FocalFury.)
find quote
MrHenky Offline
Member
Posts: 50
Joined: Aug 2008
Reputation: 0
Location: Ritterhude, Germany
Post: #295
I'm trying to get the boblight windows version working but I'm struggeling with problems that I can't identify. I have an Adalight setup (50leds, Arduino Uno) like some other people in this forum. It works pretty well with that Lightpack software but those who are able to run boblight prefer boblight. I want that too.

In my case, the com-port seems to be correct but I don't know if I should ignore the first error message or not. Using /dev/ttyS0 isn't working either. Same error message. If I change the com-port I'll get "No such file or directory", so it's not the port. It's really com1 btw.

Any of the boblight windows users here, who can give me some help?


Here is my boblight.conf setup:
Code:
#config file for adalight from http://www.ladyada.net/make/adalight/

[global]
interface 127.0.0.1
port      19333

[device]
name            ambilight
type            momo
output          /dev/com1
channels        150
prefix          41 64 61 00 18 4D
interval        10000
rate            115200
debug           off #turn this on to see what it's doing with the serial port
delayafteropen    1000000


[color]
name            red
rgb             FF0000

[color]
name            green
rgb             00FF00

[color]
name            blue
rgb             0000FF

[light]
name            1
color           red     ambilight 1
color           green   ambilight 2
color           blue    ambilight 3
hscan           41.2 47.08
vscan           90.91 100

and so on...

Windows command shell
Code:
C:\Boblight>boblightd -c boblight.conf
ERROR: unable to make directory /home/Henning/.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/com1"
(CDevice::Process)              ambilight: setting up
(CDeviceRS232::SetupDevice)     ERROR: ambilight: /dev/com1: Invalid argument
(CDevice::Process)              ERROR: ambilight: setting up failed, retrying in 10 seconds
(SignalHandler)                 caught SIGINT *Comment: I've pressed CTRL+C to stop everything
(CClientsHandler::GetReadableFd)select() Interrupted system call
(main)                          signaling devices to stop
(CClientsHandler::Cleanup)      disconnecting clients
(CClientsHandler::Cleanup)      closing listening socket
(CClientsHandler::Cleanup)      clients handler stopped
(main)                          waiting for devices to stop
(CDevice::Process)              ambilight: closed
(CDevice::Process)              ambilight: stopped
(main)                          exiting
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,758
Joined: Dec 2008
Reputation: 22
Post: #296
(2012-03-29 07:16)FocalFury Wrote:  OK SO I HAVE PROGRESS!!!
ALL LED STRANDS light up red blue green denoting a successful upload of the arduino code.

I started from scratch...new XBMC install....new boblight download...everything
however I'm missing something probably small and I can't remember how to fix this part....
when I start boblightd I get this Error....however it does connect successfully it says

ERROR: unable to make directory /home/Dan/.boblight/:
No such file or directory exists
after that though it connects and goes on its merry way....when I start XBMC it says it is succesfully connected to boblight but there is no light output that I would expect...
ideas

Thank you all for your continued help, I've spent more time on this than I feel I should have had to and I'm really thankful for the help that has been provided

screen cap of the error
http://dl.dropbox.com/u/1545535/IMG_20120329_005859.jpg
boblightd wants to write a logfile in the home directory from the user it runs as, but it can't make the file, nothing to worry about.

(2012-03-29 11:36)MrHenky Wrote:  I'm trying to get the boblight windows version working but I'm struggeling with problems that I can't identify. I have an Adalight setup (50leds, Arduino Uno) like some other people in this forum. It works pretty well with that Lightpack software but those who are able to run boblight prefer boblight. I want that too.

In my case, the com-port seems to be correct but I don't know if I should ignore the first error message or not. Using /dev/ttyS0 isn't working either. Same error message. If I change the com-port I'll get "No such file or directory", so it's not the port. It's really com1 btw.

Any of the boblight windows users here, who can give me some help?


Here is my boblight.conf setup:
Code:
#config file for adalight from http://www.ladyada.net/make/adalight/

[global]
interface 127.0.0.1
port      19333

[device]
name            ambilight
type            momo
output          /dev/com1
channels        150
prefix          41 64 61 00 18 4D
interval        10000
rate            115200
debug           off #turn this on to see what it's doing with the serial port
delayafteropen    1000000


[color]
name            red
rgb             FF0000

[color]
name            green
rgb             00FF00

[color]
name            blue
rgb             0000FF

[light]
name            1
color           red     ambilight 1
color           green   ambilight 2
color           blue    ambilight 3
hscan           41.2 47.08
vscan           90.91 100

and so on...

Windows command shell
Code:
C:\Boblight>boblightd -c boblight.conf
ERROR: unable to make directory /home/Henning/.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/com1"
(CDevice::Process)              ambilight: setting up
(CDeviceRS232::SetupDevice)     ERROR: ambilight: /dev/com1: Invalid argument
(CDevice::Process)              ERROR: ambilight: setting up failed, retrying in 10 seconds
(SignalHandler)                 caught SIGINT *Comment: I've pressed CTRL+C to stop everything
(CClientsHandler::GetReadableFd)select() Interrupted system call
(main)                          signaling devices to stop
(CClientsHandler::Cleanup)      disconnecting clients
(CClientsHandler::Cleanup)      closing listening socket
(CClientsHandler::Cleanup)      clients handler stopped
(main)                          waiting for devices to stop
(CDevice::Process)              ambilight: closed
(CDevice::Process)              ambilight: stopped
(main)                          exiting

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.
find quote
FocalFury Offline
Junior Member
Posts: 23
Joined: Feb 2012
Reputation: 0
Post: #297
(2012-03-29 16:18)bobo1on1 Wrote:  [quote='FocalFury' pid='1059580' dateline='1332998200']
OK SO I HAVE PROGRESS!!!
ALL LED STRANDS light up red blue green denoting a successful upload of the arduino code.

I started from scratch...new XBMC install....new boblight download...everything
however I'm missing something probably small and I can't remember how to fix this part....
when I start boblightd I get this Error....however it does connect successfully it says

ERROR: unable to make directory /home/Dan/.boblight/:
No such file or directory exists
after that though it connects and goes on its merry way....when I start XBMC it says it is succesfully connected to boblight but there is no light output that I would expect...
ideas

Thank you all for your continued help, I've spent more time on this than I feel I should have had to and I'm really thankful for the help that has been provided

screen cap of the error
http://dl.dropbox.com/u/1545535/IMG_20120329_005859.jpg
boblightd wants to write a logfile in the home directory from the user it runs as, but it can't make the file, nothing to worry about.

ok excellent....
well any thoughts as to why even though it says its connected to boblightd that nothing happens inside XBMC with the lights?
Hoping to resolve this today and then i'll be able to mount my TV within the day
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,758
Joined: Dec 2008
Reputation: 22
Post: #298
Then there's probably something configured wrong in boblight.conf, maybe the prefix value or the baudrate.
find quote
FocalFury Offline
Junior Member
Posts: 23
Joined: Feb 2012
Reputation: 0
Post: #299
seems to be it was a problem with the prefix....
changed it from 51 AA to
prefix 41 64 61 00 63 36
Its working just I'm missing the last 10 or so LED's for XBMC/playback...just gonna review my .conf

Well.....99.9% successful here.

starting boblightd all LED's flash red/green/blue

When I connect to XBMC it flashes all LED's and works in playback....except for the last 8 LED's
pic of the LED's on XBMC home screen....does the same thing for playback
http://dl.dropbox.com/u/1545535/IMG_20120329_155807.jpg
i've double checked my .conf file

I think it must have to do with the calculator setting that I've used
I've verrified...twice...that this is the amount of LED's I have on the strip
is it possible I need some sort of custom spacing...that maybe the calculator is putting them too close together and i'm missing LED's or something like that
my calc profile
http://sanya.tarhelyszolgaltato.eu/index...37&comb=40
(This post was last modified: 2012-03-29 23:13 by FocalFury.)
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,758
Joined: Dec 2008
Reputation: 22
Post: #300
What happens when you set a background color in the boblight addon, do they light up? If not then there's probably still something wrong with the prefix.
find quote
Post Reply