HyperBian RPi + Mega + WS2812B- LED Freeze

  • 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

  • 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 Remote@::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 Remote@::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

  • 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 Remote@::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

  • 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



    hi question off topic im trying to find out if my hyperion is every working.... i tried multiple way of installing this.. the only one that seem to work is the same way you installed yours... its the only one for that a "sudo service hyperion status" will given me an output that its active and running...


    2 questions where is the Hyperian Log.txt log located ? send is where is you config file located? (Hyperion-2.0.0-alpha.6-Backup (My Hyperion Config) 2020.06.06 (1).json)


    my problem is no matter how i install this on Pi2 its either i dont have it actively running or if its actively running i cannot browse or connect to Pi-IP-addess:8090



    thank you

  • Hi
    Unfortunately I have the same issue as no one responded to me & its freezes after a short while
    if I understand correctly if you have the same set up as mine you should be able to log into Hyperion but typing the below in your browser where the IP address is the IP address of the Pi
    http://192.168.1.12:8090/#conf_logging
    once you access the Hyperion on the left menu there is System > Log & there you turn on logs
    & you would be able to change setting in the menu
    Im not very technical myself so not sure why you can't connect to your Pi
    Try terminal to ssh into your pi
    ssh pi@192.168.1.12
    if unable follow the instructions below


    https://docs.hyperion-project.…perBian.html#requirements



    Put ssh file as per above instruction


    Terminal: if cant connect


    ssh-keygen -R 192.168.1.12


    or
    on Mac
    Command+Shift+Dot. Yourhidden files


    GoTo: /Users/yourname/.ssh/
    and delete the file


    hope this helps
    Also there is new version you might want to try
    https://github.com/hyperion-pr…eleases/tag/2.0.0-alpha.9

Jetzt mitmachen!

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