Beiträge von Thijs

    osmc@osmc:/etc/systemd/system$ sudo /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
    Hyperion Ambilight Deamon (621)
    Version : V1.03.0 (GitHub-b8f7642/c5d5f2d-1465599599
    Build Time: Jun 11 2016 01:39:39
    INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    HYPERION INFO: ColorTransform 'default' => [0; 45]
    HYPERION INFO: ColorCorrection 'default' => [0; 45]
    HYPERION INFO: ColorAdjustment 'default' => [0; 45]
    LEDDEVICE INFO: configuration:
    {
    "colorOrder" : "rgb",
    "name" : "MyHyperionConfig",
    "output" : "/dev/spidev0.1",
    "rate" : 1000000,
    "type" : "ws2801"
    }


    INFO: Creating linear smoothing
    HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    EFFECTENGINE INFO: Initializing Python interpreter
    INFO: Hyperion started and initialised
    INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    started
    INFO: Json server created and started on port 19444
    INFO: Proto server created and started on port 19445
    DISPMANXGRABBER INFO: Display opened with resolution: 1360x768
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    INFO: Frame grabber created and started
    BORDER SWITCH REQUIRED!!
    CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    EFFECTENGINE INFO: effect finished


    It hangs after that. No new command line.

    Jul 01 21:46:26 osmc hyperiond[267]: Hyperion Ambilight Deamon (267)
    Jul 01 21:46:26 osmc hyperiond[267]: Version : V1.03.0 (GitHub-b8f7642/c5d5f2d-1465599599
    Jul 01 21:46:26 osmc hyperiond[267]: Build Time: Jun 11 2016 01:39:39
    Jul 01 21:46:26 osmc hyperiond[267]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    Jul 01 21:46:26 osmc hyperiond[267]: HYPERION INFO: ColorTransform 'default' => [0; 45]
    Jul 01 21:46:26 osmc hyperiond[267]: HYPERION INFO: ColorCorrection 'default' => [0; 45]
    Jul 01 21:46:26 osmc hyperiond[267]: HYPERION INFO: ColorAdjustment 'default' => [0; 45]
    Jul 01 21:46:26 osmc hyperiond[267]: LEDDEVICE INFO: configuration:
    Jul 01 21:46:26 osmc hyperiond[267]: {
    Jul 01 21:46:26 osmc hyperiond[267]: "colorOrder" : "rgb",
    Jul 01 21:46:26 osmc hyperiond[267]: "name" : "MyHyperionConfig",
    Jul 01 21:46:26 osmc hyperiond[267]: "output" : "/dev/spidev0.1",
    Jul 01 21:46:26 osmc hyperiond[267]: "rate" : 1000000,
    Jul 01 21:46:26 osmc hyperiond[267]: "type" : "ws2801"
    Jul 01 21:46:26 osmc hyperiond[267]: }
    Jul 01 21:46:26 osmc hyperiond[267]: INFO: Creating linear smoothing
    Jul 01 21:46:26 osmc hyperiond[267]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;
    Jul 01 21:46:27 osmc hyperiond[267]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    Jul 01 21:46:27 osmc hyperiond[267]: EFFECTENGINE INFO: Initializing Python interpreter
    Jul 01 21:46:27 osmc hyperiond[267]: INFO: Hyperion started and initialised
    Jul 01 21:46:27 osmc hyperiond[267]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow s
    Jul 01 21:46:27 osmc hyperiond[267]: BLACKBORDER INFO: threshold set to 0 (0)
    Jul 01 21:46:27 osmc hyperiond[267]: BLACKBORDER INFO: mode:default
    Jul 01 21:46:27 osmc hyperiond[267]: started
    Jul 01 21:46:27 osmc hyperiond[267]: INFO: Json server created and started on port 19444
    Jul 01 21:46:27 osmc hyperiond[267]: INFO: Proto server created and started on port 19445
    Jul 01 21:46:28 osmc hyperiond[267]: DISPMANXGRABBER INFO: Display opened with resolution: 1360x768
    Jul 01 21:46:28 osmc hyperiond[267]: BLACKBORDER INFO: threshold set to 0 (0)
    Jul 01 21:46:28 osmc hyperiond[267]: BLACKBORDER INFO: mode:default
    Jul 01 21:46:28 osmc hyperiond[267]: INFO: Frame grabber created and started
    Jul 01 21:46:28 osmc hyperiond[267]: BORDER SWITCH REQUIRED!!
    Jul 01 21:46:28 osmc hyperiond[267]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    Jul 01 21:47:01 osmc hyperiond[267]: EFFECTENGINE INFO: effect finished

    Problem: Followed the guide, but hyperion doesn't start. It displays red letters [FAILED] at boot.
    I did 1 thing different from the guide: I added user osmc to sudoers. I don't think that is the cause of the problem.


    It (message at boot) suggested to run systemctl status hyperion.service, so I did. See below for output.


    osmc@osmc:~$ systemctl status hyperion.service
    * hyperion.service - Hyperion Systemd service
    Loaded: loaded (/etc/systemd/system/hyperion.service; enabled)
    Active: failed (Result: start-limit) since Fri 2016-07-01 20:07:42 UTC; 6min ago
    Process: 381 ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json (code=exited, status=1/FAILURE)
    Main PID: 381 (code=exited, status=1/FAILURE)


    There is no /etc/hyperion/hyperion.config.json
    I used hypercon to send configuration file. I'm now trying to use filezilla to transfer the file. I'll post an update.


    UPDATE:
    I tranferred the file with filezilla, and the service is active now.


    Lights aren't on, so I'll troubleshoot further.


    UPDATE:
    I'm missing at least 1 more file: /etc/init.d/hyperion
    Now 2 files are missing, I have no reason to assume there aren't more files missing. Why didn't the HyperCon tool work for me, while it obviously does for you?