mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1077] AP mode still active after setup as client. #917
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#917
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 @VladoPortos on GitHub (Jun 9, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1077
Basic Infos
ESP-01 ( 8266 ) Module still create AP after setup and successful log in as client. I think that should not be happening. It connects as client ok, gets IP where can I access the value. but when I do scan on phone for wifi I see ESP_C59C60 ( which is not the one I named for configuration) but I can connect to it and on the ip 192.168.4.1 I get same value as on its client IP...
Hardware
WiFimanager Branch/Release:
Esp8266/Esp32:
Hardware: ESP-12e, esp01, esp25
ESP Core Version: 2.4.0, staging
Description
ESP-01 ( 8266 ) Module still create AP after setup and successful log in as client. I think that should not be happening.
Settings in IDE
Module: Generic ESP8266 Module
Additional libraries:
include <FS.h> // Include the SPIFFS library
include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
include <DNSServer.h>
include <ESP8266WebServer.h>
include <WiFiManager.h> //https://github.com/tzapu/WiFiManager
include <DoubleResetDetect.h> //https://github.com/jenscski/DoubleResetDetect
include <OneWire.h>
include <ArduinoJson.h> // https://github.com/bblanchon/ArduinoJson
Sketch
Debug Messages
@tablatronix commented on GitHub (Jun 9, 2020):
WiFi.mode(WIFI_STA);in your sketchthe esp auto starts ap if its saved
@VladoPortos commented on GitHub (Jun 10, 2020):
Thanks @tablatronix seems like this is the answer, but where in setup exactly to put it ?
@tablatronix commented on GitHub (Jun 10, 2020):
In setup right after your start serial probably.
You also only have to do it once, so if you have code that runs once you can do it there, it is saved by esp
@alirezaimi commented on GitHub (Jun 16, 2020):
hi, I can't understand what the answer is ?!
I have this problem with esp-8266 12e/f , is this is an option ?
@tablatronix commented on GitHub (Jun 16, 2020):
Yes , the esp by default start an ap with the esp id name, you need to turn off WIFI_AP mode
@cacs200281 commented on GitHub (Jun 22, 2020):
I had the same issue and just solved, in my case, following that instructions from @tablatronix .
Thanks a lot!