Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

WIP: Add preliminary support for tapo plugs#499

Closed
rytilahti wants to merge 9 commits into
python-kasa:masterpython-kasa/python-kasa:masterfrom
rytilahti:feat/tapoplug_draftrytilahti/python-kasa:feat/tapoplug_draftCopy head branch name to clipboard
Closed

WIP: Add preliminary support for tapo plugs#499
rytilahti wants to merge 9 commits into
python-kasa:masterpython-kasa/python-kasa:masterfrom
rytilahti:feat/tapoplug_draftrytilahti/python-kasa:feat/tapoplug_draftCopy head branch name to clipboard

Conversation

@rytilahti
Copy link
Copy Markdown
Member

@rytilahti rytilahti commented Aug 18, 2023

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:

image

image

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

@rytilahti
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 rytilahti closed this Nov 27, 2023
@rytilahti rytilahti deleted the feat/tapoplug_draft branch November 27, 2023 22:52
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.