You can install directly from Arduino Library Manager
https://www.ardu-badge.com/ESP_WiFiManager
This is an ESP32 / ESP8266 WiFi Connection Manager with fallback web configuration portal. Use this library for configuring ESP32, ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName. With examples supporting ArduinoJson 6.0.0+ as well as 5.13.5- .
So, how it works?
In Configuration Portal Mode, it starts an access point called ESP_XXXXXX. Connect to it using the configurable password you can define in the code. For example, your_password (see examples):
Code: Select all
// SSID and PW for Config Portal
String ssid = "ESP_" + String(ESP_getChipId(), HEX);
const char* password = "your_password";
Select Information to enter the Info page where the board info will be shown (long page)
or short page (default)
Select Configuration to enter this page where you can select an AP and specify its WiFi Credentials
Enter your credentials, then click Save. The WiFi Credentials will be saved and the board reboots to connect to the selected WiFi AP.
If you're already connected to a listed WiFi AP and don't want to change anything, just select Exit Portal from the Main page to reboot the board and connect to the previously-stored AP. The WiFi Credentials are still intact.
Releases 1.0.6
New in v1.0.6
- Add function getConfigPortalPW()
- Add 4 new complicated examples compatible with ArduinoJson 6.0.0+ :AutoConnect(https://github.com/khoih-prog/ESP_WiFiM ... utoConnect), AutoConnectWithFeedback(https://github.com/khoih-prog/ESP_WiFiM ... thFeedback), AutoConnectWithFeedbackLED(https://github.com/khoih-prog/ESP_WiFiM ... eedbackLED) and AutoConnectWithFSParameters(https://github.com/khoih-prog/ESP_WiFiM ... Parameters)
Releases 1.0.6-beta
New in v1.0.6-beta
- Add NTP data
- Add support to ArduinoJson 6.0.0+ as well as 5.13.5- to examples
Releases 1.0.5
New in v1.0.5
- Add option to specify static DNS servers, besides static IP, Gateway and Subnet Mask
- Modify and add examples. Enhance README.md
Releases 1.0.4
New in v1.0.4
- Add ESP_WiFiManager setHostname feature
- Modify and add examples. Enhance README.md
Releases 1.0.3
New in v1.0.3
- Add option not displaying AvailablePages in Info page.
- Delete unnecessary files
- Modify examples, Images and enhance README.md
Releases 1.0.2
- Forked, modified, bug-fixed and improved from these versions of WiFiManager.
See Tzapu's version(https://github.com/tzapu/WiFiManager) for previous release information.
See KenTaylor's version(https://github.com/kentaylor/WiFiManager) for previous release information.
New in v1.0.2
- Fix bug that keeps ConfigPortal in endless loop if Portal/Router SSID or Password is NULL.
- Add example ConfigPortalParamsOnSwitch to enable ConfigPortal credentials to be reconfigurable using ConfigPortal.