Another TV Ambilight Project

Hello.

Recently i finished my TV Ambilight project using WLED and Hyperion and i thought to share with you the result. Before i continue, i would like to thank everyone that has worked on WLED for their awesome results. So about the project.

We like to consume our content mostly using KODI on a small computer that is directly connected to the TV. Having the computer hooked up to the TV makes this project easier because you don’t need a capture card or an additional device (Raspberry Pi) to run the software (Hyperion) on. Here is a list of parts i used:

  • Intel NUC - This is the computer that runs KODI and serves the video content
  • About 3,5 meters of WS2812B 60LEDs /m IP30 strip. I purchased this item.
  • A NodeMCU ESP8266 micro controller to control the LED lights.
  • A USB phone adapter of about 2A

Software:

  • Obviously KODI to serve the content but any other player will work
  • Hyperion - Is the software that grabs the screen and controls the lights. You can use HyperHDR in case your TV and content is in 4K.

Under Hyperion settings, you can set the LED instance as WLED and wirelessly they will communicate. I haven’t noticed a significant delay in the ambilight. The good with this is that you don’t necessarily need a capture card if hyperion is installed on the same machine that provides the video content.

Installation:

  1. Flash the NodeMCU with WLED.
  2. Install Kodi (Windows).
  3. Install Hyperion (Windows).
  4. Set WLED as a LED instance in Hyperion.
  5. Count the total number of LEDs and set them in Hyperion as well as the number of LEDs on top. left, right and bottom of your TV. Also, make sure to set your first LED position in order to have correct direction of the lights.
  6. In Hyperion, under Capturing Hardware set QT option and make sure the resolution is the same as in Windows - This will grab your screen.

Now clean your TV very well from dust before you apply the LEDs. This will help the adhesive tape to stick well. I have used double sided tape as well. Mark and place the position of the NodeMCU.

Here is a video of the Ambilight in action:

BTW, the project is fully integrated with Home Assistant and i have the following automations running in regards:

  • When a movie starts to play, i receive a notification on my phone asking me if i want to activate the ambilight.
  • If my answer is yes, all the living room lights will turn off and the WLED and Hyperion will turn on.
  • In case i pause the video the WLED turns to a static warm light so i can have some more light in the room. It will continue again as long as i resume the playback.
  • In case i leave the room and one of my motion sensors pick motion (for example in the kitchen) the movie pauses and the automation above turns the lights to the warm light.
  • When i stop the movie (or the movie is finished), WLED and Hyperion will turn off and the lights of the living room will turn on returning to the state it was before.

In case anyone is interested about these automations i can provide the code.

Final words.
Although it is a very easy project, i really liked working on it and it added up to the movie watching experience!

Hope this helps
Regards
M

4 Likes

Here is a picture that displays the back of the TV.
You can see on the left side the Intel NUC while on the upper right side is the NodeMCU.

1 Like

Hello, i would be interested in your code.
I’m new to this “world” but i have a basic understanding of how this should work.

In my open space (kitchen+living) i have the following:
WIFI
9 zones of LEDs:

  1. entrance = 4000K strips
    2/3/4/5) dual strips (8 in total, hooked up to 4 controllers in total) CCT 2700-6500K on my ceiling (i run them on each side of the support beams of the house that are exposed, which give me 4 “mini-ceilings”)
  2. kitchen ceiling (same as in the livingroom part - 2 strips on each side of the 2 beams) that are the same CCT 2700-6500K
  3. kitchen furniture LED strips (haven’t bought them yet, but most probably these will either be 3000K or CCT 2700-6500K
  4. bathroom IP65 4000K

music + TV in the room with WIFI&Internet.

I love your idea with adding motion sensors in the room and controll the smartTV with pausing the movie & switching to a predefined static white color&brightness.
From the WLED knowledge hardware compatibility list, i was thinking on using this controller: https://www.tindie.com/products/stanleyprojects/ledbox-v2-v21/#specs
i’m guessing that i would need a classical esp32 board?

Hello,

Since this is a wled forum and we are gonna be speaking about home assistant automations I have sent you a pm to discuss offline

New to the world of WLED but I am highly interested in setting something like this up for my media room.