LEDs not working

  • Good evening everyone,


    in the last few days I have been trying my hand at an Ambilight system, however I am at a loss.


    I am a complete beginner in electronics and the like and this is also my first project in this area.


    Currently, the setup looks like this using a BTF-SK6812:


    At the Raspberry Pi 4b a corresponding image signal arrives, as can be seen on this picture:



    My Hyperion settings look like this:



    As I said before, I'm absolutely new to this stuff, so I'm at a loss at what I am missing or how to fix this. Any help would be greatly appreciated.

  • GPIO has to be 18 for PWMo ledcontroller ws281x


    on raspberry its hardware PIN 12


    or you can run on diffrent ledcontroller like SPI sk6812

    GPIO 10 and hardware PIN on raspberry is 19

    I just tried both versions and both didn't work, the LEDs are still not lighting up.


    The only time the LEDs light up was when I used LED controller Sk6822spi/ws2812spi with GPIO 10. However, they only lit up white and only about half of them.



    An have a look into the hyperion log, if there are any errors reported…

    In the Ui: System->Log

    I kept checking the logs while trying Lightning-Guys solutions and there weren't any.



    I also checked the voltage of the LED Strip and everything was fine. When turning off the power the LED Strip lights up completely in a dim red, if that helps.

  • they only lit up white and only about half of them.



    did you power the strip from both sides on +5 volts and GND with running on that settings?


    you have to set

    set logging level on level expert, then you see debug log and post it here

    right top in UI there's a wand, click that and change level.


    has to look like this


    Code
    [hyperiond EFFECTFILES] (INFO) 37 effects loaded from directory :/effects/ [hyperiond EFFECTFILES] (INFO) 20 effect schemas loaded from directory :/effects/schema/ [hyperiond EFFECTFILES] (INFO) 1 effects loaded from directory /home/pi/.hyperion/custom-effects [hyperiond SettingsManager] (DEBUG) (SettingsManager.cpp:101:SettingsManager()) Settings database initialized [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:65:handleSettingsUpdate()) Set mode to: default [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:67:componentStateChanged()) Blackborder detector: enabled [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx' [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:33:setVideoMode()) Set videomode to 0 [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 640x480 [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:82:setWidthHeight()) Set new width: 80, height: 45 for capture [hyperiond DAEMON] (INFO) DISPMANX frame grabber created [hyperiond V4L2:/dev/video0] (DEBUG) (Grabber.cpp:33:setVideoMode()) Set videomode to 0 [hyperiond V4L2:/dev/video0] (INFO) Signal threshold set to: {25, 25, 25} [hyperiond V4L2:/dev/video0] (INFO) Cropping image: width=0 height=0; crop: left=12 right=5 top=0 bottom=4  [hyperiond V4L2:/dev/video0] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:434:handleSettingsUpdate()) V4L2 grabber created [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:25:JsonServer()) Created instance [hyperiond JSONSERVER] (INFO) Started on port 19444 [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:67:componentStateChanged()) LED device: enabled [hyperiond LEDDEVICE] (INFO) LedDevice 'apa102' configured. [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:67:componentStateChanged()) Smoothing: enabled [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:48:open()) _baudRate_Hz 1400000,  _latchTime_ns 1 [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:49:open()) _spiDataInvert 0,  _spiMode 0 [hyperiond FLATBUFCONNECTION] (INFO) Connecting to Hyperion: 127.0.0.1:19401 [hyperiond EFFECTENGINE] (INFO) run effect Knight Rider jeroen on channel 0 [hyperiond FLATBUFSERVER] (INFO) Started on port 19400 [hyperiond PROTOSERVER] (INFO) Started on port 19445 [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:105:handleSettingsUpdate()) Set document root to: :/webconfig [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:105:handleSettingsUpdate()) Set document root to: :/webconfig [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver' [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:153:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive [hyperiond HYPERION] (INFO) Initial foreground effect 'Knight Rider jeroen' started [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:153:registerInput()) Register new input 'System/V4L' with priority 240 as inactive [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:67:componentStateChanged()) V4L capture device: enabled [hyperiond V4L2:/dev/video0] (INFO) configured v4l device: /dev/video0 [hyperiond V4L2:/dev/video0] (DEBUG) (V4L2Grabber.cpp:642:init_device()) Set resolution to width=720 height=480 [hyperiond V4L2:/dev/video0] (DEBUG) (V4L2Grabber.cpp:704:init_device()) Pixel format=MJPEG [hyperiond V4L2:/dev/video0] (INFO) Started [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware APA102' has been started [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:171:handleSettingsUpdate()) Setup SSL certificate [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:187:handleSettingsUpdate()) Setup private SSL key [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver' [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 0 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:233:setInputImage()) Priority 0 is now active [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:233:setInputImage()) Priority 240 is now active [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:293:setCurrentTime()) Timeout clear for priority 0 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240 [hyperiond PROTOSERVER] (DEBUG) (ProtoServer.cpp:68:newConnection()) New connection from ::ffff:192.168.1.10 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:153:registerInput()) Register new input 'Proto@::ffff:192.168.1.10/PROTOSERVER' with priority 110 as inactive [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:233:setInputImage()) Priority 110 is now active [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 110 [hyperiond EFFECTENGINE] (INFO) effect finished [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:293:setCurrentTime()) Timeout clear for priority 110 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240 [hyperiond PROTOSERVER] (DEBUG) (ProtoClientConnection.cpp:75:disconnected()) Socket Closed [hyperiond PROTOSERVER] (DEBUG) (ProtoServer.cpp:68:newConnection()) New connection from ::ffff:192.168.1.10 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:153:registerInput()) Register new input 'Proto@::ffff:192.168.1.10/PROTOSERVER' with priority 110 as inactive [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:233:setInputImage()) Priority 110 is now active [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 110 [hyperiond PROTOSERVER] (DEBUG) (ProtoClientConnection.cpp:75:disconnected()) Socket Closed [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:250:clearInput()) Removed source priority 110 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240 [hyperiond PROTOSERVER] (DEBUG) (ProtoServer.cpp:68:newConnection()) New connection from ::ffff:192.168.1.10 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 110 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:153:registerInput()) Register new input 'Proto@::ffff:192.168.1.10/PROTOSERVER' with priority 110 as inactive [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:233:setInputImage()) Priority 110 is now active [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.26 [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:107:handleInstanceSwitch()) Client '::ffff:192.168.1.26' switch to Hyperion instance 0 [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.26 [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:107:handleInstanceSwitch()) Client '::ffff:192.168.1.26' switch to Hyperion instance 0 [hyperiond V4L2:/dev/video0] (INFO) Signal lost [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:233:setInputImage()) Priority 240 is now inactive [hyperiond V4L2:/dev/video0] (INFO) Signal detected [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:233:setInputImage()) Priority 240 is now active [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.26 [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:107:handleInstanceSwitch()) Client '::ffff:192.168.1.26' switch to Hyperion instance 0 [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.26 [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:107:handleInstanceSwitch()) Client '::ffff:192.168.1.26' switch to Hyperion instance 0 [hyperiond PROTOSERVER] (DEBUG) (ProtoClientConnection.cpp:75:disconnected()) Socket Closed [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:250:clearInput()) Removed source priority 110 [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240 [hyperiond V4L2:/dev/video0] (INFO) Signal lost [hyperiond V4L2:/dev/video0] (INFO) Signal detected [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.30 [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:107:handleInstanceSwitch()) Client '::ffff:192.168.1.30' switch to Hyperion instance 0 [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1114:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.30

    Auto scrolling

  • did you power the strip from both sides on +5 volts and GND with running on that settings?

    No only from one side, like this:


    Do I actually have to power the strip from both sides with +5V and GND?



    you have to set set logging level on level expert, then you see debug log and post it here

    right top in UI there's a wand, click that and change level.


    has to look like this

    Oh, sorry didn't know that. This is the log:


    Code
    2021-05-22T20:34:02.044Z [hyperiond DAEMON] (INFO) CEC handler created 2021-05-22T20:34:02.060Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/ 2021-05-22T20:34:02.063Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/ 2021-05-22T20:34:02.066Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /.hyperion/custom-effects 2021-05-22T20:34:02.102Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized 2021-05-22T20:34:02.105Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default 2021-05-22T20:34:02.105Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled 2021-05-22T20:34:02.129Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx' 2021-05-22T20:34:02.129Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-05-22T20:34:02.130Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 640x480 2021-05-22T20:34:02.131Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 80, height: 45 for capture 2021-05-22T20:34:02.131Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created 2021-05-22T20:34:02.132Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-05-22T20:34:02.600Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 640, height: 480 for capture 2021-05-22T20:34:02.600Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal threshold set to: {12, 12, 12} 2021-05-22T20:34:02.601Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) CEC detection is now disabled 2021-05-22T20:34:02.601Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection is now disabled 2021-05-22T20:34:02.601Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2021-05-22T20:34:02.601Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:630:handleSettingsUpdate()) V4L2 grabber created 2021-05-22T20:34:02.602Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance 2021-05-22T20:34:02.602Z [hyperiond JSONSERVER] (INFO) Started on port 19444 2021-05-22T20:34:02.134Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled 2021-05-22T20:34:02.135Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]:  Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms 2021-05-22T20:34:02.135Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'sk6812spi'. 2021-05-22T20:34:02.136Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":256,"hardwareLedCount":256,"invert":false,"latchTime":0,"output":"/dev/spidev0.0","rate":3e+06,"rewriteTime":1000,"type":"sk6812spi","whiteAlgorithm":"subtract_minimum"}] 2021-05-22T20:34:02.136Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:setLatchTime()) LatchTime updated to 0ms 2021-05-22T20:34:02.136Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:428:setRewriteTime()) Refresh interval = 1000ms 2021-05-22T20:34:02.137Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:setRewriteTime()) RewriteTime updated to 1000ms 2021-05-22T20:34:02.137Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:45:init()) _baudRate_Hz [3000000], _latchTime_ms [0] 2021-05-22T20:34:02.137Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:46:init()) _spiDataInvert [0], _spiMode [0] 2021-05-22T20:34:02.138Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceSk6812SPI.cpp:41:init()) whiteAlgorithm : subtract_minimum 2021-05-22T20:34:02.138Z [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'sk6812spi' signals error: 'Failed to open device (/dev/spidev0.0). Error message: No such file or directory' 2021-05-22T20:34:02.141Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times 2021-05-22T20:34:02.141Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401 2021-05-22T20:34:02.149Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0 2021-05-22T20:34:02.183Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2] 2021-05-22T20:34:02.184Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive 2021-05-22T20:34:02.184Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started 2021-05-22T20:34:02.185Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive 2021-05-22T20:34:02.185Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled 2021-05-22T20:34:02.614Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) configured v4l device: /dev/video0 2021-05-22T20:34:02.614Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:582:init_device()) Set device input to: Camera 1 2021-05-22T20:34:02.615Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=640 height=480 2021-05-22T20:34:02.616Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 30 fps 2021-05-22T20:34:02.616Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV 2021-05-22T20:34:02.622Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Started 2021-05-22T20:34:02.622Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start() 2021-05-22T20:34:02.185Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created 2021-05-22T20:34:02.623Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started 2021-05-22T20:34:02.266Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 0 is now active 2021-05-22T20:34:02.266Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-05-22T20:34:02.267Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[255] 2021-05-22T20:34:02.267Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-05-22T20:34:02.609Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400 2021-05-22T20:34:02.610Z [hyperiond PROTOSERVER] (INFO) Started on port 19445 2021-05-22T20:34:02.610Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-05-22T20:34:02.615Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-05-22T20:34:02.696Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-05-22T20:34:02.696Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-05-22T20:34:02.696Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-05-22T20:34:02.697Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-05-22T20:34:02.697Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver' 2021-05-22T20:34:02.708Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active 2021-05-22T20:34:02.947Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate 2021-05-22T20:34:02.948Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key 2021-05-22T20:34:02.948Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver' 2021-05-22T20:34:03.639Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.43 2021-05-22T20:34:03.639Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.178.43' switch to Hyperion instance 0 2021-05-22T20:34:05.217Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:315:setCurrentTime()) Timeout clear for priority 0 2021-05-22T20:34:05.218Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-05-22T20:34:05.218Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[0] 2021-05-22T20:34:05.468Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240 2021-05-22T20:34:05.468Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[0] 2021-05-22T20:36:18.172Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000  2021-05-22T20:36:18.977Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.43
  • You connected mains earth potential to 5V/Ground !

    In your own interest, please remove the GND connection between the RPi and the power supply ! It's not a good idea !


    Grüße aus Österreich / Greetings from Austria !

    - Don't wanna miss it anymore !

    • Offizieller Beitrag

    [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'sk6812spi' signals error: 'Failed to open device (/dev/spidev0.0). Error message: No such file or directory'

  • You connected mains earth potential to 5V/Ground !

    In your own interest, please remove the GND connection between the RPi and the power supply ! It's not a good idea !

    Thanks for the hint, I'll fix it right away. Do I only connect the GND between the RPI and the LED Strip?

  • Right, you can connect all ground (GND) or minus (-) from the 5V power supplies and RPi, but not from mains earth.:thumbup:

    That's only for electrical home safety.

    Grüße aus Österreich / Greetings from Austria !

    - Don't wanna miss it anymore !

    Einmal editiert, zuletzt von Mike72 ()

  • [hyperiond LEDDEVICE] (ERROR) Device disabled, device 'sk6812spi' signals error: 'Failed to open device (/dev/spidev0.0). Error message: No such file or directory'

    Thank you, I activated SPI now. Now I'm having another problem, it says that SPI failed to write.

  • you can ground but not on earth potential.


    Only with GND pins on PI , GND on ledstrip and V- on PSU


    Right, you can connect all ground (GND) or minus (-) from the 5V power supplies and RPi, but not from mains earth.

    Thanks to both of you! I reconnected the GND cable like this:

  • The SPI packet size is maximum 4096 and probably you are over the max, but that default value can be changed.

    So I added spidev.bufsize=1024000 in /boot/cmdline.txt. It also shows that the value changed.


    Sadly the LEDs are still not lighting up. These are my current settings:


    Good news is that there are no more errors in the log!

    Code
    2021-05-23T10:01:00.644Z [hyperiond DAEMON] (INFO) CEC handler created 2021-05-23T10:01:00.658Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/ 2021-05-23T10:01:00.662Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/ 2021-05-23T10:01:00.664Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /.hyperion/custom-effects 2021-05-23T10:01:00.701Z [hyperiond SETTINGSMGR] (DEBUG) (SettingsManager.cpp:109:SettingsManager()) Settings database initialized 2021-05-23T10:01:00.704Z [hyperiond BLACKBORDER] (DEBUG) (BlackBorderProcessor.cpp:64:handleSettingsUpdate()) Set mode to: default 2021-05-23T10:01:00.704Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled 2021-05-23T10:01:00.727Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx' 2021-05-23T10:01:00.728Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-05-23T10:01:00.729Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 640x480 2021-05-23T10:01:00.729Z [hyperiond DISPMANXGRABBER] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 80, height: 45 for capture 2021-05-23T10:01:00.729Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created 2021-05-23T10:01:00.730Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (Grabber.cpp:30:setVideoMode()) Set videomode to 0 2021-05-23T10:01:00.981Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (Grabber.cpp:90:setWidthHeight()) Set new width: 640, height: 480 for capture 2021-05-23T10:01:00.981Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal threshold set to: {12, 12, 12} 2021-05-23T10:01:00.981Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) CEC detection is now disabled 2021-05-23T10:01:00.981Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection is now disabled 2021-05-23T10:01:00.981Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000 2021-05-23T10:01:00.981Z [hyperiond DAEMON] (DEBUG) (hyperiond.cpp:630:handleSettingsUpdate()) V4L2 grabber created 2021-05-23T10:01:00.981Z [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:28:JsonServer()) Created instance 2021-05-23T10:01:00.982Z [hyperiond JSONSERVER] (INFO) Started on port 19444 2021-05-23T10:01:00.733Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'sk6812spi'. 2021-05-23T10:01:00.733Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled 2021-05-23T10:01:00.733Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:148:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":256,"hardwareLedCount":256,"invert":false,"latchTime":0,"output":"/dev/spidev0.0","rate":3e+06,"rewriteTime":3000,"type":"sk6812spi","whiteAlgorithm":"subtract_minimum"}] 2021-05-23T10:01:00.733Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:407:setLatchTime()) LatchTime updated to 0ms 2021-05-23T10:01:00.733Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:428:setRewriteTime()) Refresh interval = 3000ms 2021-05-23T10:01:00.733Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:434:setRewriteTime()) RewriteTime updated to 3000ms 2021-05-23T10:01:00.733Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:45:init()) _baudRate_Hz [3000000], _latchTime_ms [0] 2021-05-23T10:01:00.734Z [hyperiond LEDDEVICE] (DEBUG) (ProviderSpi.cpp:46:init()) _spiDataInvert [0], _spiMode [0] 2021-05-23T10:01:00.733Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]:  Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms 2021-05-23T10:01:00.734Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceSk6812SPI.cpp:41:init()) whiteAlgorithm : subtract_minimum 2021-05-23T10:01:00.740Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) Previous line repeats 1 times 2021-05-23T10:01:00.740Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401 2021-05-23T10:01:00.748Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0 2021-05-23T10:01:00.783Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [2] 2021-05-23T10:01:00.783Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/EFFECT' with priority 0 as inactive 2021-05-23T10:01:00.783Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl fast' started 2021-05-23T10:01:00.784Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'System/V4L' with priority 240 as inactive 2021-05-23T10:01:00.784Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled 2021-05-23T10:01:00.994Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) configured v4l device: /dev/video0 2021-05-23T10:01:00.995Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:582:init_device()) Set device input to: Camera 1 2021-05-23T10:01:00.996Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=640 height=480 2021-05-23T10:01:00.999Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 30 fps 2021-05-23T10:01:00.999Z [hyperiond V4L2:/DEV/VIDEO0] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV 2021-05-23T10:01:01.005Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Started 2021-05-23T10:01:01.005Z [hyperiond V4L2:/dev/video0] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start() 2021-05-23T10:01:00.785Z [hyperiond BOBLIGHT] (DEBUG) (BoblightServer.cpp:28:BoblightServer()) Instance created 2021-05-23T10:01:01.006Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started 2021-05-23T10:01:00.786Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled 2021-05-23T10:01:00.865Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 0 is now active 2021-05-23T10:01:00.865Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-05-23T10:01:00.866Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]:  Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms 2021-05-23T10:01:00.866Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[255] 2021-05-23T10:01:00.866Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:569:handlePriorityChangedLedDevice()) new source available -> switch LED-Device on 2021-05-23T10:01:00.988Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400 2021-05-23T10:01:00.989Z [hyperiond PROTOSERVER] (INFO) Started on port 19445 2021-05-23T10:01:00.990Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-05-23T10:01:00.991Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:33:initServer()) Initialize Webserver 2021-05-23T10:01:01.076Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-05-23T10:01:01.076Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:91:handleSettingsUpdate()) Apply Webserver settings 2021-05-23T10:01:01.076Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-05-23T10:01:01.076Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:109:handleSettingsUpdate()) Set document root to: :/webconfig 2021-05-23T10:01:01.077Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver' 2021-05-23T10:01:01.088Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:175:handleSettingsUpdate()) Setup SSL certificate 2021-05-23T10:01:01.089Z [hyperiond WEBSERVER] (DEBUG) (WebServer.cpp:191:handleSettingsUpdate()) Setup private SSL key 2021-05-23T10:01:01.089Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver' 2021-05-23T10:01:01.089Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 240 is now active 2021-05-23T10:01:04.000Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:315:setCurrentTime()) Timeout clear for priority 0 2021-05-23T10:01:04.001Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 0 2021-05-23T10:01:04.001Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [0]:  Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms 2021-05-23T10:01:04.001Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[0], previousPriority[0] 2021-05-23T10:01:04.251Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240 2021-05-23T10:01:04.251Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[0] 2021-05-23T10:01:44.405Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.178.43 2021-05-23T10:01:44.405Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.178.43' switch to Hyperion instance 0 2021-05-23T10:02:19.367Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.178.43
  • The only time the LEDs light up was when I used LED controller Sk6822spi/ws2812spi with GPIO 10. However, they only lit up white and only about half of them.



    try other SPI ledcontroller settings, > in the PI and Hyperion everything should be okay now, no more errors in the log and on remote section you can see that the leddevice is running.


    so if you are connected to GPIO10 ( pin19) then the only thing to test is diffrent ledcontrollers, if those also not working then check ledlayout in Json file if al the leds are really there in the file and not 10 of them or something..,


    if they are there in the file then the only thing is left is the ledstrip that is faulty, it has to be because all systems are running.


    so what i would do then is power the ledstrip from both sides, beginning and end , and also shorten it a few leds at the beginning to see if the malfunction is there. Twist the ledstrip around, press the leds with fingers while running Hyperion and/or effects with the Hyperion app ( its free) to see if the leds is coming to life.

    sometimes it happens that a ledstrip is just faulty, it can happen.


    Zitat

    Do I actually have to power the strip from both sides with +5V and GND?


    i would do that surely to evade every problem you might have or can have with power problems with this ledstrip.


    only data is connected on one side only then.

    GND and +5 volts is brought together

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!