[GH-ISSUE #693] Configurating while it's connected to the network. #578

Open
opened 2026-02-28 01:25:57 +03:00 by kerem · 14 comments
Owner

Originally created by @augisbud on GitHub (Aug 7, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/693

Hello, I want to be able to configure wifi and other settings while it's connected to my network. Any help is appreciated.

Originally created by @augisbud on GitHub (Aug 7, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/693 Hello, I want to be able to configure wifi and other settings while it's connected to my network. Any help is appreciated.
Author
Owner

@augisbud commented on GitHub (Aug 7, 2018):

#256 Solved.

<!-- gh-comment-id:411183041 --> @augisbud commented on GitHub (Aug 7, 2018): #256 Solved.
Author
Owner

@tablatronix commented on GitHub (Aug 7, 2018):

Well the real solution is the development branch ondemandwebportal example

<!-- gh-comment-id:411186221 --> @tablatronix commented on GitHub (Aug 7, 2018): Well the real solution is the development branch ondemandwebportal example
Author
Owner

@augisbud commented on GitHub (Aug 8, 2018):

Well from what I can see it just creates an extra AP with is not what I want. My main goal is to be able to enter the config portal from the network the esp is connected without creating extra AP's.

<!-- gh-comment-id:411330999 --> @augisbud commented on GitHub (Aug 8, 2018): Well from what I can see it just creates an extra AP with is not what I want. My main goal is to be able to enter the config portal from the network the esp is connected without creating extra AP's.
Author
Owner

@augisbud commented on GitHub (Aug 8, 2018):

Is it possible to start the config portal without an extra wifi?

<!-- gh-comment-id:411338465 --> @augisbud commented on GitHub (Aug 8, 2018): Is it possible to start the config portal without an extra wifi?
Author
Owner

@augisbud commented on GitHub (Aug 8, 2018):

if (WiFi.status()!=WL_CONNECTED) {
	WiFi.softAP(_apName, _apPassword);//password option
}

This is what I came up, it will only create an ap if it's not connected to wifi, however it seems to be not working, any help? I am modifying the library itself on line 119 WiFiManager.cpp

<!-- gh-comment-id:411343894 --> @augisbud commented on GitHub (Aug 8, 2018): ``` if (WiFi.status()!=WL_CONNECTED) { WiFi.softAP(_apName, _apPassword);//password option } ``` This is what I came up, it will only create an ap if it's not connected to wifi, however it seems to be not working, any help? I am modifying the library itself on line 119 WiFiManager.cpp
Author
Owner

@tablatronix commented on GitHub (Aug 8, 2018):

ondemandwebportal
startWebPortal

<!-- gh-comment-id:411389564 --> @tablatronix commented on GitHub (Aug 8, 2018): `ondemandwebportal` startWebPortal
Author
Owner

@augisbud commented on GitHub (Aug 8, 2018):

What do you mean exactly?

<!-- gh-comment-id:411401543 --> @augisbud commented on GitHub (Aug 8, 2018): What do you mean exactly?
Author
Owner

@mikekgr commented on GitHub (Aug 8, 2018):

@augisbud
see the example:
https://github.com/tzapu/WiFiManager/blob/development/examples/OnDemandWebPortal/OnDemandWebPortal.ino

<!-- gh-comment-id:411401962 --> @mikekgr commented on GitHub (Aug 8, 2018): @augisbud see the example: https://github.com/tzapu/WiFiManager/blob/development/examples/OnDemandWebPortal/OnDemandWebPortal.ino
Author
Owner

@augisbud commented on GitHub (Aug 8, 2018):

Thank you, I'm looking into it

<!-- gh-comment-id:411406002 --> @augisbud commented on GitHub (Aug 8, 2018): Thank you, I'm looking into it
Author
Owner

@augisbud commented on GitHub (Aug 8, 2018):

Ok let me get this straight, I need to have the web interface always running alongside a dsc alarm code, i have them both, I'm gonna merge them, but how do I make the web interface always running alongside other code and have mqtt data written to spiffs?

<!-- gh-comment-id:411417976 --> @augisbud commented on GitHub (Aug 8, 2018): Ok let me get this straight, I need to have the web interface always running alongside a dsc alarm code, i have them both, I'm gonna merge them, but how do I make the web interface always running alongside other code and have mqtt data written to spiffs?
Author
Owner

@RobbesU commented on GitHub (Aug 9, 2018):

See this video how to include custom parameters with the WiFiManager. Use (currently) with the development branch. This will run happily next to your logging code (especially on ESP32 where the wifi runs on core 0 and main code loop on core 1. Works for me.
But shouldn't you only have to run wifi setup at startup ?

<!-- gh-comment-id:411673516 --> @RobbesU commented on GitHub (Aug 9, 2018): See [this](https://www.youtube.com/watch?v=saAv7YOiAyM) video how to include custom parameters with the WiFiManager. Use (currently) with the development branch. This will run happily next to your logging code (especially on ESP32 where the wifi runs on core 0 and main code loop on core 1. Works for me. But shouldn't you only have to run wifi setup at startup ?
Author
Owner

@augisbud commented on GitHub (Aug 9, 2018):

I have added my items to wifimanager, thank you for the reminder that esp32 is dual core will try on it

<!-- gh-comment-id:411712774 --> @augisbud commented on GitHub (Aug 9, 2018): I have added my items to wifimanager, thank you for the reminder that esp32 is dual core will try on it
Author
Owner

@augisbud commented on GitHub (Aug 9, 2018):

I need to access the wifi manager web all the time

<!-- gh-comment-id:411712824 --> @augisbud commented on GitHub (Aug 9, 2018): I need to access the wifi manager web all the time
Author
Owner

@tablatronix commented on GitHub (Aug 9, 2018):

Yeah that is what that example does, web portal only no ap or captive portal, you can start and stop it whenever you want, if you want to share the webserver with your own code, we have not decided on a final solution #461

<!-- gh-comment-id:411772712 --> @tablatronix commented on GitHub (Aug 9, 2018): Yeah that is what that example does, web portal only no ap or captive portal, you can start and stop it whenever you want, if you want to share the webserver with your own code, we have not decided on a final solution #461
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#578
No description provided.