Control Lightberry from Kodi/XBMC HTPC over network

You can now control Lightberry from remote Kodi/XBMC installation over network! No need for usual HDMI kits that grabbed signal. Everything you need is a XBMC plugin. Read on for detailed (yet simple) tutorial.

First of, what does it mean: HTPC with Kodi/XBMC (doesn’t matter what based on: windows, linux) with help of addon will send data over network to Rasberry PI hyperion app therefore controlling it. No need to grab HDMI signal through one of Lightberry Kits.

Configuring hyperion

Make sure that your hyperion allows for remote connections and note port number that hyperion listen on. Find below hyperion.config.json part that defines it. (See http://lightberry.eu/support/how-to-upload-hyperion-conf-json-to-openelec/ if you have troubles uploading hyperion.config.json)

Addon instalation

Download addon from: https://github.com/poljvd/script.service.hyperion (Click Download ZIP on the right) and copy it on your HTPC (or download directly to it)
pack
Now, in Kodi/XBMC – go to System -> Add-ons -> Install from Zip file and choose zip that you downloaded from file system.
addonKodi

Addon configuration

Go to Enabled Add-ons -> Services -> Hyperion ambilight and select Configure.
Replace IP address to right one of your Raspberry Pi with hyperion installed. In case you had to change port on which hyperion listen change it here too.
addonConfigure

Play any movie on your HTPC, Lightberry should react to movie playing on your HTPC. If it doesn’t check if both devices are connected to same local network and hyperion is running on Raspberry Pi.

Enjoy :)



Here is your raspberry pi ampilight system!
  • Roberto

    Hi Tomek, this seems very interesting, and i have a question for you:
    can i use 127.0.0.1 as the ip address for hyperion ? Of course i mean can i use this thing on the same raspi that i use with kodi ?
    Thank you.

    • http://raspberry-at-home.pl/ Tomasz Szczerba

      No need for this if you use it on the same raspi, it will work out of box.

  • Ludovic Palmisano

    hello that it must be installed on the raspberry ? OpenELEC or nothing? it should just plug the rpi on the network without sd card?

    • Jacek

      Operating system doesn’t really matter as long as you have hyperion running on that system…

  • yogib3ar

    Yes, this is very interesting, but do You mean to say it will only work on a HTPC?

    Previously I used to use XbmcBuntu with an Arduino adalight but replaced the HTPC with an android box and Planning to use Raspberry with Hyperion. (have this allready working while playing movies via XBMC on the rasberry)
    I wanted to buy the Lightberry HDMI kit (HDMI premium) but as I’m only using the ambilight during TV-shows and movies on my Android box. your software solution could work nicely too.
    My qry:

    Would this software option also work on a Android tv box? (minix x8-h plus) and then interfacing with the raspberry-hyperion?

    Thanks for sharing… :)

    • Jacek

      Interesting… that has to be some kind of ‘feature’ of the Android HTPC

      • yogib3ar

        Thanks for your reply Jacek.

        I wouldn’t know what feature that would be, all types of compressed movies play without a hitch, SD, 720p, 1080p and even higher.
        Perhaps the XBMC hyperion addon has limitations for video capture for higher resolutions than SD on android?

        (I noticed the version number for the xbmc plugin being 1.0, Usually this means there will be some bug fixing.)

        Your reply suggest there’s no solution to this?

        When playing the first movie, which was a SD type movie I thought I finally had a solution for the absence of the boblight daemon in my android XBMC.

        Previously I used an HTPC with Adalight ambilight, an Arduino and boblight.

        Hyperion’s config suggest it can also communicate with boblight.
        However I couldn’t find any documentation on this, so I went the Hyperion xbmc plugin way.

        Have you got any suggestions?

  • Nino

    I tried this on my Sony Bravia, couldn’t get it working.
    Does this work on androidTV afterall?

    • Nino

      For now I resolved my initial problem, I had to turn off HW acceleration in Kodi. THen it did work.

      But I would have loved to see it work with apps (opened in Kodi). Which it didnt, neither on the TV nor on the FireTv