FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

WIP: Add preliminary support for tapo plugs by rytilahti · Pull Request #499 · python-kasa/python-kasa · GitHub

Repository navigation

WIP: Add preliminary support for tapo plugs - #499

Closed
rytilahti wants to merge 9 commits into
python-kasa:masterfrom
rytilahti:feat/tapoplug_draft
Closed

rytilahti wants to merge 9 commits into
python-kasa:masterfrom
rytilahti:feat/tapoplug_draft

Conversation

rytilahti commented Aug 18, 2023 •
edited
Loading

Copy link
Copy Markdown
Member

This is a draft to show how support for tapo plugs could be integrated into this library.
The implementation is a shim that implements the SmartPlug interface and uses https://github.com/petretiandrea/plugp100 for all device communications.

At the moment, this is not aimed for general consumption but is just a PoC. The username, the password and list of IP addresses that should be detected as tapo plugs are read from environment variables:

  • KASA_TAPO_EMAIL
  • KASA_TAPO_PASSWORD

Example how it looks like:

rytilahti marked this pull request as draft August 18, 2023 17:52
rytilahti force-pushed the feat/tapoplug_draft branch 2 times, most recently from 3432ee1 to b47e28d Compare August 18, 2023 18:24
rytilahti added the enhancement New feature or request label Aug 18, 2023
rytilahti force-pushed the feat/tapoplug_draft branch from 0392bfc to 1676b7a Compare August 26, 2023 13:48

Copy link
Copy Markdown
Member Author

Rebased on top of #488 for testing, the device instances can now be initialized based on the new discovery protocol responses.

Copy link
Copy Markdown
Member Author

Closing in favor of #552, this served its role well as a test bed for library changes to accommodate support for other transport&encryption protocols but will not be necessary anymore.

rytilahti closed this Nov 27, 2023
rytilahti deleted the feat/tapoplug_draft branch November 27, 2023 22:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL