ESP_MultiResetDetector Library

ESP_MultiResetDetector Library

How To Install Using Arduino Library Manager

Why do we need this ESP_MultiResetDetector Library

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 and improved from ESP_DoubleResetDetector to add support to MultiResetDetection for ESP8266 and ESP32 using EEPROM, SPIFFS and LittleFS.

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 :

  1. EEPROM, SPIFFS or LittleFS for ESP8266 and ESP32 boards.
  2. RTC memory for ESP8266 boards (unadvised).

Releases v1.1.1

  1. Initial coding to support Multiple Reset Detection.
  2. Sync with ESP_DoubleResetDetector v1.1.1

Currently Supported Boards

  1. ESP32 boards using EEPROM, SPIFFS or LittleFS.
  2. ESP8266 boards RTC memory, EEPROM, SPIFFS or LittleFS

Examples:

  1. ConfigOnMultiReset
  2. ConfigOnMRD_ESP32_minimal
  3. ConfigOnMRD_ESP8266_minimal
  4. minimal

Examples from other libraries

Check the long list of Examples from other libraries

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.