Hyperion is not working anymore - how to debug?
#1
Hi,

I have been using Hyperion with my Raspberry Pi for years now but 2 months ago it suddenly stopped working - all LEDs remain dark. I couldn't figure out the actual problem. My setup has not changed so far except that I upgraded to Raspberry Pi 3 which has the same GPIO pinout for Hyperion. However, it won't work with my previously used Pi2 either. I double checked all connections, bought a brand new ws2801 LED-strip, tried several Kodi distributions such als LibreElec (which I usually use), OpenElec, OSMC with my hyperion.config.json backup and also created a new config..

I'm using HyperCon to install Hyperion as suggested in the manual. The Hyperion log prints this after booting Kodi

Code:
ssh out:     cat /storage/logfiles/hyperion.log
ssh in:     Hyperion Ambilight Deamon (344)
ssh in:         Version   : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
ssh in:         Build Time: Jun  3 2017 02:06:37
ssh in:     INFO: Selected configuration file: /storage/.config/hyperion.config.json
ssh in:     HYPERION INFO: ColorTransform 'default' => [0; 62]
ssh in:     HYPERION INFO: ColorCorrection 'default' => [0; 62]
ssh in:     HYPERION INFO: ColorCorrection 'default' => [0; 62]
ssh in:     LEDDEVICE INFO: configuration: 
ssh in:     {
ssh in:         "colorOrder" : "rgb",
ssh in:         "name" : "MyPi",
ssh in:         "output" : "/dev/spidev0.0",
ssh in:         "rate" : 1000000,
ssh in:         "type" : "ws2801"
ssh in:     }
ssh in:     INFO: Creating linear smoothing
ssh in:     HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=30;updateDelay=0
ssh in:     EFFECTENGINE ERROR: no effects found, check your effect directories
ssh in:     EFFECTENGINE INFO: Initializing Python interpreter
ssh in:     INFO: Hyperion started and initialised
ssh in:     INFO: Boot sequence 'none' EFFECTENGINE INFO: run effect none on channel 0
ssh in:     EFFECTENGINE ERROR: effect none not found
ssh in:     failed
ssh in:     INFO: Json server created and started on port 19444
ssh in:     INFO: Proto server created and started on port 19445
ssh in:     DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
ssh in:     BLACKBORDER INFO: threshold set to 0.01 (3)
ssh in:     BLACKBORDER INFO: mode:classic
ssh in:     INFO: Frame grabber created and started
ssh in:     BORDER SWITCH REQUIRED!!
ssh in:     CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0

Any idea on how to tackle this problem?
Reply
#2
this is my config

Code:
// Automatically generated configuration file for Hyperion ambilight daemon
// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area) 
// Generated by: HyperCon (The Hyperion deamon configuration file builder)
// Created with HyperCon V1.03.3 (22.10.2017)

