Skip to content

Watchdog possible on ESP32 versions? #5611

@hagenbuch

Description

@hagenbuch

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

I didn't find anything in the documentation, so:

I'm using WLED 15.4.0 successfully. on an ESP32 Gleopto hardware with only 5 m of WS281x and a beefy power supply. I even added a beefy electrolytic capacitor right at the ESP32 side to improve stability.

The Wifi is mostly OK but due to the small antenna not 100% connected. The device may run several weeks in a row but then just stops working: The LEDs keep their state but the device is unaccessible. I run a different ESP32 device by Waveshare in the vicinity and that one remains accessible, so I rule Wifi problems out.

It would be great if we had a watchdog: Current ESP32 IDF seems to support that:

https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/wdts.html

Describe the solution you'd like

It would be nice if we had a watchdog reboot the device if is does not seem to run anymore for, say, 5 minutes - or a configurable number of seconds or minutes.

Describe alternatives you've considered

The only other option I see is to reboot it by powercycling which I'd like to avoid.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions