Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tapocontrol] Add klap-protocol to support multiple new devices #15725

Merged
merged 12 commits into from
Apr 28, 2024

Conversation

wildcs
Copy link
Contributor

@wildcs wildcs commented Oct 9, 2023

Tapocontrol-Binding for Tapo-Devices

this pr is necesarry because manufacturer changed communication protocol for some devices so device-communication is broken.
because the communication changed i decided to revise the whole code of the plugin.

this pr has more changes:

  • complete code revision
  • integration new "klap-protocol"
  • integration local device discovery with udp
  • integration "H100 Smart-Hub"
  • integration "T110 door-/window-contact sensor"
  • integration "T310/T315 wheateher- sensors"
  • supporting light-effects for light-strips

@wildcs wildcs force-pushed the tapocontrol branch 2 times, most recently from 9fc3562 to 41e61c9 Compare October 9, 2023 13:57
@jlaur jlaur linked an issue Oct 9, 2023 that may be closed by this pull request
@wildcs wildcs force-pushed the tapocontrol branch 5 times, most recently from b7ada83 to 54c5914 Compare October 10, 2023 19:45
@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Oct 14, 2023
Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice rework. Thanks for this !

@wildcs wildcs requested a review from clinique November 1, 2023 15:03
@wildcs wildcs force-pushed the tapocontrol branch 3 times, most recently from 4e7e0b8 to 9834cea Compare November 1, 2023 16:21
Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small review pass.

@wildcs wildcs requested a review from clinique November 3, 2023 04:56
Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/tapocontrol-control-tapo-smart-wifi-devices-with-openhab-official-support-thread/118389/338

@lsiepel lsiepel requested a review from a team November 23, 2023 22:52
@lsiepel
Copy link
Contributor

lsiepel commented Nov 23, 2023

@wildcs can you fix the conflict?

@wildcs
Copy link
Contributor Author

wildcs commented Nov 25, 2023

@wildcs can you fix the conflict?

@lsiepel Can youn tell me how? The code has changed completeley. The old file has to be overwritten by the new one file. I dont have write access to do this

@wildcs
Copy link
Contributor Author

wildcs commented Dec 2, 2023

Can someone else help to resolve the conflict?
@clinique @lolodomo maybe?

@clinique
Copy link
Contributor

clinique commented Dec 2, 2023

Can someone else help to resolve the conflict?
@clinique @lolodomo maybe?

You need to rebase your PR and force push, it should do it.

wildcs added 10 commits April 23, 2024 09:17
Signed-off-by: Christian Wild <christian@wildclan.de>
code revision - fix P300 and L9x0 devices

Signed-off-by: Christian Wild <christian@wildclan.de>
code revision - light-effects for lightstrips added

Signed-off-by: Christian Wild <christian@wildclan.de>
complete code revision

udp-discovery added

light-effects for lightstrips added

Signed-off-by: Christian Wild <christian@wildclan.de>
complete code revision

udp-discovery added

light-effects for lightstrips added

code review

Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Christian Wild <christian@wildclan.de>
@wildcs wildcs requested a review from lsiepel April 23, 2024 07:47
@wildcs
Copy link
Contributor Author

wildcs commented Apr 23, 2024

@lsiepel
Thanks for your review. Did a rebase and fixed your request.
Hope it now can be merged soon.

@clinique
Copy link
Contributor

@holgerfriedrich : can you please push on having it merged soon ? Thanks a lot.

Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@lsiepel lsiepel merged commit dbe9709 into openhab:main Apr 28, 2024
5 checks passed
@lsiepel lsiepel added this to the 4.2 milestone Apr 28, 2024
@lsiepel lsiepel changed the title [tapocontrol] new communication protocol integration / code revision [tapocontrol] Add klap-protocol to support multiple new devices Apr 28, 2024
@dor-bw
Copy link

dor-bw commented Apr 28, 2024

Thank you very much! All good things are worth waiting for.

lo92fr pushed a commit to lo92fr/openhab-addons that referenced this pull request Apr 30, 2024
…penhab#15725)

* [tapocontrol] new tapo klap-protocol integration

Signed-off-by: Christian Wild <christian@wildclan.de>
@nelsonaponte
Copy link

Thank you very much! All good things are worth waiting for.

That’s one funny way to end this drama 😅

@wildcs, thanks for not giving up!
@clinique and @lsiepel, thanks for your support!

@giig1967g
Copy link

In which version will we see the new Tapo binding?

@lsiepel
Copy link
Contributor

lsiepel commented Apr 30, 2024

In which version will we see the new Tapo binding?

Daily snapshot, next milestone 4.2.0.M3 or next stable 4.2.0

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-4-2-milestone-discussion/154316/131

@wildcs wildcs deleted the tapocontrol branch May 29, 2024 14:22
psmedley pushed a commit to psmedley/openhab-addons that referenced this pull request Jun 15, 2024
…penhab#15725)

* [tapocontrol] new tapo klap-protocol integration

Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Paul Smedley <paul@smedley.id.au>
pgfeller pushed a commit to pgfeller/openhab-addons that referenced this pull request Sep 29, 2024
…penhab#15725)

* [tapocontrol] new tapo klap-protocol integration

Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Patrik Gfeller <patrik.gfeller@proton.me>
joni1993 pushed a commit to joni1993/openhab-addons that referenced this pull request Oct 15, 2024
…penhab#15725)

* [tapocontrol] new tapo klap-protocol integration

Signed-off-by: Christian Wild <christian@wildclan.de>
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Oct 18, 2024
…penhab#15725)

* [tapocontrol] new tapo klap-protocol integration

Signed-off-by: Christian Wild <christian@wildclan.de>
cipianpascu pushed a commit to cipianpascu/openhab-addons that referenced this pull request Jan 2, 2025
…penhab#15725)

* [tapocontrol] new tapo klap-protocol integration

Signed-off-by: Christian Wild <christian@wildclan.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet