WIFI : Disconnected! Reason: '(200) Beacon timeout'

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
mitya
New user
Posts: 4
Joined: 18 Sep 2019, 21:41

WIFI : Disconnected! Reason: '(200) Beacon timeout'

#1 Post by mitya » 18 Sep 2019, 21:51

Hi, I have a problem with my NodeMCU v3. I tried different releases starting from 2019-06-30 to 2019-09-03 with no luck. Every time I set WiFI mode to connect to my existing WiFi network my device stop responding.

Code: Select all

239961 : WIFI : Connecting IoTNet attempt #7
242519 : WD   : Uptime 4 ConnectFailures 0 FreeMem 19736 WiFiStatus 6
243068 : WIFI : Connected! AP: IoTNet (80:2A:A8:97:76:EC) Ch: 11 Duration: 2894 ms
243071 : WIFI : DHCP IP: 192.168.10.122 (ESP-Easy-0) GW: 192.168.10.1 SN: 255.255.255.0   duration: 120 ms
251672 : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 8712 ms
251701 : WIFI : Connecting IoTNet attempt #0
252038 : WIFI : Connected! AP: IoTNet (80:2A:A8:97:76:EC) Ch: 11 Duration: 152 ms
252041 : WIFI : DHCP IP: 192.168.10.122 (ESP-Easy-0) GW: 192.168.10.1 SN: 255.255.255.0   duration: 125 ms
260574 : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 8617 ms
260591 : WIFI : Connecting IoTNet attempt #0
261819 : WIFI : Connected! AP: IoTNet (80:2A:A8:97:76:EC) Ch: 11 Duration: 1034 ms
261823 : WIFI : DHCP IP: 192.168.10.122 (ESP-Easy-0) GW: 192.168.10.1 SN: 255.255.255.0   duration: 74 ms
..............................
813383 : WD   : Uptime 14 ConnectFailures 0 FreeMem 19248 WiFiStatus 3
821953 : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 8661 ms
821970 : WIFI : Connecting IoTNet attempt #0
822320 : WIFI : Connected! AP: IoTNet (80:2A:A8:97:76:EC) Ch: 11 Duration: 156 ms
822324 : WIFI : DHCP IP: 192.168.10.122 (ESP-Easy-0) GW: 192.168.10.1 SN: 255.255.255.0   duration: 25 ms
830857 : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 8626 ms
830874 : WIFI : Connecting IoTNet attempt #0
832090 : WIFI : Connected! AP: IoTNet (80:2A:A8:97:76:EC) Ch: 11 Duration: 1031 ms
832093 : WIFI : DHCP IP: 192.168.10.122 (ESP-Easy-0) GW: 192.168.10.1 SN: 255
the ping looks like this

Code: Select all

Request timed out.
Request timed out.
Reply from 192.168.10.122: bytes=32 time=465ms TTL=255
Request timed out.
Request timed out.
Request timed out.
to check that hardware works correctly I tried to flash Tosmata and it works with no issues. Also I tried other WiFi AP also with no luck and It work without issues in AP mode with default address 192.168.4.1

If someone can help how to troubleshoot the issue I would really appreciate it.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#2 Post by TD-er » 18 Sep 2019, 23:12

Can you try to set it to B/G mode (given you have enough time for that)?
Also can you try to run one of the last builds running core 2.6.0 SDK 222?
Or maybe even from this test build: https://www.dropbox.com/s/68u55dhvayhok ... 7.zip?dl=0

mitya
New user
Posts: 4
Joined: 18 Sep 2019, 21:41

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#3 Post by mitya » 19 Sep 2019, 08:17

Thanks for reply, I tried firmware from the provided file:
ESP_Easy_mega-20190910-6-PR_2617_test_ESP8266_4M_VCC and one from older release ESP_Easy_mega-20190830_normal_core_260_sdk222_alpha_ESP8266_4M but with no luck.
It again works normally in AP mode until I connect module to WiFi network.
After connecting to WiFi, the connection become not stable to make proposed changes like B/G mode, but I manually set AP mode via serial connection and force B/G mode from there. Also I tried to set flag to send gratuitous arp but it didn't fix the problem with " WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 8611 ms" messages.

I also tried ESP_Easy_mega-20190910-6-PR_2617_normal_core_242_ESP8266_1M but it didn't run.

May be some ideas how to get more debug info?
Later I will try to collect raw WiFi traffic to find if there any beacon sent from Wifi AP to ESP module

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#4 Post by TD-er » 19 Sep 2019, 15:24

Have you also tested the "Force WiFi No Sleep:" option?
If STA+AP mode does seem to work, then it looks like there is some issue with respect to the ESP WiFi going into sleep mode.

By the way, "ESP_Easy_mega-20190910-6-PR_2617_test_ESP8266_4M_VCC" is based on core 2.5.2.
There should also be a core 2.6.0 SDK 2.2.2 build in there, or is it not included?

