vitotai / BrewManiacEsp8266

BrewManiac on ESP8266. Only ESP8266 needed.
155 stars 71 forks source link

Unable to change network #42

Open mikkelvp opened 5 years ago

mikkelvp commented 5 years ago

In web interface. When trying to switch from one wifi network to another, new settings are not applied. It's in AP mode since the old network is unavailable. Network tab shows that the request gets a 200 response, but it continues to show the old network and stays in AP mode.

Is there other ways to set network settings?

V 0.4.6

vitotai commented 5 years ago

Try "disconnect" first, then connect the desired network.

mikkelvp commented 5 years ago

There is no disconnect. Device is in AP mode. Previous connected network is not available. Old network ssid is "HomeBox...". Setting a new network does not work:

Screenshot 2019-04-28 at 19 44 11

After new network settings are posted it still remembers the old network:

Screenshot 2019-04-28 at 19 52 05
vitotai commented 5 years ago

The WiFi credential is kept by ESP8266 core libraries. I am not sure where it went wrong.