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

X86/64 Ubuntu 17.10 + Arduino Nano

Discussion in 'Software Support' started by Алексей Лозовягин, 3 December 2017.

  1. Алексей Лозовягин

    Алексей Лозовягин New Member

    Messages:
    7
    Hardware:
    +Arduino
    Hello, please tell me what is wrong?
    if you go to / usr/bin and send ./hyperiond /etc/hyperion/hyperion.config.json
    There will be such a picture:
    Code:
    alexey@alexey-ThinkPad-Helix:/usr/bin$ ./hyperiond /etc/hyperion/hyperion.config.json
    Hyperion Ambilight Deamon (10661)
        Version   : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
        Build Time: Jun  3 2017 02:06:03
    INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    HYPERION INFO: ColorTransform 'default' => [0; 90]
    HYPERION INFO: ColorCorrection 'default' => [0; 90]
    HYPERION INFO: ColorAdjustment 'default' => [0; 90]
    LEDDEVICE INFO: configuration:
    {
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/ttyUSB0",
        "rate" : 460800,
        "type" : "adalight"
    }
    
    Opening UART: /dev/ttyUSB0
    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
    FRAMEBUFFERGRABBER ERROR: Could not get screen information
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    INFO: Framebuffer grabber created and started
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 1023411517 bits per pixel
    BORDER SWITCH REQUIRED!!
    CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499120803 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499120903 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121003 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121103 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121203 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121303 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121403 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121503 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121603 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121703 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 0 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499121903 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122003 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122103 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122203 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122303 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122403 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122503 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122603 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122703 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122803 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499122903 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499123003 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499123103 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499123203 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499123303 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499123403 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499123503 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 499123603 bits per pixel
    EFFECTENGINE INFO: effect finished
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 1768300660 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 3383247870 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 3383247870 bits per pixel
    ^CINFO: Application closed with code 0
    EFFECTENGINE INFO: Cleaning up Python interpreter
    
    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"  : "MyPi",
            "type"  : "adalight",
            "output"  : "/dev/ttyUSB0",
            "rate"  : 460800,
            "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.5172, "maximum" : 0.5517 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.5517, "maximum" : 0.5862 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.5862, "maximum" : 0.6207 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.6207, "maximum" : 0.6552 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.6552, "maximum" : 0.6897 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.6897, "maximum" : 0.7241 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.7241, "maximum" : 0.7586 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.7586, "maximum" : 0.7931 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.7931, "maximum" : 0.8276 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.8276, "maximum" : 0.8621 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.8621, "maximum" : 0.8966 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.8966, "maximum" : 0.9310 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.9310, "maximum" : 0.9655 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.9655, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9412, "maximum" : 1.0000 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8824, "maximum" : 0.9412 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8235, "maximum" : 0.8824 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7647, "maximum" : 0.8235 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7059, "maximum" : 0.7647 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6471, "maximum" : 0.7059 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5882, "maximum" : 0.6471 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5294, "maximum" : 0.5882 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4706, "maximum" : 0.5294 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4118, "maximum" : 0.4706 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3529, "maximum" : 0.4118 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2941, "maximum" : 0.3529 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2353, "maximum" : 0.2941 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1765, "maximum" : 0.2353 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1176, "maximum" : 0.1765 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0588, "maximum" : 0.1176 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0588 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.9655, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.9310, "maximum" : 0.9655 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.8966, "maximum" : 0.9310 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.8621, "maximum" : 0.8966 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.8276, "maximum" : 0.8621 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.7931, "maximum" : 0.8276 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.7586, "maximum" : 0.7931 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.7241, "maximum" : 0.7586 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.6897, "maximum" : 0.7241 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.6552, "maximum" : 0.6897 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.6207, "maximum" : 0.6552 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.5862, "maximum" : 0.6207 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.5517, "maximum" : 0.5862 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.5172, "maximum" : 0.5517 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.4828, "maximum" : 0.5172 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.4483, "maximum" : 0.4828 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.4138, "maximum" : 0.4483 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.3793, "maximum" : 0.4138 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.3448, "maximum" : 0.3793 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.3103, "maximum" : 0.3448 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.2759, "maximum" : 0.3103 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.2414, "maximum" : 0.2759 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.2069, "maximum" : 0.2414 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.1724, "maximum" : 0.2069 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.1379, "maximum" : 0.1724 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.1034, "maximum" : 0.1379 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.0690, "maximum" : 0.1034 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.0345, "maximum" : 0.0690 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0345 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0588 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0588, "maximum" : 0.1176 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1176, "maximum" : 0.1765 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1765, "maximum" : 0.2353 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2353, "maximum" : 0.2941 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2941, "maximum" : 0.3529 }
            },
            {
                "index" : 66,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3529, "maximum" : 0.4118 }
            },
            {
                "index" : 67,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4118, "maximum" : 0.4706 }
            },
            {
                "index" : 68,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4706, "maximum" : 0.5294 }
            },
            {
                "index" : 69,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5294, "maximum" : 0.5882 }
            },
            {
                "index" : 70,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5882, "maximum" : 0.6471 }
            },
            {
                "index" : 71,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6471, "maximum" : 0.7059 }
            },
            {
                "index" : 72,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7059, "maximum" : 0.7647 }
            },
            {
                "index" : 73,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7647, "maximum" : 0.8235 }
            },
            {
                "index" : 74,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8235, "maximum" : 0.8824 }
            },
            {
                "index" : 75,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8824, "maximum" : 0.9412 }
            },
            {
                "index" : 76,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9412, "maximum" : 1.0000 }
            },
            {
                "index" : 77,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0345 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 78,
                "hscan" : { "minimum" : 0.0345, "maximum" : 0.0690 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 79,
                "hscan" : { "minimum" : 0.0690, "maximum" : 0.1034 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 80,
                "hscan" : { "minimum" : 0.1034, "maximum" : 0.1379 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 81,
                "hscan" : { "minimum" : 0.1379, "maximum" : 0.1724 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 82,
                "hscan" : { "minimum" : 0.1724, "maximum" : 0.2069 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 83,
                "hscan" : { "minimum" : 0.2069, "maximum" : 0.2414 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 84,
                "hscan" : { "minimum" : 0.2414, "maximum" : 0.2759 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 85,
                "hscan" : { "minimum" : 0.2759, "maximum" : 0.3103 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 86,
                "hscan" : { "minimum" : 0.3103, "maximum" : 0.3448 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 87,
                "hscan" : { "minimum" : 0.3448, "maximum" : 0.3793 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 88,
                "hscan" : { "minimum" : 0.3793, "maximum" : 0.4138 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 89,
                "hscan" : { "minimum" : 0.4138, "maximum" : 0.4483 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 90,
                "hscan" : { "minimum" : 0.4483, "maximum" : 0.4828 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    Code:
    #include "FastLED.h"
    
    
    // How many leds in your strip?
    #define NUM_LEDS 93
    
    // For led chips like Neopixels, which have a data line, ground, and power, you just
    // need to define DATA_PIN.  For led chipsets that are SPI based (four wires - data, clock,
    // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
    #define DATA_PIN 13
    #define CLOCK_PIN 13
    
    #define COLOR_ORDER RGB
    
    // Adalight sends a "Magic Word" (defined in /etc/boblight.conf) before sending the pixel data
    uint8_t prefix[] = {'A', 'd', 'a'}, hi, lo, chk, i;
    
    // Baudrate, higher rate allows faster refresh rate and more LEDs (defined in /etc/boblight.conf)
    #define serialRate 460800
    
    // Define the array of leds
    CRGB leds[NUM_LEDS];
    
    void setup() {
          // Uncomment/edit one of the following lines for your leds arrangement.
          // FastLED.addLeds<TM1803, DATA_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<TM1804, DATA_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
           FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
          //   FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
          // FastLED.addLeds<UCS1903, DATA_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<UCS1903B, DATA_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<GW6205, DATA_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<GW6205_400, DATA_PIN, RGB>(leds, NUM_LEDS);
         
          // FastLED.addLeds<WS2801, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<SM16716, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<LPD8806, RGB>(leds, NUM_LEDS);
    
          // FastLED.addLeds<WS2801, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<SM16716, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
          // FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS);
         
            // initial RGB flash
            LEDS.showColor(CRGB(255, 0, 0));
            delay(500);
            LEDS.showColor(CRGB(0, 255, 0));
            delay(500);
            LEDS.showColor(CRGB(0, 0, 255));
            delay(500);
            LEDS.showColor(CRGB(0, 0, 0));
           
            Serial.begin(serialRate);
            Serial.print("Ada\n"); // Send "Magic Word" string to host
    
    }
    
    void loop() {
      // wait for first byte of Magic Word
      for(i = 0; i < sizeof prefix; ++i) {
        waitLoop: while (!Serial.available()) ;;
        // Check next byte in Magic Word
        if(prefix[i] == Serial.read()) continue;
        // otherwise, start over
        i = 0;
        goto waitLoop;
      }
     
      // Hi, Lo, Checksum
     
      while (!Serial.available()) ;;
      hi=Serial.read();
      while (!Serial.available()) ;;
      lo=Serial.read();
      while (!Serial.available()) ;;
      chk=Serial.read();
     
      // if checksum does not match go back to wait
      if (chk != (hi ^ lo ^ 0x55))
      {
        i=0;
        goto waitLoop;
      }
     
      memset(leds, 0, NUM_LEDS * sizeof(struct CRGB));
      // read the transmission data and set LED values
      for (uint8_t i = 0; i < NUM_LEDS; i++) {
        byte r, g, b;   
        while(!Serial.available());
        r = Serial.read();
        while(!Serial.available());
        g = Serial.read();
        while(!Serial.available());
        b = Serial.read();
        leds[i].r = r;
        leds[i].g = g;
        leds[i].b = b;
      }
      // shows new values
    FastLED.show();
    }
    Code:
    alexey@alexey-ThinkPad-Helix:/etc/hyperion$ sudo systemctl status hyperion.service
    ● hyperion.service - Hyperion Systemd service
       Loaded: loaded (/etc/systemd/system/hyperion.service; enabled; vendor preset: enabled)
       Active: active (running) since Sun 2017-12-03 21:00:58 EET; 3s ago
      Process: 2873 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
    Main PID: 10736 (hyperiond)
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/hyperion.service
               └─10736 /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
    
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: started
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: INFO: Json server created and started on port 19444
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: INFO: Proto server created and started on port 19445
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: FRAMEBUFFERGRABBER INFO: opened with resolution: 1920x1080@32bit
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: BLACKBORDER INFO: threshold set to 0 (0)
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: BLACKBORDER INFO: mode:default
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: INFO: Framebuffer grabber created and started
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: BORDER SWITCH REQUIRED!!
    Дек 03 21:00:58 alexey-ThinkPad-Helix hyperiond[10736]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    Дек 03 21:01:01 alexey-ThinkPad-Helix hyperiond[10736]: EFFECTENGINE INFO: effect finished
    
     
  2. Akriss

    Akriss Member

    Messages:
    185
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  3. Алексей Лозовягин

    Алексей Лозовягин New Member

    Messages:
    7
    Hardware:
    +Arduino
    Thanks for trying to help but it did not help, the test signal of the LEDs was present
    Code:
    alexey@alexey-ThinkPad-Helix:~$ service hyperion stop
    alexey@alexey-ThinkPad-Helix:~$ sudo service hyperion start
    alexey@alexey-ThinkPad-Helix:~$ sudo systemctl status hyperion.service
    ● hyperion.service - Hyperion Systemd service
       Loaded: loaded (/etc/systemd/system/hyperion.service; enabled; vendor preset: enabled)
       Active: active (running) since Mon 2017-12-04 06:55:35 EET; 2s ago
      Process: 5088 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
    Main PID: 5220 (hyperiond)
        Tasks: 2 (limit: 4915)
       CGroup: /system.slice/hyperion.service
               └─5220 /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
    
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: BLACKBORDER INFO: mode:default
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: started
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: INFO: Json server created and started on port 19444
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: INFO: Proto server created and started on port 19445
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: FRAMEBUFFERGRABBER INFO: opened with resolution: 1920x1080@32bit
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: BLACKBORDER INFO: threshold set to 0 (0)
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: BLACKBORDER INFO: mode:default
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: INFO: Framebuffer grabber created and started
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: BORDER SWITCH REQUIRED!!
    Дек 04 06:55:35 alexey-ThinkPad-Helix hyperiond[5220]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    alexey@alexey-ThinkPad-Helix:~$ cd /usr/bin
    alexey@alexey-ThinkPad-Helix:/usr/bin$ service hyperion stop
    alexey@alexey-ThinkPad-Helix:/usr/bin$ ./hyperiond /etc/hyperion/hyperion.config.json
    Hyperion Ambilight Deamon (5321)
        Version   : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
        Build Time: Jun  3 2017 02:06:03
    INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    HYPERION INFO: ColorTransform 'default' => [0; 90]
    HYPERION INFO: ColorCorrection 'default' => [0; 90]
    HYPERION INFO: ColorAdjustment 'default' => [0; 90]
    LEDDEVICE INFO: configuration:
    {
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/ttyUSB0",
        "rate" : 460800,
        "type" : "adalight"
    }
    
    Opening UART: /dev/ttyUSB0
    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
    FRAMEBUFFERGRABBER ERROR: Could not get screen information
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    INFO: Framebuffer grabber created and started
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 973079866 bits per pixel
    BORDER SWITCH REQUIRED!!
    CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535080358 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535080458 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535080558 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535080658 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535080758 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535080858 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535080958 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081058 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081158 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081258 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081358 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081458 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081558 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081658 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081758 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081858 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535081958 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535082058 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535082158 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535082258 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535082358 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535082458 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535082558 bits per pixel
    FRAMEBUFFERGRABBER ERROR: Unknown pixel format: 535082658 bits per pixel
    ^CINFO: Application closed with code 0
    EFFECTENGINE INFO: Cleaning up Python interpreter
    
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    826
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    on ubuntu you need the hyperion-x11 grabber...
     
  5. Алексей Лозовягин

    Алексей Лозовягин New Member

    Messages:
    7
    Hardware:
    +Arduino

    The work of the current user is completed and goes to the user selection menu.
    with the log that is issued for
    Code:
    sudo systemctl status hyperion.service
    has not changed
     
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    826
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino
    hm you only started x11 now? first start hyperiond and than -x11
     
  7. Алексей Лозовягин

    Алексей Лозовягин New Member

    Messages:
    7
    Hardware:
    +Arduino
    the same effect I send
    Code:
    service hyperion start
    and immediately after that
    Code:
    ./hyperion-x11
    
     
  8. Алексей Лозовягин

    Алексей Лозовягин New Member

    Messages:
    7
    Hardware:
    +Arduino
    Снимок экрана от 2017-12-16 19-23-38.png
    I managed to run -x11, was a test signal, the LEDs blinked
    Снимок экрана от 2017-12-16 19-26-31.png
     
  9. Алексей Лозовягин

    Алексей Лозовягин New Member

    Messages:
    7
    Hardware:
    +Arduino
    Hello, excuse me last time I casually examined the documentation and did not configure ssh,so nothing worked. Please look at the problem now, as I understand it appeared in the boot effect which is not spelled out in the controller.
    do I need to install additional packages to get x11?

    Code:
    ● hyperion.service - Hyperion Systemd service
       Loaded: loaded (/etc/systemd/system/hyperion.service; enabled; vendor preset: enabled)
       Active: active (running) since Fri 2018-01-12 08:34:40 EET; 22min ago
    Main PID: 11859 (hyperiond)
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/hyperion.service
               └─11859 /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
    
    янв 12 08:34:40 alexey-ThinkPad-Helix hyperiond[11859]: BLACKBORDER INFO: threshold set to 0 (0)
    янв 12 08:34:40 alexey-ThinkPad-Helix hyperiond[11859]: BLACKBORDER INFO: mode:default
    янв 12 08:34:40 alexey-ThinkPad-Helix hyperiond[11859]: INFO: Framebuffer grabber created and started
    янв 12 08:34:40 alexey-ThinkPad-Helix hyperiond[11859]: BORDER SWITCH REQUIRED!!
    янв 12 08:34:40 alexey-ThinkPad-Helix hyperiond[11859]: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    янв 12 08:34:43 alexey-ThinkPad-Helix hyperiond[11859]: EFFECTENGINE INFO: effect finished
    янв 12 08:34:52 alexey-ThinkPad-Helix hyperiond[11859]: PROTOSERVER INFO: New connection
    янв 12 08:34:52 alexey-ThinkPad-Helix hyperiond[11859]: BLACKBORDER INFO: threshold set to 0 (0)
    янв 12 08:34:52 alexey-ThinkPad-Helix hyperiond[11859]: BLACKBORDER INFO: mode:default
    янв 12 08:34:53 alexey-ThinkPad-Helix hyperiond[11859]: PROTOSERVER INFO: Connection closed
    
     
  10. Алексей Лозовягин

    Алексей Лозовягин New Member

    Messages:
    7
    Hardware:
    +Arduino
    I was able to run the hyperion-x11
    Снимок экрана от 2018-01-15 20-27-36.png
    but the ambilight shines not quite what is on the screen, its something. But it is updated, if you pull out the power and put it back, then the light will not go out