This ESP, does it have a metal cap over the ESP, or is it not shielded?
Can you share a picture of the WiFi antenna?
Is there metal near the antenna?

mitya
New user
Posts: 4
Joined: 18 Sep 2019, 21:41

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#5 Post by mitya » 19 Sep 2019, 22:20

Yes, I tried "Force WiFi No Sleep", "Force WiFi B/G" and "Periodical send Gratuitous ARP" but with no effect.
There is no suitable 4M firmware bin file in 20190910 release, but I tried core 2.6.0 SDK 2.2.2 from 20190830 and it didn't help.
I also noticed that there is the same issue even in AP mode, I can not connect http://192.168.4.1/setup after flashing firware from the first time and I need many attempt to make initial WiFi setup. the previous time I was lucky to do from a few attempts and didn't consider it as a problem.
There is no metal cap on my NodeMCU and the chip marked as ESP8266EX https://ibb.co/6JrvSpS
while on the similar NodeMCU device with metal cap(it marked as ESP 8266MOD on metal cap) I have NOT had any issues with EASY ESP release starting from 20190607 to the most current 20190903. So might be it is a different chip that causes the issues, but it works quite stable with Tosmata firware that I used to ensure that it is not a hardware problem.
Image

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#6 Post by TD-er » 20 Sep 2019, 09:41

I think it may be the missing cap is causing undefined behavior on the module when the antenna is broadcasting.
Maybe Tasmota is lowering the TX power of the WiFi module?

mitya
New user
Posts: 4
Joined: 18 Sep 2019, 21:41

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#7 Post by mitya » 20 Sep 2019, 13:17

It can't be related to the antenna TX/RX power as device works up to 15 meters in AP mode with Tasmota fw, and it can't work even within a few cm distance to WiFi AP or device connected to it.
I also checked raw WiFi bandwidth with AirPcap NX and I see no big difference in traffic between Tasmota and EASY ESP.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#8 Post by TD-er » 20 Sep 2019, 18:38

mitya wrote: 20 Sep 2019, 13:17 It can't be related to the antenna TX/RX power as device works up to 15 meters in AP mode with Tasmota fw, and it can't work even within a few cm distance to WiFi AP or device connected to it.
I also checked raw WiFi bandwidth with AirPcap NX and I see no big difference in traffic between Tasmota and EASY ESP.
I don't know what Tasmota is doing to the TX power settings.
I do know that about a week ago there was an issue on esp8266/Arduino about strange issues which appeared to be related to TX power causing strange issues on an ESP without a shield.
Using external antenna or reducing TX power did solve all those issues.

WiFi devices can also be too close to eachother.

ruAnimus
New user
Posts: 3
Joined: 13 Nov 2019, 18:12

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#9 Post by ruAnimus » 13 Nov 2019, 18:19

mitya wrote: 20 Sep 2019, 13:17 It can't be related to the antenna TX/RX power as device works up to 15 meters in AP mode with Tasmota fw, and it can't work even within a few cm distance to WiFi AP or device connected to it.
I also checked raw WiFi bandwidth with AirPcap NX and I see no big difference in traffic between Tasmota and EASY ESP.
I am experiencing exactly the same problem with a very similar device. I flashed the device with this firmware using the included flasher (FlashESP8266.exe), and the problem ceased to appear:
https://github.com/letscontrolit/ESPEas ... a-20180410

ruAnimus
New user
Posts: 3
Joined: 13 Nov 2019, 18:12

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#10 Post by ruAnimus » 27 Nov 2019, 20:00

The latest working version for me is "ESPEasy_mega-20181231".

Starting with the version "ESPEasy_mega-20190106" the connection is terminated on the error "(201) No AP found".

Code: Select all

INIT : Booting version: mega-20190116 (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)
104 : INIT : Warm boot #3 - Restart Reason: Software/System restart
107 : FS   : Mounting...
133 : FS   : Mount successful, used 75802 bytes of 957314
478 : CRC  : program checksum       ...OK
489 : CRC  : SecuritySettings CRC   ...OK 
597 : INIT : Free RAM:27928
599 : INIT : I2C
600 : INIT : SPI not enabled
613 : INFO : Plugins: 46 [Normal] (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)
615 : WIFI : Set WiFi to STA
648 : WIFI : Connecting MyWifiSSID attempt #0
1983 : WD   : Uptime 0 ConnectFailures 0 FreeMem 26088
3602 : WIFI : Disconnected! Reason: '(201) No AP found' Connected for 2853 ms
4430 : WIFI : Connecting MyWifiSSID attempt #1
And starting with the version "ESPEasy_mega-20190121" is "(200) Beacon timeout"

Code: Select all

