You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally reported by: Martin Stahl (Bitbucket: xboxpro1, GitHub: xboxpro1)
Hello, first thank you for your great work, it is fantastic.
I have a question.
When i use Static IP and the Device is power up or resetet, it useses DHCP,
first i have to log in to the webserver, go to the wifi tab and hit the RECONNECT button.
Then the Device is reconnecting and use the Static IP.
Maybe it is possible to check the IP when connected, and compare it with the given Static IP,
when the IP is wrong the Device do an Auto-Reconnect??
Thanks..
The text was updated successfully, but these errors were encountered:
Indeed. The autoconnect feature does not store the static IP configuration. Instead of dealing with checking IP from the application code I modified the JustWifi library that handles the wifi connection. I have commited a change to the library (https://bitbucket.org/xoseperez/justwifi/commits/9e9edca2313b757eed2a55e55716cb7debd87383) that disables the autoconnect feature when using static IP and reenables it when using DHCP.
To fetch the changes from ESPurna you have to either pio lib update from PlatformIO or delete and reload the library from the Arduino IDE.
Originally reported by: Martin Stahl (Bitbucket: xboxpro1, GitHub: xboxpro1)
Hello, first thank you for your great work, it is fantastic.
I have a question.
When i use Static IP and the Device is power up or resetet, it useses DHCP,
first i have to log in to the webserver, go to the wifi tab and hit the RECONNECT button.
Then the Device is reconnecting and use the Static IP.
Maybe it is possible to check the IP when connected, and compare it with the given Static IP,
when the IP is wrong the Device do an Auto-Reconnect??
Thanks..
The text was updated successfully, but these errors were encountered: