mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1396] ESP32 wont connect to WiFi #1197
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#1197
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 @sommerper on GitHub (Apr 16, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1396
Basic Infos
Hardware
WiFimanager Branch/Release: v2.0.10-beta #9182622
Esp32:
Hardware: ESP Wroom 32
Description
After connecting to the AP created by the ESP32 I select my network and enter the password. WiFiManager tries to connect 4 times and fails.
Settings in IDE
Platformio.ini
Debug Messages
@tablatronix commented on GitHub (Apr 24, 2022):
how is that the same issue?
@tablatronix commented on GitHub (Apr 24, 2022):
@sommerper change this to true and see if it connects, also enable esp debugging this sounds like a known esp issue
https://github.com/tzapu/WiFiManager/blob/master/WiFiManager.h#L487
@MythicalForce commented on GitHub (Apr 24, 2022):
it was the wrong issue xD
@sommerper commented on GitHub (Apr 24, 2022):
@tablatronix I've been pulling my hair out for several days now. Tried 4 different routers and set up an openwrt network on my pi to see if it was the network somehow.
Turns out something is interfering with the esp32 wifi when connected to an external power source.
If I'm powering the esp32 with USB only there is no problem.
If I'm powering the esp32 with USB and a 5V laboratory power source it doesn't work.
I can't pinpoint what it is but at this point I'm pretty sure it has nothing to do with this library and I'm sorry for taking your time.
If I find the reason for this error I will update the thread but I think we can close the issue.
Thanks! (for an awesome library)
@tablatronix commented on GitHub (Apr 24, 2022):
Interesting, I know analog read breaks wifi makes me wonder if it has something to do with wifi calibration and vref
@OTHMANERAH commented on GitHub (Jun 6, 2022):
HELP MEE PLEASE?????
Arduino : 1.8.9 (Windows 10), Carte : "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
c:\temp\arduino_modified_sketch_122643\sketch_jun06a.ino: In function 'void setup()':
sketch_jun06a:39:10: error: 'class WiFiClass' has no member named 'softAP'
sketch_jun06a:41:23: error: 'class WiFiClass' has no member named 'softAPIP'
IPAddress IP = WiFi.softAPIP();
exit status 1
'class WiFiClass' has no member named 'softAP'
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.
@tablatronix commented on GitHub (Jun 17, 2022):
suspected #1067
@tablatronix commented on GitHub (Jun 17, 2022):
What versions you using ?
'class WiFiClass' has no member named 'softAP'
@pa0o commented on GitHub (Feb 28, 2023):
Wifimanager can not connect to Wlan same here.
Using ESP32 Wroom 30 pin
both of them will not connect with Wlan saved credetial as the monitor text below shows
The same sketch did work with ESP8266 and an othe ESP32 wroom 38pin type
I have tried al i could think of and on a friends PC with his IDE old IDE 1.8x or new 2.04
no clue yet
awaiting an other mini ESP32 and hope it connects
serial monitor shows:
*wm:[2] NUM CLIENTS: 1
*wm:[2] <- Request redirected to captive portal
*wm:[2] NUM CLIENTS: 1
Now listening at IP 0.0.0.0, UDP port 4210
*wm:[1] AutoConnect
*wm:[2] ESP32 event handler enabled
*wm:[2] Connecting as wifi client...
*wm:[2] setSTAConfig static ip not set, skipping
*wm:[1] Connecting to SAVED AP: Eminent
*wm:[1] connectTimeout not set, ESP waitForConnectResult...
*wm:[2] [EVENT] WIFI_REASON: 2
*wm:[2] [EVENT] WIFI_REASON: 2
*wm:[2] [EVENT] WIFI_REASON: 2
*wm:[2] Connection result: WL_DISCONNECTED
*wm:[1] AutoConnect: FAILED
*wm:[2] Starting Config Portal
@pa0o commented on GitHub (Feb 28, 2023):
connectTimeout not set that is the complain... could that be our common issue?
I did not have to set anything extra at WifiManager
but only manager autoconnect("ESP32_AP , "password" )
question how to set this "connectTimeout ?
is it Wifimanager.set connecttimeout=5 ore anything like that?
where are those hidden pameters documented?