AmbiLED HD setup for Hyperion on RaspBMC/OSMC

RaspBMC (OSMC) is the best mediaPC software for Raspberry Pi and Pi 2 hardwares.
RaspBMC project stopped in the first days of 2015 and now continue as OSMC with Pi 2 support.
Click here and download the installer into your PC

You can use this article as a reference for other Linux distros that supported by Hyperion.

Notice: This article for your reference only. If you have any question about Hyperion, Linux or other third part details, please google it or ask to their communities.  Please do not ask here “how can I list a linux directory?” like questions.

After the RaspBMC / OSMC installation, be sure it’s updated and working properly.  (run some videos or something like that)
Learn the Network address of your PI from about section of RaspBMC (Settings section of OSMC) and note.

  • Connect to your Pi using any terminal application.  Putty.exe is the best for Windows. (default RaspBMC user name “pi”, password “raspberry” , default OSMC user name “osmc” password “osmc”)
  • Enter following commands in order. You can find the details here
    sudo apt-get update
    
  • sudo apt-get install libqtcore4 libqtgui4 libqt4-network libusb-1.0-0 libprotobuf7 ca-certificates
    
    wget -N https://raw.github.com/tvdzwan/hyperion/master/bin/install_hyperion.sh
    sudo sh ./install_hyperion.sh
    
  • Now you have a working Hyperion on your Pi.
    Follow this article to configure it.
  • Unfortunately, configuration software is not including an option for AmbiLED HD hardware, but no worry, Hyperion is supporting it.  Choose “Adalight” as LED Type
  • Important: Choose Whilelvl as “0.50” or less. Do not choose more than 0.5 value. 
  • Output is “/dev/ttyAMA0″ for most of RaspberyyPi.
    You can check it with this command . Any problem? google it

    ls -l /dev/ttyAMA0
  • After you saved your new config file. Replace the original /etc/hyperion.config.json file with new one. (Linux skill required)
  • Enter this command to open text editor:
    sudo nano /etc/hyperion.config.json
  • You will see inside of configuration file.
    Find this line:
    “type” : “adalight”
    Replace the “adalight” part with “ambiled”
    And Press CTR+O to save and CTRL+X to exit.
  • Restart your Hyperion with
    sudo /sbin/initctl restart hyperion

If you made right, AmbiLED HD will work.

*You can change the hyperion main settings with hyperion-remote 
You can find the details under hyperion wiki

Any problem?

You can find our default hyperion.config.json here
And these are the screen shots of configurator for this file

hyperion1

hyperion2

14 thoughts on “AmbiLED HD setup for Hyperion on RaspBMC/OSMC”

  1. Hello,

    I have received my LED kit, installed it and trying to get the driver working. My OS is Ubuntu 14.04 and I cannot get how to install the driver. Tried hyperion, boblight – both did not compile.

    Do you know where I can get a proper compiled driver for Ubuntu? Or a comprehensive manual how to compile it and install?

    Thanks

    1. Because LEDs powerful than you need and you don’t have enough power source to light up them all in full power.(3A per meters)
      This is not a room light, so, %20 is the average limit for most of monitors.

  2. Hi, I’ve been trying to get AmbiLED to work on RaspBMC with Hyperion.

    I backed Kickstarter with the RaspBMC SD card as a reward.

    I started off with the SD card I already had, with the latest “KODI” RaspBMC installation on it. Followed the guide – to no avail. Lights went on when powering on and when powering off.

    So I tried the installation I got with my AmbiLED package. Which worked (even though the lights are also on in the menu), so I changed the amount of LED’s. Copied and pasted the LED count from the generated config to the config on the pre-installed card. Still worked. Just couldn’t get smoothing to work.

    Then this morning RaspBMC updated and the lights/Hyperion won’t capture anymore. When I restart Hyperion and use the hyperion-remote -c red -d 5000 command after the lights go bright white it shows the startup effect of Hyperion for about a second. Then it fades.

    Have you guys got the same problem in the latest RaspBMC version? And the still on in menu issue?

    Also, I noticed that:
    Type = adalight
    and
    Output = /dev/ttyUSB0
    On the pre-installed Hyperion config.

    Are you sure most output values should be /dev/ttyAMA0?

      1. Did as you said and lights are working now. Unfortunately I’m not able to enable smoothing or update frequency. When I do the lights start flickering and show weird colours. I guess it’s because of the limitations of the raspberry pi.

        1. Hyperion is very good designed software and it’s not touching the limits of Pi.
          Maybe you can copy the original smoothing and update frequency parts from the default hyperion config file.
          https://code.google.com/p/ambiled-hd/source/browse/trunk/Hyperin_Config_File/hyperion.config.json
          “smoothing” :
          {
          “type” : “none”,
          “time_ms” : 200,
          “updateFrequency” : 20.0000
          }

          If the problem continues. Please send me your json file, I will test it on my pi.

          1. Hi, thanks for the help. But unfortunately, still no luck.
            I’m trying on Openelec on a Raspberry Pi 2 B, can’t get it to run smoothly/predictable. The rainbow swirl fast startup animation is messed up and capturing seems jittery. When the white on/off animation is very fluent.

            My config file.

            Don’t think there’s anything special in there. I’ve got 210 leds. Certain because when I change the config to 209 the last led isn’t on. And I counted it. Twice.

          2. Hi,
            We aren’t suggesting to using it with Openelec because of their known speed and memory usage problems. I personally noted same things on openelec like all hyperion users (google it), this is why our all documentations for RaspBMC and Hyperion.

  3. Hi guys,

    Unfortunately RaspBmc isnt using xbmc anymore
    Now its OSMC

    Is there any update for using AmbiLed with the Pi 2 in connection with OSMC ?

    Or maybe a instructions for OpenELEC 5.0.3

    1. It is not a problem if your media player(OSMC or …) is supporting boblight.
      OpenElec have serious source usage problems and it was the problem for old Pi models. But maybe it works on Pi2.
      We are on vacation till 26th Feb. Then I will install it to my Pi 2 for test and share the results.

    1. Yes, We did it today. Everything is same, you can follow the current documentation.
      The only difference is RaspBMC project is now continua as OSMC. So, you should install OSMC then follow the same steps to install.
      https://osmc.tv/

Comments are closed.