[GH-ISSUE #376] Keeping ESP8266 in AP mode when exiting the Configuration portal #317

Closed
opened 2026-02-28 01:24:42 +03:00 by kerem · 0 comments
Owner

Originally created by @PierreDelport on GitHub (Jun 9, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/376

I am not sure if I am posting this request at the correct place for the best people to respond. Firstly, please excuse if my question will sound stupid as I have only been trying to program the ESP8266 now for a month. I started by using the tzapu WiFiManager as it seems the easiest for somebody like me with no knowledge. I used one of the I/O pins to force the unit into configuration mode, which works well. I do however prefer the kentaylor option after I saw it yesterday as it saves an I/O pin by using the reset button. My problem is that I would also like to have the option of setting up the unit purely in AP mode on the Configuration page. In other words, what if I do not want to connect to a WiFi network, but keep the STA mode but I would like to use the Configuration page to setup the SSID, Password, IP address or use the parameters as in the your sketch with wifiManager.setAPStaticIPConfig. The only addition is that there must be a button (Like the Exit Portal button) which will exit the Configuration portal and return to your sketch, but in AP mode, not in STA mode. This is for when you are not in an area where there are WiFi access points. You can always return to the Configuration portal again by just pressing the reset button twice and setup STA mode again. Maybe this can be done on this moment without changing the library, but unfortunately after many hours of Google I was not able to find a solution with my limited knowledge. Any help will be appreciated.

Originally created by @PierreDelport on GitHub (Jun 9, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/376 I am not sure if I am posting this request at the correct place for the best people to respond. Firstly, please excuse if my question will sound stupid as I have only been trying to program the ESP8266 now for a month. I started by using the tzapu WiFiManager as it seems the easiest for somebody like me with no knowledge. I used one of the I/O pins to force the unit into configuration mode, which works well. I do however prefer the kentaylor option after I saw it yesterday as it saves an I/O pin by using the reset button. My problem is that I would also like to have the option of setting up the unit purely in AP mode on the Configuration page. In other words, what if I do not want to connect to a WiFi network, but keep the STA mode but I would like to use the Configuration page to setup the SSID, Password, IP address or use the parameters as in the your sketch with wifiManager.setAPStaticIPConfig. The only addition is that there must be a button (Like the Exit Portal button) which will exit the Configuration portal and return to your sketch, but in AP mode, not in STA mode. This is for when you are not in an area where there are WiFi access points. You can always return to the Configuration portal again by just pressing the reset button twice and setup STA mode again. Maybe this can be done on this moment without changing the library, but unfortunately after many hours of Google I was not able to find a solution with my limited knowledge. Any help will be appreciated.
kerem closed this issue 2026-02-28 01:24:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#317
No description provided.