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

RPi + Other Software HyperBian RPi + Mega + WS2812B- LED Freeze

Discussion in 'Hardware Support' started by al22xx, 20 June 2020.

  1. al22xx

    al22xx New Member

    Messages:
    22
    Hardware:
    RPi3, +Arduino
    Hi
    I’m running the latest setup (2.0.0-alpha.6) & once connected all works fine for about 10-15mins or so & then the LEDs freeze on just one colour & won’t change, I can still see the Live Video in the LED VISUALIZATION window meaning the grabber works fine & the grabber also appears in the lsusb when typed in the terminal - (USBTV007 Video Grabber [EasyCAP])

    When this happens I’m also unable to change any colour by my Hyperion app on my iPhone either - I need to reboot the RPi & Arduino a few times to keep resetting & may eventually get it working for a short period again before it stops responding (Lights are still on but fixed on a particular colour), very frustrating.

    Some background I initially had both my Pi & Arduino mega on the same switch & didn’t used to Shutdown the Pi properly & just switched it off from the mains - this caused SD card corruption many times until I separated the RPi & left it continuously on. Before it kept corrupting the SD cards it was working just fine for hours with the previous version 2.0.0-alpha.5 but now I also get the freeze when I revert back to 2.0.0-alpha.5, so I upgraded back again & using 2.0.0-alpha.6 with the same result

    I have the following setup:

    RPi image from:
    https://github.com/Hyperion-Project/HyperBian/releases
    • Arduino Mega Wireless 2560 R3 Mega2560 REV3 ATmega2560-16AU Board
    • DC 5V 20A 100W Universal Regulated Switching Power Supply
    • 2x LED Strip 5V WS2812B 5050 RGB 144LED/M LED Strip Lights WS2812 IC
    • Digital video audio HDMI to AV CVBS Converter Support 4Kx2K L/R stereo NTSC PAL
    • Easycap USB 2.0 VHS VCR to Win PC DVD Video Audio Converter Grabber Capture Card
    • Raspberry Pi 3 Model B+ B Plus
    • HDMI switch
    • Capacitor Electrolytic Round Capacitor 1000uF 10v
    • Resistor Carbon Film Resistors 470 Ohm
    I have attached my Arduino & Hyperion config
    I really appreciate if you can tell why its failing & stop working so frequently
    Many thanks
     

    Attached Files:

    Last edited: 20 June 2020
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,840
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    logs pls
     
  3. al22xx

    al22xx New Member

    Messages:
    22
    Hardware:
    RPi3, +Arduino
    Hey bro
    let me know if this helps?

    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:105:newConnection()) New connection from: ::ffff:192.168.1.68
    [hyperiond JSONCLIENTCONNECTION] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.69' switch to Hyperion instance 0
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'Hyperion [email protected]::ffff:192.168.1.69/COLOR' with priority 1 as inactive
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:198:setInput()) Priority 1 is now active
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 1
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 1
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240
    [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:121:closedConnection()) Connection closed
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:50:handleCompStateChangeRequest()) Disable Hyperion, store current component states
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Hyperion: disabled
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: disabled
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: disabled
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 240
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 254
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: disabled
    [hyperiond V4L2:auto] (INFO) Stopped
    [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:57:stop()) Grabber stop()
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: disabled
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:63:handleCompStateChangeRequest()) Enable Hyperion, recover previous component states
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Hyperion: enabled
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Smoothing: enabled
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Blackborder detector: enabled
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'System/V4L' with priority 240 as inactive
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) V4L capture device: enabled
    [hyperiond V4L2:auto] (INFO) configured v4l device: /dev/video0
    [hyperiond V4L2:auto] (DEBUG) (V4L2Grabber.cpp:597:init_device()) Video standard=PAL
    [hyperiond V4L2:auto] (DEBUG) (V4L2Grabber.cpp:692:init_device()) Set resolution to width=720 height=576
    [hyperiond V4L2:auto] (DEBUG) (V4L2Grabber.cpp:731:init_device()) Pixel format=YUYV
    [hyperiond V4L2:auto] (INFO) Started
    [hyperiond V4L2:auto] (DEBUG) (GrabberWrapper.cpp:49:start()) Grabber start()
    [hyperiond ComponentRegister] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) LED device: enabled
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:238:setInputImage()) Priority 240 is now active
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240
    [hyperiond BLACKBORDER] (DEBUG) (ImageProcessor.h:188:verifyBorder()) Reset border
    [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:105:newConnection()) New connection from: ::ffff:192.168.1.68
    [hyperiond JSONCLIENTCONNECTION] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.69' switch to Hyperion instance 0
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'Hyperion [email protected]::ffff:192.168.1.69/COLOR' with priority 1 as inactive
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:198:setInput()) Priority 1 is now active
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 1
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 1
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240
    [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:121:closedConnection()) Connection closed
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.71' switch to Hyperion instance 0
    [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.71' switch to Hyperion instance 0
    [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
    [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.71' switch to Hyperion instance 0
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,840
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    what did you make?
    can you just start hyperion and click nothing, till its crash please
     
  5. al22xx

    al22xx New Member

    Messages:
    22
    Hardware:
    RPi3, +Arduino
    Here is the log - at first it was cleared then I had to restart the RPi & then tried the iphone app & then reverted back
    Thanks in advance for your help bro

    [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:105:newConnection()) New connection from: ::ffff:192.168.1.68
    [hyperiond JSONCLIENTCONNECTION] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.69' switch to Hyperion instance 0
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:158:registerInput()) Register new input 'Hyperion [email protected]::ffff:192.168.1.69/COLOR' with priority 1 as inactive
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:198:setInput()) Priority 1 is now active
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 1
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:255:clearInput()) Removed source priority 1
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:333:setCurrentTime()) Set visible priority to 240
    [hyperiond EFFECTENGINE] (INFO) effect finished [hyperiond JSONSERVER] (DEBUG) (JsonServer.cpp:121:closedConnection()) Connection closed
    [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:75:setSourceAutoSelectEnabled()) Source auto select is now disabled
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.71' switch to Hyperion instance 0
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.71' switch to Hyperion instance 0
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1044:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.71
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:102:handleInstanceSwitch()) Client '::ffff:192.168.1.71' switch to Hyperion instance 0
    [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1035:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.71
     
    Last edited: 21 June 2020
  6. al22xx

    al22xx New Member

    Messages:
    22
    Hardware:
    RPi3, +Arduino
    Hi bro here is another log attached - in the middle somewhere it froze again & then after a while it came back on & started working & then I switched it off
     

    Attached Files: