Section: Device

Configurations name: the name of the configuration file, we leave it as it is.

Type: we choose the type of leds we have mounted “WS2801”

Output: /dev/spidev0.0

Bauderate: transmission speed we leave 1,000,000

RGB Byte Order: this is the order of the colors, we set RGB by default, but if after configuration for example we see blue instead of green we put RBG and so on.

Section: Construction

Direction: you remember the tape direction arrow, I mounted the tape clockwise when looking at the back of the TV, so now in the configuration we watch the TV from the front , so the direction will be the opposite, we put “counter clockwise” that is to say “against the direction of the needles of the clock”

Horizontal LEDs: the number of LEDs that are in the horizontal piece from above.

LEDs Left: the number of leds on the left side.

LEDs Right: the number of leds on the right side.

Bottom Gap: (the gap at the bottom) is the difference between the number of horizontal leds from above and the leds we have at the bottom, I have 23 at the top and 12 at the bottom (6 on the left and 6 on the right) so 23 -12 = 11

When you modify the number of leds you watch the changes in real time on the simulation screen, count the leds manually and make sure that it is the same case of the assembly

1st LED offset: when filling in the numbers of leds, there will be a numbering of the leds by the software, the first led of the strip that is to say on the side connected to the Raspberry in my case is number 19 , I put 19 in the box and we will notice that it will take the number 0. (You put your number).

Image Process section

Horizontal depth%: The width of the horizontal analysis bands of the image, 8 is a good value.

Vertical depth%: The width of the vertical analysis bands of the image, 4 is a good value.

Horizontal Gap%: a value is set if the analysis areas must be offset from the horizontal edge of the screen. We leave it at 0.

Vertical Gap%: we put a value if the analysis areas must be offset from the vertical edge of the screen. We leave it at 0.

Overlap%: Overlapping detection areas for smoother color transition. I put 20% but you leave it at 0 if you have a high number of leds.

Blackborder Detection Section

Enabled: check to ignore the black band of the films.

Here is the final view of my configuration for the Hardware tab

[SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

6-Go to the “Process” tab

Smouthing: to check, allows to act on the speed of transition in the changes of colors. If you notice a r **** d of change of colors of the leds compared to the images, decrease the value of time. I put 100.

Transform: in this section we calibrate the colors in relation to those displayed in the image we leave the default values ​​here. After configuration if you obtain for example a white tinted in red you decrease the value of red in the whitelevel.

NB: Calibration can be done via the Android application.

7-We then go to the “Grabber” tab here there are two sections one for the internal image of Raspberry and the other for the external image (decoder for example) we check “Enabled” on the one that we want or on both depending on the use case.

Internal Frame Grabber :

Width: 640

Hight: 360

Ms interval: 100ms

Priority Channel: 890 this value minus the 895 value of the external grabber gives priority to process the internal image of raspberry. If there is no video playing by Kodi Hyperion processes the external image. If you want the opposite, swap the values.

Grabber V4L2

Device: the name of the grabber given by the system in most cases is / dev / video0

Input: leave 0.

Video Standard: the standard to use (PAL in our case)

Width and Height: leave -1 by default.

Frame Decimation: leave as default 2.

Size Decimation: leave as default 8.

Priority Channel: 895 (a lower value than the internal grabber gives priority to the external image)

3D mode: we choose 2D.

Crop Left Right Top and Bottom: after uploading the final configuration file and having a working ambilight. We will return to this page and right click in the center of the simulation screen, a context menu opens allowing you to take a screenshot of the Grabber image, we click on “Take grabber Screenshot” and an image is displayed instead of the “color swirl”

[SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

[SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

If we look closely at the captured image, we notice the presence of black bands of a few millimeters at the top, bottom, and also on the right. I therefore increment the Top, Bottom and Right values ​​until the bands disappear

Values ​​of 3 for each corrected the problem.

[SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

Red Signal Threshold: this value is adjusted if the red captured by the Grabber is darker. By default, we leave 0.

Green Signal Threshold: 0.

Blue Signal Threshold: 0.

8-We go to the External tab

Kodi checker section:

We check “Enabled” if we want to modify the other options, like that, if we check “pause” for example the Ambilight will remain on even if the video is paused.

Kodi Ip-Address: 127.0.0.1 because Kodi is on the same device.

Port: we leave it by default 9090.

Json / Proto / Boblight server section :

Nothing to change here for the moment, the ports to configure are used to do Hue, or extend Ambilight. At home I mounted a 1m led strip extension on the TV cabinet. The band is driven by a Wemos D1 which communicates wirelessly with the Raspberry via these ports.

Booteffect / Static color section:

Enabled: we check to have an effect when starting the Raspberry, I left everything to default.

Proto / Json Forward:

Nothing to change here, these ports are used to communicate with other Ambilight is accessories.

9-Now that we have finished the configuration, we will create our file and transfer it to the Raspberry. here are some screenshots of my configuration:

[SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

We click on “Create Hyperion Configuration” at the bottom, we save our file, go to the SSH tab, finally we click on “Send Config” you should see that back:

[SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

10-Restart Hyperion by clicking on “stop” then “start” you should see the starting effect, and a great Ambilight that works, congratulations!

As a bonus, I put you the links to the calibration files, and some screenshots of the Android application Color calibration files Gamma correction files: adjust the RGB values ​​of the Gamma if the gray color is colored. White image for whitelevel correction. Screenshots of the Hyperion Android app.

How do I set up Ambilight?

To activate / deactivate the function

Press the ‘AMBILIGHT ON / OFF’ button on the remote control or:

  • Press the ‘MENU’ button on the remote control
  • Press the right cursor arrow to select AMBILIGHT
  • Press the down arrow of the cursor to access AMBILIGHT
  • Press the cursor right arrow to select ON
  • Press the ‘MENU’ button to exit the menu
  • To adjust the function if the light is not the right color

    Press the ‘AMBILIGHT MODE’ button on the remote control or:

  • Press the ‘MENU’ button on the remote control
  • Press the right cursor arrow to select AMBILIGHT
  • Press the cursor down arrow to access AMBILIGHT MODE
  • Press the right cursor arrow to select the appropriate mode
  • Press the ‘MENU’ button to exit the menu
  • Set Hue Play as you see fit

    The Philips Hue Play light bar can be mounted on a wall or TV, laid flat on any surface or upright. A smart and versatile light, it is the perfect accent piece for any living room, recreation area or media room.

    [SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

    Decoration with intelligent mood lighting

    Transform the atmosphere of your home with the push of a button. Use over 16 million colors and 50,000 shades of cool to warm white light to create special moments, personalize the mood for a party, or just kick back the evening.

    [SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

    Installation behind your television

    Install the Philips Hue Play smart light bar behind your screen using the included clips and double-sided tape to instantly create a beautiful backlight in the color of your choice.

    [SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

    Create your ambiance, from warm white to cool natural light

    Create the right atmosphere for every moment and decorate your interior, thanks to a warm or cold white light. Vary the styles throughout the year, from the bright white light of a spring morning, to the warm white light of a summer sun, or the frigid light of a winter day. A connection with the Philips Hue bridge is required for this functionality.

    [SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

    Take your entertainment to the next level with smart lighting

    Immerse yourself in your movie, game or music through the magic of light. With millions of colors to choose from and endless lighting options, you can turn any living room into a private cinema – just bring the popcorn!

    [SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

    Connect 3 Hue Play light bars with 1 plug

    Hue Play won’t add to a clutter of wires behind your TV or monopolize too many outlets: you can connect three Hue Play smart light bars to the same power supply unit, leaving you with more space than you need for all of them. your other devices.

    [SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

    Control your lighting the way you want

    Connect your Philips hue lights to the bridge and discover endless possibilities. Control your lights from your smartphone or tablet with the Philips hue app, or add switches to your system to turn on your lights. Set timers, notifications, alarms and more to take full advantage of the Philips hue solution. Philips hue is compatible with Amazon Alexa, Apple Homekit and Google Home, to allow voice control of lights.

    [SOLVED] : Philips Hue: an Ambilight LED bar to adapt to any Smart TV Part two

    Full control from a smart device with the Hue Bridge

    Connect your Philips Hue lights to the bridge to experience the endless possibilities of the system.