connected with MyWifiSSID, channel 11
dhcp client start...
ip:192.168.100.11,mask:255.255.255.0,gw:192.168.100.1
121577 : WIFI : Connected! AP: MyWifiSSID (C8:D3:A3:54:CD:E4) Ch: 11 Duration: 156 ms
121579 : WIFI  : Arduino wifi status: WL_CONNECTED ESPeasy internal wifi status: ESPEASY_WIFI_GOT_IP
121580 : WIFI : DHCP IP: 192.168.100.11 (ESP-Easy-0) GW: 192.168.100.1 SN: 255.255.255.0   duration: 29 ms
121581 : WIFI  : Arduino wifi status: WL_CONNECTED ESPeasy internal wifi status: ESPEASY_WIFI_SERVICES_INITIALIZED
122873 : WD   : Uptime 2 ConnectFailures 0 FreeMem 21960 WiFiStatus 3
123763 : LoopStats: shortestLoop: 105 longestLoop: 886806 avgLoopDuration: 120.77 loopCounterMax: 285714 loopCounterLast: 237920 countFindPluginId: 0
123763 : Scheduler stats: (called/tasks/max_length/idle%) 237920/2073/6/96.70
bcn_timout,ap_probe_send_start
ap_probe_send over, rest wifi status to disassoc
state: 5 -> 0 (1)
rm 0
130153 : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 8575 ms
130154 : WIFI  : Arduino wifi status: WL_IDLE_STATUS ESPeasy internal wifi status: ESPEASY_WIFI_DISCONNECTED
130320 : WIFI : Connecting MyWifiSSID attempt #0
130324 : WIFI  : Arduino wifi status: WL_DISCONNECTED ESPeasy internal wifi status: ESPEASY_WIFI_DISCONNECTED
130325 : WIFI : Not configured in Station Mode!!: MyWifiSSID
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt 

connected with MyWifiSSID, channel 11
Device:

Code: Select all

ESP board
ESP Chip ID:	7802118 (0x770D06)
ESP Chip Freq:	80 MHz
ESP Board Name:	PLATFORMIO_ESP12E

Storage
Flash Chip ID:	Vendor: 0xC8 Device: 0x4016
Flash Chip Real Size:	4096 kB
Flash IDE Size:	4096 kB
Flash IDE speed:	40 MHz
Flash IDE mode:	DIO
Flash Writes:	5 daily / 5 boot
Sketch Size:	773 kB (2296 kB free)
SPIFFS Size:	934 kB (860 kB free)

rxrx
New user
Posts: 1
Joined: 28 Nov 2019, 12:30

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#11 Post by rxrx » 28 Nov 2019, 12:33

I have the exact same issue with the latest image ESP_Easy_mega-20191127_normal_ESP8266_4M1M.

This same device has been working perfectly fine for years with the R147 version.. so definitely not a hardware issue.. going back to R147 for now.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#12 Post by TD-er » 28 Nov 2019, 14:25

Of the more recent nightly builds, which version (exact build file name of the binary) have the both of you tested?
Can you backup your settings and start with a blank setting file? Just to make sure the settings have nothing to do with it?

ruAnimus
New user
Posts: 3
Joined: 13 Nov 2019, 18:12

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#13 Post by ruAnimus » 28 Nov 2019, 19:11

The latest version that I installed is "ESP_Easy_mega-20191127_normal_ESP8266_4M1M.bin", error was repeated "(200) Beacon timeout". Each time after firmware, I performed a "reset" and settings:

Code: Select all

Debug 4
WifiSSID
Wifikey
Save
Wificonnect

kum512
New user
Posts: 1
Joined: 03 Jan 2020, 06:42

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#14 Post by kum512 » 03 Jan 2020, 06:45

I do have a same problem with the same board. Currently using R147 which is stable. Awaiting fix for this. Thanks Team

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#15 Post by grovkillen » 03 Jan 2020, 10:04

Have you tried the latest release?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Maxx850
New user
Posts: 1
Joined: 06 Jan 2020, 18:15
Location: Gdansk, Poland

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#16 Post by Maxx850 » 06 Jan 2020, 18:59

Hi, I have two nodemcu modules working in my basement. One is connected to the watermeter (pulse counter), the other has two ds18b20 connected and a 2x20 lcd display. The first module is mega-20180224, the second worked with mega-20180802. The module connected to the water meter has a rssi level of -84dB and works great. Uptime about 100 days is not a problem. The second module has a rssi level of -74dB and worked equally well. Until I upgraded to the mega-20191123 version (later mega-20191127, mega-20191130 and the latest 20191208). After the upgrade I experienced all the problems described on github: beacon timeout, no www interface, p2p udp not working, no wifi after restart etc. (sometimes there was no www interface, the router did not see the module, the network scanner showed that the module is offline but ... domoticz was still receiving data from the module!). I bought a second router and set up the Mesch network (asus routers, AI Mesch). After a few experiments with beacon time and location of the additional router rssi increased to -67dB and all the problem almost disappeared (unless someone stops for more than 30 seconds between the module and the router). To sum up, mega-20180224 and mega-20180802 were able to cope with one router for over 1 year, 10 meters away, 40cm thick brick wall and wooden ceiling without reconects, resets and without losing a single packet of data (water meter never had to be corrected in domoticz). For me, the key turned out to be a signal level higher than -70dB, but this is not the right way, since the earlier firmware works with a much weaker signal.
Of course, I've done all the wifi settings: Force WiFi B / G,
Restart WiFi Lost Conn, Force WiFi No Sleep, Periodical send Gratuitous ARP, CPU Eco Mode.

