mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1447] wifi:Association refused temporarily on ESP32 - TTGO T-Camera WROVER PIR Mic (v1.6.2) #1237
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#1237
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 @Maurizio1 on GitHub (Jul 4, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1447
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp32: LILYGO TTGO T-Camera WROVER PIR Mic (v1.6.2)
Hardware: ESP32 WROVER
Core Version: 2.4.0, staging
Description
Problem description
During WiFi connection many timeouts are experienced.
This happens on first reboot after flashing and on hardware resets.
During "warm" reboots, software driven, everything is OK.
Settings in IDE
Module: ESP32 Dev Module
Additional libraries: AsyncTelegram2
Sketch
Debug Messages
@John-Reid commented on GitHub (Mar 14, 2023):
I have had some success with this code in the setup phase:
.
.
.
// delete old config
Serial.println("WiFi disconnect ");
WiFi.disconnect(true);
int limitcounter = 0;
Serial.println("WiFi connect ");
while (((WiFi.status() != WL_CONNECTED)) && (limitcounter < 30)) {
delay(500);
Serial.print(".");
limitcounter++;
//Serial.print (limitcounter);
}
WiFi.disconnect(true);
.
.
.
While not an answer, it might give a clue to a fix, or just getting the connection establishment reasonably reliable.
'limitcounter' at 20 is not as good.
I am using an Adafruit ESP32 feather.