ESP8266 Wifi module wakes up without a command after 15 seconds of sleep.

Here we can discuss about the problem found
Post Reply
ChipBurner
Posts: 7
Joined: Tue Mar 19, 2024 6:54 am
Has thanked: 1 time

ESP8266 Wifi module wakes up without a command after 15 seconds of sleep.

Post by ChipBurner »

Hi all,
I've tried enabling the autorun file and fastboot option and the WiFI.sleep command in first line to preserve power as described in the help. After 15 seconds of sleep, the wifi turns on in AP mode without the awake or connect command. I tried the ESP-01S and D1 mini module, the result is the same.
Sample code:

Code: [Local Link Removed for Guests]

WIFI.SLEEP
i=1
DO WHILE 50>i
  PAUSE 1000
  print ".";
  IF 0=i mod 10 print STR$(WIFI.MODE)+"-"+STR$(WIFI.STATUS)
  i=i+1
LOOP
WIFI.AWAKE
PAUSE 1000
print STR$(WIFI.MODE)+"-"+STR$(WIFI.STATUS)
END
Terminal output:
Annex WiFi 1.48
(C) ciccioCB 2023
Personal use only, commercial use strictly prohibited
2M module
start ad000 max size 339968
Number of program lines :16
Basic File Loaded: /prolog2.bas
Program Running
..........0-6
....
Switched to AP Mode AP_TEST
IP address: 192.168.1.12
......2-6
..........2-6
..........2-6
..........2-6
..........2-6
....ws[/ws][1][2] connect
......2-6
.........2-6
1-0
1-0
1-0
Program Ended
User avatar
cicciocb
Site Admin
Posts: 2061
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1360 times
Contact:

Re: ESP8266 Wifi module wakes up without a command after 15 seconds of sleep.

Post by cicciocb »

Yes, I think it is a real bug
User avatar
cicciocb
Site Admin
Posts: 2061
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1360 times
Contact:

Re: ESP8266 Wifi module wakes up without a command after 15 seconds of sleep.

Post by cicciocb »

OK, I fixed this issue.

You can download the new version 1.49 directly from the update site.
Post Reply