Best regards and thank you for a great job!

MaxX

User avatar
demonchok
Normal user
Posts: 21
Joined: 03 May 2018, 15:29
Location: Ballerup, Denmark
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#17 Post by demonchok » 14 Mar 2020, 15:24

have anyone solved this ? im getting the same error on some of my older Nodemcus :(
"Don't let hope become a memory"

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#18 Post by TD-er » 14 Mar 2020, 16:21

demonchok wrote: 14 Mar 2020, 15:24 have anyone solved this ? im getting the same error on some of my older Nodemcus :(
How often does this happen?
Have you tried setting the WiFi to "No Sleep" and/or enabling Gratuitous ARP?
Also make sure you set the WiFi to a fixed channel. (if possible)

User avatar
demonchok
Normal user
Posts: 21
Joined: 03 May 2018, 15:29
Location: Ballerup, Denmark
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#19 Post by demonchok » 16 Mar 2020, 14:11

at once :/ i can't even get to the menu, it happens when i reflashed the units :(
"Don't let hope become a memory"

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#20 Post by TD-er » 16 Mar 2020, 15:08

Reflashed as in it was running something other than a version of ESPEasy?
Or a version of ESPEasy over ~2 years old?

If so, then please wipe the entire flash with a blank file of the size of your flash memory and try again.
Some firmware and example sketches do write WiFi settings to a part of the flash we don't use (or erase) in ESPEasy, but that may still affect WiFI performance.

livello
New user
Posts: 3
Joined: 27 Feb 2020, 22:40

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#21 Post by livello » 29 Apr 2020, 18:13

I've also faced with this problem.
I wrote 16mb empty file to device. After that you can write firmware.
No disconnects. Works perfect.

INIT : Booting version: mega-20200426 (ESP82xx Core 3d128e5c, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
71 : Info : INIT : Free RAM:31136
72 : Info : INIT : Warm boot #6 Last Task: Background Task Last systime: 12339 - Restart Reason: External System
73 : Info : FS : Mounting...
98 : Info : FS : Mount successful, used 75802 bytes of 957314
576 : Info : CRC : program checksum ...OK
585 : Info : CRC : SecuritySettings CRC ...OK
696 : Info : INIT : Free RAM:28456
697 : Info : INIT : I2C
697 : Info : INIT : SPI not enabled
981 : Info : INFO : Plugins: 84 [Normal] [Testing] [Development] (ESP82xx Core 3d128e5c, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
1086 : Info : WIFI : Set WiFi to STA
1189 : Info : WIFI : Connecting vent attempt #0
1194 : Info : Webserver: start
1195 : Info : Time set to 12339.000 Time adjusted by 12337805.00 msec. Wander: 3427.17 msec/second
1197 : Info : Current Time Zone: STD time start: 1970-10-25 03:00:00 offset: 0 min
1199 : Info : Local time: 1970-01-01 03:25:39
2401 : Info : WIFI : Connected! AP: vent (EC:41:18:50:AB:09) Ch: 13 Duration: 1028 ms
2403 : Info : WIFI : DHCP IP: 10.20.0.248 (ESP-Easy) GW: 10.20.0.1 SN: 255.255.255.0 duration: 135 ms
2406 : Info : firstLoopConnectionsEstablished
2533 : Info : WD : Uptime 0 ConnectFailures 0 FreeMem 20400 WiFiStatus 3
32533 : Info : WD : Uptime 1 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
62533 : Info : WD : Uptime 1 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
92533 : Info : WD : Uptime 2 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
122533 : Info : WD : Uptime 2 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
152533 : Info : WD : Uptime 3 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
182533 : Info : WD : Uptime 3 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
212533 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
242533 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
272533 : Info : WD : Uptime 5 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
302533 : Info : WD : Uptime 5 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
332533 : Info : WD : Uptime 6 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
362533 : Info : WD : Uptime 6 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
392533 : Info : WD : Uptime 7 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
422533 : Info : WD : Uptime 7 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
452533 : Info : WD : Uptime 8 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
482533 : Info : WD : Uptime 8 ConnectFailures 0 FreeMem 19896 WiFiStatus 3
512533 : Info : WD : Uptime 9 ConnectFailures 0 FreeMem 19640 WiFiStatus 3
542533 : Info : WD : Uptime 9 ConnectFailures 0 FreeMem 19640 WiFiStatus 3
572533 : Info : WD : Uptime 10 ConnectFailures 0 FreeMem 19640 WiFiStatus 3
602533 : Info : WD : Uptime 10 ConnectFailures 0 FreeMem 19640 WiFiStatus 3
632533 : Info : WD : Uptime 11 ConnectFailures 0 FreeMem 19640 WiFiStatus 3
662533 : Info : WD : Uptime 11 ConnectFailures 0 FreeMem 19640 WiFiStatus 3

livello
New user
Posts: 3
Joined: 27 Feb 2020, 22:40

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#22 Post by livello » 30 Apr 2020, 20:25

Image
Unfortunately, i still have problems with nodemcu v3. The only way is to use firmware near mega-20181111.

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#23 Post by Andrew Mamohin » 14 Jun 2020, 17:54

This problem is not resolved yet?
I previously flashed such boards and they work at my place. I recently took two boards (which I had previously flashed!), But I could not flash new firmware.
'(200) Beacon timeout'

I cannot use old firmware due to new hardware.
This is a very strange problem. I tried resetting the settings, I was flashing blank, I was connecting to three different AP wifi! What else can I do?
Andy.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#24 Post by TD-er » 14 Jun 2020, 21:32

Beacon timeout can happen all the time.
In older builds it was also happening but not logged.

But in some cases the unit keeps loosing connection.
What sometimes helps is to flash the entire unit with a blank file and try again flashing ESPEasy on it.

So what is happening with your unit?

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#25 Post by Andrew Mamohin » 15 Jun 2020, 07:29

This happens every few seconds. Sometimes I manage to enter the settings, but I can’t configure. I flashed the blank and different firmwares.
I was flashing my ".INO" script in the arduino IDE. It works well.
Andy.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#26 Post by TD-er » 15 Jun 2020, 10:02

Have you flashed an Arduino sketch of your own before on this node?
If so, please erase the full flash first using one of the blank images in the download ZIP file and flash ESPEasy again.

The reason I'm suggesting this is because most Arduino example sketched do not set the WiFi persistence to false, so they store some wifi related settings somewhere on the flash where it will not be erased when flashing ESPEasy on it.
These can have an effect on the WiFi code in ESPEasy.

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#27 Post by Andrew Mamohin » 15 Jun 2020, 13:42

I flashed blank and various firmware several times.
When I connect to the ESP_EASY AP, there are no errors. When I switch ESP to my AP, errors occur.
I tried three different APs!

Code: Select all

80602 : Info  : WIFI : DHCP IP: 192.168.16.101 (ESP-Easy) GW: 192.168.16.1 SN: 2
55.255.255.0   duration: 2093 ms
80605 : Info  : SaveToFile: free stack: 3568
80668 : Info  : FILE : Saved config.dat
80669 : Info  : SaveToFile: free stack after: 3568
80670 : Info  : SaveToFile: free stack: 3568
80705 : Info  : FILE : Saved security.dat
80706 : Info  : SaveToFile: free stack after: 3568
80706 : Info  : SaveToFile: free stack: 3232
80717 : Info  : FILE : Saved security.dat
80718 : Info  : SaveToFile: free stack after: 3232
80769 : Info  : firstLoopConnectionsEstablished
94078 : Info  : WD   : Uptime 2 ConnectFailures 0 FreeMem 15976 WiFiStatus 3
124078 : Info  : WD   : Uptime 2 ConnectFailures 0 FreeMem 15976 WiFiStatus 3
127069 : Info  : WIFI : Connecting mamohin attempt #0
127173 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected f
or 48 s
130586 : Info  : WIFI : Connected! AP: mamohin (7A:A3:51:68:EA:84) Ch: 8 Duratio
n: 3371 ms
132466 : Info  : WIFI : DHCP IP: 192.168.16.101 (ESP-Easy) GW: 192.168.16.1 SN:
255.255.255.0   duration: 1958 ms
154078 : Info  : WD   : Uptime 3 ConnectFailures 0 FreeMem 15520 WiFiStatus 3
155266 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected f
or 24 s
Andy.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#28 Post by TD-er » 15 Jun 2020, 20:30

OK, I guess we may need a bit more information here.

- What hardware are you running on? (Wemos D1, NodeMCU, Sonoff basic, etc)
- How is it powered?
- What build are you running?
- Can you give a bit more info on the access point? (RSSI value reported by ESPEasy, is it a repeater or just an AP, etc)
- Have you tried running it a bit further away from the AP?
- Are there multiple AP's (or repeaters) using the same SSID?

I do see you're using DHCP, which is the preferred way so leave that.

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#29 Post by Andrew Mamohin » 16 Jun 2020, 08:11

1. NodeMCU. I tried two boards (I got out of my device). Both have this error. In my house, three boards with espeasy (Wemos and NodeMCU) are used, they work without errors. I installed them a long time ago, after which I only updated the firmware via wifi.

2. I try different power supplies and also power from a USB PC.

3. I tried different build, for example the last ESPEasy_ESP82xx_mega-20200608

4. There are three different APs in my house. These are different SSIDs, different hardware. I tried connecting to different APs, so RSSI was at a different level (some APs are far away, others are nearby). This is an AP only, not a repeater! RSSI miscellaneous (about -70 - 80)

5. Yes, I tried to place the ESP in other rooms.

6. No, all APs use different SSID.

7. I do not like DHCP in small networks (like in my house), but I tried to connect using DHCP and using the fixed IP. Other ESPs in my home work with the fixed IP.

Bottom line: I tried all the ways for a long time before writing to the forum. :)
It seems to me that I recorded some harmful information in these devices. Is there any other way to reset the ESP? I have tried flashing blank several times already, this does not help.
Andy.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#30 Post by grovkillen » 16 Jun 2020, 08:40

If you flash a blank you're writing only zeroes = as clean as can possibly be.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#31 Post by TD-er » 16 Jun 2020, 09:06

OK, so the only thing left here which I see right now from your information is that the non-working nodes are newer than the older ones.

Are you able to compare the voltage regulators on the non working nodes with the working ones?
How do you power them? Via the USB port, or only powering the 3v3 line?

The NodeMCU used to have quite a beefy voltage regulator, the AMS1117.
But I can imagine there are suppliers who tried to scrape off another cent of production costs and are now using a lot weaker voltage regulators.
I've seen it on the "Wemos D1 mini" form factor. There have been so many different copies of that model that it is hard to speak of "the Wemos D1 mini".

In the zip file there should be builds with "beta" in their name.
The "beta" builds use a different version of the SDK.
Can you also try to see if working with those makes a difference for these modules? (if tried on the working ones, those may become less stable)

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#32 Post by Andrew Mamohin » 16 Jun 2020, 11:09

TD-er wrote: 16 Jun 2020, 09:06 OK, so the only thing left here which I see right now from your information is that the non-working nodes are newer than the older ones.
These are not new modules, they worked for me in other projects (my .INO scripts).
They have AMS1117 modules installed.
I feed modules via USB or via Vin pin.
In my projects, I use the assembly ESP_Easy_mega-20200204_PZEM + Blynk_normal_ESP8266_4M1M.bin, since I need support for the PZEM module. I tried to flash the same assembly into these modules.
Now I will try the assembly ESP_Easy_mega_20200608_test_beta_ESP8266_4M1M.bin.gz and write the result here. But I think I'm so dumb. I'm doing something wrong ... Hardware is not to blame :)
Andy.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#33 Post by TD-er » 16 Jun 2020, 11:20

Please be aware you can only flash the .bin.gz file on a node that already is running a recent build.
If you try upgrading an older build, you must flash the .bin file.

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#34 Post by Andrew Mamohin » 16 Jun 2020, 12:29

TD-er wrote: 16 Jun 2020, 11:20 you must flash the .bin file.
Of course, I extract from the archive. Alas, all the same the same error. I even did the power supply from an 8 volt lab unit on a Vin. I flashed blank again before upgrading.
I will need to buy new devices on aliexpress. Do you recommend Wemos?
Andy.

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#35 Post by Andrew Mamohin » 16 Jun 2020, 13:18

I have now again flashed the old version: mega-20180223. The module works fine. But, this version does not suit me, I want a new one!
Andy.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#36 Post by TD-er » 16 Jun 2020, 13:26

Hmm 201802... uses core 2.3.0 and not yet the wifi events.

Have you managed to get the "beta" builds in the zip file running?

Using 8 volt on the Vin is not a good idea.
It may destruct the USB to serial converter on the board and also overheat the AMS1117 voltage regulator as it has to dissipate 3 - 4x as much heat. (from 1.7V voltage drop to 4.7V drop with the same current)

If the power supply is causing this, then it makes more sense to add a capacitor of 100 - 300 uF to the 3v3 line (between 3v3 and GND)

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#37 Post by Andrew Mamohin » 16 Jun 2020, 15:51

TD-er wrote: 16 Jun 2020, 13:26 Hmm 201802... uses core 2.3.0 and not yet the wifi events.
I just took the old build for test. Newer ones cause a 200 error.
Have you managed to get the "beta" builds in the zip file running?
I wrote that beta also cause a 200 error.
Using 8 volt on the Vin is not a good idea.
I just used this for a test. The text "Vin 5-9 V" is written on ESP. Temporarily you can use even 9 v.
Andy.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#38 Post by TD-er » 16 Jun 2020, 19:27

Just some thought I have to look into.
Can you post the first and last byte of the MAC address of the STA interface?

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#39 Post by Andrew Mamohin » 16 Jun 2020, 20:16

TD-er wrote: 16 Jun 2020, 19:27 Can you post the first and last byte of the MAC address of the STA interface?
STA MAC: 5C:XX:XX:XX:XX:EA
AP MAC 5E:XX:XX:XX:XX:EA
Andy.

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#40 Post by Andrew Mamohin » 24 Jun 2020, 21:06

I updated the wifi-iot firmware to these modules. She works well. If I flash espeasy afterwards, a 200 error is present.
Andy.

braid
New user
Posts: 2
Joined: 04 Sep 2020, 12:19

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#41 Post by braid » 04 Sep 2020, 12:34

EspEasy works fine on my nodemcu with version R147.
But on new version firmware ESPEasy_mega-20191208 and on ESPEasy_ESP82xx_mega-20200829 i get this result

Code: Select all

233139 : Info  : WIFI : Connecting zero attempt #22
236268 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 3111 ms
239315 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3063 ms
244044 : Info  : WD   : Uptime 4 ConnectFailures 0 FreeMem 24704 WiFiStatus WL_CONNECTED
247871 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 11 s
247888 : Info  : WIFI : Connecting zero attempt #23
251018 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 3114 ms
254060 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3056 ms
262613 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 11 s
262630 : Info  : WIFI : Connecting zero attempt #24
264931 : Info  : WIFI : Disconnected! Reason: '(201) No AP found' Connected for 2194 ms
264948 : Info  : WIFI : Connecting zero attempt #25
268092 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 3124 ms
271125 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3049 ms
274044 : Info  : WD   : Uptime 5 ConnectFailures 0 FreeMem 24704 WiFiStatus WL_CONNECTED
279713 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 11 s
279730 : Info  : WIFI : Connecting zero attempt #26
282028 : Info  : WIFI : Disconnected! Reason: '(201) No AP found' Connected for 2194 ms
282045 : Info  : WIFI : Connecting zero attempt #27
285164 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 3116 ms
288239 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3074 ms
I use wemos nodemcu ch340.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#42 Post by TD-er » 04 Sep 2020, 12:48

Can you try a build with "alt wifi" in the name?
And also after running such an old version, it is often best to wipe the entire flash first with a blank image, flash the new build and either copy back the old settings.
If it still is unstable, try with clean settings and test first with just the WiFi setup and maybe 1 task + controller you would like to use.

But first make sure to backup your settings as they will get lost when you wipe the flash.

braid
New user
Posts: 2
Joined: 04 Sep 2020, 12:19

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#43 Post by braid » 04 Sep 2020, 14:30

flash blank bin, try flash ESP_Easy_mega_20200829_normal_alt_wifi_ESP8266_1M.bin

Code: Select all

44550 : Info  : WIFI : Credentials Changed, retry connection. SSID: zero
44574 : Info  : WIFI  : Start network scan
46760 : Info  : WIFI : Connecting zero attempt #1
46774 : Info  : WIFI  : Scan finished, found: 2
46775 : Info  : WIFI  : Selected: zero 90:F6:52:D5:E0:62 Ch:1 (-28dBm) WPA/WPA2/PSK
50869 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 4104 ms
54461 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3592 ms
54462 : Info  : SaveToFile: free stack: 3632
54932 : Info  : FILE : Saved config.dat
54933 : Info  : SaveToFile: free stack after: 3632
54934 : Info  : SaveToFile: free stack: 3632
55117 : Info  : FILE : Saved security.dat
55118 : Info  : SaveToFile: free stack after: 3632
55119 : Info  : SaveToFile: free stack: 3296
55213 : Info  : FILE : Saved security.dat
55213 : Info  : SaveToFile: free stack after: 3296
55296 : Info  : firstLoopConnectionsEstablished
63726 : Info  : WD   : Uptime 1 ConnectFailures 0 FreeMem 21664 WiFiStatus WL_CONNECTED
63805 : Info  : WIFI : Connecting zero attempt #1
63908 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 12 s
67924 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 4104 ms
70944 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3028 ms
79413 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 11 s
81561 : Info  : Reset WiFi.
81562 : Info  : WIFI : Set WiFi to OFF
81577 : Info  : WIFI  : WiFiConnected() out of sync: DISCONNECTED RSSI: -30 status: STATION_CONNECTING
81589 : Info  : AP Mode: Client disconnected: B4:EF:FA:FF:1A:46 Connected devices: 0
81692 : Info  : WIFI : Set WiFi to STA
81795 : Info  : WIFI : Connecting zero attempt #2
82741 : Info  : WIFI : Disconnected! Reason: '(8) Assoc leave' Connected for 1 m 21 s
83768 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 1966 ms
87388 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3626 ms
93726 : Info  : WD   : Uptime 2 ConnectFailures 0 FreeMem 24344 WiFiStatus WL_CONNECTED
95796 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 11 s
95797 : Info  : WIFI : Connected! AP: zero (90:F6:52:D5:E0:62) Ch: 1 Duration: 13979 ms
95804 : Info  : WIFI : Connecting zero attempt #3
98820 : Info  : WIFI : DHCP IP: 192.168.0.92 (ESP-Easy) GW: 192.168.0.1 SN: 255.255.255.0   duration: 3042 ms
107060 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 11 s
107077 : Info  : WIFI : Connecting zero attempt #4

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#44 Post by TD-er » 04 Sep 2020, 17:41

Why using 1M build on a 4MB flash device?
If you also used the 1M blank image on this device, then the previous WiFi settings were not cleared.

You mentioned to have a NodeMCU, which is a 4MB device.
So please try with 4MB blank file (and build image)

petermdevries
New user
Posts: 1
Joined: 27 Sep 2020, 09:02

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#45 Post by petermdevries » 27 Sep 2020, 09:09

I have the same problem a the topic starter.
After trying some versions (including the latest) it's now running stable for 2 days on mega-20190607.

With that specific version I had to set the wifi settings via serial commands as connecting to the node via WiFi didn't work. Looks like it doesn't give my phone a DHCP address.

Still have 2/3 of these nodes which I'm planning to use, so if I need to do some testing... :)

mrh_icb
Normal user
Posts: 11
Joined: 08 Oct 2020, 04:15

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#46 Post by mrh_icb » 08 Oct 2020, 06:16

I am also facing the same issue on Sonoff BASIC R2 PCB V1.1 (ESP8266EX/1MB flash) with Release mega-20200929

Flash command:
esptool --port /dev/ttyUSB0 --baud 115200 write_flash -fm dout -fs 1MB 0x00000 ESP_Easy_mega_20200929_normal_ESP8266_1M.bin

Code: Select all

60254 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 2 m 39 s
160271 : Info  : WIFI : Connecting SSID_XXX attempt #2
161421 : Info  : WIFI : Connected! AP: SSID_XXX (70:4D:7B:xxx) Ch: 11 Duration: 1139 ms
161503 : Info  : WIFI : DHCP IP: 192.168.50.10 (ESP-Easy) GW: 192.168.50.1 SN: 255.255.255.0   duration: 88 ms
179179 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 18 s
179197 : Info  : WIFI : Connecting SSID_XXX attempt #3
180469 : Info  : WIFI : Connected! AP: SSID_XXX (70:4D:7B:xxx) Ch: 11 Duration: 1264 ms
180547 : Info  : WIFI : DHCP IP: 192.168.50.10 (ESP-Easy) GW: 192.168.50.1 SN: 255.255.255.0   duration: 83 ms
181747 : Info  : WD   : Uptime 3 ConnectFailures 0 FreeMem 25848 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
189132 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 9832 ms
189697 : Info  : WIFI : Connected! AP: SSID_XXX (70:4D:7B:xxx) Ch: 11 Duration: 10496 ms
189792 : Info  : WIFI : DHCP IP: 192.168.50.10 (ESP-Easy) GW: 192.168.50.1 SN: 255.255.255.0   duration: 95 ms
198347 : Info  : WIFI : Disconnected! Reason: '(200) Beacon timeout' Connected for 19 s
ping and web server does not respond on the assigned IP.

Going back to ESP_Easy_v2.0-20180321 works again.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#47 Post by TD-er » 08 Oct 2020, 09:10

Did you completely erase the flash between versions?

mrh_icb
Normal user
Posts: 11
Joined: 08 Oct 2020, 04:15

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#48 Post by mrh_icb » 09 Oct 2020, 03:39

yes, I flashed empty 1MB image between versions

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#49 Post by riker1 » 27 Dec 2020, 16:35

Hi
having the same issue with an wemosd1

Code: Select all

reason: '(200) Beacon timeout' Connected for 8466 ms
I did try anything.
Erase flash, flashed 4mb blank
reset
factory reset
fix ip
ip with dhcp

how to solve this?

Thanks T

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

#50 Post by TD-er » 27 Dec 2020, 17:09

I think we need a bit more info.
How often does this occur?
What have you tried to mitigate this issue?

- Switch to B/G Wifi
- Fix channel on Access point (preferred to use ch 1, 6 or 11)
- Disable 'Eco' mode
- Use access point exclusively for ESP nodes (not shared with other devices)
- Try other orientation of the ESP to try and match antenna polarity with antenna of access point
- Make sure to use proper power supply and cabling
- Add extra capacitor over the 3v3 line and GND
- Make sure your ESP node does have a proper 3v3 voltage regulator (lots of Wemos D1 mini nodes sold currently have a regulator only capable of 150 mA)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 33 guests