home-assistant-tapo-p100 icon indicating copy to clipboard operation
home-assistant-tapo-p100 copied to clipboard

Support for click events HUB devices

Open petretiandrea opened this issue 1 year ago • 10 comments

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)

petretiandrea avatar Oct 07 '23 08:10 petretiandrea

Is it not possible to simply obtain the trigger logs from the hub?

https://github.com/mihai-dinculescu/tapo Screenshot_20231012_190915_Chrome

lexo12345 avatar Oct 12 '23 11:10 lexo12345

yes i'm working on it, my library already can get trigger logs. But getting data from device is based on polling

petretiandrea avatar Oct 13 '23 21:10 petretiandrea

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

levid0s avatar Nov 05 '23 16:11 levid0s

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.

NickJongens avatar Dec 22 '23 21:12 NickJongens

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jan 21 '24 22:01 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Feb 05 '24 22:02 github-actions[bot]

Any updates on this?

ItsMeRitch avatar Feb 13 '24 21:02 ItsMeRitch

Precisely my question. It would be really appreciated if this is added :)

Roedandan avatar Feb 13 '24 21:02 Roedandan

Awaiting an update here as well, got an S200 patiently waiting in a drawer

13Aaron7 avatar Feb 13 '24 23:02 13Aaron7

Im also waiting on this!

lexo12345 avatar Feb 14 '24 09:02 lexo12345

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Mar 25 '24 22:03 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Apr 08 '24 22:04 github-actions[bot]

Is this no longer planned?

ItsMeRitch avatar Apr 08 '24 23:04 ItsMeRitch

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: @.***>

NickJongens avatar Apr 08 '24 23:04 NickJongens

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 👍

lexo12345 avatar Apr 09 '24 10:04 lexo12345