Open dtorres-sf opened 1 month ago
How are you starting the device and connection each day? Is it a fresh power up?
Good question. So I actually leave the device plugged into my docking station over USB. It is battery powered as well. So each morning I come in, hook up my laptop to the docking station which provides data and power to the device, but it is possible it was already powered on from the day before and running on battery but it would be in deep sleep mode.
Last night I did not leave the USB connected to the docking station and this morning I did a full power cycle (disconnecting the battery) and started back up. It appeared to still hit the issue. I cannot be 100% certain since I wasn't connected to USB/serial to see the stack trace, but it hit the assert at the exact same time it usually does (and the app running has been unchanged for months and is pretty stable other than this issue).
Thanks for the info. That is weird! The simplest fix would be to catch the exception and retry.
To debug, we'd need the IDF logs that can be output over the UART.
CircuitPython version
Code/REPL
Behavior
Description
The first time I try to connect to wifi each day I get this error. After that it works the rest of the day (even if power cycling in between).
Additional information
No response