An Arduino library for ESP8266/ESP32 WLAN configuration at run time with web interface.
To the dynamic configuration for joining to WLAN with SSID and PSK accordingly. It an Arduino library united with ESP8266WebServer class of ESP8266 or WebServer class of ESP32. Easily implementing the Web interface constituting the WLAN for ESP8266/ESP32 WiFi connection. With this library to make a sketch easily which connects from ESP8266/ESP32 to the access point at runtime by the web interface without hard-coded SSID and password.
It is no needed hard-coding in advance the SSID and Password into the sketch to connect between ESP8266/ESP32 and WLAN. You can input SSID & Password from a smartphone via the web interface at runtime.
AutoConnect control screen will be displayed automatically for establishing new connections. It aids by the captive portal when vested the connection cannot be detected.
By using the AutoConnect menu, to manage the connections convenient.
The connection authentication data as credentials are saved automatically in EEPROM of ESP8266/ESP32 and You can select the past SSID from the AutoConnect menu.
AutoConnect can be embedded easily into your sketch, just "begin" and "handleClient".
The sketches which provide the web page using ESP8266WebServer/WebServer there is, AutoConnect will not disturb it. AutoConnect can use an already instantiated ESP8266WebServer object(ESP8266) or WebServer object(ESP32), or itself can assign it.
You can easily add your own web screen that can consist of representative HTML elements as the styled TEXT, INPUT, BUTTON, CHECKBOX, RADIO, SELECT, SUBMIT into the menu. It can be invoked from the AutoConnect menu and parameters can be passed.
These HTML elements that make up the user-owned screen can be easily loaded from the JSON description stored in PROGMEM, SPIFFS or SD.
You can quickly and easily equip the OTA update feature to your sketch and also you can operate the firmware update process via OTA from AutoConnect menu.
Apply the Arduino core of the ESP8266 Community.
Alter the platform applying the arduino-esp32 for the ESP32 modules.
Most simple approach to applying AutoConnect for the existing sketches, follow the below steps.
Full documentation is available on https://Hieromon.github.io/AutoConnect, some quick links at the list:
/_ac/reset
.responsive
parameter with AutoConnectAux.Tool
> Partition Scheme
, you will be able to find a partition scheme that fits your sketch. Also, in the PlatformIO environment, it can be changed by adding the board_build.partitions
directive to the platformio.ini
file. See FAQ of Documentation for details.deep
in with the platformio.ini
file. See FAQ of Documentation for details.Since AutoConnect v1.2.3, PageBuilder v1.5.0 or later is required. Please update PageBuilder latest.
AUTOCONNECT_NOUSE_JSON
. (issue #282)<br>
tags can now be added to each element. (PR #95)[]
as a shortcut for AutoConnectAux::getElement function.AutoConnectDefs.h
.WiFi.hostname()
.License under the MIT license.