tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.
MIT License
648 stars 214 forks source link

switch to AP mode manually. #117

Open jakarman opened 3 years ago

jakarman commented 3 years ago

Hello everyone,

I would like to know if there is any way to go to AP mode once the connection with STA is established, for example by pressing a button and that it changes back to AP to be able to put another connection to WiFi.

I know that it can be changed directly from the IP set in STA mode, but if for some reason I do not have the IP, I would like to make the system can be configured as the first time.

Is there any way to do it?

Best regards

hqawasmi commented 3 years ago

you can find out what the ESP32 IP address got when made the connection , for example if the router is 192.168.1.1 then and IP for the esp32 if something like 192.168.1.x , open browser and go put the IP address there.

or you can turn off the other and wait a little bit till the MAX_retries variable (skconfig) pass and the AP will turned on again