mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #865] On Dev branch AP still running after successfully connecting to WiFi #730
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#730
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
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();
.
.
}
@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