Automations Delays

Hello,

I’ve been using HASS for a while now and recently I noticed that some of the automations based on time are delayed. What can I do to fix this issue?

Thank you.



I noticed this this morning as well, but to the tune of about two and a half minutes rather than 27.

Look at the history for that smartplug device over the last 24 hours or so. Are there times when the status is not on or off but unknown? And the device that is running HA - is it set to keep it’s own clock updated?

Thank you. The clock appears to be correct.

I think there is something wrong with Tasmota potentially. i have noticed several plugs doing this.

My Tuya plugs do the same. But more like 2-3 times per day. Not hourly. They go offline (in the Tuya app as well), and stay offline for 7min. And then they come back online. Have not found a solution, just assumed it’s Tuya firmware related and decided to go Zigbee-only in the future.

It could be my wifi but I would have to check. I updated some of the plugs to the latest Tasmota firmware recently but it looks like some of the older ones are doing it as well. I would prefer less smart devices on my wifi network, most of my security system is not on the wifi but I will have to look into Zigbee as it seems to be a good protocol as well.

I’m not sure why it keeps disconnecting and reconnecting. I’m using ASUS AiMesh but I bound this plug to one access point as a test and it’s still disconnecting. Some plugs are doing it and some are not.

21:11:36.407 MQT: tele/T-SMARTPLUG2/STATE = {"Time":"2022-12-20T21:11:36","Uptime":"0T01:25:55","UptimeSec":5155,"Heap":25,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":2,"POWER":"ON","Wifi":{"AP":1,"SSId":"WIFI","BSSId":"60:45:CB:AF:9B:80","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":2,"Downtime":"0T00:00:51"}}
21:35:27.849 WIF: Connecting to AP1 WIFI in mode 11n as T-SMARTPLUG2...
21:35:37.439 WIF: Connect failed
21:35:37.775 WIF: Connecting to AP1 WIFI in mode 11n as T-SMARTPLUG2...
21:35:41.506 RSL: STATE = {"Time":"2022-12-20T21:35:41","Uptime":"0T01:50:00","UptimeSec":6600,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":2,"POWER":"ON"}
21:35:47.507 WIF: Connect failed
21:35:48.842 WIF: Connecting to AP1 WIFI in mode 11n as T-SMARTPLUG2...
21:35:58.438 WIF: Connect failed
21:35:58.774 WIF: Connecting to AP1 WIFI in mode 11n as T-SMARTPLUG2...
21:36:08.511 WIF: Connect failed
21:40:21.850 WIF: Connecting to AP1 WIFI in mode 11n as T-SMARTPLUG2...
21:40:30.391 RSL: STATE = {"Time":"2022-12-20T21:40:30","Uptime":"0T01:54:49","UptimeSec":6889,"Heap":27,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":2,"POWER":"ON"}
21:40:31.439 WIF: Connect failed
21:40:31.776 WIF: Connecting to AP1 WIFI in mode 11n as T-SMARTPLUG2...
21:40:41.512 WIF: Connect failed
21:40:42.849 WIF: Connecting to AP1 WIFI in mode 11n as T-SMARTPLUG2...
21:40:50.453 WIF: Connected
21:41:00.710 MQT: Attempting connection...
21:41:00.908 MQT: Connected
21:41:00.913 MQT: tele/T-SMARTPLUG2/LWT = Online (retained)
21:41:00.917 MQT: cmnd/T-SMARTPLUG2/POWER = 
21:41:02.121 MQT: stat/T-SMARTPLUG2/RESULT = {"Time":"2022-12-20T21:41:02","Uptime":"0T01:55:21","UptimeSec":6921,"Heap":26,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":26,"MqttCount":3,"POWER":"ON","Wifi":{"AP":1,"SSId":"WIFI","BSSId":"60:45:CB:AF:9B:80","Channel":1,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":3,"Downtime":"0T00:27:57"}}