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

RPi + LibreELEC Random Blue Lights Display Out of Nowhere - Video Attached

Discussion in 'Hardware Support' started by kars85, 22 August 2018.

  1. kars85

    kars85 New Member

    Messages:
    1
    Hardware:
    RPi2
    I'm going crazy after having this working beautifully for months. I was just setting up a button on my harmony remote to trigger a Hyperion toggle script (just a bash script that ran the stop/start commands used by Hypercon). Now after a week of configuration testing/validating, uninstalling/reinstalling through Hypercon, bashing my head into the desk, etc... I'm here trying to find out why my setup is all of a sudden glitchy.

    Here's a 10 sec youtube video of what is happening:


    I discovered on my HDMI grabber/switch from Lightberry, the PAL/NTSC setting is backwards. PAL=NTSC. I thought setting that would be what I needed. Nope.

    Here's the screenshot being captured when it's working:
    [​IMG]

    Then after a few times, I'm getting this, so my guess is the HDMI switch/grabber is dropping signal and passing this to the lights? Any thoughts?
    [​IMG]

    Here is the relevant portion of my config:
    Code:
    // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.3 (22.10.2017)
    
    {
       // DEVICE CONFIGURATION
       "device" :
       {
         "name"  : "MyHyperionConfig",
         "type"  : "ws2801",
         "output"  : "/dev/spidev0.0",
         "rate"  : 1000000,
         "colorOrder" : "rgb"
       },
    
       // COLOR CALIBRATION CONFIG
       "color" :
       {
         "channelAdjustment" :
         [
           {
             "id"  : "default",
             "leds" : "*",
             "pureRed" :
             {
               "redChannel"     : 220,
               "greenChannel"     : 0,
               "blueChannel"     : 0
             },
             "pureGreen" :
             {
               "redChannel"     : 0,
               "greenChannel"     : 175,
               "blueChannel"     : 0
             },
             "pureBlue" :
             {
               "redChannel"     : 0,
               "greenChannel"     : 0,
               "blueChannel"     : 220
             }
           }
         ],
         "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.6000
             },
             "green" :
             {
               "threshold"    : 0.0000,
               "gamma"     : 2.5000
             },
             "blue" :
             {
               "threshold"    : 0.0000,
               "gamma"     : 3.0500
             }
           }
         ],
       // SMOOTHING CONFIG
         "smoothing" :
         {
           "type"  : "linear",
           "time_ms"  : 150,
           "updateFrequency" : 25.0000,
           "updateDelay"  : 0
         }
       },
    
       // V4L2 GRABBER CONFIG
       "grabber-v4l2" :
       {
         "device" : "/dev/video0",
         "input" : 0,
         "standard" : "NTSC",
         "width" : -1,
         "height" : -1,
         "frameDecimation" : 2,
         "sizeDecimation" : 8,
         "priority" : 900,
         "mode" : "2D",
         "cropLeft" : 5,
         "cropRight" : 5,
         "cropTop" : 5,
         "cropBottom" : 5,
         "redSignalThreshold" : 0.2,
         "greenSignalThreshold" : 0.2,
         "blueSignalThreshold" : 1.0
       },
    
       // BLACKBORDER CONFIG
       "blackborderdetector" :
       {
         "enable" : true,
         "threshold" : 0.0,
         "unknownFrameCnt" : 600,
         "borderFrameCnt" : 50,
         "maxInconsistentCnt" : 10,
         "blurRemoveCnt" : 1,
         "mode" : "default"
       },
    
       // KODI CHECK CONFIG
       "xbmcVideoChecker" :
       {
         "xbmcAddress" : "192.168.1.157",
         "xbmcTcpPort" : 3005,
         "grabVideo" : true,
         "grabPictures" : true,
         "grabAudio" : true,
         "grabMenu" : false,
         "grabPause" : true,
         "grabScreensaver" : true,
         "enable3DDetection" : true
       },
    
       // 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 FRAME GRABBER CONFIG
       // NO BOBLIGHT SERVER CONFIG
       // NO JSON/PROTO FORWARD CONFIG
    
       // LED CONFIGURATION
       "leds" :
    
     
    Last edited: 22 August 2018
  2. Akriss

    Akriss Active Member

    Messages:
    386
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    My first guess is the splitter is failing.

    What type of capture screen do you see when the usb grabber is pluged in to the Pi and the rca connectors let loose? Rainbow or blue?
    However, if blue screen then it maybe it's the grabber failing.


    Hope it's of help.