Hyperion on OpenELEC. It works!

After my short journey with boblight on OpenELEC that ended up tragically ;) I gave OpenELEC-Hyperion a try. First I thought it would not be possible (no apt-get, most of the file system read only), but these smart guys from Hyperion managed to make the installation process easy and quick. Most importantly, it works perfectly in opposite to boblight.

Generally Hyperion wiki gives you proper how-to, but we will enrich the description with some details that can be helpful for total beginners.

First step is to check if there is SSH and SAMBA enabled. Go to System->OpenELEC->Services:
Enable SSH – ON
Disable SSH Password – OFF

Enable SAMBA – ON
Use Samba Password Authentication – OFF

Also go to Programs (from main XBMC screen) and verify that there are NO boblight plug-ins installed. If there are any, uninstall them.

Now you need to connect to your RPi via SSH (using puTTY, for example).

Now you are ready to start installation by executing the following commands:

You are almost done. Now, what you need to do is to upload hyperion.config.json into /storage/.config/ , but before you do that, you need to make sure that there is one section added (if already exists, should be modified). In the “effects” section you should add/modify path to reflect right OpenELEC directory.

Now it is time to upload the config file. With Samba enabled you can use Widows Explorer to access the OpenELEC SD card.
Go to: \\192.168.1.12\Configfiles where 192.168.1.12 is your RPi IP address

OpenELEC ConfigFiles directory

and copy file from your hard disk into OpenELEC directory.

Restart RPi and enjoy! It looks really good.

Here is your raspberry pi ampilight system!
  • itouch5000

    It looks great :) Can you upload the config file?

  • STF

    How to make this a stand alone ambilight using a usb video grabber like with ambi tv ?

    • Jacek

      I am writing tutorial about that. Hopefully I will complete it within a few days.

      • STF

        That will be the ultimate tutorial. The tutorial is very straight forward so far. Thanx for your time and effort and for writing a tutorial for people like me.

  • Pingback: Ambilight nachrüsten mit Raspberry Pi und Hyperion | Mein Blog()

  • huball

    Is it possible to run video grabber on OpenElec Rpi?

  • Rasmus K

    Which LED’s are you using in the video. How many LED’s would you recommend for a 42inch TV?

    • Jacek

      These are Lightberry leds (ws2801). TV size is 42″ and there are 44LEDs.
      I hope this helps :)

  • STF

    Hey Jacek, Do you think that this will ever work under openelec. I’ve tried the ‘

    Video Grabber for Raspberry Pi’ tutorial (using UTV007 (Fushicai) chipset, it’s recognized, during boot it’s shown) but i don’t get the device=/dev/video0 under lsusb, any idee ?

    • Jacek

      What do you mean by “it is recognized”? What do you get from lsusb?

    • Juzz Eisenberg

      I’ve the same problem (sorry for my english)
      i don’t know how to do a standalone ambilight with this device. UTV007 on Openelec

      • Jacek

        I truly doubt that OpenELEC will allow doing that. Please see our latest tutorial regarding HDMI connection to raspberry pi. It is applicable only for Raspbian, though.

        • Juzz Eisenberg

          Thank you, i will try with an other sd card to install Raspian + RaspBmc.

          But with Raspbian, where do you copy your new hyperion.config.json ?

  • STF

    after sudo apt-get -y install mplayer command line i get the following message.

    Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libav/libavutil51_0.8.6-1+rpi1_armhf.deb 404 Not Found
    Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libav/libavcodec53_0.8.6-1+rpi1_armhf.deb 404 Not Found
    Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libav/libavformat53_0.8.6-1+rpi1_armhf.deb 404 Not Found
    Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libav/libpostproc52_0.8.6-1+rpi1_armhf.deb 404 Not Found
    Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/liba/libav/libswscale2_0.8.6-1+rpi1_armhf.deb 404 Not Found
    E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?

    What should i do ore type?

  • Ned Collin

    PLS NOTE THAT GITHUB URL CHANGED!!!!!!

    • Jacek

      Fixed :)

  • tulipo

    help can`t get anymore hyperion. 0 byte received

  • Avneet Singh

    hi just a quick question.. are the video files played from the PC or from the raspberry pi.. i have all my videos on the pc and transfering to raspberry is tedious.. is it possible to use this setup and using xmbc on the pc to play videos .. could someone please provide some details.. thanks

    • Jacek

      It should be possible as hyperion provides network interface so (theoretically) you can run hyperion on your PC, but transfer “ambilight” information to Raspberry Pi with hyperion installed.
      The same trick should be available for boblight

      • Avneet Singh

        Hi Jacek

        Thanks for the quick response.. someone also mentioned the same to me but i have not been able to find instructions on how to do that..was hoping someone could point me to the right direction..

        thanks

  • Carles Constanti

    Very nice post, I got my lightberry setup and I love it but I’ve found out a couple of issues. 1- the hyperion install files will get wiped anytime that openelec gets updated. 2-I need to check my config file as I got it from here a few months back and I am getting the lights on the opposite side to where they should be (i.e. if a light focus comes from the right on the TV it will light up the leds on the left side)……any ideas?

    Thanks!

    • Jacek

      Carles, I don’t think we can do anything with 1 – this is how openelec installer works. 2 – you can create your own config with your particular led layout with hyperion config tool available at hyperion github website.

  • vangel87

    I’m thinking about buying Lightberry for my Raspberry B+ but tell me please: are there any problems with the newest openELEC 4.2.0? Are there any problems with each new version of openelec, like compatibility issues or something?

    • Jacek

      OpenElec up to 4.1.6 works fine. I have not had a chance to test the newest one but I would not expect any problems. Openelec guys are working on fixing support for stk1160 grabbers.

    • Mickael Bucher

      Hello .I have one RPI B+ With openelec+lightberry 4.1.5 inside on a sd card 8go.
      I can put the hyperion.config.json and the led are playing…but only with video for one DD plugin on the RPI. I have the usb grabber stk1160 pluging on RPI and I cannot do it run with the led, only with the screen XBMC. WHAT CAN I do ?

  • Nicolas Gif

    Hi, I just bought a Ligthtberry and installed OpenElec+Hyperion on a SD card. Is it possible to have Lightberry working when playing a video with OpenElec without using a video grabber ? For now, I only get all the colors of the rainbow, but nothing that match the video OpenElec is playing !?!

    • Jacek

      What grabber do you have? have you added grabber-v4l2 section to your config file?

      • Nicolas Gif

        I have no grabber because I do not use an external source. The source is the RPi itself. It seems weird to plug the RPi to itself through a grabber in order to work.

        • Jacek

          Right :) So, there is a rainbow swirl produced by leds, but then whatever you play via openelec it is not reflected by leds?

          • Nicolas Gif

            I don’t know what’s the problem. When I do “./hyperion-remote.sh –color red”, I get an rainbow and not only red !

          • Ren

            I have same problem. Some solution?

          • Jacek

            That’s most likely hardware issue. Please contact us at Lightberry email.

          • Ren

            In what order must be the colors in the rj-11 conector?
            Yellow, Green, Red, Black?

      • Mickael Bucher

        Hello .I have one RPI B+ With openelec+lightberry 4.1.5 inside on a sd card 8go.
        I can put the hyperion.config.json and the led are playing…but only with video for one DD plugin on the RPI. I have the usb grabber stk1160 pluging on RPI and I cannot do it run with the led, only with the screen XBMC. WHAT CAN I do ?

        • Jacek

          STK1160 works only on raspbian (does not work on Openelec nor Raspbmc)

          • Mickael Bucher

            I have buy the grabber and the led and I have download the openelec with hyperion on lightberry.eu. It is possible than they sale items with no compatibility ? Maybe my grabber is not a stk1160… I go look…

          • Mickael Bucher

            It is a stk1160

  • Rui Ramos

    Hi, I bought a premium kit lightberry but can not get it work. I did exactly all the steps in the tutorial on youtube and not working, so I decided to make the method that is on this page, but does not work well. I do not know what to do …

  • Daniel

    I’m stuck here,before

    “effects” :
    {
    “paths” :
    [
    “/storage/hyperion/effects”
    ]
    },

    could you help me in step?how do?

    • Cláudio Castro

      You have to manually edit the hyperion.config.json file and search for “effects”. Then change what’s written in it to:

      “effects” :
      {
      “paths” :
      [
      “/storage/hyperion/effects”
      ]
      },

      After that save the file and follow the rest of the tutorial!

      • Daniel

        is compatible with raspberry b+?

        • Cláudio Castro

          I guess so, there’s really no big difference between model B and B+. They have the same specs…

          • Daniel

            I install openelec+fushicai kernel b+, i have created hyperion file config, install hyperion, hyperion file copy into /storage/configfiles, reboot but led dont work

          • Cláudio Castro

            I am having a similar issue. My leds start but just blink randomly. You should check if your transformer is working. I got in contact with Lightberry and am waiting for assistance. I would advise you to do the same.

          • Daniel

            Also my led start, but just blink only one time. The assistance is not helpful

          • Jacek

            Claudio, we found an issue with the cable/converter. We’re fixing this now and we will be sending replacement parts within a few days.

          • Cláudio Castro

            Hi Jacek, great news! Thanks for your quick reply and assistance!

        • Cláudio Castro

          Hi Daniel, sorry for my late reply… I guess so, because there are no big hardware differences. Only the GPIO differs!

  • Cláudio Castro

    Hi guys, I followed this tutorial and my Lightberry isn’t working properly. All it shows is a blinking pattern of colors. There’s no response to video. I have tried all tutorials I could find but still no change. I have a Lightberry 52 LEDs for TVs 46″ to 55″ with the easycap scart kit. Help please!

  • Nina

    Hello. I followed theese instructions and my Lightberry is not working as its supposed to. It only works for a little bit when I turn them on (at least i know the lights are working ;-) )
    I have the HDMI premium kit, and the Raspberry pi b+
    Please help me. What am i doing wrong?

    • Nina

      @Jacek, I have been trying to get it to work for 4 days, and now i have grotten as far as the lightberry works in the XBMC program (if i change skins, the lights also change), but if i turn on the bluray player (connected to the splitter) nothing happens, the lights stay on, but they are only blue.

      • Jacek

        Nina, stk1160 was not working on B+, but that has changed recently. Please try this system image: img.lightberry.eu/download/OpenELEC-RPi.arm-Bplus_stk1160.zip

        • Nina

          Thank you for your fast reply :-)
          Thats the latest one I have been trying, and the one that works in the XBMC-program, but it seems I cant get it to work anywhere else, like on a bluray player or TV. Any suggestions?

          • Jacek

            Is your HDMI converter set to PAL? can you take screenshot with hyperion-v4l2?

          • Nina

            Yes, its set to PAL.
            I dont understand the screenshot thing. Shall I take a picture of the screen? I dont know how to take a screenshot with this. Im new at all this ;-)

          • Jacek

            PLease see hyperion wiki. You can take a screenshot with hyperion-v4l2 tool

          • Jacek

            Please see lightberry.eu/support grabber section

  • Rick

    Hi,
    Just follow all the steps but i dont see hyperion anywhere in openelec, is this correct?

    • Jacek

      On Openelec should be in /storage/hyperion/bin

      • Gro

        But it must be in the list of programs Kodi?

        The last installation message did not appear (Adding Hyperion to autostart script)

        • Jacek

          Hyperion is a daemon. It runs in the background. You won’t see it in Kodi menu…

  • tulipo

    i can’t get hyperion work with this tutorial. I tried openelec ( img from your website ) and debian wheezy. I have rasp B and that’s my hyperion.config.json http://pastebin.com/f27pucSw
    When i try in ssh to launch /storage/hyperion/bin/hyperion-remote.sh –effect “Rainbow swirl fast” –duration 3000 i always get Unable to connect to host.

    • Jacek

      What happens when you run hyperion from command line? Does it throw any error?

      • tulipo

        here it is…..

        • Jacek

          Try this:

          /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.json

          • tulipo

            Aborted….. COnfiguration file is the same i posted before….

          • Jacek

            How did you edit the file? Using which tool? WordPad or notepad?

          • tulipo

            I didn’t edit. I create using Hyperion configuration tools. I just open the file with notepad++ only to copy paste in ssh.

          • Jacek

            Can you send an output of:
            cat -v /storage/.config/hyperion.config.json
            ?

          • tulipo

            Solved !! It was a problem with text formatting !! Now is the hardware is not working.. I have just 2 led always turned on !! Do you think is the small black box the problem ?? Thanks again for your time….

          • Jacek

            There can be thousands of reasons for this (why does everyone blame led converter?!). For the start, can you try with different pi? Do you have SPI enabled? Is your connection to GPIO correct?

          • tulipo

            So here i am again…. I make different test in these few days… I also try with a different raspberry. A model B. It seems the problem is enabling spi connection.

            Can you take a look to this thread here…

            https://www.raspberrypi.org/forums/viewtopic.php?f=98&t=113425

            Maybe it could be that one the problem.

            Thanks again..

          • Jacek

            Have you tried Lightberry system images? If yes, everything is set up there already, so if leds don’t work, that can be hardware problem – please contact us via our Lightberry email to receive warranty service.

  • Jens

    Hi Jacek,
    Thank you for this nice instruction! I have one question you might – or might not be able to answer:
    I´m getting composite PAL signal from my IP TV box to the USB grabber. (No HDMI to AV converter) My problem with that is, that there is black bars on top and bottom of the picture.

    I have tried different settings with crop and frame/size Decimation, but nothing seems to make a difference. Unfortunately, there is no possibility to change output format on composite output in the IP TV box.

    Do you have any suggestion, or do I really need to use the HDMI to AV converter for this?

    Thanks in advance!
    Jens

    • Jacek

      Increase black border threshold to 0.1 or 0.2.

      • Jens

        ohh yes ofcause!
        Don´t know why I missed this setting :o/

        Thank you very much! :-)

  • Rob Wohlstetter

    Works perfectly for me on my Pi, only issue i am having is i can not get it to not grab the menu, and i always have the LEDs on unless i power down the Pi.

    this is what i have in the config file, and changing it to false or true doesn’t change it

    “xbmcVideoChecker” :

    {

    “xbmcAddress” : “127.0.0.1”,

    “xbmcTcpPort” : 9090,

    “grabVideo” : true,

    “grabPictures” : true,

    “grabAudio” : true,

    “grabMenu” : false,

    “grabScreensaver” : false,

    “enable3DDetection” : false

    • Brent Hunter

      Having the same problem since upgrading to OpenElec 6.0.0

      • Jacek

        Do you have both items in System->settings->services->remote control turned on?

        • Brent Hunter

          I did make that change, and it successfully works now. Thank you.

  • perri4

    So yeah, got a 4k-kit and it have worked well for the last two weeks. Yesterday when using it like normal, the LEDs didn’t light up – at all. I rebooted the rPI and it flashed green, red & blue like regular. But then nothing.

    What the heck could’ve happend? :-)

    • Jacek

      That can be lots of things. Please contact lightberry support to have it sorted out.

  • Dominique

    Thank you for this however for new people, this doesn’t help much without a visual. I feel a how-to video would have been much better than an end result one.

  • Angel

    I’m getting this error whenever I try to install Hyperion. What may be causing it?

    • karan manbodh

      user open elec version 4.1.5

      • karan manbodh

        use

  • karan manbodh

    pls help ? my lightbery is stuck on 1 color only all LED lights ,

  • Danny Mack

    Everything was so step-by-step, which was perfect for me…then when I got to “and copy file from your hard disk into OpenELEC directory.”, I was stumped….I don’t know how to do that part…

    • Jacek

      Just use samba / windows network as presented on the screenshot above.