{
    // DEVICE CONFIGURATION 
    "device" :
    {
        "name"       : "Kodi",
        "type"       : "ws2801",
        "output"     : "/dev/spidev0.0",
        "rate"     : 1000000,
        "colorOrder" : "rgb"
    },

    // COLOR CALIBRATION CONFIG
    "color" :
    {
        "channelAdjustment" :
        [
            {
                "id"   : "default",
                "leds" : "*",
                "pureRed" :
                {
                    "redChannel"        : 255,
                    "greenChannel"        : 0,
                    "blueChannel"        : 0
                },
                "pureGreen" :
                {
                    "redChannel"        : 0,
                    "greenChannel"        : 255,
                    "blueChannel"        : 0
                },
                "pureBlue" :
                {
                    "redChannel"        : 0,
                    "greenChannel"        : 0,
                    "blueChannel"        : 255
                }
            }
        ],
        "temperature" :
        [
            {
                "id"   : "default",
                "leds" : "*",
                "correctionValues" :
                {
                    "red"     : 255,
                    "green"    : 255,
                    "blue"     : 255
                }
            }
        ],
        "transform" :
        [
            {
                "id"   : "default",
                "leds" : "*",
                "hsl" :
                {
                    "saturationGain"    : 1.0000,
                    "luminanceGain"        : 1.0000,
                    "luminanceMinimum"        : 0.0000
                },
                "red" :
                {
                    "threshold"     : 0.0000,
                    "gamma"         : 2.5000
                },
                "green" :
                {
                    "threshold"     : 0.0000,
                    "gamma"         : 2.5000
                },
                "blue" :
                {
                    "threshold"     : 0.0000,
                    "gamma"         : 2.5000
                }
            }
        ],
    // SMOOTHING CONFIG
        "smoothing" :
        {
            "type"            : "linear",
            "time_ms"         : 200,
            "updateFrequency" : 20.0000,
            "updateDelay"     : 0
        }
    },

    // NO V4L2 GRABBER CONFIG
    // FRAME GRABBER CONFIG
    "framegrabber" : 
    {
        "width" : 64,
        "height" : 64,
        "frequency_Hz" : 10.0,
        "priority" : 890
    },

    // BLACKBORDER CONFIG
    "blackborderdetector" : 
    {
        "enable" : true,
        "threshold" : 0.0,
        "unknownFrameCnt" : 600,
        "borderFrameCnt" : 50,
        "maxInconsistentCnt" : 10,
        "blurRemoveCnt" : 1,
        "mode" : "default"
    },

    // BOOTEFFECT CONFIG
    "bootsequence" : 
    {
        "color" : [0,0,0],
        "effect" : "Rainbow swirl fast",
        "duration_ms" : 3000,
        "priority" : 700
    },

    // JSON SERVER CONFIG
    "jsonServer" : 
    {
        "port" : 19444
    },

    // PROTO SERVER CONFIG
    "protoServer" : 
    {
        "port" : 19445
    },

    // EFFECT PATH
    "effects" : 
    {
        "paths" : 
        [
            "/storage/hyperion/effects",
            "/usr/share/hyperion/effects"
        ]
    },

    // NO KODI CHECK CONFIG
    // NO BOBLIGHT SERVER CONFIG
    // NO JSON/PROTO FORWARD CONFIG

    // LED CONFIGURATION
    "leds" : 
    [
        {
            "index" : 0,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0986 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 1,
            "hscan" : { "minimum" : 0.0832, "maximum" : 0.1895 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 2,
            "hscan" : { "minimum" : 0.1741, "maximum" : 0.2805 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 3,
            "hscan" : { "minimum" : 0.2650, "maximum" : 0.3714 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 4,
            "hscan" : { "minimum" : 0.3559, "maximum" : 0.4623 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 5,
            "hscan" : { "minimum" : 0.4468, "maximum" : 0.5532 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 6,
            "hscan" : { "minimum" : 0.5377, "maximum" : 0.6441 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 7,
            "hscan" : { "minimum" : 0.6286, "maximum" : 0.7350 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 8,
            "hscan" : { "minimum" : 0.7195, "maximum" : 0.8259 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 9,
            "hscan" : { "minimum" : 0.8105, "maximum" : 0.9168 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 10,
            "hscan" : { "minimum" : 0.9014, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
        },
        {
            "index" : 11,
            "hscan" : { "minimum" : 0.9014, "maximum" : 1.0000 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 12,
            "hscan" : { "minimum" : 0.8105, "maximum" : 0.9168 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 13,
            "hscan" : { "minimum" : 0.7195, "maximum" : 0.8259 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 14,
            "hscan" : { "minimum" : 0.6286, "maximum" : 0.7350 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 15,
            "hscan" : { "minimum" : 0.5377, "maximum" : 0.6441 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 16,
            "hscan" : { "minimum" : 0.4468, "maximum" : 0.5532 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 17,
            "hscan" : { "minimum" : 0.3559, "maximum" : 0.4623 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 18,
            "hscan" : { "minimum" : 0.2650, "maximum" : 0.3714 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 19,
            "hscan" : { "minimum" : 0.1741, "maximum" : 0.2805 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 20,
            "hscan" : { "minimum" : 0.0832, "maximum" : 0.1895 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        },
        {
            "index" : 21,
            "hscan" : { "minimum" : 0.0000, "maximum" : 0.0986 },
            "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
        }
    ],

    "endOfJson" : "endOfJson"
}
Reply
#3
hyperion seems to be missing its effects files, is it missing other files? Did the SD corrupt or something?
Get Hyperion working first - you can trigger it via ssh to do an effect to show you the hardware is ok.
Is SPI enabled on the pi?
Can you connect to the hyperion server with an app ?
is baudrate correct? i cant find my config file atm but 1000000 doesnt sit right in the back of my head.
Reply
#4
(2018-01-01, 17:50)DoubleT Wrote: hyperion seems to be missing its effects files, is it missing other files?

This was fixed in my recent config file.

(2018-01-01, 17:50)DoubleT Wrote: Did the SD corrupt or something?
Get Hyperion working first - you can trigger it via ssh to do an effect to show you the hardware is ok. Is SPI enabled on the pi?
Can you connect to the hyperion server with an app ?

SD card is working properly, Hyperion is working, SPI is enabled in flash/config.txt (dtparam=spi=on). I use HyperCon to start/stop Hyperion, see the log or change colors

(2018-01-01, 17:50)DoubleT Wrote: is baudrate correct? i cant find my config file atm but 1000000 doesnt sit right in the back of my head. 

No idea, it has been the same since the very first version.
Reply
#5
Hi,

I have the same problem, could you share your recent config please?!
Reply

Logout Mark Read Team Forum Stats Members Help
Hyperion is not working anymore - how to debug?0