[GH-ISSUE #869] Portal Configuration does not save SSID and Password if another saved router is in the range. #734

Open
opened 2026-02-28 01:26:49 +03:00 by kerem · 1 comment
Owner

Originally created by @Enry95 on GitHub (Apr 19, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/869

Basic Infos

Hardware

WiFimanager Branch/Release:

  • Master
  • Development

Esp8266/Esp32:

  • ESP8266
  • ESP32

Hardware: ESP-12e, esp01, esp25

  • ESP01
  • ESP12 E/F/S (nodemcu, wemos, feather)
  • ESP WROOM-02

ESP Core Version: 2.4.0, staging

  • 2.3.0
  • 2.4.0
  • 2.5.0
  • staging (master/dev)

Description

Hi, thank you for your amazing library, it do saved me in this project and I love it.
But there is a quite annoying problem in the configuration and here's why:

SSID and Password does not set from the portal if there is another router saved and working.
If I have the ESP8266 connected to Router A and I want to connect it to Router B but Router A is still in the range, it completely ignores the new SSID and Password and keep the previous one.
The only way to go around this problem is to call a wifiManager.resetSettings(); and open the portal again.
I have the latest version of ESP core, but this happens with any version.

I think that if I say a WiFi module to set another Router, it should point to that router, doesn't matter if it's connected to another router in the range or not.

Thank you so much for your attention

Settings in IDE

Module: Generic ESP8266 Module

Serial Output

*WM: Sent config page
*WM: Request redirected to captive portal
*WM: Request redirected to captive portal
*WM: Request redirected to captive portal
*WM: WiFi save
*WM: Sent wifi save page
*WM: Connecting to new AP
*WM: Connecting as wifi client...
*WM: Already connected. Bailing out.
OK
*WM: freeing allocated params!

Originally created by @Enry95 on GitHub (Apr 19, 2019). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/869 ### Basic Infos #### Hardware **WiFimanager Branch/Release:** - [X] Master - [ ] Development **Esp8266/Esp32:** - [X] ESP8266 - [ ] ESP32 **Hardware: ESP-12e, esp01, esp25** - [ ] ESP01 - [ ] ESP12 E/F/S (nodemcu, wemos, feather) - [X] ESP WROOM-02 **ESP Core Version: 2.4.0, staging** - [ ] 2.3.0 - [ ] 2.4.0 - [X] 2.5.0 - [ ] staging (master/dev) ### Description Hi, thank you for your amazing library, it do saved me in this project and I love it. But there is a quite annoying problem in the configuration and here's why: SSID and Password does not set from the portal if there is another router saved and working. If I have the ESP8266 connected to Router A and I want to connect it to Router B but Router A is still in the range, it completely ignores the new SSID and Password and keep the previous one. The only way to go around this problem is to call a wifiManager.resetSettings(); and open the portal again. I have the latest version of ESP core, but this happens with any version. I think that if I say a WiFi module to set another Router, it should point to that router, doesn't matter if it's connected to another router in the range or not. Thank you so much for your attention ### Settings in IDE Module: Generic ESP8266 Module ### Serial Output *WM: Sent config page *WM: Request redirected to captive portal *WM: Request redirected to captive portal *WM: Request redirected to captive portal *WM: WiFi save *WM: Sent wifi save page *WM: Connecting to new AP *WM: Connecting as wifi client... *WM: Already connected. Bailing out. OK *WM: freeing allocated params!
Author
Owner

@tablatronix commented on GitHub (Apr 19, 2019):

use hotfixes or development branch

<!-- gh-comment-id:484866390 --> @tablatronix commented on GitHub (Apr 19, 2019): use hotfixes or development branch
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#734
No description provided.