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

RPi + OSMC No lights (only @ boot)

Discussion in 'Hardware Support' started by Tjiko, 25 January 2017.

  1. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    I have an arduino rpi + OSMC setup. At bootup(with delay) the leds light up, then they go black again.
    In my hypercon I don't get any errors but i'm also not getting any colors. Not with the grabber not with the android app and not with hypercon.

    It looks like it's getting the info:
    ssh in: Jan 25 03:06:37 osmcAllie hyperiond[275]: JSONSERVER INFO: New connection
    ssh in: Jan 25 03:06:37 osmcAllie hyperiond[275]: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: Jan 25 03:06:37 osmcAllie hyperiond[275]: BLACKBORDER INFO: mode:default
    ssh in: Jan 25 03:06:37 osmcAllie hyperiond[275]: JSONSERVER INFO: Connection closed

    I've got the data cable connected to data pin 10.

    This is my config file:
    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.1 (11.06.2016)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"       : "Adalight",
            "type"       : "adalight",
            "output"     : "/dev/ttyUSB0",
            "rate"     : 500000,
            "delayAfterConnect"     : 0,
            "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
            }
        },
    
        // V4L2 GRABBER CONFIG
        "grabber-v4l2" :
        {
            "device" : "/dev/video0",
            "input" : 0,
            "standard" : "PAL",
            "width" : 240,
            "height" : 192,
            "frameDecimation" : 2,
            "sizeDecimation" : 1,
            "priority" : 900,
            "mode" : "2D",
            "cropLeft" : 0,
            "cropRight" : 0,
            "cropTop" : 0,
            "cropBottom" : 0,
            "redSignalThreshold" : 0.0,
            "greenSignalThreshold" : 0.0,
            "blueSignalThreshold" : 0.0
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.0,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // KODI CHECK CONFIG
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "127.0.0.1",
            "xbmcTcpPort" : 9090,
            "grabVideo" : true,
            "grabPictures" : true,
            "grabAudio" : false,
            "grabMenu" : true,
            "grabPause" : true,
            "grabScreensaver" : true,
            "enable3DDetection" : true
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // JSON/PROTO FORWARD CONFIG
        "forwarder" :
        {
            "json" : ["127.0.0.1:19446"],
            "proto" : ["127.0.0.1:19447"]
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO FRAME GRABBER CONFIG
        // NO BOOTEFFECT CONFIG
        // NO BOBLIGHT SERVER CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0400 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.0400, "maximum" : 0.0800 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.0800, "maximum" : 0.1200 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.1200, "maximum" : 0.1600 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.1600, "maximum" : 0.2000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.2000, "maximum" : 0.2400 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.2400, "maximum" : 0.2800 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.2800, "maximum" : 0.3200 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.3200, "maximum" : 0.3600 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.3600, "maximum" : 0.4000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.4000, "maximum" : 0.4400 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.4400, "maximum" : 0.4800 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.4800, "maximum" : 0.5200 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.5200, "maximum" : 0.5600 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.5600, "maximum" : 0.6000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.6000, "maximum" : 0.6400 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.6400, "maximum" : 0.6800 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.6800, "maximum" : 0.7200 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.7200, "maximum" : 0.7600 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.7600, "maximum" : 0.8000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.8000, "maximum" : 0.8400 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.8400, "maximum" : 0.8800 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.8800, "maximum" : 0.9200 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.9200, "maximum" : 0.9600 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.9200, "maximum" : 0.9600 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.8800, "maximum" : 0.9200 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.8400, "maximum" : 0.8800 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.8000, "maximum" : 0.8400 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.7600, "maximum" : 0.8000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.7200, "maximum" : 0.7600 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.6800, "maximum" : 0.7200 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.6400, "maximum" : 0.6800 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.6000, "maximum" : 0.6400 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.5600, "maximum" : 0.6000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.5200, "maximum" : 0.5600 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.4800, "maximum" : 0.5200 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.4400, "maximum" : 0.4800 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.4000, "maximum" : 0.4400 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.3600, "maximum" : 0.4000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.3200, "maximum" : 0.3600 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.2800, "maximum" : 0.3200 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.2400, "maximum" : 0.2800 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.2000, "maximum" : 0.2400 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.1600, "maximum" : 0.2000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.1200, "maximum" : 0.1600 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.0800, "maximum" : 0.1200 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.0400, "maximum" : 0.0800 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0400 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
     
  2. penfold42

    penfold42 Moderator Developer

    Messages:
    742
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    What arduino sketch are you using ?

    Does the baud rate match ?

    Are the lights on startup the Hyperion rainbow swirl or a startup sequence from the arduino sketch ?
     
  3. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    Both the baud rate are 500000 (hypercon config and aduino config)
    I'm using Adafruit_NeoPixel.h
     
    Last edited: 25 January 2017
  4. penfold42

    penfold42 Moderator Developer

    Messages:
    742
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    That's just one of the library header files.

    Where did you get the .ino file from ?
     
  5. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    I used everything from the tutorial from the mad scientist.


    Adafruit_NeoPixel-master
     
  6. penfold42

    penfold42 Moderator Developer

    Messages:
    742
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    It's too hard to find the URL for the sketch on my phone from his video but t probably doesn't matter.

    1) are you sure it's /dev/ttyUSB0 ?
    More logs from the startup would show an error if it's wrong

    2) some arduino boards have USB serial chips that don't like odd baud rates.
    Try 115200 instead of 500000
     
  7. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    I checked it's /dev/ttyUSB0

    I will change the baudrate and test that.
     
  8. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    Changed the baute rate to 115200, but still the same result. When I reboot the PI after 20 seconds the leds lightup and then they go off again.
    No errors in the log.
     
    Last edited: 25 January 2017
  9. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    942
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    "delayAfterConnect" : 1500,

    can you try it with this?
     
  10. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    Sorry for the late response. I changed the delay settings:

    Changed the delay in the arduino and in hyperion.

    In the arduino: delay (1500); // (now 1.5)15 seconds delay at startup to avoid strange behaviours as the PI boots up etc

    Then the ligths come on after 1.5s, but then I have the same result. Lights on at boot after that no lights.
    No errors in the log.

    It looks like the arduino can reach the led strip correctly."

    The log:"
    ssh in: Feb 01 10:22:20 osmcAllie hyperiond[1285]: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: Feb 01 10:22:20 osmcAllie hyperiond[1285]: BLACKBORDER INFO: mode:default
    ssh in: Feb 01 10:22:20 osmcAllie hyperiond[1285]: JSONSERVER INFO: Connection closed
     
    Last edited: 1 February 2017
  11. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    Changed the color to green at startup, that also works.
     
  12. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    942
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    did you tried our ino?
     
  13. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    Stupid question where can i find it?
     
  14. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    942
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  15. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    Your great :), I can set the collors now in hypercon configuration. I can continue now. Thx!
     
  16. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    I can use the android remote. But I dont get the video grabber to work. I sitll use the config from above (the bautrate is different now).

    When I clear the collors, I get some lights flickering green.

    This i my log:
    ssh in: Feb 02 14:23:30 osmcAllie hyperiond[276]: BLACKBORDER INFO: mode:default
    ssh in: Feb 02 14:23:30 osmcAllie hyperiond[276]: JSONSERVER INFO: Connection closed
    ssh in: Feb 02 14:23:30 osmcAllie hyperiond[276]: V4L2GRABBER INFO: started

    I checked with with putty, the grabber is device video0.

    [ 775.870646] stk1160 1-1.2:1.0: V4L2 device registered as video0

    Any ideas?
     
  17. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    942
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    do you want to grab from usb-video grabber or from osmc?
     
  18. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    I want to use the usb-video grabber.
     
  19. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    942
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    // 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.1 (11.06.2016)

    {
    // DEVICE CONFIGURATION
    "device" :
    {
    "name" : "Adalight",
    "type" : "adalight",
    "output" : "/dev/ttyUSB0",
    "rate" : 500000,
    "delayAfterConnect" : 0,
    "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
    }
    },

    // V4L2 GRABBER CONFIG
    "grabber-v4l2" :
    {
    "device" : "/dev/video0",
    "input" : 0,
    "standard" : "PAL",
    "width" : -1,
    "height" : -1,
    "frameDecimation" : 2,
    "sizeDecimation" : 4,
    "priority" : 900,
    "mode" : "2D",
    "cropLeft" : 0,
    "cropRight" : 0,
    "cropTop" : 0,
    "cropBottom" : 0,
    "redSignalThreshold" : 0.0,
    "greenSignalThreshold" : 0.0,
    "blueSignalThreshold" : 0.0
    },

    // BLACKBORDER CONFIG
    "blackborderdetector" :
    {
    "enable" : true,
    "threshold" : 0.0,
    "unknownFrameCnt" : 600,
    "borderFrameCnt" : 50,
    "maxInconsistentCnt" : 10,
    "blurRemoveCnt" : 1,
    "mode" : "default"
    },

    // KODI CHECK CONFIG

    // 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 BOOTEFFECT CONFIG
    // NO BOBLIGHT SERVER CONFIG

    // LED CONFIGURATION
    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.0400, "maximum" : 0.0800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.0800, "maximum" : 0.1200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.1200, "maximum" : 0.1600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 4,
    "hscan" : { "minimum" : 0.1600, "maximum" : 0.2000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 5,
    "hscan" : { "minimum" : 0.2000, "maximum" : 0.2400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 6,
    "hscan" : { "minimum" : 0.2400, "maximum" : 0.2800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 7,
    "hscan" : { "minimum" : 0.2800, "maximum" : 0.3200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 8,
    "hscan" : { "minimum" : 0.3200, "maximum" : 0.3600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 9,
    "hscan" : { "minimum" : 0.3600, "maximum" : 0.4000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 10,
    "hscan" : { "minimum" : 0.4000, "maximum" : 0.4400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 11,
    "hscan" : { "minimum" : 0.4400, "maximum" : 0.4800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 12,
    "hscan" : { "minimum" : 0.4800, "maximum" : 0.5200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 13,
    "hscan" : { "minimum" : 0.5200, "maximum" : 0.5600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 14,
    "hscan" : { "minimum" : 0.5600, "maximum" : 0.6000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 15,
    "hscan" : { "minimum" : 0.6000, "maximum" : 0.6400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 16,
    "hscan" : { "minimum" : 0.6400, "maximum" : 0.6800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 17,
    "hscan" : { "minimum" : 0.6800, "maximum" : 0.7200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 18,
    "hscan" : { "minimum" : 0.7200, "maximum" : 0.7600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 19,
    "hscan" : { "minimum" : 0.7600, "maximum" : 0.8000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 20,
    "hscan" : { "minimum" : 0.8000, "maximum" : 0.8400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 21,
    "hscan" : { "minimum" : 0.8400, "maximum" : 0.8800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 22,
    "hscan" : { "minimum" : 0.8800, "maximum" : 0.9200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 23,
    "hscan" : { "minimum" : 0.9200, "maximum" : 0.9600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 24,
    "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 25,
    "hscan" : { "minimum" : 0.9600, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 26,
    "hscan" : { "minimum" : 0.9200, "maximum" : 0.9600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 27,
    "hscan" : { "minimum" : 0.8800, "maximum" : 0.9200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 28,
    "hscan" : { "minimum" : 0.8400, "maximum" : 0.8800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 29,
    "hscan" : { "minimum" : 0.8000, "maximum" : 0.8400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 30,
    "hscan" : { "minimum" : 0.7600, "maximum" : 0.8000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 31,
    "hscan" : { "minimum" : 0.7200, "maximum" : 0.7600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 32,
    "hscan" : { "minimum" : 0.6800, "maximum" : 0.7200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 33,
    "hscan" : { "minimum" : 0.6400, "maximum" : 0.6800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 34,
    "hscan" : { "minimum" : 0.6000, "maximum" : 0.6400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 35,
    "hscan" : { "minimum" : 0.5600, "maximum" : 0.6000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 36,
    "hscan" : { "minimum" : 0.5200, "maximum" : 0.5600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 37,
    "hscan" : { "minimum" : 0.4800, "maximum" : 0.5200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 38,
    "hscan" : { "minimum" : 0.4400, "maximum" : 0.4800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 39,
    "hscan" : { "minimum" : 0.4000, "maximum" : 0.4400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 40,
    "hscan" : { "minimum" : 0.3600, "maximum" : 0.4000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 41,
    "hscan" : { "minimum" : 0.3200, "maximum" : 0.3600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 42,
    "hscan" : { "minimum" : 0.2800, "maximum" : 0.3200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 43,
    "hscan" : { "minimum" : 0.2400, "maximum" : 0.2800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 44,
    "hscan" : { "minimum" : 0.2000, "maximum" : 0.2400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 45,
    "hscan" : { "minimum" : 0.1600, "maximum" : 0.2000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 46,
    "hscan" : { "minimum" : 0.1200, "maximum" : 0.1600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 47,
    "hscan" : { "minimum" : 0.0800, "maximum" : 0.1200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 48,
    "hscan" : { "minimum" : 0.0400, "maximum" : 0.0800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 49,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    }
    ],

    "endOfJson" : "endOfJson"
    }

    try this one...


    BUT you have the stk1160
    [ 775.870646] stk1160 1-1.2:1.0: V4L2 device registered as video0
    this grabber is not the recommended one...
     
  20. Tjiko

    Tjiko New Member

    Messages:
    13
    Hardware:
    RPi3, +Arduino
    I read people have issues with the stk1160. But they do get some results.
    I don't mind buying a different grabber, but I want to be sure that's the problem :).

    To be sure, i ordered a UTV007 chipset grabber. But I hope I do get some results with the other grabber(the delivery time of the new grabber is 3 weeks :().
     
    Last edited: 3 February 2017