[GH-ISSUE #159] Get current local IP address once connected to local network #125

Closed
opened 2026-02-28 01:23:34 +03:00 by kerem · 6 comments
Owner

Originally created by @syaffers on GitHub (Apr 25, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/159

Is there a way to get the local IP address of the ESP once it is connected to the local network? As of right now when I use wifiManager.autoConnect("ESP1") and enter my home network SSID and password it shows the "connecting page" and the mode changes and I can't ask the ESP what's my IP address unless I have a serial connection.

I'm trying to use the ESP as a standalone device and when I push a button to call resetSettings() and connect to another wifi SSID, I shouldn't need to use the serial window to see my IP address but instead if I can see the IP address on the "connecting page" or on another page before the ESP changes to STA mode it would be better for my use case. Is there a way to do this natively using the library?

Originally created by @syaffers on GitHub (Apr 25, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/159 Is there a way to get the local IP address of the ESP once it is connected to the local network? As of right now when I use wifiManager.autoConnect("ESP1") and enter my home network SSID and password it shows the "connecting page" and the mode changes and I can't ask the ESP what's my IP address unless I have a serial connection. I'm trying to use the ESP as a standalone device and when I push a button to call resetSettings() and connect to another wifi SSID, I shouldn't need to use the serial window to see my IP address but instead if I can see the IP address on the "connecting page" or on another page before the ESP changes to STA mode it would be better for my use case. Is there a way to do this natively using the library?
kerem closed this issue 2026-02-28 01:23:34 +03:00
Author
Owner

@pieman64 commented on GitHub (Apr 25, 2016):

@syaffers yes see issue https://github.com/tzapu/WiFiManager/issues/156

<!-- gh-comment-id:214452452 --> @pieman64 commented on GitHub (Apr 25, 2016): @syaffers yes see issue https://github.com/tzapu/WiFiManager/issues/156
Author
Owner

@tzapu commented on GitHub (May 8, 2016):

thank you very much @pieman64
i hope this is sorted @syaffers , if not please reopen the issue

thanks guys

<!-- gh-comment-id:217699816 --> @tzapu commented on GitHub (May 8, 2016): thank you very much @pieman64 i hope this is sorted @syaffers , if not please reopen the issue thanks guys
Author
Owner

@syaffers commented on GitHub (May 8, 2016):

Yes, sorted but forgot to close this. Thanks @pieman64 @tzapu

<!-- gh-comment-id:217703893 --> @syaffers commented on GitHub (May 8, 2016): Yes, sorted but forgot to close this. Thanks @pieman64 @tzapu
Author
Owner

@syaffers commented on GitHub (May 13, 2016):

Hey @tzapu is there a way to show the IP address at the /wifisave page after successful connection? #156 only showed the APIP if connection is failed, what if connection is successful? Can I print the IP address on the /wifisave page?

<!-- gh-comment-id:219075602 --> @syaffers commented on GitHub (May 13, 2016): Hey @tzapu is there a way to show the IP address at the /wifisave page after successful connection? #156 only showed the APIP if connection is failed, what if connection is successful? Can I print the IP address on the /wifisave page?
Author
Owner

@kentaylor commented on GitHub (May 13, 2016):

When connected this version https://github.com/kentaylor/WiFiManager/ shows the IP number at the root page and the /info page. It also addresses a few other issues so I'm keen for people to try it and provide some feedback.

<!-- gh-comment-id:219161140 --> @kentaylor commented on GitHub (May 13, 2016): When connected this version https://github.com/kentaylor/WiFiManager/ shows the IP number at the root page and the /info page. It also addresses a few other issues so I'm keen for people to try it and provide some feedback.
Author
Owner

@athleticmistud commented on GitHub (Dec 24, 2018):

Is there a way that the kentaylor version can save the network name and password. right now everytime the device is powered down you have to enter it all in again when it reboots. I want it to save like the latest version of the wifimanager does as well as to show the ip address on the save page

<!-- gh-comment-id:449695119 --> @athleticmistud commented on GitHub (Dec 24, 2018): Is there a way that the kentaylor version can save the network name and password. right now everytime the device is powered down you have to enter it all in again when it reboots. I want it to save like the latest version of the wifimanager does as well as to show the ip address on the save page
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#125
No description provided.