tayfunulu / WiFiManager

WiFi manager for ESP8266 - ESP12 - ESP32 - micropython
MIT License
345 stars 104 forks source link

added get_ip() #33

Closed peterpalfi closed 3 months ago

ebolisa commented 2 years ago

@peterpalfi Why not get that info directly from the main.py code?

...
# Main Code goes here, wlan is a working network.WLAN(STA_IF) instance.
print("ESP OK")

print(wlan.ifconfig())
print('IP', wlan.ifconfig()[0])
print('RSSI', wlan.status('rssi'))