Open alexruffell opened 1 year ago
In cases like this the best bet is to hook up a cable and save the serial logs, it's likely the only place you would find see a stack dump in case of a crash. Because it's mounted up high this can be tricky, maybe a solution would be to use a small SBC board (raspberry pi or similar) connected to it and pipe the logs to a file until the next crash.
If you manage to capture a stack trace, using EspExceptionDecoder could allow you to get some insight into the cause of the crash.
I've experienced this a few times as well. Similar setup, I'm running a Unifi AP and have a Ratgdo 2.0 board.
I have noticed that when the Ratgdo is in this unresponsive state, opening/closing the garage door using one of the remotes (or wall switch) will sometimes release it from whatever state it is in and start reporting back to HA again.
Next time it happens I will test that and report back.
Anyone make progress on this? I've noticed mine often drops completely off the network after I open the garage, sometimes with the wall button and sometimes through HA, I've seen it in both cases.
Hard to debug when it happens because in order to plug in USB for serial logs I have to pull the existing one which powers it down and presumably scrubs the logs.
I am still having the unresponsive / unavailable (probably crashed issue). Anyone figured out the cause?
I've found my RATGDO in an unresponsive state multiple times and am having a hard time figuring out what the issue is. I have 2 ESP32 devices in my garage and the RATGDO is closest to a Unifi AP with just one wall between them. When it is unresponsive, it is not connected to the network either and being mounted up high, I can't connect to it with a wire to see if there are any logs.
I have a RATGDO 2.0 but made a tiny mod consisting in removing one of the mosfets on the Light status output so that I could control a more powerful mosfet that turns 2 parking lasers on and off. The code is nearly stock, with just a few changes I marked with
#AMR
.Any suggestions on how I can troubleshoot this? I can't exclude a Unifi related issue but with about 40 operational ESPs, this is the only one crashing.
Would be nice if I could use another ESP32 to read the log and relay it... is that even possible?