1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Multiple Hyperion Instances

Discussion in 'Software Support' started by CarbonCrash, 22 June 2016.

  1. CarbonCrash

    CarbonCrash New Member

    Messages:
    2
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    First I want to thank the heavy lifters around here for this work. I love this software and you guys really are my heroes.

    I know you guys have been busy updating the wiki since the latest version rolled out but I wasn't able to find nor am I good enough to figure out which files need to be edited and where said files would be located in order to start multiple hyperion instances at boot. Running a rpi3 with osmc. If anyone can point me to the right files I can probably use the wiki to figure the rest out. Just need to boot up a config for ws281x and another for an esp8266 using udp.

    Thank you gentlemen.
     
  2. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Greetings CarbonCrash,
    you are right, the wiki is a little bit outdated, and the current way is more a step in between another. There is also one step more we need to do here for a better usage in general.

    It is quite easy
    for OSMC /Raspbian Jessie (Debian 8), Ubuntu 15.04 and higher (and all derivates like linux mint etc)

    edit the following service file
    Code:
    nano /etc/systemd/system/hyperion.service
    edit this line
    Code:
    ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json
    to something like this (please use always your "main" configuration at the first position)
    Code:
    ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json /etc/hyperion/YOURCONFIGNAME.json
    you could also start 3, 4, ..., 100, hyperion instances this way


    Now after you saved the file you need to reload the service configuration
    Code:
    systemctl -q daemon-reload
    If you need help for the esp, just ask.
     
    Last edited: 22 June 2016
  3. CarbonCrash

    CarbonCrash New Member

    Messages:
    2
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266

    Thank you sir..... Very much appreciated.
     
  4. epicfail83

    epicfail83 Member

    Messages:
    41
    Hardware:
    RPi2
    Would this also possible for, lets say, the normal hyperion.config.json (tv tuner input) and my hyperion.config.hdmi.json (for all hdmi devices)?

    hyperion.config.json uses:

    Code:
            "device" : "/dev/video0",
            "input" : 1,
    
    hyperion.config.hdmi.json uses:

    Code:
            "device" : "/dev/video0",
            "input" : 0,
    as Input source.

    If that is possible i really would like it....so my harmony remote actions would be much easier.
     
  5. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Sadly no, you can´t use the same source in two configs. Also you can´t use the same output in two configs (spi0.0)
     
  6. epicfail83

    epicfail83 Member

    Messages:
    41
    Hardware:
    RPi2
    Ok, too bad. Thx for your answer
     
  7. cmvac

    cmvac New Member

    Messages:
    22
    Hardware:
    RPi2, 32/64bit, Wetek
    Hi guys, I am trying to set up two Xiaomi Yeelights with my LibreELEC Hyperion system. I got to this post through this one: https://hyperion-project.org/threads/xiaomi-rgb-bulb-simple-udp-server-solution.529/

    I need to do this in LibreELEC but I am not finding this hyperion.service file on my Hyperion folder (storage\hyperion\bin). Am I searching on the wrong place? I already searched in /etc/systemd/ but there's nothing there. Does anybody know where this file or it's equivalent for LibreELEC is?
     
  8. Anthrax

    Anthrax New Member

    Messages:
    25
    Hey everybody,

    is this still working? Not having much luck running two configs from one command line...

    regards
    Anthrax