1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + OpenELEC RPI3 + OpenELEC 8.0.4 + Hyperion + WS2812b

Discussion in 'Software Support' started by pawkon, 23 June 2018.

  1. pawkon

    pawkon New Member

    Messages:
    6
    Hardware:
    RPi3
    Hi,
    This is my first post on this forum so hello everyone. I have a problem with a newest Openelec as in subject trying to get my leds working. I have a working configuration on version of openelec 6.0.3 but I cannot get it working on 8.0.4. I wanted to install it from a fresh install so here is what I did till now.

    1. I have cloned image to the sd card and run simple setup on the first run
    2. In config.txt I have addes: dtoverlay=pwm and dtparam=spi=on
    3. My ws2812b are connected to rpi via joint gnd and pin GPIO18
    4. I have installed hyperion via script from raw.githubusercontent.com/tvdzwan/hyperion/master/bin/install_hyperion.sh whis is 14MB and the original only 2MB
    5. I copied hyperion config file to /storage/.config/hyperion.config.json
    this is my config file
    Code:
    // Automatically generated configuration file for 'Hyperion daemon'
    // Generated by: HyperCon (The Hyperion deamon configuration file builder
    
    {
        /// Device configuration contains the following fields: 
        /// * 'name'       : The user friendly name of the device (only used for display purposes)
        /// * 'type'       : The type of the device or leds (known types for now are 'ws2801', 'ldp8806',
        ///                  'lpd6803', 'sedu', 'adalight', 'lightpack', 'test' and 'none')
        /// * 'output'     : The output specification depends on selected device. This can for example be the
        ///                  device specifier, device serial number, or the output file name
        /// * 'rate'       : The baudrate of the output to the device
        /// * 'colorOrder' : The order of the color bytes ('rgb', 'rbg', 'bgr', etc.).
        "device" :
        {
            "name"       : "MyPi",
            "type"       : "ws2812b",
            "output"     : "/dev/spidev0.0",
            "rate"       : 500000,
            "colorOrder" : "rgb"
        },
    
        /// Color manipulation configuration used to tune the output colors to specific surroundings. 
        /// The configuration contains a list of color-transforms. Each transform contains the 
        /// following fields:
        ///  * 'id'   : The unique identifier of the color transformation (eg 'device_1')    ///  * 'leds' : The indices (or index ranges) of the leds to which this color transform applies
        ///             (eg '0-5, 9, 11, 12-17'). The indices are zero based.    ///  * 'hsv' : The manipulation in the Hue-Saturation-Value color domain with the following 
        ///            tuning parameters:
        ///            - 'saturationGain'  The gain adjustement of the saturation
        ///            - 'valueGain'       The gain adjustement of the value
        ///  * 'red'/'green'/'blue' : The manipulation in the Red-Green-Blue color domain with the 
        ///                           following tuning parameters for each channel:
        ///            - 'threshold'       The minimum required input value for the channel to be on 
        ///                                (else zero)
        ///            - 'gamma'           The gamma-curve correction factor
        ///            - 'blacklevel'      The lowest possible value (when the channel is black)
        ///            - 'whitelevel'      The highest possible value (when the channel is white)
        ///
        /// Next to the list with color transforms there is also a smoothing option.
        ///  * 'smoothing' : Smoothing of the colors in the time-domain with the following tuning 
        ///                  parameters:
        ///            - 'type'            The type of smoothing algorithm ('linear' or 'none')
        ///            - 'time_ms'         The time constant for smoothing algorithm in milliseconds
        ///            - 'updateFrequency' The update frequency of the leds in Hz
        "color" :
        {
            "transform" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "hsv" :
                    {
                        "saturationGain" : 1.0000,
                        "valueGain"      : 1.0000
                    },
                    "red" :
                    {
                        "threshold"  : 0.0000,
                        "gamma"      : 1.0000,
                        "blacklevel" : 0.0000,
                        "whitelevel" : 1.0000
                    },
                    "green" :
                    {
                        "threshold"  : 0.0000,
                        "gamma"      : 1.0000,
                        "blacklevel" : 0.0000,
                        "whitelevel" : 1.0000
                    },
                    "blue" :
                    {
                        "threshold"  : 0.0000,
                        "gamma"      : 1.0000,
                        "blacklevel" : 0.0000,
                        "whitelevel" : 1.0000
                    }
                }
            ],
            "smoothing" :
            {
                "type"            : "none",
                "time_ms"         : 200,
                "updateFrequency" : 20.0000
            }
        },
    
        ///  The configuration for each individual led. This contains the specification of the area 
        ///  averaged of an input image for each led to determine its color. Each item in the list 
        ///  contains the following fields:
        ///  * index: The index of the led. This determines its location in the string of leds; zero 
        ///           being the first led.
        ///  * hscan: The fractional part of the image along the horizontal used for the averaging 
        ///           (minimum and maximum inclusive)
        ///  * vscan: The fractional part of the image along the vertical used for the averaging 
        ///           (minimum and maximum inclusive)
        "leds" : 
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0278 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9594, "maximum" : 0.9900 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9288, "maximum" : 0.9594 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8981, "maximum" : 0.9288 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8675, "maximum" : 0.8981 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8369, "maximum" : 0.8675 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8063, "maximum" : 0.8369 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7756, "maximum" : 0.8062 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7450, "maximum" : 0.7756 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7144, "maximum" : 0.7450 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6838, "maximum" : 0.7144 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6531, "maximum" : 0.6838 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6225, "maximum" : 0.6531 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5919, "maximum" : 0.6225 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5613, "maximum" : 0.5919 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5306, "maximum" : 0.5612 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 0.5306 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4694, "maximum" : 0.5000 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4388, "maximum" : 0.4694 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4081, "maximum" : 0.4388 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3775, "maximum" : 0.4081 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3469, "maximum" : 0.3775 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3163, "maximum" : 0.3469 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2856, "maximum" : 0.3163 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2550, "maximum" : 0.2856 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2244, "maximum" : 0.2550 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1938, "maximum" : 0.2244 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1631, "maximum" : 0.1938 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1325, "maximum" : 0.1631 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1019, "maximum" : 0.1325 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0713, "maximum" : 0.1019 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0406, "maximum" : 0.0713 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0406 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.0100, "maximum" : 0.0278 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.0278, "maximum" : 0.0456 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.0456, "maximum" : 0.0635 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.0635, "maximum" : 0.0813 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.0813, "maximum" : 0.0991 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.0991, "maximum" : 0.1169 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.1169, "maximum" : 0.1347 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.1347, "maximum" : 0.1525 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.1525, "maximum" : 0.1704 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.1704, "maximum" : 0.1882 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.1882, "maximum" : 0.2060 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.2060, "maximum" : 0.2238 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.2238, "maximum" : 0.2416 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.2416, "maximum" : 0.2595 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.2595, "maximum" : 0.2773 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.2773, "maximum" : 0.2951 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.2951, "maximum" : 0.3129 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.3129, "maximum" : 0.3307 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.3307, "maximum" : 0.3485 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.3485, "maximum" : 0.3664 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.3664, "maximum" : 0.3842 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.3842, "maximum" : 0.4020 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.4020, "maximum" : 0.4198 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.4198, "maximum" : 0.4376 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.4376, "maximum" : 0.4555 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.4555, "maximum" : 0.4733 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.4733, "maximum" : 0.4911 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.4911, "maximum" : 0.5089 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.5089, "maximum" : 0.5267 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.5267, "maximum" : 0.5445 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.5445, "maximum" : 0.5624 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.5624, "maximum" : 0.5802 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.5802, "maximum" : 0.5980 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 66,
                "hscan" : { "minimum" : 0.5980, "maximum" : 0.6158 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 67,
                "hscan" : { "minimum" : 0.6158, "maximum" : 0.6336 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 68,
                "hscan" : { "minimum" : 0.6336, "maximum" : 0.6515 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 69,
                "hscan" : { "minimum" : 0.6515, "maximum" : 0.6693 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 70,
                "hscan" : { "minimum" : 0.6693, "maximum" : 0.6871 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 71,
                "hscan" : { "minimum" : 0.6871, "maximum" : 0.7049 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 72,
                "hscan" : { "minimum" : 0.7049, "maximum" : 0.7227 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 73,
                "hscan" : { "minimum" : 0.7227, "maximum" : 0.7405 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 74,
                "hscan" : { "minimum" : 0.7405, "maximum" : 0.7584 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 75,
                "hscan" : { "minimum" : 0.7584, "maximum" : 0.7762 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 76,
                "hscan" : { "minimum" : 0.7762, "maximum" : 0.7940 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 77,
                "hscan" : { "minimum" : 0.7940, "maximum" : 0.8118 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 78,
                "hscan" : { "minimum" : 0.8118, "maximum" : 0.8296 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 79,
                "hscan" : { "minimum" : 0.8296, "maximum" : 0.8475 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 80,
                "hscan" : { "minimum" : 0.8475, "maximum" : 0.8653 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 81,
                "hscan" : { "minimum" : 0.8653, "maximum" : 0.8831 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 82,
                "hscan" : { "minimum" : 0.8831, "maximum" : 0.9009 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 83,
                "hscan" : { "minimum" : 0.9009, "maximum" : 0.9187 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 84,
                "hscan" : { "minimum" : 0.9187, "maximum" : 0.9365 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 85,
                "hscan" : { "minimum" : 0.9365, "maximum" : 0.9544 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 86,
                "hscan" : { "minimum" : 0.9544, "maximum" : 0.9722 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 87,
                "hscan" : { "minimum" : 0.9722, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0600 }
            },
            {
                "index" : 88,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.0100, "maximum" : 0.0406 }
            },
            {
                "index" : 89,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.0406, "maximum" : 0.0713 }
            },
            {
                "index" : 90,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.0713, "maximum" : 0.1019 }
            },
            {
                "index" : 91,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.1019, "maximum" : 0.1325 }
            },
            {
                "index" : 92,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.1325, "maximum" : 0.1631 }
            },
            {
                "index" : 93,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.1631, "maximum" : 0.1938 }
            },
            {
                "index" : 94,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.1938, "maximum" : 0.2244 }
            },
            {
                "index" : 95,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.2244, "maximum" : 0.2550 }
            },
            {
                "index" : 96,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.2550, "maximum" : 0.2856 }
            },
            {
                "index" : 97,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.2856, "maximum" : 0.3163 }
            },
            {
                "index" : 98,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.3163, "maximum" : 0.3469 }
            },
            {
                "index" : 99,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.3469, "maximum" : 0.3775 }
            },
            {
                "index" : 100,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.3775, "maximum" : 0.4081 }
            },
            {
                "index" : 101,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.4081, "maximum" : 0.4388 }
            },
            {
                "index" : 102,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.4388, "maximum" : 0.4694 }
            },
            {
                "index" : 103,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.4694, "maximum" : 0.5000 }
            },
            {
                "index" : 104,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 0.5306 }
            },
            {
                "index" : 105,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.5306, "maximum" : 0.5612 }
            },
            {
                "index" : 106,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.5613, "maximum" : 0.5919 }
            },
            {
                "index" : 107,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.5919, "maximum" : 0.6225 }
            },
            {
                "index" : 108,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.6225, "maximum" : 0.6531 }
            },
            {
                "index" : 109,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.6531, "maximum" : 0.6838 }
            },
            {
                "index" : 110,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.6838, "maximum" : 0.7144 }
            },
            {
                "index" : 111,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.7144, "maximum" : 0.7450 }
            },
            {
                "index" : 112,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.7450, "maximum" : 0.7756 }
            },
            {
                "index" : 113,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.7756, "maximum" : 0.8062 }
            },
            {
                "index" : 114,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.8063, "maximum" : 0.8369 }
            },
            {
                "index" : 115,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.8369, "maximum" : 0.8675 }
            },
            {
                "index" : 116,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.8675, "maximum" : 0.8981 }
            },
            {
                "index" : 117,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.8981, "maximum" : 0.9288 }
            },
            {
                "index" : 118,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.9288, "maximum" : 0.9594 }
            },
            {
                "index" : 119,
                "hscan" : { "minimum" : 0.9500, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.9594, "maximum" : 0.9900 }
            },
            {
                "index" : 120,
                "hscan" : { "minimum" : 0.9722, "maximum" : 0.9900 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 121,
                "hscan" : { "minimum" : 0.9544, "maximum" : 0.9722 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 122,
                "hscan" : { "minimum" : 0.9365, "maximum" : 0.9544 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 123,
                "hscan" : { "minimum" : 0.9187, "maximum" : 0.9365 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 124,
                "hscan" : { "minimum" : 0.9009, "maximum" : 0.9187 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 125,
                "hscan" : { "minimum" : 0.8831, "maximum" : 0.9009 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 126,
                "hscan" : { "minimum" : 0.8653, "maximum" : 0.8831 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 127,
                "hscan" : { "minimum" : 0.8475, "maximum" : 0.8653 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 128,
                "hscan" : { "minimum" : 0.8296, "maximum" : 0.8475 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 129,
                "hscan" : { "minimum" : 0.8118, "maximum" : 0.8296 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 130,
                "hscan" : { "minimum" : 0.7940, "maximum" : 0.8118 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 131,
                "hscan" : { "minimum" : 0.7762, "maximum" : 0.7940 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 132,
                "hscan" : { "minimum" : 0.7584, "maximum" : 0.7762 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 133,
                "hscan" : { "minimum" : 0.7405, "maximum" : 0.7584 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 134,
                "hscan" : { "minimum" : 0.7227, "maximum" : 0.7405 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 135,
                "hscan" : { "minimum" : 0.7049, "maximum" : 0.7227 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 136,
                "hscan" : { "minimum" : 0.6871, "maximum" : 0.7049 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 137,
                "hscan" : { "minimum" : 0.6693, "maximum" : 0.6871 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 138,
                "hscan" : { "minimum" : 0.6515, "maximum" : 0.6693 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 139,
                "hscan" : { "minimum" : 0.6336, "maximum" : 0.6515 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 140,
                "hscan" : { "minimum" : 0.6158, "maximum" : 0.6336 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 141,
                "hscan" : { "minimum" : 0.5980, "maximum" : 0.6158 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 142,
                "hscan" : { "minimum" : 0.5802, "maximum" : 0.5980 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 143,
                "hscan" : { "minimum" : 0.5624, "maximum" : 0.5802 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 144,
                "hscan" : { "minimum" : 0.5445, "maximum" : 0.5624 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 145,
                "hscan" : { "minimum" : 0.5267, "maximum" : 0.5445 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 146,
                "hscan" : { "minimum" : 0.5089, "maximum" : 0.5267 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 147,
                "hscan" : { "minimum" : 0.4911, "maximum" : 0.5089 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 148,
                "hscan" : { "minimum" : 0.4733, "maximum" : 0.4911 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 149,
                "hscan" : { "minimum" : 0.4555, "maximum" : 0.4733 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 150,
                "hscan" : { "minimum" : 0.4376, "maximum" : 0.4555 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 151,
                "hscan" : { "minimum" : 0.4198, "maximum" : 0.4376 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 152,
                "hscan" : { "minimum" : 0.4020, "maximum" : 0.4198 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 153,
                "hscan" : { "minimum" : 0.3842, "maximum" : 0.4020 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 154,
                "hscan" : { "minimum" : 0.3664, "maximum" : 0.3842 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 155,
                "hscan" : { "minimum" : 0.3485, "maximum" : 0.3664 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 156,
                "hscan" : { "minimum" : 0.3307, "maximum" : 0.3485 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 157,
                "hscan" : { "minimum" : 0.3129, "maximum" : 0.3307 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 158,
                "hscan" : { "minimum" : 0.2951, "maximum" : 0.3129 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 159,
                "hscan" : { "minimum" : 0.2773, "maximum" : 0.2951 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 160,
                "hscan" : { "minimum" : 0.2595, "maximum" : 0.2773 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 161,
                "hscan" : { "minimum" : 0.2416, "maximum" : 0.2595 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 162,
                "hscan" : { "minimum" : 0.2238, "maximum" : 0.2416 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 163,
                "hscan" : { "minimum" : 0.2060, "maximum" : 0.2238 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 164,
                "hscan" : { "minimum" : 0.1882, "maximum" : 0.2060 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 165,
                "hscan" : { "minimum" : 0.1704, "maximum" : 0.1882 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 166,
                "hscan" : { "minimum" : 0.1525, "maximum" : 0.1704 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 167,
                "hscan" : { "minimum" : 0.1347, "maximum" : 0.1525 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 168,
                "hscan" : { "minimum" : 0.1169, "maximum" : 0.1347 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 169,
                "hscan" : { "minimum" : 0.0991, "maximum" : 0.1169 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 170,
                "hscan" : { "minimum" : 0.0813, "maximum" : 0.0991 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 171,
                "hscan" : { "minimum" : 0.0635, "maximum" : 0.0813 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 172,
                "hscan" : { "minimum" : 0.0456, "maximum" : 0.0635 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            },
            {
                "index" : 173,
                "hscan" : { "minimum" : 0.0278, "maximum" : 0.0456 },
                "vscan" : { "minimum" : 0.9400, "maximum" : 0.9900 }
            }
        ], 
    
        /// The black border configuration, contains the following items: 
        ///  * enable    : true if the detector should be activated
        ///  * threshold : Value below which a pixel is regarded as black (value between 0.0 and 1.0)
        "blackborderdetector" : 
        {
            "enable" : true,
            "threshold" : 0.01
        },
    
        /// The configuration of the effect engine, contains the following items: 
        ///  * paths        : An array with absolute location(s) of directories with effects 
        ///  * bootsequence : The effect selected as 'boot sequence'
        "effects" : 
        {
            "paths" : 
            [
                "/storage/hyperion/effects"
            ]
        },
    
        "bootsequence" : 
        {
            "effect" : "Rainbow swirl fast",
            "duration_ms" : 3000
        },
    
        ///  The configuration for the frame-grabber, contains the following items: 
        ///   * width        : The width of the grabbed frames [pixels]
        ///   * height       : The height of the grabbed frames [pixels]
        ///   * frequency_Hz : The frequency of the frame grab [Hz]
        "framegrabber" : 
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0
        },
    
        /// The configuration of the XBMC connection used to enable and disable the frame-grabber. Contains the following fields: 
        ///  * xbmcAddress       : The IP address of the XBMC-host
        ///  * xbmcTcpPort       : The TCP-port of the XBMC-server
        ///  * grabVideo         : Flag indicating that the frame-grabber is on(true) during video playback
        ///  * grabPictures      : Flag indicating that the frame-grabber is on(true) during picture show
        ///  * grabAudio         : Flag indicating that the frame-grabber is on(true) during audio playback
        ///  * grabMenu          : Flag indicating that the frame-grabber is on(true) in the XBMC menu
        ///  * grabScreensaver   : Flag indicating that the frame-grabber is on(true) when XBMC is on screensaver
        ///  * enable3DDetection : Flag indicating that the frame-grabber should switch to a 3D compatible modus if a 3D video is playing
        "xbmcVideoChecker" : 
        {
            "xbmcAddress" : "127.0.0.1",
            "xbmcTcpPort" : 8080,
            "grabVideo" : true,
            "grabPictures" : true,
            "grabAudio" : true,
            "grabMenu" : true,
            "grabScreensaver" : true,
            "enable3DDetection" : true
        },
    
        /// The configuration of the Json server which enables the json remote interface
        ///  * port : Port at which the json server is started
        "jsonServer" : 
        {
            "port" : 19444
        },
    
        /// The configuration of the Proto server which enables the protobuffer remote interface
        ///  * port : Port at which the protobuffer server is started
        "protoServer" : 
        {
            "port" : 19445
        },
    
        /// The configuration of the boblight server which enables the boblight remote interface
        ///  * port : Port at which the boblight server is started
    //     "boblightServer" : 
    //     {
    //         "port" : 19333
    //     },
    
        "endOfJson" : "endOfJson"
    }
    
    6. I've changed hyperiond to one from here:

    7. I run the hyperion in command line like this : LD_LIBRARY_PATH=/storage/hyperion/bin /storage/hyperion/bin/hyperiond /storage/.config/hyperion.config.json to see all in bash
    And here is the output:
    Code:
    Application build time: Feb 16 2015 10:04:29
    QCoreApplication initialised
    Selected configuration file: /storage/.config/hyperion.config.json
    ColorTransform 'default' => [0; 173]
    Device configuration: 
    {
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/spidev0.0",
        "rate" : 500000,
        "type" : "ws2812b"
    }
    
    Page map: 1 pages
    Page 0 not present (pfn 0xa10000000001e7d2)
    WS2812b init finished 
    Black border threshold set to 0.01 (3)
    Not creating any smoothing
    Effect loaded: Cinema brighten lights
    Effect loaded: Cinema dim lights
    Effect loaded: Knight rider
    Effect loaded: Blue mood blobs
    Effect loaded: Cold mood blobs
    Effect loaded: Full color mood blobs
    Effect loaded: Green mood blobs
    Effect loaded: Red mood blobs
    Effect loaded: Warm mood blobs
    Effect loaded: Police Lights Single
    Effect loaded: Police Lights Solid
    Effect loaded: Rainbow mood
    Effect loaded: Rainbow swirl fast
    Effect loaded: Rainbow swirl
    Effect loaded: Random
    Effect loaded: Running dots
    Effect loaded: System Shutdown
    Effect loaded: Snake
    Effect loaded: Sparks Color
    Effect loaded: Sparks
    Effect loaded: Strobe blue
    Effect loaded: Strobe Raspbmc
    Effect loaded: Strobe white
    Effect loaded: Color traces
    Effect loaded: UDP multicast listener
    Effect loaded: UDP listener
    Effect loaded: X-Mas
    Initializing Python interpreter
    Hyperion created and initialised
    run effect Rainbow swirl fast on channel 0
    Boot sequence(Rainbow swirl fast) created and started
    XBMC video checker created and started
    Display opened with resolution: 1920x1080
    Frame grabber created and started
    Json server created and started on port 19444
    Proto server created and started on port 19445
    XBMC Connected
    Message from XBMC: {"id":666,"jsonrpc":"2.0","result":[]}
    XBMC checker: switching to MENU mode
    Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":true}}
    Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":17,"minor":3,"revision":"c1d9c5c","tag":"stable"}}}
    BORDER SWITCH REQUIRED!!
    CURRENT BORDER TYPE: unknown=0 hor.size=2 vert.size=4
    effect finished
    
    The problem is that the leds are not responding to anything. When I plug in my old image with openelec 6.0.3 every thing is working just fine. I did the same config as in the old one. Is there anything that I need to change? I also tried installing normally as wrote in the wiki but whithout any succes. Even when I change to ws281x in config hyperion is not working (segmentation error with code dump or something like that - don't remember right now). I spent 2 days on it trying many tutorials and starting from scratch. What I'm doing wrong with this?
     
  2. pawkon

    pawkon New Member

    Messages:
    6
    Hardware:
    RPi3
    EDIT: I've just tried from the scratch. I've made a clean install OpenElec and run java HyperCon. I made hyperion install via Hypercon and then I've sent newly made config in json. My led didn't even blink. Hyperion throw segmentation fault with ws821x type. The same is on LibreElec.

    Anyone got this working on OE 8.0.4? or the newest Librelec? If yes then how? Maybe someone can send me their config and zipped hyperion install folder ? I would appreciate that
     
    Last edited: 24 June 2018
  3. st0n3rd

    st0n3rd New Member

    Messages:
    10
    Hardware:
    RPi3
    hey man, having the same problem. leds wont control at all, tried everything ive read. did you ever make any progress?
     
  4. pawkon

    pawkon New Member

    Messages:
    6
    Hardware:
    RPi3
    unfortunately not :( And it seems that no one here is able/willing to help :/
     
  5. st0n3rd

    st0n3rd New Member

    Messages:
    10
    Hardware:
    RPi3
    i got mine working with hypercon and using SPI on libreelec and OSMC, have you tried force_turbo=1 and core_freq=250 ?
    sounds like it could be a connection issue? got a multimeter? test some things. see if you get fluxuation from the data pin and ground when you have an effect running
     
  6. pawkon

    pawkon New Member

    Messages:
    6
    Hardware:
    RPi3
    Could You share Your Openelec image with the working settings?
     
  7. chrisssj2

    chrisssj2 New Member

    Messages:
    19
    Hardware:
    +Arduino
    Same problem with similair leds trip WS 2811.
    I see static and boot lights but leds not responding to anything played.
    use Minix + libre Elec 8.2.2.3