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

Re: Boblight possible?

Thu May 02, 2013 10:22 pm

errusty wrote:
sicvolo wrote: errusty - get the XBMC boblight addon, shutting lights with the screensaver one of the options it offers. Just make sure its boblight priority number is bigger (meaning it's less important), so it does not blank out leds when the video is playing.
Hi! I've installed the boblight addon from the repository, but immediately after activation, the lights change the color that I have put in the background. From that moment in the movies do not work leds, when before all was fine. How can you set it to keep things running as before and simply use the option to turn off the lights when screensaver?

Thank you!
The plugin conflicts with the modified OMXplayer and will cause videos to not have any LEDs.
You may be able to disable boblight plugin for movies, I can't remember, but I found it best to just avoid the plugin and use boblight-constant if you want a static colour.

sicvolo
Posts: 3
Joined: Wed May 01, 2013 11:20 pm

Re: Boblight possible?

Fri May 03, 2013 4:08 am

nadnerb wrote:The plugin conflicts with the modified OMXplayer and will cause videos to not have any LEDs.
Actually, it does not, as long as you set the priority in boboptions.txt lower than the one set in the add-on. Look at the boblightd client.cpp code - it's all there.
nadnerb wrote:You may be able to disable boblight plugin for movies, I can't remember, but I found it best to just avoid the plugin and use boblight-constant if you want a static colour.
The advantage of the plugin over boblight-constant is that the plugin is aware of the XBMC state. I, for example, don't want to have my tv backlit when I am away, so the plugin turns off the backlight when the XBMC screensaver comes up after a period of inactivity.

errusty
Posts: 10
Joined: Tue Apr 02, 2013 2:31 pm

Re: Boblight possible?

Fri May 03, 2013 6:11 am

Hi! Thanks for the answers!
nadnerb wrote: The plugin conflicts with the modified OMXplayer and will cause videos to not have any LEDs.
You may be able to disable boblight plugin for movies, I can't remember, but I found it best to just avoid the plugin and use boblight-constant if you want a static colour.
At the end, I disabled the pluggin, but maybe later I'll try what Sicvolo says about priorities.

Regarding the delay, what do you think about my results of executing TOP while I running a video? I dont know hoy to know the CPU usage.
https://dl.dropboxusercontent.com/s/zbm ... o6/top.jpg

Please, when you can, comment here how is the best way to OVERCLOCK the pi and which are the values that have you used to do it, like arm_freq, Core_freq o sdram_freq (I found this website, is correct this method? http://www.jeremymorgan.com/tutorials/r ... pberry-pi/ ), or maybe modify the file Boboptions to improve the delay????

Thank you again.

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

Re: Boblight possible?

Fri May 03, 2013 5:02 pm

errusty wrote:Hi! Thanks for the answers!
nadnerb wrote: The plugin conflicts with the modified OMXplayer and will cause videos to not have any LEDs.
You may be able to disable boblight plugin for movies, I can't remember, but I found it best to just avoid the plugin and use boblight-constant if you want a static colour.
At the end, I disabled the pluggin, but maybe later I'll try what Sicvolo says about priorities.

Regarding the delay, what do you think about my results of executing TOP while I running a video? I dont know hoy to know the CPU usage.
https://dl.dropboxusercontent.com/s/zbm ... o6/top.jpg

Please, when you can, comment here how is the best way to OVERCLOCK the pi and which are the values that have you used to do it, like arm_freq, Core_freq o sdram_freq (I found this website, is correct this method? http://www.jeremymorgan.com/tutorials/r ... pberry-pi/ ), or maybe modify the file Boboptions to improve the delay????

Thank you again.
From the output of top I don't think you need to overclock as your CPU isn't being maxed out.
If you are running Raspbmc then you are already overclocked. If you want to OC further, then you can use the Raspbmc settings within XBMC.

As for what is causing the delay, I don't know. Can you post your boblight.conf

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

Re: Boblight possible?

Fri May 03, 2013 5:29 pm

sicvolo wrote:
nadnerb wrote:The plugin conflicts with the modified OMXplayer and will cause videos to not have any LEDs.
Actually, it does not, as long as you set the priority in boboptions.txt lower than the one set in the add-on. Look at the boblightd client.cpp code - it's all there.
nadnerb wrote:You may be able to disable boblight plugin for movies, I can't remember, but I found it best to just avoid the plugin and use boblight-constant if you want a static colour.
The advantage of the plugin over boblight-constant is that the plugin is aware of the XBMC state. I, for example, don't want to have my tv backlit when I am away, so the plugin turns off the backlight when the XBMC screensaver comes up after a period of inactivity.
Thanks, I didn't know that. Although I do wonder if this is adding extra cycles to the CPU if its also running, I shall have to do some tests.

groove
Posts: 3
Joined: Sat Apr 27, 2013 11:11 am

Re: Boblight possible?

Tue May 07, 2013 9:45 am

Speedy1985 wrote: Also i'am busy to make a mod for boblight-xbmc plugin. :)
So everybody can use this plugin on 2 weeks.
What modification are you planing? So that the modifications to omxplayer are not needed anymore or that the modifications work better together with the plugin?

davisdmg
Posts: 23
Joined: Wed May 01, 2013 11:53 am

Re: Boblight possible?

Thu May 09, 2013 10:43 am

Hello guys! I managet to get them working! I'm using raspberry -> usb -> arduino -> leds!

Do you have any tool to configure the leds this way? 20 top, 10 sides, 5 and 5 bot?

alpini
Posts: 12
Joined: Wed Feb 13, 2013 6:56 pm

Re: Boblight possible?

Fri May 10, 2013 10:30 am

Hi Guys,

Pibob with 50 leds works well, just need to make it 100 leds so then i can make the frame for the leds.

Can i ask you all 2 things:

1
I want to make 100 leds ws2801 and wall-mount my plasma.
How to get my own boblight.conf with 100 leds via Winscp into my Pi ???

I can log in via Winscp into my Pi.
Witch file do i have to change or delete in de Pi?
Is it the file in: /etc Boblight.conf ???

When i want to delete the original "Boblight.conf" file it gives an error:

De opdracht 'rm -f -r "boblight.conf"'
gaf foutcode 1 terug, samen met de foutmelding
rm: cannot remove `boblight.conf': Permission denied.

2
This is how i use the Boblight configuration tool for calculating my leds.
Channels Top: 32
Channels Left: 20
Channels Right: 20
Channels Sub: 32

Boblight conf. Tool calculates channels 100 (see in the right corner) when i do this setup for the leds?)

Type: ws2801
Output: /dev/spidev0.0
Channel: 300
Prefix: 41 64 61 00 63 36
Postfix: A5
Interval: 20000
Rate: 48000

Is this good ???
Channel is 100 leds x 3(rgb)= 300
Prefix, seems to be also a calculation. 25 leds or 50 leds or 100 leds have standard Prexfix
Postfix, really dont know if its good. It was already A5
Interval and Rate is also info from another forum.
Any ideas if this wil work fine?


Thank alot again
--------------------------------------------------------------------------------

alpini
Posts: 12
Joined: Wed Feb 13, 2013 6:56 pm

Re: Boblight possible?

Fri May 10, 2013 10:36 am

davisdmg wrote:Hello guys! I managet to get them working! I'm using raspberry -> usb -> arduino -> leds!

Do you have any tool to configure the leds this way? 20 top, 10 sides, 5 and 5 bot?
Hi,
here you can download the "Boblight Configuration Tool"
http://www.sedu-board.de/sedu-ambilight ... onfigtool/

NietGiftig
Posts: 13
Joined: Fri Oct 05, 2012 12:30 pm

Re: Boblight possible?

Fri May 10, 2013 10:41 am

rm: cannot remove `boblight.conf': Permission denied.
Seems the permisions for etc/boblight.conf are not correct.
Log in as root or try with sudo

alpini
Posts: 12
Joined: Wed Feb 13, 2013 6:56 pm

Re: Boblight possible?

Fri May 10, 2013 11:34 am

NietGiftig wrote:
rm: cannot remove `boblight.conf': Permission denied.
Seems the permisions for etc/boblight.conf are not correct.
Log in as root or try with sudo
Thanks NietGiftig,

Indeed, had to make sudo passwd root,
then logged in via Winscp.

Can you give any help over Boblight conf. tool ?
Are the values correct ?
Tnx again.

davisdmg
Posts: 23
Joined: Wed May 01, 2013 11:53 am

Re: Boblight possible?

Tue May 14, 2013 8:24 am

Hello guys, as I told you before, I did it with an arduino + raspberry + 50leds.

I have done a tutorial (in spanish). If someone want to read it, it is here:
http://www.grabthiscode.com/diy/como-mo ... l-intento/

If you dont understand anything, I have no problem in translate it for you.

User avatar
Mikka
Posts: 2
Joined: Mon Dec 31, 2012 12:56 pm

Re: Boblight possible?

Tue May 14, 2013 9:37 am

Hi all,

i have a qustion about use raspberry pi and boblight.
Is SPI support required? If so how can i test (see spi support enabled) it?

Thx

User avatar
Speedy1985
Posts: 7
Joined: Tue Apr 09, 2013 8:58 pm

Re: Boblight possible?

Tue May 14, 2013 7:48 pm

Hi Folks!

I have updated my git repo.
https://github.com/Speedy1985/boblightd-for-raspberry

I have changed some code in the libboblight.so "sendrgb function" .
This function is realy slow on 50 or more leds so i have replaced the ToString converting to the Boost library.
Now it have better cpu usage.

To compile use this howto.
https://github.com/Speedy1985/boblightd ... to-compile

Kidn regards Speedy1985
Paypal Donation: [email protected]

Github: http://github.com/speedy1985
Facebook: https://www.facebook.com/boblightenigma2
Twitter: http://twitter.com/boblightenigma2
Support: webchat.freenode.net #boblight-enigma2

NiklasO
Posts: 6
Joined: Wed May 01, 2013 1:56 pm

Re: Boblight possible?

Tue May 14, 2013 9:07 pm

Speedy1985 wrote:Hi Folks!

I have updated my git repo.
https://github.com/Speedy1985/boblightd-for-raspberry

I have changed some code in the libboblight.so "sendrgb function" .
This function is realy slow on 50 or more leds so i have replaced the ToString converting to the Boost library.
Now it have better cpu usage.

To compile use this howto.
https://github.com/Speedy1985/boblightd ... to-compile

Kidn regards Speedy1985
Hi Speedy1985!
I used your code instead of the one suggested here:
https://dl.dropboxusercontent.com/u/688 ... tware.html

I changed all the names of the lights in the conf-file to numbers 001-050 but I don't know if I understand your instructions correctly. This is the original file: http://dl.dropbox.com/u/6885567/boblight_50xWS2801.conf
What do i need to change?
I tried to change to 001 to 050 for name on all the lights but i get nothing when playing a movie.

My lights worked when I used the original repo from the Pibob-page.

Thanks!

Wiese66
Posts: 6
Joined: Fri Mar 08, 2013 7:35 am

Re: Boblight possible?

Wed May 15, 2013 8:53 am

Speedy1985 wrote:Hi Folks!

I have updated my git repo.
https://github.com/Speedy1985/boblightd-for-raspberry
I did a checkout and compile yesterday and wondered why configure failed (libtool) and later boost was required but not checked before. Now everything is clear :)

And yes, this version is absolut great. I currently use 96 LEDs and the difference between image and light is now minimal and great for me :)

So thanks a lot!

Chris

NiklasO
Posts: 6
Joined: Wed May 01, 2013 1:56 pm

Re: Boblight possible?

Wed May 15, 2013 8:58 am

Wiese66 wrote:
Speedy1985 wrote:Hi Folks!

I have updated my git repo.
https://github.com/Speedy1985/boblightd-for-raspberry
I did a checkout and compile yesterday and wondered why configure failed (libtool) and later boost was required but not checked before. Now everything is clear :)

And yes, this version is absolut great. I currently use 96 LEDs and the difference between image and light is now minimal and great for me :)

So thanks a lot!

Chris
Could you please share your boblight.conf?
Thanks!

Wiese66
Posts: 6
Joined: Fri Mar 08, 2013 7:35 am

Re: Boblight possible?

Wed May 15, 2013 9:49 am

NiklasO wrote: Could you please share your boblight.conf?
Thanks!
Yes. I´m happy to do so. But not until today evening (GMT+1).

Greetings
Chris

NiklasO
Posts: 6
Joined: Wed May 01, 2013 1:56 pm

Re: Boblight possible?

Wed May 15, 2013 9:56 am

Wiese66 wrote:
NiklasO wrote: Could you please share your boblight.conf?
Thanks!
Yes. I´m happy to do so. But not until today evening (GMT+1).

Greetings
Chris
Great. Thanks!

I use this conf now but I don't know how to change it to make the lights work with Speedy1985's version:
http://dl.dropbox.com/u/6885567/boblight_50xWS2801.conf
Maybe you can point me in the right direction?

Niklas
Sweden

Edit:
Ok, so I changed all the names to 001, 002, 003, 004 up to my 050 but the leds does not work. I get a fast white flash from all the leds every time I stop playback. I used the source from the how-to first that worked. Do I have to clean it out somehow before compiling and installing this modified version?

Wiese66
Posts: 6
Joined: Fri Mar 08, 2013 7:35 am

Re: Boblight possible?

Wed May 15, 2013 12:17 pm

NiklasO wrote: Ok, so I changed all the names to 001, 002, 003, 004 up to my 050 but the leds does not work. I get a fast white flash from all the leds every time I stop playback. I used the source from the how-to first that worked. Do I have to clean it out somehow before compiling and installing this modified version?
Just a guess:
Have you "killed" the running boblightd before you "make install". Maybe the binary is still the old one and the lib is new?
Just try:

Code: Select all

top
to get the PID of the running boblightd. Then

Code: Select all

sudo kill [PID]
and do a fresh

Code: Select all

sudo make install
.
Maybe you get some information when you then start your boblightd manually:

Code: Select all

sudo boblightd -f /etc/boblight.conf
Best luck
Chris

davisdmg
Posts: 23
Joined: Wed May 01, 2013 11:53 am

Re: Boblight possible?

Wed May 15, 2013 12:18 pm

This is my boblight.conf
https://www.dropbox.com/s/xy423w6kj76ldwq/boblight.conf
It is working with speedy compilation and the pos of the leds are:

NOT clockwise:
--------20------.
. ................. .
. ................. .
10 .............. 10
. ................ .
.---5---------5---


Hope this helps to you guys. Remember, my leds are NOT clockwise

NiklasO
Posts: 6
Joined: Wed May 01, 2013 1:56 pm

Re: Boblight possible?

Wed May 15, 2013 3:33 pm

Thanks for your help!

I found my problem. I changed 00 to xx for all the lights (I know 00 should work).
When doing that I found a garbage character in one of the names.
Removed that and now it works!

Image
h264 running with boblight. Looking good!

Wiese66
Posts: 6
Joined: Fri Mar 08, 2013 7:35 am

Re: Boblight possible?

Wed May 15, 2013 7:08 pm

NiklasO wrote: I found my problem. I changed 00 to xx for all the lights (I know 00 should work).
When doing that I found a garbage character in one of the names.
Removed that and now it works!
Great, congratulations! So no need for my file anymore.

Have a lot of fun :)

skyblaster
Posts: 7
Joined: Wed Jan 23, 2013 6:36 am

Re: Boblight possible?

Thu May 16, 2013 3:24 pm

Followed the PiBob tutorial substituting boblightd with Speedy1985's modified version. I'm now able to stream full bitrate Blu-ray backups over NFS without buffering. Everything is MUCH peppier now. A big thank you to all involved!

User avatar
Speedy1985
Posts: 7
Joined: Tue Apr 09, 2013 8:58 pm

Re: Boblight possible?

Thu May 16, 2013 3:33 pm

skyblaster wrote:Followed the PiBob tutorial substituting boblightd with Speedy1985's modified version. I'm now able to stream full bitrate Blu-ray backups over NFS without buffering. Everything is MUCH peppier now. A big thank you to all involved!
Nice to hear that!!
Paypal Donation: [email protected]

Github: http://github.com/speedy1985
Facebook: https://www.facebook.com/boblightenigma2
Twitter: http://twitter.com/boblightenigma2
Support: webchat.freenode.net #boblight-enigma2

Return to “General discussion”