New user trying to make it work

  • Hello all,


    I'm a new hyperion user and I just plan to use it to control some wled strips from hyperion screen capture (Kodi HTPC and gaming PC).


    First I installed and ran it successfully on my Pi Zero test bench.


    Then I tried to install Hyperion on my main Pi 3B+, running my home automation (home-assistant, Node-red and bluetooth presence detector) with a Z-Wave USB dongle and system stored on a SSD (no sd card). Installation is fine but service will just restart in loop.


    Jul 21 18:15:48 pi systemd[1]: hyperiond@pi.service: Scheduled restart job, restart counter is at 11.
    Jul 21 18:15:48 pi systemd[1]: Stopped Hyperion ambient light systemd service for user pi.
    Jul 21 18:15:48 pi systemd[1]: Started Hyperion ambient light systemd service for user pi.
    Jul 21 18:16:29 pi systemd[1]: Stopping Hyperion ambient light systemd service for user pi...
    Jul 21 18:16:35 pi systemd[1]: hyperiond@pi.service: State 'stop-sigterm' timed out. Killing.
    Jul 21 18:16:35 pi systemd[1]: hyperiond@pi.service: Killing process 23051 (hyperiond) with signal SIGKILL.
    Jul 21 18:16:35 pi systemd[1]: hyperiond@pi.service: Main process exited, code=killed, status=9/KILL
    Jul 21 18:16:35 pi systemd[1]: hyperiond@pi.service: Failed with result 'timeout'.



    I can't access the web configuration. I don't know where to get a debug log to understand what is going on.


    I hope someone will be able to point me in the right direction.


    Thank you.

  • I saw a new release was available so I upgraded to alpha.7
    I started the service and got:


    Aug 05 08:54:17 pi [7348]: ## File "<string>", line 1, in <module>
    Aug 05 08:54:17 pi [7348]: ## File "/usr/share/hyperion/bin/python35.zip/random.py", line 40, in <module>
    from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethodType
    Aug 05 08:54:17 pi [7348]: ## File "/usr/share/hyperion/bin/python35.zip/types.py", line 166, in <module>
    import functools as _functools
    Aug 05 08:54:17 pi [7348]: ## File "/usr/share/hyperion/bin/python35.zip/functools.py", line 21, in <module>
    from collections import namedtuple
    Aug 05 08:54:17 pi [7348]: ## File "/usr/share/hyperion/bin/python35.zip/collections/__init__.py", line 32, in <module>
    from reprlib import recursive_repr as _recursive_repr
    Aug 05 08:54:17 pi [7348]: ## zipimport.ZipImportError: can't decompress data; zlib not available
    Aug 05 08:54:17 pi [7348]: ###### EXCEPTION END ######


    zlib was installed so I removed hyperion and re-installed it.
    It started nicely after that.
    So I'm not sure if issue was with alpha.6 only or if something else was involved.


    On a side note, in the GUI, LED hardware there is a field "Target IP/Hostname". However it does not seem to handle hostname properly:


    Aug 05 09:04:59 pi hyperiond[7647]: 2020-08-05T09:04:59.372 hyperiond LEDDEVICE : <ERROR> Device disabled, device 'wled' signals error: 'Invalid target address [wled_desk.imps]!'


    but:


    pi@pi:~ $ ping wled_desk.imps
    PING wled_desk.imps (192.168.1.120) 56(84) bytes of data.
    64 bytes from WLED_Desk.IMPS (192.168.1.120): icmp_seq=1 ttl=128 time=26.8 ms



    Anyway thank you for your help

    • Offizieller Beitrag

    Yes, your expectation using hostname rather static IP is totally valid.


    May I ask you to rename the device to a valid hostname, i.e. without underscore and without dot (unless it is your domain suffix) please
    and try again. e.g. "wled-desk".


    hostname:


    "Each element of the hostname must be from 1 to 63 characters long and the entire hostname, including the dots, can be at most 253 characters long. Valid characters for hostnames are ASCII(7) letters from a to z, the digits from 0 to 9, and the hyphen (-). A hostname may not start with a hyphen."

  • I renamed my device but still (.imps is my local domain):



    Ping is done from the Pi running Hyperion.

    • Offizieller Beitrag

    Would you mind either starting hyperion in debug mode (hyperiond -d) or set the log-level to Debug in the UI
    and share the log output, please?


    In addition, could you please post the output of:


    nslookup 192.168.1.120

  • here you go:


Jetzt mitmachen!

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