Thanks - that's really helpful... So it looks like there are a whole bunch of setTimeouts coming from the DHT11 module, but I have no idea why!
The only thing I can think is that somehow the RTC is getting really confused and the value from getTime actually jumps backwards at some point (and that might explain why you get the DISK_ERR).
Please can you also log the value from getTime() alongside process.memory()?
How long does this happen after the last hard reset? From the logs it looks like both times have been after around 4 hours? Do you think it's been around that amount of time in each case?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks - that's really helpful... So it looks like there are a whole bunch of setTimeouts coming from the DHT11 module, but I have no idea why!
The only thing I can think is that somehow the RTC is getting really confused and the value from
getTime
actually jumps backwards at some point (and that might explain why you get the DISK_ERR).Please can you also log the value from
getTime()
alongsideprocess.memory()
?How long does this happen after the last hard reset? From the logs it looks like both times have been after around 4 hours? Do you think it's been around that amount of time in each case?