Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Watchdog possible on ESP32 versions?

Aperta
#5,611 4 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
arduino, cpp
Ambito
embedded-iot

Direzione di ricerca

Start by reading the linked ESP-IDF watchdog documentation and investigating how WLED handles its ESP32 runtime and configuration. The issue names no files or tests, so first locate the relevant ESP32 entry points and existing settings. Done means the device can reboot after a configurable period of apparent inactivity, without affecting normal operation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement question

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.

Lingua principale
C++
Stelle
18.8k
Fork
4.4k
Merge medio
4g 6h
PR unite (30g)
12

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wled/WLED

Tutte le issue di wled/WLED

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.