Hey, I am having an issue with 2 Tasmota smart plugs that I purchased recently. They will randomly disconnect from the network. Usually happens around once per day. They require a full power off and power back on at the plug socket and they will reconnect. Sometimes, very rarely the devices will reconnect themselves but the majority of the time they require me to intervene and power cycle them. This is unfortunate as I am using one of these plugs to monitor my server stack and having to power cycle this is a real pain. In an effort to troubleshoot I set up some logs for both the plug and my router (Asus XT8 Mesh).
The plug is set to level 4 logging and as you can see it logs normally up until it disconnects.
13:55:02 tasmota-D5EB0E-2830 ESP-WIF: Checking connection…
13:55:02 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15444 usec
13:55:03 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15261 usec
13:55:04 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15379 usec
13:55:05 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15515 usec
13:55:06 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15471 usec
13:55:07 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15541 usec
13:55:08 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15698 usec
13:55:09 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15440 usec
13:55:10 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15489 usec
13:55:11 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15291 usec
13:55:11 tasmota-D5EB0E-2830 ESP-WIF: Sending Gratuitous ARP
13:55:12 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15291 usec
13:55:13 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15593 usec
13:55:14 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15326 usec
13:55:15 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15702 usec
13:55:16 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15479 usec
The device is then not creating any logs until a few mins later
13:55:16 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15479 usec
13:59:15 tasmota-D5EB0E-2830 ESP-WIF: Attempting connection…
13:59:15 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15768 usec
13:59:15 tasmota-D5EB0E-2830 ESP-WIF: Checking connection…
13:59:15 tasmota-D5EB0E-2830 ESP-WIF: Attempting connection…
13:59:15 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15602 usec
13:59:15 tasmota-D5EB0E-2830 ESP-WIF: Checking connection…
13:59:15 tasmota-D5EB0E-2830 ESP-WIF: Attempting connection…
13:59:15 tasmota-D5EB0E-2830 ESP-HLW: EPC 65, CFlen 15348 usec
13:59:15 tasmota-D5EB0E-2830 ESP-WIF: Checking connection…
13:59:15 tasmota-D5EB0E-2830 ESP-WIF: Attempting connection…
It then connects 10 seconds later
13:59:16 tasmota-D5EB0E-2830 ESP-CFG: Saved to flash at FA, Count 45, Bytes 4096
13:59:16 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15611 usec
13:59:17 tasmota-D5EB0E-2830 ESP-HLW: EPC 63, CFlen 15773 usec
13:59:18 tasmota-D5EB0E-2830 ESP-HLW: EPC 63, CFlen 15502 usec
13:59:19 tasmota-D5EB0E-2830 ESP-HLW: EPC 63, CFlen 15729 usec
13:59:20 tasmota-D5EB0E-2830 ESP-HLW: EPC 63, CFlen 15406 usec
13:59:21 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15502 usec
13:59:22 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15856 usec
13:59:23 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15682 usec
13:59:24 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15612 usec
13:59:25 tasmota-D5EB0E-2830 ESP-HLW: EPC 64, CFlen 15560 usec
13:59:25 tasmota-D5EB0E-2830 ESP-MQT: Attempting connection…
13:59:25 tasmota-D5EB0E-2830 ESP-WIF: DNS resolved ‘192.168.50.2’ (192.168.50.2) in 0 ms
13:59:25 tasmota-D5EB0E-2830 ESP-MQT: Connected
13:59:25 tasmota-D5EB0E-2830 ESP-MQT: tele/tasmota_D5EB0E/LWT = Online (retained)
When I check the router logs you can see the point that the plug stops responding as it no longer replies to the DHCPOFFER from the router.
13:46:10 dnsmasq-dhcp DHCPACK(br0) 192.168.50.78 34:98:7a:d5:eb:0e tasmota-D5EB0E-2830
13:50:10 dnsmasq-dhcp DHCPREQUEST(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:50:10 dnsmasq-dhcp DHCPACK(br0) 192.168.50.78 34:98:7a:d5:eb:0e tasmota-D5EB0E-2830
13:52:10 dnsmasq-dhcp DHCPREQUEST(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:52:10 dnsmasq-dhcp DHCPACK(br0) 192.168.50.78 34:98:7a:d5:eb:0e tasmota-D5EB0E-2830
13:53:10 dnsmasq-dhcp DHCPREQUEST(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:53:10 dnsmasq-dhcp DHCPACK(br0) 192.168.50.78 34:98:7a:d5:eb:0e tasmota-D5EB0E-2830
13:54:10 dnsmasq-dhcp DHCPREQUEST(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:54:10 dnsmasq-dhcp DHCPACK(br0) 192.168.50.78 34:98:7a:d5:eb:0e tasmota-D5EB0E-2830
13:55:10 dnsmasq-dhcp DHCPREQUEST(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:10 dnsmasq-dhcp DHCPACK(br0) 192.168.50.78 34:98:7a:d5:eb:0e tasmota-D5EB0E-2830
13:55:20 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:23 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:25 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:29 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:37 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:44 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:46 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:55:50 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
This then continues until the device requests DHCP from the router again
13:59:00 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:59:02 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:59:06 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:59:14 dnsmasq-dhcp DHCPOFFER(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:59:14 dnsmasq-dhcp DHCPREQUEST(br0) 192.168.50.78 34:98:7a:d5:eb:0e
13:59:14 dnsmasq-dhcp DHCPACK(br0) 192.168.50.78 34:98:7a:d5:eb:0e tasmota-D5EB0E-2830
The device is now back online until this happens again.
I will add both plugs are supplied with a static IP from my router however I have played around with removing the static IP and the plugs behave the same.
Interestingly when both plugs disconnect, power cycling one plug causes both plugs to check in again. Weird right?
I updated both plugs to 14.1.0 in an effort to resolve this issue and still does not work.
Any tips would be useful.