mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #507] Esp8266 can't connect to wifi afeter deepsleep #425
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#425
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 @acca84 on GitHub (Feb 6, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/507
Hello,
I have an ESP12E Amica board wich works well expected if i call esp.deepsleep(µs) AND is connected to a 3.7v battery to Vin pin.
It works well when powered by usb with or without deepsleep.
It works well on battery without deepsleep
But if i power it by battery and put it into deepsleep, it can't connect. Even if i power it back from usb.
I can see the following debug message in the serial console :
mounting FS... mounted file system reading config file opened config file {"domoticz_server":"192.168.1.73","domoticz_port":"8081","IDX":"1973","IDXINTER":"1964","IDXINTEROTA":"2058"} parsed json *WM: Adding parameter *WM: domoticz_server *WM: Adding parameter *WM: domoticz_port *WM: Adding parameter *WM: IDX *WM: Adding parameter *WM: IDXINTER *WM: Adding parameter *WM: IDXINTEROTA *WM: *WM: AutoConnect *WM: Connecting as wifi client... *WM: Using last saved values, should be faster *WM: Connection result: *WM: 0 *WM: SET AP STA *WM: *WM: Configuring access point... *WM: AutoConnectAP *WM: password *WM: AP IP address: *WM: 192.168.4.1 *WM: HTTP server startedthen if i reconfigure it it reboots but can't connect.
I have to force a wifimanager reset to make it work
Could you help me please ?
Regards
@tablatronix commented on GitHub (Feb 6, 2018):
try development branch, no idea, probably one of the many bugs
@acca84 commented on GitHub (Feb 6, 2018):
Ok, how to do that please ?
Thx
@acca84 commented on GitHub (Feb 6, 2018):
Ok. I found it
@acca84 commented on GitHub (Feb 6, 2018):
I found my mistake, i had this code in order to reset by pushing a button :
But i didn't pull up trigger_pin
i think voltage on trigger_pin was floating but sufficient to avoid reset, but voltage was not sufficient when powered on battery then a reset (unperfect ?) was done.
This was not a Wifimanager problem
sorry