troyk
Posts: 13
Joined: Thu May 02, 2013 8:42 am

Re: Boblight possible?

Thu Jun 13, 2013 12:39 pm

Any idea how I can check my first LED and my second one?

I'm thinking about doing the boblight.conf orientation manually since i really messed up the placement of the leds.

I thought i started in the left corner below but it seems orientation is all off.

Anybody any idea how to check what the first and the second light is so i can check orientation and if they're fitted counter or clockwise ?

Thanks.

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Thu Jun 13, 2013 7:01 pm

most of the conf files i have seen start bottom middle and go clockwise

VZoltan
Posts: 179
Joined: Sat Jun 02, 2012 10:00 pm

Re: Boblight possible?

Thu Jun 13, 2013 7:37 pm

spaceboy wrote:most of the conf files i have seen start bottom middle and go clockwise
Mine is Left bottom (i have no bottom line)

26
12 12
0

ttidds
Posts: 41
Joined: Mon Apr 08, 2013 1:23 pm

Re: Boblight possible?

Fri Jun 14, 2013 10:09 am

Speedy1985 wrote:
HI, do you use my optimized version of boblightd ?
this version is better then the orginal. with this version you have no lag.
https://github.com/Speedy1985/boblightd ... to-compile

Kind regards Speedy
Hi Speedy,

I'm using your version of boblight. I have some issues with it.

First of it, while instaling it, i'm not able to do the last step:

Part 5. Move the files to /usr/lib:
mv /usr/local/lib/libboblight.* /usr/lib/


Second, when led constant testing, i'm no able to set the right color. When doing sudo boblight-constant 00FF00 i always get the RED color.

The last, i still have some lag. Less than with the normal boblight version, but still have it. The led color transitions aren't either smooth.

Here is a example video of my system:

http://www.youtube.com/watch?v=KW6SfxnT ... e=youtu.be

Also, my boblight.conf file, for a 104 led 2 meters lpd8806 led strip:

https://dl.dropboxusercontent.com/u/649 ... 06_v2.conf

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Fri Jun 14, 2013 11:51 am

I had to sudo before the mv command

SteveR
Posts: 2
Joined: Fri Jun 14, 2013 7:02 pm

Re: Boblight possible?

Fri Jun 14, 2013 7:30 pm

Hi

Today went and purchased a new sd card. have been running xbmc for sometime now with the boblight working ok on a small card.
installed xbmc ok and all was working ok. followed this link http://pibob.nadnerb.co.uk/software.html#part1
as I had done before. but when I entered the following it comes up with error connecting now.
sudo boblightd -f > /dev/null
Still have other sd card setup and that still works ok.

callan77
Posts: 2
Joined: Fri Jun 14, 2013 9:33 pm

Re: Boblight possible?

Fri Jun 14, 2013 9:39 pm

Hi, I've got boblight working on my pi fine today, however I decided to do a fresh install later this evening, and I am also getting an error when running sudo boblightd -f > /dev/null

The error is ERROR: Pibob: Unable to open /dev/spidev0.0: No such file or directory. I had followed the excellent guide at http://pibob.nadnerb.co.uk/software.html. This morning it was working fine and I could control my led with commands, and also through xbmc, but now I'm stuck! any help would be appreciated as i'm pretty new to Linux :)

ribbox
Posts: 9
Joined: Sat Nov 10, 2012 9:14 pm

Re: Boblight possible?

Fri Jun 14, 2013 10:11 pm

Check that the SPI driver is not in the black list

Code: Select all

sudo nano /etc/modprobe.d/raspi-blacklist.conf
make sure there is a # infront of the entry blacklist spi-bcm2708 so it becomes

#blacklist spi-bcm2708

This will then load on next reboot.

I have not tried this with the above tutorial, but I think this is the problem

callan77
Posts: 2
Joined: Fri Jun 14, 2013 9:33 pm

Re: Boblight possible?

Sat Jun 15, 2013 8:41 am

Hi, I have tried your suggestion of checking the blacklist at /etc/modprobe.d/raspi-blacklist.conf however looking through the directories that file doesn't exist? the only file in /etc/modprobe.d/ is fbdev-blacklist.conf. Is it possible there was a change in the code to either raspbmc or boblight yesterday that does not include the spi driver or code for it to work?. As I said I already had raspbmc in the morning and followed the tutorial and it worked fine. Reinstalling everything from scratch and I get the error.

Is it possible to download an old version of raspbmc anywhere and i'll give this a test.

SteveR
Posts: 2
Joined: Fri Jun 14, 2013 7:02 pm

Re: Boblight possible?

Sat Jun 15, 2013 11:47 am

Hi Again,

here is the error I get when testing the boblight setup just after install of a new copy on to sd card.
(CDeviceSPI::SetupDevice) ERROR: Pibob: Unable to open /dev/spidev0.0: No such file or directory
(CDevice::Process) ERROR: Pibob: setting up failed, retrying in 10 seconds

hope this helps

Steve.

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Tue Jun 18, 2013 7:00 pm

so...... i am still struggling. i can get everything except the lights to work when playing movies, the lights flash as they come on, i can set constant colours, everything. i have even tried the latest raspbmc which is supposed to have support for boblight. still no difference.

so could someone with a working setup please post the details of their combination, hopefully it might be helpful for others too.

thanks

VZoltan
Posts: 179
Joined: Sat Jun 02, 2012 10:00 pm

Re: Boblight possible?

Tue Jun 18, 2013 7:06 pm

We just need a modified/patched version of xbmc/omxplayer that works with the latest raspbmc/xbmc which is 20130502 ver 12.02 (even for raspbmc june update)

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Tue Jun 18, 2013 7:11 pm

