Ambilight with Raspberry Pi and Hyperion
-
https://www.youtube.com/watch?v=mchlZqa4eR0
Test video before i plugged it all in
-
That’s really cool! I want to see them actually working as ambilight.
This is the same LED set that you’ve been talking about, right?
-
I snapped a couple pics last night while watching Xmen.


-
Is the colour static, as in do you have to set it yourself or does it change based on whatever colours are on the screen?
-
It changes with what’s on screen. First one is all red because the screen is red and the second image you can see the corner is blue/purple.
-
@Scuzz said:
what’s on screen. First one is all red because the screen is red and the second image you can see the
I thought that might be the case, that’s really cool.
So how does it know what colour to display? What/how is it reading whatever data it requires in order to determine which colour to display?
-
I’m not sure on the exact details but I think it checks the colours around the edge of the screen and gets a average value and then maps that colour to the LED.
There is a java configuration program where you say where all the LEDS are, how many you have and which way around the tv they go.
You can also change the area where the colours are captured from and the default colours.https://github.com/tvdzwan/hyperion
@Schamper told me about it and it think it works a lot better than boblight even though I could only get it working on openelec because of some GNUTLS error on the other XBMC clones.
-
I also have a Hyperion setup in combination with OpenELEC. My frame is a bit more… solid though ;)

I constructed an aluminium frame a long time ago. The benefit of having such a frame is that I can fit it on any 40" TV and all the LEDs will still be correctly lined up. So as long as my next TV is a 40" one, I’m good ;) . I initially used it in combination with boblight and an Arduino. Always had lots of trouble with it though, it would flicker a lot, would take a lot of time to get ready for use (first open COM port, then special boblight app, then XBMC), etc. It was just a lot of trouble and I ended up not using it a lot.
Now I always had the plan of using my RPi for media, but it was never possible because I first needed to get a new receiver that had HDMI ports. When I finally got one, I started changing everything. Installed OpenELEC, connect the wires to the RPi, change the wiring a bit and put the Pi behind my TV.
(It’s somewhere down there, where you can see a bunch of tiny wires)My Pi is on 24/7 since it doesn’t use that much power, and I don’t have to mess around with using the LEDs now. I just start any video and the LEDs will just work. Haven’t had any issues with it so far, and I’ve been running it like this for maybe 2 months now. I still need to do some proper calibrating but eh :P .
Because the Pi is on 24/7 it also allows me to use the Hyperion Android app to control the LEDs. I still have some project idea in mind where I can connect the LEDs to a service like IFTT, but that’s something for later. -
How much difference does it make having the LEDs pointing away from the wall and not towards the wall?
I have seen a few set up like yours and few set up like mine.I would love to have my Raspberry Pi connected to my network.
-
@Scuzz From what I’ve read, you get the best effect by having them point at the wall at like a 45 degree angle. I’ve seen a lot of PVC pipe structures where you can easily adjust the angle.