Need help for using examples + integration with Domoticz

  • Hi,


    I'm using Hyperion under RPI and Kodi, and it's awesome!!
    I would like to go further using exemples that are providing under ~/hyperion/effects, for example random.py.


    Unfortunately, despite I've done a "chmod +x random.py", I have this error message:
    -sh: random.py: not found
    or
    -sh: random.json: not found
    I also try "python random.py", with this error message:
    Traceback (most recent call last):
    File "random.py", line 1, in <module>
    import hyperion, time, colorsys, random
    ImportError: No module named hyperion


    Finally, I try an apt-get install hyperion, which is not allowed by Kodi.


    1) Please, what the way to execute those effects programs under python or json?
    2) Next step it's the integration under domoticz, running on another RPI; Is it possible to access on it, with a Dummy Switch or Dimmer, with a kind of url like :
    "http://RPI_hyperion_url:19444/~hyperion/effects/random.py" please?


    Thanks for your help!

  • Thanks for this quick answer!
    It means that I can create a script on my raspberry with Domoticz on it, and call the Hyperion/Kodi on my second RPI through json interface? Do you know where I can find some tips/examples of this kind of scripts please?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!