Hyperion not running correctly

  • The leds will run the startup sequence, but receive no output afterwards


    I have a rpi3 running osmc kodi, a genuine arduino uno, and adalight neopixel leds. I have the latest version of hyperion installed on the rpi3. I am using the latest hypercon.jar version to create my config. I have enured that the leds work by using a test sketch for them on the arduino uno. I have ensured that I am outputting to the correct USB device by double checking "udevadm info --name=/dev/ttyACM0 --attribute-walk" I have ensured the my arduino sketch and hyperion.config.json have the same serial rate


    When I use hypercon.jar to manually start hyperion it will run through the startup sequence but progress no further. Is this an issue with my sketch, or hyperion config?


    I have tried two different sketches



    and this one from the wiki



    This is what my hyperion config looks like



    Please help me get my setup working

  • ok so i removed hyperion, recreated my json config. reinstalled hyperion, added the json config, deleted it, sent the config again so i could see the config populate the directory, and rebooted. then it started working

  • That's all you did? I think I'm in exactly where you were...lights go through the yellow snake pattern and then nothing. It feels like Hyperion isn't running on my RPi, but I'm not sure how you fully check that.

    • Offizieller Beitrag

    if the config you placed on the rpi is incorrect, hyperion fails at start...did you try to start it manually?

  • if the config you placed on the rpi is incorrect, hyperion fails at start...did you try to start it manually?


    How do you start it manually? Here's some info from my log from yesterday. Does this provide any helpful information?


    ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: Starting Hyperion Systemd service... ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: Started Hyperion Systemd service. ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Hyperion Ambilight Deamon (698) ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Build Time: Jul 25 2016 06:54:40 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION INFO: ColorTransform 'default' => [0; 199] ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION INFO: ColorCorrection 'default' => [0; 199] ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION INFO: ColorAdjustment 'default' => [0; 199] ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: LEDDEVICE INFO: configuration: ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: { ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "colorOrder" : "rgb", ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "delayAfterConnect" : 0, ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "name" : "MyHyperionConfig", ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "output" : "/dev/ttyUSB0", ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "rate" : 500000, ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "type" : "adalight" ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: } ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Opening UART: /dev/ttyUSB0 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.) ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Creating linear smoothing ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: EFFECTENGINE INFO: Initializing Python interpreter ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Hyperion started and initialised ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Json server created and started on port 19444 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Proto server created and started on port 19445 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: terminate called after throwing an instance of 'std::runtime_error' ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: what(): VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: Unit hyperion.service entered failed state.

  • How do you start it manually? Here's some info from my log from yesterday. Does this provide any helpful information?


    ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: Starting Hyperion Systemd service... ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: Started Hyperion Systemd service. ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Hyperion Ambilight Deamon (698) ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Build Time: Jul 25 2016 06:54:40 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION INFO: ColorTransform 'default' => [0; 199] ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION INFO: ColorCorrection 'default' => [0; 199] ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION INFO: ColorAdjustment 'default' => [0; 199] ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: LEDDEVICE INFO: configuration: ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: { ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "colorOrder" : "rgb", ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "delayAfterConnect" : 0, ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "name" : "MyHyperionConfig", ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "output" : "/dev/ttyUSB0", ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "rate" : 500000, ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: "type" : "adalight" ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: } ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Opening UART: /dev/ttyUSB0 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: Unable to open RS232 device (IO Exception (2): No such file or directory, file /home/sascha/hyperion/dependencies/build/serial/src/impl/unix.cc, line 100.) ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Creating linear smoothing ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: EFFECTENGINE INFO: Initializing Python interpreter ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Hyperion started and initialised ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Json server created and started on port 19444 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: INFO: Proto server created and started on port 19445 ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: terminate called after throwing an instance of 'std::runtime_error' ssh in: Mar 09 00:09:06 osmcAllie hyperiond[698]: what(): VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: hyperion.service: main process exited, code=killed, status=6/ABRT ssh in: Mar 09 00:09:06 osmcAllie systemd[1]: Unit hyperion.service entered failed state.


    Also, when I try to install Hyperion straight from HyperCon, the log looks like this:


    ssh out: cd /tmp && wget -nv -N https://raw.github.com/hyperio…r/bin/install_hyperion.sh && chmod +x install_hyperion.sh && sudo sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out: Last-modified header missing -- time-stamps turned off.
    ssh out: 2017-03-09 10:01:14 URL:https://raw.githubusercontent.…r/bin/install_hyperion.sh [14539/14539] -> "install_hyperion.sh" [1]
    ssh in: *******************************************************************************
    ssh in: This script will install/update Hyperion Ambient Light
    ssh in: Created by brindosch - hyperion-project.org - the official Hyperion source.
    ssh in: *******************************************************************************
    ssh in: ---> Stop Hyperion, if necessary
    ssh in: ---> Install/Update Hyperion dependencies (This may take a while)
    ssh in: Setting up x11-common (1:7.7+7) ...
    ssh in: debconf: unable to initialize frontend: Dialog
    ssh in: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
    ssh in: debconf: falling back to frontend: Readline
    ssh in: debconf: unable to initialize frontend: Readline
    ssh in: debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
    ssh in: debconf: falling back to frontend: Teletype
    ssh in: /var/lib/dpkg/info/x11-common.postinst: 697: /var/lib/dpkg/info/x11-common.postinst: update-rc.d: not found
    ssh in: dpkg: error processing package x11-common (--configure):
    ssh in: subprocess installed post-installation script returned error exit status 127
    ssh in: dpkg: dependency problems prevent configuration of libice6:armhf:
    ssh in: libice6:armhf depends on x11-common; however:
    ssh in: Package x11-common is not configured yet.
    ssh in: dpkg: error processing package libice6:armhf (--configure):
    ssh in: dependency problems - leaving unconfigured
    ssh in: dpkg: dependency problems prevent configuration of libsm6:armhf:
    ssh in: libsm6:armhf depends on libice6 (>= 1:1.0.0); however:
    ssh in: Package libice6:armhf is not configured yet.
    ssh in: dpkg: error processing package libsm6:armhf (--configure):
    ssh in: dependency problems - leaving unconfigured
    ssh in: dpkg: dependency problems prevent configuration of libxt6:armhf:
    ssh in: libxt6:armhf depends on libice6 (>= 1:1.0.0); however:
    ssh in: Package libice6:armhf is not configured yet.
    ssh in: libxt6:armhf depends on libsm6; however:
    ssh in: Package libsm6:armhf is not configured yet.
    ssh in: dpkg: error processing package libxt6:armhf (--configure):
    ssh in: dependency problems - leaving unconfigured
    ssh in: dpkg: dependency problems prevent configuration of libaudio2:armhf:
    ssh in: libaudio2:armhf depends on libxt6; however:
    ssh in: Package libxt6:armhf is not configured yet.
    ssh in: dpkg: error processing package libaudio2:armhf (--configure):
    ssh in: dependency problems - leaving unconfigured
    ssh in: dpkg: dependency problems prevent configuration of libqtgui4:armhf:
    ssh in: libqtgui4:armhf depends on libaudio2; however:
    ssh in: Package libaudio2:armhf is not configured yet.
    ssh in: libqtgui4:armhf depends on libice6 (>= 1:1.0.0); however:
    ssh in: Package libice6:armhf is not configured yet.
    ssh in: libqtgui4:armhf depends on libsm6; however:
    ssh in: Package libsm6:armhf is not configured yet.
    ssh in: dpkg: error processing package libqtgui4:armhf (--configure):
    ssh in: dependency problems - leaving unconfigured
    ssh in: Errors were encountered while processing:
    ssh in: x11-common
    ssh in: libice6:armhf
    ssh in: libsm6:armhf
    ssh in: libxt6:armhf
    ssh in: libaudio2:armhf
    ssh in: libqtgui4:armhf
    ssh out: E: Sub-process /usr/bin/dpkg returned an error code (1)
    ssh in: ---> Downloading the appropriate Hyperion release
    ssh out: 2017-03-09 10:01:55 URL:https://svwh.dl.sourceforge.ne…hyperion_rpi2_osmc.tar.gz [1637006/1637006] -> "-" [1]
    ssh in: ---> Installing systemd script
    ssh in: ---> Modify systemd script for OSMC usage
    ssh in: ---> Starting Hyperion
    ssh in: *******************************************************************************
    ssh in: Hyperion Installation/Update finished!
    ssh in: Please download the latest HyperCon version to benefit from new features!
    ssh in: To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    ssh in: Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    ssh in: *******************************************************************************

  • That's all you did? I think I'm in exactly where you were...lights go through the yellow snake pattern and then nothing. It feels like Hyperion isn't running on my RPi, but I'm not sure how you fully check that.


    Double check everything, make sure the hyperion config and the arduino have the same serial/baud rate. Try uninstalling and reinstalling hyperion. Make sure you have your config set for the correct OS and correct LEDs. SSH in and manually delete the hyperion config, send the config, view it with a text editor to make sure it is copied in correctly. I just shotgunned it and redid everything and it started working for me

  • Thanks! Ended up getting it working. Not sure what fixed it, but I did the following:


    1. Used a different Arduino sketch than before
    2. Found a grabber that actually had the UTV007 chipset

Jetzt mitmachen!

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