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

RPi + OpenELEC LEDs working but no data from internal grabber

Discussion in 'Software Support' started by Flori444, 29 August 2016.

  1. Flori444

    Flori444 New Member

    Messages:
    2
    Hardware:
    RPi2, +Arduino
    I set up a ambient-light for RPi2 running OpenELEC using an arduino Micro and two TLC5947. LED work fine with colorwheel but I get no light with the internal grabber (when playing video).

    Do I have to set up anything different ?
    How can I check if the framegrabber is working properly?

    Code:
    Hyperion Ambilight Deamon (1059)
    ssh in:         Version   : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in:         Build Time: Jul 25 2016 06:54:40
    ssh in:     INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in:     HYPERION INFO: ColorTransform 'default' => [0; 15]
    ssh in:     HYPERION INFO: ColorCorrection 'default' => [0; 15]
    ssh in:     HYPERION INFO: ColorAdjustment 'default' => [0; 15]
    ssh in:     LEDDEVICE INFO: configuration: 
    ssh in:     {
    ssh in:         "colorOrder" : "rgb",
    ssh in:         "delayAfterConnect" : 0,
    ssh in:         "name" : "MyHyperionConfig",
    ssh in:         "output" : "/dev/ttyACM0",
    ssh in:         "rate" : 500000,
    ssh in:         "type" : "adalight"
    ssh in:     }
    ssh in:     Opening UART: /dev/ttyACM0
    ssh in:     HYPERION INFO: Not creating any smoothing
    ssh in:     EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in:     EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     INFO: Hyperion started and initialised
    ssh in:     INFO: Kodi checker created and started
    ssh in:     INFO: Json server created and started on port 19444
    ssh in:     INFO: Proto server created and started on port 19445
    ssh in:     DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
    ssh in:     BLACKBORDER INFO: threshold set to 0 (0)
    ssh in:     BLACKBORDER INFO: mode:default
    ssh in:     INFO: Frame grabber created and started
    ssh in:     KODICHECK INFO: Kodi Connected
    ssh in:     KODICHECK INFO: switching to VIDEO mode
    ssh in:     BORDER SWITCH REQUIRED!!
    ssh in:     CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    
    with config
    Code:
    // DEVICE CONFIGURATION
        "device" :
        {
            "name"       : "MyHyperionConfig",
            "type"       : "adalight",
            "output"     : "/dev/ttyACM0",
            "rate"     : 500000,
            "delayAfterConnect"     : 0,
            "colorOrder" : "rgb"
        },
    
        // COLOR CALIBRATION CONFIG
        [...]
        // NO SMOOTHING CONFIG
        },
    
        // NO V4L2 GRABBER CONFIG
        // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0,
            "priority" : 890
        },
    
        // KODI CHECK CONFIG
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "127.0.0.1",
            "xbmcTcpPort" : 9090,
            "grabVideo" : true,
            "grabPictures" : true,
            "grabAudio" : true,
            "grabMenu" : false,
            "grabPause" : true,
            "grabScreensaver" : true,
            "enable3DDetection" : false
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO BLACKBORDER CONFIG
        // NO BOOTEFFECT CONFIG
        // NO BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        [...]
     
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,103
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    can you try it without the framegrabber part?

    just delete this lines:
    "framegrabber" :
    {
    "width" : 64,
    "height" : 64,
    "frequency_Hz" : 10.0,
    "priority" : 890
    },
     
  3. Flori444

    Flori444 New Member

    Messages:
    2
    Hardware:
    RPi2, +Arduino
    When disabling "grabber" in hypercon there is still no LED output.
    Does KODI CHECK provide a framegrabber itself ? or do I nee additional plugins in Kodi ?

    Code:
    Hyperion Ambilight Deamon (1308)
    ssh in:         Version   : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
    ssh in:         Build Time: Jul 25 2016 06:54:40
    ssh in:     INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in:     HYPERION INFO: ColorTransform 'default' => [0; 15]
    ssh in:     HYPERION INFO: ColorCorrection 'default' => [0; 15]
    ssh in:     HYPERION INFO: ColorAdjustment 'default' => [0; 15]
    ssh in:     LEDDEVICE INFO: configuration:
    ssh in:     {
    ssh in:         "colorOrder" : "rgb",
    ssh in:         "delayAfterConnect" : 0,
    ssh in:         "name" : "MyHyperionConfig",
    ssh in:         "output" : "/dev/ttyACM0",
    ssh in:         "rate" : 500000,
    ssh in:         "type" : "adalight"
    ssh in:     }
    ssh in:     Opening UART: /dev/ttyACM0
    ssh in:     HYPERION INFO: Not creating any smoothing
    ssh in:     EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in:     EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     INFO: Hyperion started and initialised
    ssh in:     INFO: Kodi checker created and started
    ssh in:     INFO: Json server created and started on port 19444
    ssh in:     INFO: Proto server created and started on port 19445
    ssh in:     KODICHECK INFO: Kodi Connected
    ssh in:     KODICHECK INFO: switching to OFF mode
    ssh in:     KODICHECK INFO: switching to VIDEO mode
     
  4. Paulchen-Panther

    Paulchen-Panther Active Member Developer

    Messages:
    167
    To test if framegrabber is working insert this in your config file. The output is writen to /tmp/file.txt

    Code:
        "device" :
        {
            "colorOrder" : "rgb",
            "name" : "MyHyperionConfig",
            "output" : "/tmp/file.txt",
            "rate" : 1000000,
            "type" : "file"
        }
     
  5. Liem T.

    Liem T. New Member

    Messages:
    7
    Hardware:
    RPi3
    same problem here. Can you please tell me how did you solved this prob?