ESP32-Radio icon indicating copy to clipboard operation
ESP32-Radio copied to clipboard

no Wifi access after saving config

Open bl-ack-bi-rd opened this issue 5 years ago • 7 comments

###Description

If i save my config in the browser, it wont recognize my wifi anymore and creates an AP. The work-around is to type my password in the config every time, then it has no problem connecting.

I tested this with two different ESP32 Boards. In the documentation it states, that the password is being preserved if not changed in the config. Is this a bug?

Any suggestions?

bl-ack-bi-rd avatar Oct 29 '20 20:10 bl-ack-bi-rd

The password in the config is used.

Edzelf avatar Oct 29 '20 20:10 Edzelf

my guess is that the "********" is being saved as a password, is there any way to check?

bl-ack-bi-rd avatar Oct 29 '20 23:10 bl-ack-bi-rd

Password is saved if it differs from "*******". So you have to enter the real password just once and save the config. You may add an extra dbgprint call to check it.

Edzelf avatar Oct 30 '20 06:10 Edzelf

how would i implement the dbgprint call?

bl-ack-bi-rd avatar Oct 31 '20 15:10 bl-ack-bi-rd

There are hundred examples in the source code.

Edzelf avatar Oct 31 '20 16:10 Edzelf

If you only have one wifi network configured, you can edit line 2127. Fill inn ssid and password.

Edzelf avatar Oct 31 '20 16:10 Edzelf

Please give a short view of this code of this line, is it possible? Thx.

rameister avatar Dec 12 '20 13:12 rameister