Cool, happy to wait if that's the case

User avatar
nadnerb
Posts: 175
Joined: Sun May 13, 2012 11:22 am

Re: Boblight possible?

Sat Jun 22, 2013 5:26 pm

Raspbmc now has boblight support built in.
You can just install the regular version, create/copy boboptions.txt and boblight.conf into place and it works, no faffing about.

VZoltan
Posts: 179
Joined: Sat Jun 02, 2012 10:00 pm

Re: Boblight possible?

Sat Jun 22, 2013 5:31 pm

nadnerb wrote:Raspbmc now has boblight support built in.
You can just install the regular version, create/copy boboptions.txt and boblight.conf into place and it works, no faffing about.
are u sure that if i install the new raspbmc and activate the boblight in raspbmc "app" then it works without anything else?
no omxplayer patch is needed?

cuz i did that and no luck.

User avatar
nadnerb
Posts: 175
Joined: Sun May 13, 2012 11:22 am

Re: Boblight possible?

Sat Jun 22, 2013 7:30 pm

Yep, install the normal Raspbmc distro, copy over your existing config files and then enable boblight in Raspbmc settings.
No need to modify/replace XBMC/OMXplayer as it's already had the patch applied.

VZoltan
Posts: 179
Joined: Sat Jun 02, 2012 10:00 pm

Re: Boblight possible?

Sat Jun 22, 2013 7:36 pm

nadnerb wrote:Yep, install the normal Raspbmc distro, copy over your existing config files and then enable boblight in Raspbmc settings.
No need to modify/replace XBMC/OMXplayer as it's already had the patch applied.

you were right, thx

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Sun Jun 23, 2013 12:09 am

even with the new build of raspbmc i still cant get anything in playback. everything else works. this is my boblight.conf file https://dl.dropboxusercontent.com/u/395 ... light.conf, is there anything wrong there?

its supposed to be for 100 lights but the last 4 dont work. i created a file from the boblight tool and edited it

thanks

ribbox
Posts: 9
Joined: Sat Nov 10, 2012 9:14 pm

Re: Boblight possible?

Sun Jun 23, 2013 5:29 am

Looking at your config (doing that on phone) I can see there is no config for the last 4 LED's so you need to add it to get those to work , just follow on from the previous lines but increase the numbers.

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Sun Jun 23, 2013 1:04 pm

nadnerb wrote:Yep, install the normal Raspbmc distro, copy over your existing config files and then enable boblight in Raspbmc settings.
No need to modify/replace XBMC/OMXplayer as it's already had the patch applied.
do you need the boblight add on to be installed?

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Sun Jun 23, 2013 1:32 pm

spaceboy wrote:
nadnerb wrote:Yep, install the normal Raspbmc distro, copy over your existing config files and then enable boblight in Raspbmc settings.
No need to modify/replace XBMC/OMXplayer as it's already had the patch applied.
do you need the boblight add on to be installed?
no you don't. all working now! so, whats the best source for a 100 light string starting bottom middle and going clockwise? if i modify my 96 light one, how will i know where the remaining 4 lights have to be placed

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Sun Jun 23, 2013 6:57 pm

so, i have 100 lights working clockwise from bottom middle. all is good! :D

except its still a little bit slow. what can i look at to improve the reaction time, its maybe 1/10 second slow

VZoltan
Posts: 179
Joined: Sat Jun 02, 2012 10:00 pm

Re: Boblight possible?

Sun Jun 23, 2013 7:01 pm

spaceboy wrote:so, i have 100 lights working clockwise from bottom middle. all is good! :D

except its still a little bit slow. what can i look at to improve the reaction time, its maybe 1/10 second slow

Try with this:

[email protected]:~$ cat boboptions.txt
enabled=true
host=localhost
port=19333
priority=128
interpolation=0
speed=50
autospeed=25
saturation=2
threshold=20
value=2
timeout=35
[email protected]:~$

I dont say that it will be 100% ok
Just give it a try, how it feels for your eyes.

spaceboy
Posts: 27
Joined: Tue May 28, 2013 5:24 pm

Re: Boblight possible?

Mon Jun 24, 2013 10:02 am

VZoltan wrote:
spaceboy wrote:so, i have 100 lights working clockwise from bottom middle. all is good! :D

except its still a little bit slow. what can i look at to improve the reaction time, its maybe 1/10 second slow

Try with this:

[email protected]:~$ cat boboptions.txt
enabled=true
host=localhost
port=19333
priority=128
interpolation=0
speed=50
autospeed=25
saturation=2
threshold=20
value=2
timeout=35
[email protected]:~$

I dont say that it will be 100% ok
Just give it a try, how it feels for your eyes.
i think i found that slightly worse. i say think because the velcro failed pretty soon after and the lights are all on the floor again. unfortunately my tv is too hot for sticky back velcro. so now i need a more professional frame. and ideally a slightly improved boboptions.txt to give better reaction times

brooc
Posts: 61
Joined: Mon Jun 03, 2013 2:30 pm

Re: Boblight possible?

Mon Jun 24, 2013 2:01 pm

Hi everyone,
I am working on creating a less distro dependent (in this case Raspbmc) boblight addon.
I need some help with cross compiling the addon for the RPi.

In my opinion a less intrusive approach would be better then using a splitter.
I am trying to use vc_dispmanx_snapshot to get a pixelmap of the current image.
Doing so will allow me to create an addon that will not change the OMXplayer in any way.

I am having a hard time cross-compiling the boblight executable.
Could someone post how they did it...

Return to “General discussion”