Closed dave-ct closed 1 year ago
Hi @dave-ct. Thanks for raising this. I suspect there is some internal error in the code that's not being logged. To help diagnose this, I have pushed change https://github.com/pimoroni/enviro/pull/113/commits/9d41d2d869d3711dc6ff0125f0e9103b40b4286b to the patch
branch that captures any exceptions and logs them. If you are able to re-run with that change added (or all of the fixes from the patch
branch) that would be appreciated.
Thanks, I have deployed the patch branch and will monitor to see it it happens with this version. FYI the rain issue #70 looks to be fixed and working well now.
@ZodiusInfuser Have had the patch verison running over the last 4 days and the issue has not happened again so suspect something in this has fixed it. Will close this issue.
Thank you @dave-ct. The pessimist in my isn't entirely convinced it's fixed, but the last changes I did do let the board handle errors a bit more gracefully. If it comes up again, or you see anything interesting in the log, feel free to re-open this issue.
Has happened a couple of times now where the board just hangs after a scheduled wakeup. Not sure why as has gone days before without any issue. Does not seem related to network as doe snot even attempt to connect to wifi, just the white LED pulses.
Logs are below and can see from the wakup at 19:00 (marked with stars) it just hangs and then next log entry is when I removed power at 19:39 and plugged it in again. No issue with battery as still at 3.9v. Its set to take readings evey 10 minutes and using local MQTT for destination.