petretiandrea / plugp100

Work in progress implementation of tapo protocol in python.
GNU General Public License v3.0
72 stars 28 forks source link

Refresh time between updates from Hub #154

Closed mtlguy123 closed 1 year ago

mtlguy123 commented 1 year ago

Hi,

great integration you made available to us. Thanks!

My main issue is that I remember agreeing to having the hub update HA every 30 seconds. Problem is, I have sensors that need to turn on lights when a door is open. However, that can take up to, well, 30 seconds! Being a newb, I'm not 100% sure how / where to change that setting, or if that's even something that's ok to do given the amount of times HA and the hub will "handshake".

Any insight will be greatly appreciated!

petretiandrea commented 1 year ago

Unfortunately, Tapo devices has no a "live stream" of events, so the polling is the only ways to get them. You can try to reduce the polling time

mtlguy123 commented 1 year ago

Thanks. I appreciate your time and effort!