[GH-ISSUE #391] Open config portal from link #330

Open
opened 2026-02-28 01:24:48 +03:00 by kerem · 6 comments
Owner

Originally created by @StoyanVP on GitHub (Jul 25, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/391

Hello.
Thanks to tzapu and kentaylor for WiFiManager librarie.
I have a question.
Is there a suitable method to call the configuration portal from link in the web page?
Once the settings have already been made, then you can only click on link and open portal to change the network settings without pressing a hardware button for that. Then go back to the web page.

Originally created by @StoyanVP on GitHub (Jul 25, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/391 Hello. Thanks to tzapu and kentaylor for WiFiManager librarie. I have a question. Is there a suitable method to call the configuration portal from link in the web page? Once the settings have already been made, then you can only click on link and open portal to change the network settings without pressing a hardware button for that. Then go back to the web page.
Author
Owner

@ageurtse commented on GitHub (Feb 16, 2018):

this is also what i'm looking for !

<!-- gh-comment-id:366305488 --> @ageurtse commented on GitHub (Feb 16, 2018): this is also what i'm looking for !
Author
Owner

@tablatronix commented on GitHub (Feb 16, 2018):

you can leave the webserver open permanently and not use ap mode at all, is that what you are asking ?

<!-- gh-comment-id:366331393 --> @tablatronix commented on GitHub (Feb 16, 2018): you can leave the webserver open permanently and not use ap mode at all, is that what you are asking ?
Author
Owner

@ageurtse commented on GitHub (Feb 16, 2018):

i think.

what i wan't first setup goto failover en set ssid, password and if needed ip settings, when ipsetting not provided dhcp mode should be enabled.

after setting up for the first time, the esp reboots and starts using those setings.

when this is done, i wan't the user give the ability to enter the config page again to alter stuff.
i'm also running a webserver to control stuff.

is this possible.

<!-- gh-comment-id:366339724 --> @ageurtse commented on GitHub (Feb 16, 2018): i think. what i wan't first setup goto failover en set ssid, password and if needed ip settings, when ipsetting not provided dhcp mode should be enabled. after setting up for the first time, the esp reboots and starts using those setings. when this is done, i wan't the user give the ability to enter the config page again to alter stuff. i'm also running a webserver to control stuff. is this possible.
Author
Owner

@tablatronix commented on GitHub (Feb 16, 2018):

I think the webserver will conflict with wifimanager, we have yet to figure out the best way to share the webserver, you can make it public and use it instead in code, or we can pass it in to wifimanager to use or some other c++ way to shared ptr or what not.

You can start it via startWebconfigPortal(); in development branch and run process()

<!-- gh-comment-id:366352311 --> @tablatronix commented on GitHub (Feb 16, 2018): I think the webserver will conflict with wifimanager, we have yet to figure out the best way to share the webserver, you can make it public and use it instead in code, or we can pass it in to wifimanager to use or some other c++ way to shared ptr or what not. You can start it via startWebconfigPortal(); in development branch and run process()
Author
Owner

@sidey79 commented on GitHub (Mar 29, 2018):

Is there an option, to prevent generating the own AP on the esp if there is a connection when starting via
startWebconfigPortal() and running process() in loop?

<!-- gh-comment-id:377396617 --> @sidey79 commented on GitHub (Mar 29, 2018): Is there an option, to prevent generating the own AP on the esp if there is a connection when starting via startWebconfigPortal() and running process() in loop?
Author
Owner

@tablatronix commented on GitHub (Mar 30, 2018):

No but you can start the webserver the same way in development branch. See the example

<!-- gh-comment-id:377408572 --> @tablatronix commented on GitHub (Mar 30, 2018): No but you can start the webserver the same way in development branch. See the example
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#330
No description provided.