toblum / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
1.05k stars 289 forks source link

Change Wifi Network #504

Open VeniceNerd opened 2 years ago

VeniceNerd commented 2 years ago

Hi guys,

I've had my McLighting set up for a few years but need to change the WiFi network now. Currently I can still access the McLighting over the old WiFi network so I still have access to the user interface. Is there any way to change the Network name and password somewhere?

Thanks!

Philipp

toblum commented 2 years ago

Hi @VeniceNerd,

you may try to call http://Mc_lighting_ip/start_config_ap to enable the configuration AccessPoint like on first setup. Another option would be http://Mc_lighting_ip/reset_wlan to reset credentials that should also bring up the AP on next reboot. And finally disabling the WiFi network should also bring up the AP.

Greetings

VeniceNerd commented 2 years ago

Hi @VeniceNerd,

you may try to call http://Mc_lighting_ip/start_config_ap to enable the configuration AccessPoint like on first setup. Another option would be http://Mc_lighting_ip/reset_wlan to reset credentials that should also bring up the AP on next reboot. And finally disabling the WiFi network should also bring up the AP.

Greetings

Hi @toblum thanks so much for the quick reply! I tried "http://Mc_lighting_ip/start_config_ap" and it indeed seems to have enabled the AP as I can connect to it from my iPhone: IMG_8820 IMG_8821

However, when I try to access 192.168.4.1 nothing will actually load in Safari: IMG_8823

So while I can connect to the AP I can't seem to connect to the website to change the credentials. Any idea what may be going on here?

Thanks!

Philipp

PS: tried from my MacBook Pro as well with the same result. Can connect to the AP, but can't load http://192.168.4.1/. Even tried http://192.168.4.1/wifi

toblum commented 2 years ago

Hi @VeniceNerd,

unfortunately this option didnt work well in all versions, the AP worked but the webserver didn't react. Maybe you could try the other option (temporarily disabling the wifi and rebooting McLIghting) to force the AP directly on startup.

Greetings Tobias