mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1575] Does not switch between wifi and ap automatically #1344
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#1344
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 @hackintoshlover on GitHub (Mar 23, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1575
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32: ESP32
Hardware: ESP32-Wroom
Core Version: 2.0.6
Description
I am using the example sketch Auto-Connect Non Blocking
Settings in IDE
Additional libraries: None
Problem:
After uploading the code, the esp starts in ap mode and i can access the web portal to connect it to wifi router.
But once the wifi router goes off, the device does not automatically enter into ap mode or connect to other router whose credentials are stored in it.
How do i resolve the issue?
@tablatronix commented on GitHub (Mar 23, 2023):
When you say automatically, do you mean on reboot? Do you have logs?
@hackintoshlover commented on GitHub (Mar 23, 2023):
Not on reboot.
Consider the case below.
The effect that I want is that when my existing wifi goes off the esp should try and connect to other wifi whose credentials are stored in its memory when none is found it should switch to AP mode.
Is there some way using which I can achieve the desired behaviour?
@tablatronix commented on GitHub (Mar 23, 2023):
ok well esp should automatically do autoreconnect, but it seems to not work very well.
Also we can only store 1 set of credentials, otherwise you have to use multiwifi which wm does not support at this time.
@hackintoshlover commented on GitHub (Mar 23, 2023):
Would be really helpful if you could implement it.
There's a WifiManager library by khoi-zhan but that's darn slow, I tried it.
@tablatronix commented on GitHub (Mar 24, 2023):
So you want a secondary wifi ap to fallback to? This is not really an issue as much now that mesh is a thing..
Esp supports the basic wifi creds easily but adding another is a fair amount of code. I will look into it though