techniccontroller / wordclock_esp8266

Wordclock 2.0 with ESP8266 and NTP time
https://techniccontroller.com/word-clock-with-wifi-and-neopixel/
MIT License
22 stars 17 forks source link

[feature] add button on webapp to reset wifi configuration #19

Closed techniccontroller closed 1 year ago

techniccontroller commented 1 year ago

Currently, the stored wifi configuration can only be reset by uncommenting the line "wifiManager.resetSettings()" in _wordclockesp8266.ino and running the program once. After that the line need to be commented again and the code need to be flashed a second time on the esp.

The idea with this feature request is to add a button in dashboard which calls the endpoint /resetWifi to erase the wifi configuration and restarts the esp.