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

SOLVED! APA102 LEDs do not light on RPi3 LE 8.2.2 Hyperion

Discussion in 'Hyperion General' started by Rolo, 28 January 2018.

  1. Rolo

    Rolo New Member

    Messages:
    5
    Hardware:
    RPi3, iMX6, +Arduino, +nodeMCU/ESP8266
    Hi there,

    I have set up hyperion on fresh LE 8.2.2 on RPi3 using Hypercon 1.03.3 to install and configure Hyperion.
    I did not get any errors on install and config, but the LEDs (180 pcs APA102) do not light up.
    Seems to be everything installed properly, config, binaries etc can be found on the RPi3.
    I have checked the SPI output on the RPi 3 (MOSI and CLK) on pins 19 and 23, with scope, MOSI is static high, CLK is static low, no activity.
    LSmod output shows nothing uses SPI...
    LibreELEC:~ # lsmod
    Module Size Used by
    hci_uart 15605 1
    btbcm 5315 1 hci_uart
    bluetooth 292114 3 hci_uart,btbcm
    brcmfmac 184596 0
    usbtv 9685 1
    brcmutil 4893 1 brcmfmac
    snd_pcm 68095 1 usbtv
    snd_timer 17901 1 snd_pcm
    snd 41825 3 usbtv,snd_timer,snd_pcm
    cfg80211 247930 1 brcmfmac
    videobuf2_vmalloc 4227 1 usbtv
    videobuf2_memops 1012 1 videobuf2_vmalloc
    videobuf2_v4l2 9822 1 usbtv
    videobuf2_core 24667 2 usbtv,videobuf2_v4l2
    videodev 112083 3 usbtv,videobuf2_v4l2
    rfkill 13757 4 bluetooth,cfg80211
    spi_bcm2835 6050 0
    bcm2835_gpiomem 2652 0
    fixed 2407 0

    This is the hyperion log file (from the moment I clicked on Start in Hypercon):

    ssh out: /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out: /storage/hyperion/bin/hyperion-remote.sh -c ffffff
    ssh in: hyperion-remote:
    ssh in: version : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
    ssh in: build time: Jun 3 2017 02:06:16
    ssh in: Connected to localhost:19444
    ssh in: Set color to 255 255 255
    ssh out: cat /storage/logfiles/hyperion.log
    ssh in: Hyperion Ambilight Deamon (676)
    ssh in: Version : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
    ssh in: Build Time: Jun 3 2017 02:06:37
    ssh in: INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in: HYPERION INFO: ColorTransform 'default' => [0; 179]
    ssh in: HYPERION INFO: ColorCorrection 'default' => [0; 179]
    ssh in: HYPERION INFO: ColorAdjustment 'default' => [0; 179]
    ssh in: LEDDEVICE INFO: configuration:
    ssh in: {
    ssh in: "colorOrder" : "rgb",
    ssh in: "name" : "Samsung46Zoll",
    ssh in: "output" : "/dev/spidev0.0",
    ssh in: "rate" : 1000000,
    ssh in: "type" : "apa102"
    ssh in: }
    ssh in: INFO: Creating linear smoothing
    ssh in: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    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: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: started
    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: V4L2GRABBER INFO: width=720 height=480
    ssh in: V4L2GRABBER INFO: pixel format=YUYV
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: V4L2GRABBER INFO: signal threshold set to: {0,0,0}
    ssh in: V4L2GRABBER INFO: started
    ssh in: INFO: V4L2 grabber created and started
    ssh in: KODICHECK INFO: Kodi Connected
    ssh in: KODICHECK INFO: switching to MENU mode
    ssh in: BORDER SWITCH REQUIRED!!
    ssh in: CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    ssh in: V4L2GRABBER INFO: stopped
    ssh in: EFFECTENGINE INFO: effect finished
    ssh in: V4L2GRABBER INFO: started
    ssh in: JSONSERVER INFO: New connection
    ssh in: BLACKBORDER INFO: threshold set to 0 (0)
    ssh in: BLACKBORDER INFO: mode:default
    ssh in: JSONSERVER INFO: Connection closed
    ssh in: V4L2GRABBER INFO: stopped



    May someone, who is knowing check my configuration hyperion.config.json?
    Thanks in advance
    Roland

    hyperion.config.json
    // 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" : "Samsung46Zoll",
    "type" : "apa102",
    "output" : "/dev/spidev0.0",
    "rate" : 1000000,
    "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" : 1,
    "standard" : "NTSC",
    "width" : -1,
    "height" : -1,
    "frameDecimation" : 2,
    "sizeDecimation" : 8,
    "priority" : 900,
    "mode" : "2D",
    "cropLeft" : 16,
    "cropRight" : 17,
    "cropTop" : 2,
    "cropBottom" : 14,
    "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" : "192.168.178.47",
    "xbmcTcpPort" : 9090,
    "grabVideo" : true,
    "grabPictures" : true,
    "grabAudio" : true,
    "grabMenu" : true,
    "grabPause" : true,
    "grabScreensaver" : true,
    "enable3DDetection" : true
    },

    // BOOTEFFECT CONFIG
    "bootsequence" :
    {
    "color" : [19,30,63],
    "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" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.5968, "maximum" : 0.6129 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.6129, "maximum" : 0.6290 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.6290, "maximum" : 0.6452 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.6452, "maximum" : 0.6613 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 4,
    "hscan" : { "minimum" : 0.6613, "maximum" : 0.6774 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 5,
    "hscan" : { "minimum" : 0.6774, "maximum" : 0.6935 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 6,
    "hscan" : { "minimum" : 0.6935, "maximum" : 0.7097 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 7,
    "hscan" : { "minimum" : 0.7097, "maximum" : 0.7258 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 8,
    "hscan" : { "minimum" : 0.7258, "maximum" : 0.7419 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 9,
    "hscan" : { "minimum" : 0.7419, "maximum" : 0.7581 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 10,
    "hscan" : { "minimum" : 0.7581, "maximum" : 0.7742 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 11,
    "hscan" : { "minimum" : 0.7742, "maximum" : 0.7903 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 12,
    "hscan" : { "minimum" : 0.7903, "maximum" : 0.8065 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 13,
    "hscan" : { "minimum" : 0.8065, "maximum" : 0.8226 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 14,
    "hscan" : { "minimum" : 0.8226, "maximum" : 0.8387 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 15,
    "hscan" : { "minimum" : 0.8387, "maximum" : 0.8548 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 16,
    "hscan" : { "minimum" : 0.8548, "maximum" : 0.8710 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 17,
    "hscan" : { "minimum" : 0.8710, "maximum" : 0.8871 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 18,
    "hscan" : { "minimum" : 0.8871, "maximum" : 0.9032 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 19,
    "hscan" : { "minimum" : 0.9032, "maximum" : 0.9194 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 20,
    "hscan" : { "minimum" : 0.9194, "maximum" : 0.9355 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 21,
    "hscan" : { "minimum" : 0.9355, "maximum" : 0.9516 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 22,
    "hscan" : { "minimum" : 0.9516, "maximum" : 0.9677 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 23,
    "hscan" : { "minimum" : 0.9677, "maximum" : 0.9839 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 24,
    "hscan" : { "minimum" : 0.9839, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 25,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9706, "maximum" : 1.0000 }
    },
    {
    "index" : 26,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9412, "maximum" : 0.9706 }
    },
    {
    "index" : 27,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9118, "maximum" : 0.9412 }
    },
    {
    "index" : 28,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8824, "maximum" : 0.9118 }
    },
    {
    "index" : 29,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8529, "maximum" : 0.8824 }
    },
    {
    "index" : 30,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8235, "maximum" : 0.8529 }
    },
    {
    "index" : 31,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7941, "maximum" : 0.8235 }
    },
    {
    "index" : 32,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7647, "maximum" : 0.7941 }
    },
    {
    "index" : 33,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7353, "maximum" : 0.7647 }
    },
    {
    "index" : 34,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7059, "maximum" : 0.7353 }
    },
    {
    "index" : 35,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6765, "maximum" : 0.7059 }
    },
    {
    "index" : 36,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6471, "maximum" : 0.6765 }
    },
    {
    "index" : 37,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6176, "maximum" : 0.6471 }
    },
    {
    "index" : 38,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5882, "maximum" : 0.6176 }
    },
    {
    "index" : 39,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5588, "maximum" : 0.5882 }
    },
    {
    "index" : 40,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5294, "maximum" : 0.5588 }
    },
    {
    "index" : 41,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5000, "maximum" : 0.5294 }
    },
    {
    "index" : 42,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4706, "maximum" : 0.5000 }
    },
    {
    "index" : 43,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4412, "maximum" : 0.4706 }
    },
    {
    "index" : 44,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4118, "maximum" : 0.4412 }
    },
    {
    "index" : 45,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3824, "maximum" : 0.4118 }
    },
    {
    "index" : 46,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3529, "maximum" : 0.3824 }
    },
    {
    "index" : 47,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3235, "maximum" : 0.3529 }
    },
    {
    "index" : 48,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2941, "maximum" : 0.3235 }
    },
    {
    "index" : 49,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2647, "maximum" : 0.2941 }
    },
    {
    "index" : 50,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2353, "maximum" : 0.2647 }
    },
    {
    "index" : 51,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2059, "maximum" : 0.2353 }
    },
    {
    "index" : 52,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1765, "maximum" : 0.2059 }
    },
    {
    "index" : 53,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1471, "maximum" : 0.1765 }
    },
    {
    "index" : 54,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1176, "maximum" : 0.1471 }
    },
    {
    "index" : 55,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0882, "maximum" : 0.1176 }
    },
    {
    "index" : 56,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0588, "maximum" : 0.0882 }
    },
    {
    "index" : 57,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0294, "maximum" : 0.0588 }
    },
    {
    "index" : 58,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0294 }
    },
    {
    "index" : 59,
    "hscan" : { "minimum" : 0.9839, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 60,
    "hscan" : { "minimum" : 0.9677, "maximum" : 0.9839 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 61,
    "hscan" : { "minimum" : 0.9516, "maximum" : 0.9677 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 62,
    "hscan" : { "minimum" : 0.9355, "maximum" : 0.9516 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 63,
    "hscan" : { "minimum" : 0.9194, "maximum" : 0.9355 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 64,
    "hscan" : { "minimum" : 0.9032, "maximum" : 0.9194 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 65,
    "hscan" : { "minimum" : 0.8871, "maximum" : 0.9032 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 66,
    "hscan" : { "minimum" : 0.8710, "maximum" : 0.8871 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 67,
    "hscan" : { "minimum" : 0.8548, "maximum" : 0.8710 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 68,
    "hscan" : { "minimum" : 0.8387, "maximum" : 0.8548 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 69,
    "hscan" : { "minimum" : 0.8226, "maximum" : 0.8387 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 70,
    "hscan" : { "minimum" : 0.8065, "maximum" : 0.8226 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 71,
    "hscan" : { "minimum" : 0.7903, "maximum" : 0.8065 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 72,
    "hscan" : { "minimum" : 0.7742, "maximum" : 0.7903 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 73,
    "hscan" : { "minimum" : 0.7581, "maximum" : 0.7742 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 74,
    "hscan" : { "minimum" : 0.7419, "maximum" : 0.7581 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 75,
    "hscan" : { "minimum" : 0.7258, "maximum" : 0.7419 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 76,
    "hscan" : { "minimum" : 0.7097, "maximum" : 0.7258 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 77,
    "hscan" : { "minimum" : 0.6935, "maximum" : 0.7097 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 78,
    "hscan" : { "minimum" : 0.6774, "maximum" : 0.6935 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 79,
    "hscan" : { "minimum" : 0.6613, "maximum" : 0.6774 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 80,
    "hscan" : { "minimum" : 0.6452, "maximum" : 0.6613 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 81,
    "hscan" : { "minimum" : 0.6290, "maximum" : 0.6452 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 82,
    "hscan" : { "minimum" : 0.6129, "maximum" : 0.6290 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 83,
    "hscan" : { "minimum" : 0.5968, "maximum" : 0.6129 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 84,
    "hscan" : { "minimum" : 0.5806, "maximum" : 0.5968 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 85,
    "hscan" : { "minimum" : 0.5645, "maximum" : 0.5806 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 86,
    "hscan" : { "minimum" : 0.5484, "maximum" : 0.5645 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 87,
    "hscan" : { "minimum" : 0.5323, "maximum" : 0.5484 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 88,
    "hscan" : { "minimum" : 0.5161, "maximum" : 0.5323 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 89,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5161 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 90,
    "hscan" : { "minimum" : 0.4839, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 91,
    "hscan" : { "minimum" : 0.4677, "maximum" : 0.4839 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 92,
    "hscan" : { "minimum" : 0.4516, "maximum" : 0.4677 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 93,
    "hscan" : { "minimum" : 0.4355, "maximum" : 0.4516 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 94,
    "hscan" : { "minimum" : 0.4194, "maximum" : 0.4355 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 95,
    "hscan" : { "minimum" : 0.4032, "maximum" : 0.4194 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 96,
    "hscan" : { "minimum" : 0.3871, "maximum" : 0.4032 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 97,
    "hscan" : { "minimum" : 0.3710, "maximum" : 0.3871 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 98,
    "hscan" : { "minimum" : 0.3548, "maximum" : 0.3710 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 99,
    "hscan" : { "minimum" : 0.3387, "maximum" : 0.3548 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 100,
    "hscan" : { "minimum" : 0.3226, "maximum" : 0.3387 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 101,
    "hscan" : { "minimum" : 0.3065, "maximum" : 0.3226 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 102,
    "hscan" : { "minimum" : 0.2903, "maximum" : 0.3065 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 103,
    "hscan" : { "minimum" : 0.2742, "maximum" : 0.2903 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 104,
    "hscan" : { "minimum" : 0.2581, "maximum" : 0.2742 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 105,
    "hscan" : { "minimum" : 0.2419, "maximum" : 0.2581 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 106,
    "hscan" : { "minimum" : 0.2258, "maximum" : 0.2419 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 107,
    "hscan" : { "minimum" : 0.2097, "maximum" : 0.2258 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 108,
    "hscan" : { "minimum" : 0.1935, "maximum" : 0.2097 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 109,
    "hscan" : { "minimum" : 0.1774, "maximum" : 0.1935 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 110,
    "hscan" : { "minimum" : 0.1613, "maximum" : 0.1774 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 111,
    "hscan" : { "minimum" : 0.1452, "maximum" : 0.1613 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 112,
    "hscan" : { "minimum" : 0.1290, "maximum" : 0.1452 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 113,
    "hscan" : { "minimum" : 0.1129, "maximum" : 0.1290 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 114,
    "hscan" : { "minimum" : 0.0968, "maximum" : 0.1129 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 115,
    "hscan" : { "minimum" : 0.0806, "maximum" : 0.0968 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 116,
    "hscan" : { "minimum" : 0.0645, "maximum" : 0.0806 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 117,
    "hscan" : { "minimum" : 0.0484, "maximum" : 0.0645 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 118,
    "hscan" : { "minimum" : 0.0323, "maximum" : 0.0484 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 119,
    "hscan" : { "minimum" : 0.0161, "maximum" : 0.0323 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 120,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0161 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 121,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0294 }
    },
    {
    "index" : 122,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0294, "maximum" : 0.0588 }
    },
    {
    "index" : 123,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0588, "maximum" : 0.0882 }
    },
    {
    "index" : 124,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0882, "maximum" : 0.1176 }
    },
    {
    "index" : 125,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1176, "maximum" : 0.1471 }
    },
    {
    "index" : 126,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1471, "maximum" : 0.1765 }
    },
    {
    "index" : 127,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1765, "maximum" : 0.2059 }
    },
    {
    "index" : 128,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2059, "maximum" : 0.2353 }
    },
    {
    "index" : 129,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2353, "maximum" : 0.2647 }
    },
    {
    "index" : 130,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2647, "maximum" : 0.2941 }
    },
    {
    "index" : 131,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2941, "maximum" : 0.3235 }
    },
    {
    "index" : 132,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.3235, "maximum" : 0.3529 }
    },
    {
    "index" : 133,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.3529, "maximum" : 0.3824 }
    },
    {
    "index" : 134,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.3824, "maximum" : 0.4118 }
    },
    {
    "index" : 135,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4118, "maximum" : 0.4412 }
    },
    {
    "index" : 136,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4412, "maximum" : 0.4706 }
    },
    {
    "index" : 137,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4706, "maximum" : 0.5000 }
    },
    {
    "index" : 138,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5000, "maximum" : 0.5294 }
    },
    {
    "index" : 139,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5294, "maximum" : 0.5588 }
    },
    {
    "index" : 140,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5588, "maximum" : 0.5882 }
    },
    {
    "index" : 141,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5882, "maximum" : 0.6176 }
    },
    {
    "index" : 142,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6176, "maximum" : 0.6471 }
    },
    {
    "index" : 143,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6471, "maximum" : 0.6765 }
    },
    {
    "index" : 144,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6765, "maximum" : 0.7059 }
    },
    {
    "index" : 145,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7059, "maximum" : 0.7353 }
    },
    {
    "index" : 146,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7353, "maximum" : 0.7647 }
    },
    {
    "index" : 147,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7647, "maximum" : 0.7941 }
    },
    {
    "index" : 148,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7941, "maximum" : 0.8235 }
    },
    {
    "index" : 149,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8235, "maximum" : 0.8529 }
    },
    {
    "index" : 150,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8529, "maximum" : 0.8824 }
    },
    {
    "index" : 151,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8824, "maximum" : 0.9118 }
    },
    {
    "index" : 152,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.9118, "maximum" : 0.9412 }
    },
    {
    "index" : 153,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.9412, "maximum" : 0.9706 }
    },
    {
    "index" : 154,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.9706, "maximum" : 1.0000 }
    },
    {
    "index" : 155,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0161 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 156,
    "hscan" : { "minimum" : 0.0161, "maximum" : 0.0323 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 157,
    "hscan" : { "minimum" : 0.0323, "maximum" : 0.0484 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 158,
    "hscan" : { "minimum" : 0.0484, "maximum" : 0.0645 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 159,
    "hscan" : { "minimum" : 0.0645, "maximum" : 0.0806 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 160,
    "hscan" : { "minimum" : 0.0806, "maximum" : 0.0968 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 161,
    "hscan" : { "minimum" : 0.0968, "maximum" : 0.1129 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 162,
    "hscan" : { "minimum" : 0.1129, "maximum" : 0.1290 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 163,
    "hscan" : { "minimum" : 0.1290, "maximum" : 0.1452 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 164,
    "hscan" : { "minimum" : 0.1452, "maximum" : 0.1613 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 165,
    "hscan" : { "minimum" : 0.1613, "maximum" : 0.1774 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 166,
    "hscan" : { "minimum" : 0.1774, "maximum" : 0.1935 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 167,
    "hscan" : { "minimum" : 0.1935, "maximum" : 0.2097 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 168,
    "hscan" : { "minimum" : 0.2097, "maximum" : 0.2258 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 169,
    "hscan" : { "minimum" : 0.2258, "maximum" : 0.2419 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 170,
    "hscan" : { "minimum" : 0.2419, "maximum" : 0.2581 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 171,
    "hscan" : { "minimum" : 0.2581, "maximum" : 0.2742 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 172,
    "hscan" : { "minimum" : 0.2742, "maximum" : 0.2903 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 173,
    "hscan" : { "minimum" : 0.2903, "maximum" : 0.3065 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 174,
    "hscan" : { "minimum" : 0.3065, "maximum" : 0.3226 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 175,
    "hscan" : { "minimum" : 0.3226, "maximum" : 0.3387 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 176,
    "hscan" : { "minimum" : 0.3387, "maximum" : 0.3548 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 177,
    "hscan" : { "minimum" : 0.3548, "maximum" : 0.3710 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 178,
    "hscan" : { "minimum" : 0.3710, "maximum" : 0.3871 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 179,
    "hscan" : { "minimum" : 0.3871, "maximum" : 0.4032 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    }
    ],

    "endOfJson" : "endOfJson"
    }
     
  2. Akriss

    Akriss Active Member

    Messages:
    203
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  3. Rolo

    Rolo New Member

    Messages:
    5
    Hardware:
    RPi3, iMX6, +Arduino, +nodeMCU/ESP8266
    Hi Akriss,

    you are right! I forgot to mention this.
    Yes, SPI is enabled by dtparam=spi=on.
    On Libreelec on RPi3 the config.txt is located in /Flash not in /boot
    It includes:
    [all]
    include distroconfig.txt
    dtparam=spi=on
    I have ckecked /dev and found spidev0.0 as well as spidev0.1. The rights are set to rw------- , so no right to execute. Do you think, this could be the reason?
    As mentioned earlier, lsmod lists spi_bcm2835 6050 0, so the spi driver is loaded but never used...

    I appreciate your Support.
    BR
    Rolo
     
  4. Akriss

    Akriss Active Member

    Messages:
    203
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    It could be that you need a level shifter?

    You could test the led's/hardware with a vanilla Rasbian install and this ( https://github.com/tinue/APA102_Pi ) to make sure.

    sorry not much help.
     
  5. Rolo

    Rolo New Member

    Messages:
    5
    Hardware:
    RPi3, iMX6, +Arduino, +nodeMCU/ESP8266
    Hi Akriss,

    thanks for your reply!
    I don't think a levelshifter is needed; I probed MOSI and SCLK on the RPi3 Expansion connector with a scope while Hyperion is running: No activity at all.
    I had the idea to check the LEDs and the RPi3 separately. So I used an Arduino sketch on NodeMCU to control the LEDs. Worked perfekt. Then I set MOSI and SCLK manually (while SPI was turned of) by Setting the GPIOs; worked also.
    Next I will test the RPi3 and the LEDs together with the tinue/APA102_Pi, to check, if the parts work together.
    Thanks again! Even if you do not give me the final solution, you help me on the way to bring this project on track.

    BR
    Rolo
     
  6. Rolo

    Rolo New Member

    Messages:
    5
    Hardware:
    RPi3, iMX6, +Arduino, +nodeMCU/ESP8266
    Hi Akriss,

    now I have checked to control the LEDs by using tinue/APA102_Pi. Again no success. SW runs without error message, LEDs stay off. Probably my Pi has a defekt. I will try it with another one as soon as I get my hands on another Pi.
    Thanks again!

    BR
    Rolo
     
  7. Akriss

    Akriss Active Member

    Messages:
    203
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I came upon a spi test program a wile ago that has helped determine if I fried a Rpi's spi pin.
    (https://github.com/rm-hull/spidev-test)
    It very easy to setup and can tell if the spi pins are alive or dead.

    hope it helps
     
  8. Rolo

    Rolo New Member

    Messages:
    5
    Hardware:
    RPi3, iMX6, +Arduino, +nodeMCU/ESP8266
    Hi Akriss,

    my Problem is solved. I installed tinue/APA102_Pi und tried. No LED light up, thank I dismounted the RPI from the back of my TV and probed the SPI Pins with a scope. SPI worked well, so I checked the wiring from the Raspi to the LED tripe. Bingo! I had switched data and GND. Corrected the Problem and the LED's light up instantly.

    Again thank you for your tipp.
    Best regards
    Rolo