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

SOLVED LEDs strip WS2812B not turning on

Discussion in 'Hardware Support' started by LosArtigah, 15 November 2020.

  1. LosArtigah

    LosArtigah New Member

    Messages:
    14
    Hardware:
    RPi1/Zero
    Hi All,
    I finally got Hyperion to work correctly with the HDMI to USB video capture device and now I can "preview" video from Hyperion UI. The problem I have now is that the lights are not turning on at all.
    I checked the strip and there are 5v running through the strip. The lights are wired using the same PSU for the Pi and the LEDs. The LEDs data line (green wire) is connected directed to GPIO18 on the Pi.
    When I look in the dashboard I never can get the LED Device to turn on. (not sure if it needs to stay on)

    upload_2020-11-14_18-23-17.png

    Config
    upload_2020-11-14_18-25-15.png


    Can someone help me with this, please?
    Thank you

    -Los
     
  2. LosArtigah

    LosArtigah New Member

    Messages:
    14
    Hardware:
    RPi1/Zero
    *update*
    I got the lights to work by doing this: sudo systemctl enable --now [email protected]
    Now the LEDs work and can change color but at a very slow pace.
    I thought the Pi was being overloaded but it looks like it could still do a better job
    Can someone tell me if there is a setting in the Hyperion that could fix this?

    upload_2020-11-14_22-37-8.png
     
    Last edited: 15 November 2020
  3. LosArtigah

    LosArtigah New Member

    Messages:
    14
    Hardware:
    RPi1/Zero
    I was mistaken, the lights were in standby I guess that's what they seemed slow it looks like the capture card keeps on freezing randomly.
    then I have to uncheck the USB Capture setting and save it and enable it again so the lights start working again.
    Any ideas why this may be happening? This is the video capture card I have.

    By the way I had to change this setting so the lights could work, otherwise, I could only see white lights
    upload_2020-11-14_23-27-30.png

    Please let me know how can I resolve the capture freezing issue. I'm almost there :)

    Thanks
    -Los
     
  4. LosArtigah

    LosArtigah New Member

    Messages:
    14
    Hardware:
    RPi1/Zero
    Probably there is an issue with my capture card. I'm having issues capturing the video again and I have the same config.
    It just stopped working :facepalm:
    I forgot to mention that according to the "LED preview window" I needed 18A to power my LEDs correctly so I'm getting a new PSU today.
    This is my log:

    Code:
    2020-11-16T02:48:32.582Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceFile.cpp:77:close()) File: /dev/null
    2020-11-16T02:48:32.595Z [hyperiond LEDDEVICE] (INFO)  Stopped LedDevice 'file'
    2020-11-16T02:48:32.628Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1041:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.0.21
    2020-11-16T02:48:32.616Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'ws281x'.
    2020-11-16T02:48:32.636Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:147:init()) deviceConfig: [{"colorOrder":"rgb","currentLedCount":274,"dma":5,"gpio":18,"hardwareLedCount":274,"invert":false,"latchTime":0,"leds":256,"pwmchannel":0,"rewriteTime":1000,"rgbw":false,"type":"ws281x","whiteAlgorithm":"subtract_minimum"}]
    2020-11-16T02:48:32.641Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:403:setLatchTime()) LatchTime updated to 0ms
    2020-11-16T02:48:32.645Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:423:setRewriteTime()) Refresh interval = 1000ms
    2020-11-16T02:48:32.670Z [hyperiond LEDDEVICE] (DEBUG) (LedDevice.cpp:429:setRewriteTime()) RewriteTime updated to 1000ms
    2020-11-16T02:48:32.674Z [hyperiond LEDDEVICE] (DEBUG) (LedDeviceWS281x.cpp:59:init()) ws281x strip type : 1050624
    2020-11-16T02:48:32.701Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
    2020-11-16T02:48:32.706Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
    2020-11-16T02:48:49.783Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl fast" on channel 0
    2020-11-16T02:48:49.790Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Rainbow swirl fast], smoothCfg [0]
    2020-11-16T02:48:49.798Z [hyperiond EFFECTENGINE] (INFO) Run effect "Warm mood blobs" on channel 254
    2020-11-16T02:48:49.803Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [Warm mood blobs], smoothCfg [0]
    2020-11-16T02:48:50.999Z [hyperiond EFFECTENGINE] (INFO) effect finished
    2020-11-16T02:48:51.991Z [hyperiond EFFECTENGINE] (INFO) Previous line repeats 1 times
    2020-11-16T02:48:51.996Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 0 is now active
    2020-11-16T02:48:54.093Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:298:setCurrentTime()) Timeout clear for priority 0
    2020-11-16T02:48:54.340Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 250
    2020-11-16T02:48:54.345Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:538:handlPriorityChangedLedDevice()) priority[250], previousPriority[0]
    2020-11-16T02:48:56.738Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1032:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.21
    2020-11-16T02:48:56.787Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1041:handleLoggingCommand()) log streaming deactivated for client  ::ffff:192.168.0.21
    2020-11-16T02:51:40.527Z [hyperiond V4L2:AUTO] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2020-11-16T02:51:40.534Z [hyperiond V4L2:AUTO] (INFO) Signal threshold set to: {12, 12, 12}
    2020-11-16T02:51:44.987Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:159:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
    2020-11-16T02:51:45.000Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
    2020-11-16T02:51:45.134Z [hyperiond V4L2:AUTO] (INFO) configured v4l device: /dev/video0
    2020-11-16T02:51:45.142Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:582:init_device()) Set device input to: Camera 1
    2020-11-16T02:51:45.158Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:696:init_device()) Set resolution to width=1920 height=1080
    2020-11-16T02:51:45.163Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:713:init_device()) Set framerate to 5 fps
    2020-11-16T02:51:45.167Z [hyperiond V4L2:AUTO] (DEBUG) (V4L2Grabber.cpp:735:init_device()) Pixel format=YUYV
    2020-11-16T02:51:45.237Z [hyperiond V4L2:AUTO] (INFO) Started
    2020-11-16T02:51:45.251Z [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:48:start()) Grabber start()
    2020-11-16T02:51:45.016Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 250
    2020-11-16T02:51:45.020Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 254
    2020-11-16T02:51:45.030Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:538:handlPriorityChangedLedDevice()) priority[254], previousPriority[250]
    2020-11-16T02:51:45.046Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Framegrabber: disabled
    2020-11-16T02:51:45.255Z [hyperiond Dispmanx] (DEBUG) (GrabberWrapper.cpp:58:stop()) Grabber stop()
    2020-11-16T02:51:45.094Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:159:registerInput()) Register new input 'System/GRABBER' with priority 250 as inactive
    2020-11-16T02:51:45.101Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 250 is now active
    2020-11-16T02:51:45.110Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 250
    2020-11-16T02:51:45.114Z [hyperiond BLACKBORDER] (DEBUG) (ImageProcessor.h:188:verifyBorder()) Reset border
    2020-11-16T02:51:45.122Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:538:handlPriorityChangedLedDevice()) priority[250], previousPriority[254]
    2020-11-16T02:51:47.025Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 240 is now active
    2020-11-16T02:51:47.040Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240
    2020-11-16T02:51:47.044Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:538:handlPriorityChangedLedDevice()) priority[240], previousPriority[250]
    2020-11-16T02:51:48.084Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 240 is now inactive
    2020-11-16T02:51:48.100Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 250
    2020-11-16T02:51:48.111Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:538:handlPriorityChangedLedDevice()) priority[250], previousPriority[240]
    2020-11-16T02:51:49.000Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 240 is now active
    2020-11-16T02:51:49.009Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240
    2020-11-16T02:51:49.017Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:538:handlPriorityChangedLedDevice()) priority[240], previousPriority[250]
    2020-11-16T02:51:50.403Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 250 is now inactive
    2020-11-16T02:51:51.228Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1032:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.21

    Can someone help me see if there is a problem based on this?
    Thank you

    -Los
     
    Last edited: 16 November 2020
  5. LosArtigah

    LosArtigah New Member

    Messages:
    14
    Hardware:
    RPi1/Zero
    It is working OK after setting up the new power supply.
    thx!