-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get IP address #637
Comments
IP address is network address. So you need to connect to the network. |
you need to put checking code after |
Still doesn't work, why is there no such function? This is such an essential functionality and should be part of the connection info:
|
With some issue digging I found this: #554 That lead me to this code:
Is this really the only way? Spinning up an HTTP server simply to get the local IP address? Even in LUA for ESP8266 something like this has been available forever: https://nodemcu.readthedocs.io/en/release/modules/wifi/#wifistagetip |
Technically the IP address is known after connection to WiFi because it is provided usually via DHCP to the client so there should be no need for any tricks IMHO. |
Hello,
How to get IP address after wifi is connected?
I was looking through docs but could not found it.
Thank you
The text was updated successfully, but these errors were encountered: