Skip to content

Conversation

@rytilahti
Copy link
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
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
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