home-assistant-tapo-p100
home-assistant-tapo-p100 copied to clipboard
Support for click events HUB devices
Describe the solution you'd like Allows homeassistant to see click events related to hub button's devices. This feature has a lot of issue explained by my old comment:
While for sensors an integration is working in progress, for button it's technically complex and infeasible. Let me explain, the integration can poll sensors to get proper data and that's ok, but for button the approach is inverse. When you click a button, it's the button which send a "message" to hub and the hub execute a cloud automation. Actually the hub doesn't expose a local "stream" of events, e.g. button pressed, double press, etcc..., so it's not possible to get event in real time and integration to home assistant. This is the same reason why if the hub is offline the automation does not work, cause rely on cloud instead of locally. An improper solution would be to poll high frequency to the hub to capture events, but this generates a lot of unnecessary network traffic
Devices S200 Buttons (e.g. S200, S200D)
Is it not possible to simply obtain the trigger logs from the hub?
https://github.com/mihai-dinculescu/tapo
yes i'm working on it, my library already can get trigger logs. But getting data from device is based on polling
Once this feature is ready, will I be able to use the S200B button through your integration with homeassistant, or do I still need a Tapo hub to set it up, or having it always connected?
Thanks
Once this feature is ready, will I be able to use the S200B button through your integration with homeassistant, or do I still need a Tapo hub to set it up, or having it always connected?
Thanks
You'll have to still have the hub plugged in. The button communicates over sub-gigahertz frequencies directly to the hub. This means that all communication goes through the Hub device.
As the button sends data to the hub, the plugin has to communicate with the hub, not the button itself.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Any updates on this?
Precisely my question. It would be really appreciated if this is added :)
Awaiting an update here as well, got an S200 patiently waiting in a drawer
Im also waiting on this!
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Is this no longer planned?
Hey people unsure of this. I would expect it to not be supported as there’s no better way to check other than 16 second polling events and it looks like TP-Link isn’t planning it either.
There is now matter support for Tapo hubs. E.g. H100 that will pass through pretty much everything needed.
I hope they include button events as this would really position Tapo as a good entry level hardware to rival more expensive options.
Think of a house full of S200Ds on the square or double gang faceplates you can purchase for under $40 a piece. I’ll try and post updates to the Matter support as I test any firmware updates on the h100 hub.
Kind Regards, Nick
From: ItsMeRitch @.> Sent: Tuesday, April 9, 2024 11:50:45 AM To: petretiandrea/home-assistant-tapo-p100 @.> Cc: Nick Jongens @.>; Comment @.> Subject: Re: [petretiandrea/home-assistant-tapo-p100] Support for click events HUB devices (Issue #556)
Is this no longer planned?
— Reply to this email directly, view it on GitHubhttps://github.com/petretiandrea/home-assistant-tapo-p100/issues/556#issuecomment-2043881692, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJKDSARU3TXODKHVYYG2HWLY4MUNLAVCNFSM6AAAAAA5WZCLCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTHA4DCNRZGI. You are receiving this because you commented.Message ID: @.***>
Hey people unsure of this. I would expect it to not be supported as there’s no better way to check other than 16 second polling events and it looks like TP-Link isn’t planning it either. There is now matter support for Tapo hubs. E.g. H100 that will pass through pretty much everything needed. I hope they include button events as this would really position Tapo as a good entry level hardware to rival more expensive options. Think of a house full of S200Ds on the square or double gang faceplates you can purchase for under $40 a piece. I’ll try and post updates to the Matter support as I test any firmware updates on the h100 hub. Kind Regards, Nick … ________________________________ From: ItsMeRitch @.> Sent: Tuesday, April 9, 2024 11:50:45 AM To: petretiandrea/home-assistant-tapo-p100 @.> Cc: Nick Jongens @.>; Comment @.> Subject: Re: [petretiandrea/home-assistant-tapo-p100] Support for click events HUB devices (Issue #556) Is this no longer planned? — Reply to this email directly, view it on GitHub<#556 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJKDSARU3TXODKHVYYG2HWLY4MUNLAVCNFSM6AAAAAA5WZCLCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTHA4DCNRZGI. You are receiving this because you commented.Message ID: @.***>
Please keep us posted 👍