[GH-ISSUE #865] On Dev branch AP still running after successfully connecting to WiFi #730

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

Originally created by @amm009uk on GitHub (Apr 4, 2019).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/865

On Dev branch AP still running after successfully connecting to WiFi

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)
  • Other

ESP Core Version: 2.4.0, staging

  • 2.3.0
  • 2.4.0
  • staging (master/dev)

Description

After connecting to WiFiManager's AP and configuring WiFi, device reboots as expected. After bootup, the ESP_XXXXXX AP continues to run. This does not occur on on the master branch.

Settings in IDE

sonoff Basic R1 or R2 same behaviour.

Additional libraries:
ArduinoJson@~5.13, PubSubClient

Sketch

Nothing clever but here is a snippet:

#include <Arduino.h>
#include <FS.h>
#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <PubSubClient.h>
#include <DNSServer.h>
#include <ESP8266mDNS.h>
#include <WiFiManager.h>

void setup() {
.
.
wifiManager.setConfigPortalBlocking(false);
if(!wifiManager.autoConnect(deviceID, WWW_PASSWD)) {
}
.
.
}

void loop() {
.
.
wifiManager.process();
.
.
}


### Debug Messages
Originally created by @amm009uk on GitHub (Apr 4, 2019). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/865 On Dev branch AP still running after successfully connecting to WiFi ### Basic Infos #### Hardware **WiFimanager Branch/Release:** - [ ] Master - [X] Development **Esp8266/Esp32:** - [X] ESP8266 - [ ] ESP32 **Hardware: ESP-12e, esp01, esp25** - [X] ESP01 - [ ] ESP12 E/F/S (nodemcu, wemos, feather) - [ ] Other **ESP Core Version: 2.4.0, staging** - [ ] 2.3.0 - [ ] 2.4.0 - [ ] staging (master/dev) ### Description After connecting to WiFiManager's AP and configuring WiFi, device reboots as expected. After bootup, the ESP_XXXXXX AP continues to run. This does not occur on on the master branch. ### Settings in IDE sonoff Basic R1 or R2 same behaviour. Additional libraries: ArduinoJson@~5.13, PubSubClient ### Sketch Nothing clever but here is a snippet: #include <Arduino.h> #include <FS.h> #include <ArduinoJson.h> #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <PubSubClient.h> #include <DNSServer.h> #include <ESP8266mDNS.h> #include <WiFiManager.h> void setup() { . . wifiManager.setConfigPortalBlocking(false); if(!wifiManager.autoConnect(deviceID, WWW_PASSWD)) { } . . } void loop() { . . wifiManager.process(); . . } ``` ### Debug Messages
kerem closed this issue 2026-02-28 01:26:48 +03:00
Author
Owner

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

this is the esp running it not wm, it is saved, set the mode in your code to fix it

<!-- gh-comment-id:479924886 --> @tablatronix commented on GitHub (Apr 4, 2019): this is the esp running it not wm, it is saved, set the mode in your code to fix it
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#730
No description provided.