IoTaWatt rebooting every day

Hi, just happened to notice that my unit is rebooting everyday and trying to figure out why? Here is the log from the last couple days.

Datalog Watch Dog Timer (WDT) exception is very rare. The datalog WDT will trigger if the datalog is not updated after 5 minutes. There is not much information available to diagnose what is causing this, but I can offer some possibilities:

The trace indicates that the web-server was active at the time of the WDT expiration. Because of the single -thread operation of the ESP8266, the web server monopolizes the CPU when handling a transaction. For the most part, transactions are handled relatively quickly and have little or no impact on sampling and data recording. However, there are some requests that can take extra time to handle. In particular, queries can take a long time as they can require reading a lot of data from the SDcard. For that reason, queries length is limited by default but there is an overide LIMIT parameter that will allow longer queries. If you are using query explicitly you might check the response times for those queries (the browser debugger will time transactions). Even if not doing explicit queries, the home assistant integration uses query to gather IoTaWatt data. There could be some issue with that. A simple test would be to disable the integration for a day or so and see if the problem is mitigated.

I wouldn’t rule out datalog corruption or SDcard issues but there is no direct historical link to those types of problems and datalog WDT restarts, so HA involvement would be my first choice.

K, will disable the HA integration and see. Thanks.