mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1535] Many times the list of available wifi is not displayed in "Configure WiFi" menu. #1310
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#1310
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 @DonatelloX on GitHub (Dec 21, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1535
Hardware
ESP32 Dev Module
Software
Arduino IDE 2.0.3
Arduino core ESP32 2.0.5
Description
With the latest versions of the WiFiManager library (2.0.15-rc.1, 2.0.14-beta), it is only sometimes possible to view the list of available WiFis in the "Configure WiFi" menu. Many times the list of available wifi is not displayed. Tried on multiple devices.
It is not a signal strength problem because trying several times then all the nearby wifi are displayed.
@tablatronix commented on GitHub (Dec 21, 2022):
hmm, let me see what might cause that. I know there was some esp bugs in 2.0.4 but nobody else brought this up.
Can you possibly obtain serial logs and bump up debugging?
@DonatelloX commented on GitHub (Dec 21, 2022):
Sure, thanks for reply!
This is what happens by pressing the "Configure WiFi" button. SSID names of WiFi networks are not displayed:
With debug (core debug level) information below:
After several tries, it works (the WiFi name is displayed):
@DonatelloX commented on GitHub (Dec 21, 2022):
With verbose (core debug level) message:
When it doesn't work:
When it works:
@tablatronix commented on GitHub (Dec 21, 2022):
Can you turn on ESP debugging ?
-2 networks ????
interesting
@DonatelloX commented on GitHub (Dec 22, 2022):
In my test, I used
wifiManager.setDebugOutput(true);, but I don't understand how to increase the debug level.@tablatronix commented on GitHub (Dec 22, 2022):
in arduino? its in the menu
@DonatelloX commented on GitHub (Dec 22, 2022):
If you see the reports I posted above, I used DEBUG and VERBOSE ("core debug level" option in menu of the Arduino IDE).
I noticed that when library works (it has successfully searched for wifi networks) the message appears:
[ 37852][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONEWhile this message is missing when scan fails.
@tablatronix commented on GitHub (Dec 22, 2022):
you need wifi debug level, ah maybe there is just nothing useful then.
This looks like an esp library issue, is there anything special about your envirmoment, how many aps? Clean power supply? no other wifi close by
@DonatelloX commented on GitHub (Dec 22, 2022):
At the moment I have only 1 WiFi AP, there are no other APs nearby. But even if I move to an area with dozens of APs WiFi, many times they are not scanned, only sometimes there is a list of all available APs.
I powered the ESP32 with a stabilized power supply, if I try with an ESP32 development kit connected to the PC (therefore power supply from PC) I get the same results.
@tablatronix commented on GitHub (Dec 22, 2022):
And you are definitely on 2.0.5? I will see if I can try to reproduce or at least add some workaround.
Can you add a wifi mode() to the start of your sketch to make sure wifi is initializing early enough and see if that makes a diffeence?
@tablatronix commented on GitHub (Dec 22, 2022):
It looks like when it fails scan wait is timing out because scan is taking forever, it seems to eventually finish, but its taking awhile..
16:02:57.627 -> [ 33184][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 1 - SCAN_DONE
@tablatronix commented on GitHub (Dec 22, 2022):
Are you using WM verbose? cause it should say
"WiFi Scan completed"), "in "+(
what does that say ?
@DonatelloX commented on GitHub (Dec 27, 2022):
I used version 2.0.5 of the ESP32 Core Arduino and then version 2.0.6 but the problem remains.
Tried to use different wifi modes but the problem is not solved.
@DonatelloX commented on GitHub (Jan 16, 2023):
I tested with ESP32-S3 and I have the same problem: the list of WiFi networks is not always visible.
@georgevbsantiago commented on GitHub (Aug 29, 2023):
I have the same problem.
I also identified that the ESP32 (devkit with Platformio) is taking time to map the Routers signal. And it doesn't always work. Sometimes I have to click the Refresh button for it to work.
@tablatronix commented on GitHub (Sep 8, 2023):
There has not been any updates to this, I will have to check if it is still causing issues.