HA is really slow (30-120 seconds) to respond to a state change (power on or off) to my TP-Link Kasa plug (HS105). Could someone point me to options for troubleshooting the situation? I’m of the mind that HA should respond within a second or two.
That is an unusually slow response time. It could be due to latency on your wireless network. Is this a new setup or it has always been that slow?
I have the same model plug and response time is practically instantaneous in HA. While my setup should not affect the response time, my TP-Link plug/switches are on a different VLAN from my other WIFI devices and all blocked from connecting to the internet.
Which version of HA? At some point the default polling interval seems to have been set to 30 seconds. You can use the manual polling settings to fix this. Had to do it with my Kasa switches.
Thanks @jjross, I’ll play with that polling. Do you by chance know if I need to use Node-Red to make these changes or is this something I can do the configuration.yaml file?
I’ve noticed this too. I’ve had a schedule to call the update_entity call for a few Kasa entites, and after upgrading to 2021.8 they seem really slow. One polls every second, but the delay after upgrading is 3-5 seconds. It definitely seems weird, and seems to have changed since the release.
Hi @jjross, I really appreciate you getting back to me. I had a look at the link you shared and serveral other sources and I’m stumped on this, would you be so kind as to share an example or point me to one?
Hi @jjross, oohhh… I didn’t understand at first, I think you’re suggesting that I build a separate automation to “refresh” the outlet every n seconds. This will trigger the main automation more quickly. Do I have that right?
Yes, that’s right. Build an automation to regularly (3 seconds) call the update function which should ensure that the status is updated quicker in HA and will cause your other automation to fire shortly after you trigger the switch.