oe1wkl / Morserino-32

Morserino-32 multi-functional Morse code machine, based on ESP32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wifi configuration is reset to very old setup on loading a snapshot

cdaller opened this issue · comments

Steps

  • I setup 2 different wifis using two different SSIDs and using cq.morserino.info for both
  • everything works, with both wifis
  • a week later, the wifi configuration is reset to the first wifi configuration I ever did (weeks ago): only one wifi is configured and no cq.morserino.info

Strange thing is, that when I configure
SSID mobile as first wifi and SSID home as second wifi
after the wifi configuration resets itself, there is only wifi home left (which was the first wifi I ever configured weeks ago).

This behaviour was observed now 3 times in a row. Every week on my cw school day, the configuration is reset.

I do change the snapshots in between and use the serial communication - but I cannot say if this is the culprit!

I just made another test:

  • Configure Wifi Mobile and Wifi home
  • load a different snapshot
  • wifi configuration was reset to my initial setup from weeks ago
commented
commented

Hello Willi,

I can reproduce the behaviour:

  • Wifi Config: set 1:Wifi A and 2:Wifi B
  • morserino restarts
  • wifi select shows 1:Wifi A and 2:Wifi B
  • I select Wifi B
  • Double Click on black button, load a snaphot (even the same that was loaded before)
  • Wifi Select shows only 1:Wifi B (as first Wifi), no other Wifis are shown anymore

When I call Wifi Configure then: only 1:Wifi B is shown

Wifi B was the first Wifi I ever configured on slot 1. This seems to come back whenever I change snapshots.

This happens always, independently if I switch to snapshot 1 or 5 - no difference

I could help to debug if you want to add some serial output or something like this.

I just updated from verson 4.3.1 to 4.5 but the problem is still existing

commented

Yes, I thought it is something like this. I think, you should not store the wifi configs with the snapshots but separately from them. Otherwise I need to configure my wifis for all 6 snapshots. As you can save multiple wifis, there is no need to store them in the snapshots. And I think 3 of them are enough. But if it easy to extend, provide 5 wifis to save - this should be enough for all of us I would think.

Thanks a lot for your time to find/fix this problem of mine (and probably of others as well).

73 de OE6CHD Christof