Overview of AutoConnect for ESP8266/ESP32
masterAutoConnect is an Arduino library designed for ESP8266 and ESP32 modules that enables runtime WLAN configuration via a web interface. Instead of hard-coding SSIDs and passwords into your sketch, users can connect to the device's access point (often via a captive portal) and input credentials through a web UI.
Key features include:
- Dynamic Configuration: Connect to any WLAN at runtime without re-flashing.
- Credential Persistence: Automatically saves connection data to EEPROM so the device can reconnect after a reboot.
- Non-Intrusive Integration: Can work alongside your existing
ESP8266WebServerorWebServer(ESP32) instances. - Custom Web Pages: Supports adding user-defined screens with HTML elements like TEXT, INPUT, BUTTON, CHECKBOX, RADIO, SELECT, and SUBMIT.
- JSON-based UI: User-owned screens can be defined using JSON descriptions stored in PROGMEM, SPIFFS, or SD.
- OTA Support: Easily integrates Over-The-Air firmware updates, manageable via the AutoConnect menu.