rvdbreemen / OTGW-firmware

A ESP8266 devkit firmware for the Nodoshop version of the Opentherm Gateway (OTGW)
MIT License
145 stars 34 forks source link

Cannot change wifi settings after initial setup #100

Closed drstikko closed 2 years ago

drstikko commented 2 years ago

After connecting to the device (mine is Wemos D1 mini pro) in AP mode after flashing, one selects the SSID/password for local network connection. Unfortunately it seems it cannot be changed afterwards (maybe I overlooked something). This can be unhandy when for example the wifi password of the router changes.

DaveDavenport commented 2 years ago

I think if your wifi password change and you reboot (reset) the wemos it should go into the original ap mode allowing you to setup wifi again. (I agree a option in the UI would be nice.)

drstikko commented 2 years ago

Actually, in my case, I want to move it to another access point. So now, it keeps connecting to the 'old' one. I thought actually going to the setup link could work? But I don't have it in my history.

rvdbreemen commented 2 years ago

The easiest way to re-configure the wifi is to simply turnoff or change the password on the wifi accesspoint it is connecting too.

That way it will reconfigure enter the configuration mode once more.

It's on my longlist to improve this. But this is the work around for now.

DaveDavenport commented 2 years ago

@rvdbreemen maybe we can add a button that calls:

WiFiManager::resetSettings();

or even just starts the portal?

rvdbreemen commented 2 years ago

Yep, that's the idea. Just reset the settings...

drstikko commented 2 years ago

sounds good

DaveDavenport commented 2 years ago

Added an PR: #101

rvdbreemen commented 2 years ago

Will include reset button in next release.

rvdbreemen commented 2 years ago

Fixed in release 0.9.2