Simple & Easy WiFi Manager with Captive Portal for ESP32
A simplistic approach to a WiFi Manager on ESP32 MCUs. Comes with captive portal to configure modules without any hassle.
This fork is based on https://github.com/ayushsharma82/ESPConnect. I highly recommend looking at all OSS projects (and products) from @ayushsharma82. He is making great Arduino libraries.
Logo: user is responsible to provide a logo at this path:
AP Mode: a new choice is added to the captive portal so that the user can remain in AP mode
Network State Machine: a better state machine is implemented to handle switching between Captive Portal, AP Mode and STA mode
New API: API has been completely rewritten
Callback: Listen to Network State changes
Blocking and Non-blocking modes: ESPConnect can be configured to loop and wait for the user to complete the Captive Portal steps, or the app can continue working in the background and the Captive Portal will be launched as needed.
Flexible Configuration: ESPConnect can either control the configuration persistence for you or let you do it
mDNS / DNS Support
-D ESPCONNECT_ETH_SUPPORT to add Ethernet support.
- Ethernet takes precedence over WiFi, but you can have both connected at the same time
- Ethernet takes precedence over Captive Portal: if it is running and you connect an Ethernet cable, the Captive Portal will be closed
- Ethernet does not take precedence over AP Mode: if AP mode is configured, then Ethernet won’t be started even if a cable is connected
If your ethernet card requires to set
ETH_PHY_POWER, the library will automatically power the pin.
If you need to reset the pin before powering it up, use
|OLIMEX ESP32-PoE (esp32-poe)
|Wireless-Tag WT32-ETH01 Ethernet Module (wt32-eth01)
|T-ETH-Lite ESP32 S3 (esp32s3box)
Flags for wt32-eth01:
Flags for T-ETH-Lite ESP32 S3:
Note: this project is making use of the
ETHClass library from Lewis He