Search found 3 matches

by VirtualWolf
Sun Dec 18, 2022 5:54 am
Forum: General Discussion and Questions
Topic: Maximum timeout period for uasyncio.sleep()?
Replies: 4
Views: 24005

Re: Maximum timeout period for uasyncio.sleep()?

Ahh, thanks Peter! It turns out I had another issue anyway, I'd subsequently discovered that you can only have one watchdog timer on the ESP32 and because I was already using one to restart the board in case my temperature/humidity sensor readings crapped out, the longer period of this restart never...
by VirtualWolf
Sat Aug 13, 2022 4:33 am
Forum: General Discussion and Questions
Topic: Maximum timeout period for uasyncio.sleep()?
Replies: 4
Views: 24005

Re: Maximum timeout period for uasyncio.sleep()?

::facepalm::

I realised that rather than screwing around with this, I can just do:

Code: Select all

wdt = WDT(timeout=604800000)
And never WDT.feed() it, and that'll kick the watchdog timer to restart it after a week.
by VirtualWolf
Tue Aug 02, 2022 10:11 am
Forum: General Discussion and Questions
Topic: Maximum timeout period for uasyncio.sleep()?
Replies: 4
Views: 24005

Maximum timeout period for uasyncio.sleep()?

Hi everyone! I have several ESP32s that run Peter Hinch's excellent mqtt_as.py library and are connected to temperature sensors. I've set up WDT to reboot them if they get into an odd state, but just occasionally, maybe once every month or two, they manage to get into a state where they no longer se...