tbnobody / OpenDTU

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters
GNU General Public License v2.0
1.8k stars 501 forks source link

[lmplement task watchdog] #693

Open juergen-weber opened 1 year ago

juergen-weber commented 1 year ago

Is your feature request related to a problem? Please describe.

Although OpenDTU is quite stable, it happens from time to time (OTA updates) that the whole system gets stuck. This requires physical access to the hardware to initiate a power cycle.

Describe the solution you'd like

Enabling a simple Task Watchdog Timer (TWDT) could be a solution.

Describe alternatives you've considered

No response

Additional context

No response

tbnobody commented 1 year ago

Hint: https://iotassistant.io/esp32/enable-hardware-watchdog-timer-esp32-arduino-ide/

stefan123t commented 3 months ago

For OTA updates we have ongoing discussion in #319 though this would require safeboot and two OTA app images app0 and app1 as far as I understand the Tasmota approach being suggested for OpenDTU too. This may not fit on the ESP32!