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

RPi + OpenELEC LEDs slightly flickering

Discussion in 'Software Support' started by alieg, 25 January 2020.

  1. alieg

    alieg New Member

    Messages:
    8
    Hardware:
    RPi3
    I have some (noticeable to me) flickering particularly on the far side of my LED strip.

    I only have 76 LEDs but there was some yellowing on the far side when displaying white so I thought this might be a power issue. I bought some supplies to inject power and ground the far end of my LED strip, but after doing this the flickering is still present. The flickering seems more noticeable at the far side but maybe that's because that is more open to the room; the flickering is occurring on all sides.

    I tested the voltage and without power at both ends I was getting ~5V at the start and ~4.5V at the far end.

    Is there anything in the config that I could try adjusting?

    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"       : "MyHyperionConfig",
            "type"       : "ws2801",
            "output"     : "/dev/spidev1.0",
            "rate"     : 1000000,
            "colorOrder" : "rgb"
        },
    
        // COLOR CALIBRATION CONFIG
        "color" :
        {
            "channelAdjustment" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "pureRed" :
                    {
                        "redChannel"        : 255,
                        "greenChannel"        : 0,
                        "blueChannel"        : 0
                    },
                    "pureGreen" :
                    {
                        "redChannel"        : 50,
                        "greenChannel"        : 210,
                        "blueChannel"        : 0
                    },
                    "pureBlue" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 0,
                        "blueChannel"        : 135
                    }
                }
            ],
            "temperature" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "correctionValues" :
                    {
                        "red"     : 255,
                        "green"    : 255,
                        "blue"     : 255
                    }
                }
            ],
            "transform" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "hsl" :
                    {
                        "saturationGain"    : 0.6000,
                        "luminanceGain"        : 1.2000,
                        "luminanceMinimum"        : 0.2000
                    },
                    "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"         : 100,
                "updateFrequency" : 50.0000,
                "updateDelay"     : 0
            }
        },
    
        // V4L2 GRABBER CONFIG
        "grabber-v4l2" :
        {
            "device" : "/dev/video0",
            "input" : 0,
            "standard" : "PAL",
            "width" : -1,
            "height" : -1,
            "frameDecimation" : 2,
            "sizeDecimation" : 8,
            "priority" : 900,
            "mode" : "2D",
            "cropLeft" : 30,
            "cropRight" : 30,
            "cropTop" : 30,
            "cropBottom" : 30,
            "redSignalThreshold" : 0.0,
            "greenSignalThreshold" : 0.0,
            "blueSignalThreshold" : 0.0
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.1,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO FRAME GRABBER CONFIG
        // NO KODI CHECK CONFIG
        // NO BOOTEFFECT CONFIG
        // NO BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9524, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9048, "maximum" : 0.9524 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 0.9048 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8095, "maximum" : 0.8571 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7619, "maximum" : 0.8095 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.7619 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7143 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6190, "maximum" : 0.6667 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.6190 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5238, "maximum" : 0.5714 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4762, "maximum" : 0.5238 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.4762 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3810, "maximum" : 0.4286 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.3810 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.3333 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2381, "maximum" : 0.2857 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1905, "maximum" : 0.2381 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.1905 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0952, "maximum" : 0.1429 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0476, "maximum" : 0.0952 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0476 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.9706, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.9412, "maximum" : 0.9706 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.9118, "maximum" : 0.9412 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.8824, "maximum" : 0.9118 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.8529, "maximum" : 0.8824 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.8235, "maximum" : 0.8529 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.7941, "maximum" : 0.8235 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.7647, "maximum" : 0.7941 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.7353, "maximum" : 0.7647 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.7059, "maximum" : 0.7353 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.6765, "maximum" : 0.7059 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.6471, "maximum" : 0.6765 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.6176, "maximum" : 0.6471 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.5882, "maximum" : 0.6176 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.5588, "maximum" : 0.5882 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.5294, "maximum" : 0.5588 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5294 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.4706, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.4412, "maximum" : 0.4706 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.4118, "maximum" : 0.4412 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.3824, "maximum" : 0.4118 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.3529, "maximum" : 0.3824 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.3235, "maximum" : 0.3529 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.2941, "maximum" : 0.3235 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.2647, "maximum" : 0.2941 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.2353, "maximum" : 0.2647 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.2059, "maximum" : 0.2353 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.1765, "maximum" : 0.2059 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.1471, "maximum" : 0.1765 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.1176, "maximum" : 0.1471 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.0882, "maximum" : 0.1176 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.0588, "maximum" : 0.0882 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.0294, "maximum" : 0.0588 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0294 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0476 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0476, "maximum" : 0.0952 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0952, "maximum" : 0.1429 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.1905 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1905, "maximum" : 0.2381 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2381, "maximum" : 0.2857 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.3333 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.3810 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3810, "maximum" : 0.4286 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.4762 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4762, "maximum" : 0.5238 }
            },
            {
                "index" : 66,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5238, "maximum" : 0.5714 }
            },
            {
                "index" : 67,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.6190 }
            },
            {
                "index" : 68,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6190, "maximum" : 0.6667 }
            },
            {
                "index" : 69,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7143 }
            },
            {
                "index" : 70,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.7619 }
            },
            {
                "index" : 71,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7619, "maximum" : 0.8095 }
            },
            {
                "index" : 72,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8095, "maximum" : 0.8571 }
            },
            {
                "index" : 73,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 0.9048 }
            },
            {
                "index" : 74,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9048, "maximum" : 0.9524 }
            },
            {
                "index" : 75,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9524, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
     
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,430
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    When does it flicker? If you set a solid color or when you watching a movie
     
  3. alieg

    alieg New Member

    Messages:
    8
    Hardware:
    RPi3
    Both, but it is more noticeable when the image is static
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,430
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Ok how did you connected everything? Did you Use resistors? Capacitors?
     
  5. alieg

    alieg New Member

    Messages:
    8
    Hardware:
    RPi3
    I followed the No Soldering Tutorial so my basic setup is largely the same as that

    Multiple sources (Chromecast, Laptop, Nintendo Switch, PS4) into an automatic HDMI Switch ->
    Powered HDMI splitter ->
    TV and Powered HDMI to RCA converter ->
    Raspberry Pi 3 ->
    WS2801 LED strip connected to the Pi on GPIO pins for Ground, Data and Clock/Signal

    Everything has its own power supply with the 5v and ground connected (now at both ends), there's no additional resistors or capacitors. The strip sections are joined by corner connectors.
     
  6. gamifyscience

    gamifyscience New Member

    Messages:
    7
    Hardware:
    RPi1/Zero
    Add a resistor between the pin 19 and the LED. Maybe you also need it on the clock [CI] for the 4 wire LED.
    In either case, I recommend `WAGO` link-nuts for the no solder option, you can get them in small quantities. I solved a similar issue with a 145ohm resistor*, you can add a couple hundred more ohms and it will probably be even smoother. (the catch is: Higher resistance, higher latency).

    *I literally just took a guess at how low I could go and tried one, your experience may vary.
    Good luck!
     
  7. Claudio Branco

    Claudio Branco Cranco

    Messages:
    57
    Hardware:
    RPi3
    Check the rasbpi power supply (might not be strong) ?
    Add a level shifter ?
    A faulty led ?
    Grounding done correctly ?

    (These are all issues I encountered that solved similar problems)
     
  8. alieg

    alieg New Member

    Messages:
    8
    Hardware:
    RPi3
    Thank you all for the advice, I think I may have had a breakthrough on the software side!

    I was re-doing my colour corrections from scratch and it did not have any flickering on the solid colours until I got to the darker grey.
    I found adjusting the threshold to 0.3 and compensated by increasing the backlight to 0.45 (I like having a constant light) which seemed to eliminate it significantly.

    I believe there may be some conflict between the threshold and the backlight for what colour it wants to display per pixel.

    It will require a bit more testing to see if it I'm happy with the result without any further intervention but so far so good.
    Here is my updated 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"       : "MyHyperionConfig",
            "type"       : "ws2801",
            "output"     : "/dev/spidev1.0",
            "rate"     : 1000000,
            "colorOrder" : "rgb"
        },
    
        // COLOR CALIBRATION CONFIG
        "color" :
        {
            "channelAdjustment" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "pureRed" :
                    {
                        "redChannel"        : 240,
                        "greenChannel"        : 0,
                        "blueChannel"        : 0
                    },
                    "pureGreen" :
                    {
                        "redChannel"        : 90,
                        "greenChannel"        : 180,
                        "blueChannel"        : 0
                    },
                    "pureBlue" :
                    {
                        "redChannel"        : 0,
                        "greenChannel"        : 20,
                        "blueChannel"        : 115
                    }
                }
            ],
            "temperature" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "correctionValues" :
                    {
                        "red"     : 255,
                        "green"    : 255,
                        "blue"     : 230
                    }
                }
            ],
            "transform" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "hsl" :
                    {
                        "saturationGain"    : 1.0000,
                        "luminanceGain"        : 1.3000,
                        "luminanceMinimum"        : 0.4500
                    },
                    "red" :
                    {
                        "threshold"     : 0.3000,
                        "gamma"         : 2.5000
                    },
                    "green" :
                    {
                        "threshold"     : 0.3000,
                        "gamma"         : 2.5000
                    },
                    "blue" :
                    {
                        "threshold"     : 0.3000,
                        "gamma"         : 2.5000
                    }
                }
            ],
        // SMOOTHING CONFIG
            "smoothing" :
            {
                "type"            : "linear",
                "time_ms"         : 200,
                "updateFrequency" : 60.0000,
                "updateDelay"     : 0
            }
        },
    
        // V4L2 GRABBER CONFIG
        "grabber-v4l2" :
        {
            "device" : "/dev/video0",
            "input" : 0,
            "standard" : "PAL",
            "width" : -1,
            "height" : -1,
            "frameDecimation" : 2,
            "sizeDecimation" : 8,
            "priority" : 900,
            "mode" : "2D",
            "cropLeft" : 30,
            "cropRight" : 30,
            "cropTop" : 30,
            "cropBottom" : 30,
            "redSignalThreshold" : 0.0,
            "greenSignalThreshold" : 0.0,
            "blueSignalThreshold" : 0.0
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.1,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO FRAME GRABBER CONFIG
        // NO KODI CHECK CONFIG
        // NO BOOTEFFECT CONFIG
        // NO BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9524, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9048, "maximum" : 0.9524 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 0.9048 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8095, "maximum" : 0.8571 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7619, "maximum" : 0.8095 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.7619 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7143 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6190, "maximum" : 0.6667 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.6190 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5238, "maximum" : 0.5714 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4762, "maximum" : 0.5238 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.4762 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3810, "maximum" : 0.4286 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.3810 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.3333 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2381, "maximum" : 0.2857 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1905, "maximum" : 0.2381 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.1905 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0952, "maximum" : 0.1429 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0476, "maximum" : 0.0952 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0476 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.9706, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.9412, "maximum" : 0.9706 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.9118, "maximum" : 0.9412 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.8824, "maximum" : 0.9118 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.8529, "maximum" : 0.8824 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.8235, "maximum" : 0.8529 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.7941, "maximum" : 0.8235 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.7647, "maximum" : 0.7941 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.7353, "maximum" : 0.7647 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.7059, "maximum" : 0.7353 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.6765, "maximum" : 0.7059 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.6471, "maximum" : 0.6765 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.6176, "maximum" : 0.6471 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.5882, "maximum" : 0.6176 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.5588, "maximum" : 0.5882 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.5294, "maximum" : 0.5588 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5294 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.4706, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.4412, "maximum" : 0.4706 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.4118, "maximum" : 0.4412 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.3824, "maximum" : 0.4118 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.3529, "maximum" : 0.3824 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.3235, "maximum" : 0.3529 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.2941, "maximum" : 0.3235 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.2647, "maximum" : 0.2941 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.2353, "maximum" : 0.2647 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.2059, "maximum" : 0.2353 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.1765, "maximum" : 0.2059 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.1471, "maximum" : 0.1765 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.1176, "maximum" : 0.1471 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.0882, "maximum" : 0.1176 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.0588, "maximum" : 0.0882 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.0294, "maximum" : 0.0588 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0294 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0476 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0476, "maximum" : 0.0952 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0952, "maximum" : 0.1429 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1429, "maximum" : 0.1905 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1905, "maximum" : 0.2381 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2381, "maximum" : 0.2857 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2857, "maximum" : 0.3333 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.3810 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3810, "maximum" : 0.4286 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4286, "maximum" : 0.4762 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4762, "maximum" : 0.5238 }
            },
            {
                "index" : 66,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5238, "maximum" : 0.5714 }
            },
            {
                "index" : 67,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5714, "maximum" : 0.6190 }
            },
            {
                "index" : 68,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6190, "maximum" : 0.6667 }
            },
            {
                "index" : 69,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7143 }
            },
            {
                "index" : 70,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7143, "maximum" : 0.7619 }
            },
            {
                "index" : 71,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7619, "maximum" : 0.8095 }
            },
            {
                "index" : 72,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8095, "maximum" : 0.8571 }
            },
            {
                "index" : 73,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8571, "maximum" : 0.9048 }
            },
            {
                "index" : 74,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9048, "maximum" : 0.9524 }
            },
            {
                "index" : 75,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9524, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }