ESP_MultiResetDetector is a library for the ESP8266 and ESP32 boards to detects a configurable multi reset, within configurable timeout (default 10s) seconds, so that an alternative start-up mode can be used. Example use cases are to allow re-configuration of a device's WiFi / MQTT / Blynk credentials or to count the number of resets within a pre-determined timed.
This library is based on, modified, bug-fixed and improved from
to add multiple reset detection support to ESP8266 and ESP32 using EEPROM, SPIFFS and LittleFS besides original RTC.
This library can be used to detect a multi reset within a predetermined time to force the program to enter a special operation such as Config Portal, Clear Default Data, etc., using :
EEPROM, SPIFFS or LittleFS for ESP8266 and ESP32 boards.
Please add ESP_MultiResetDetector library to Library Manager.
Thanks and Regards.
Features
ESP_MultiResetDetector is a library for the ESP8266 and ESP32 boards to detects a configurable multi reset, within configurable timeout (default 10s) seconds, so that an alternative start-up mode can be used. Example use cases are to allow re-configuration of a device's WiFi / MQTT / Blynk credentials or to count the number of resets within a pre-determined timed.
This library is based on, modified, bug-fixed and improved from
Stephen Denne's DoubleResetDetector
ESP_DoubleResetDetector
to add multiple reset detection support to ESP8266 and ESP32 using EEPROM, SPIFFS and LittleFS besides original RTC.
This library can be used to detect a multi reset within a predetermined time to force the program to enter a special operation such as Config Portal, Clear Default Data, etc., using :
Currently supported Boards
This ESP_MultiResetDetector library currently supports these following boards:
Releases v1.1.1