labgrid/driver/power: Add Tapo(Kasa) smart plug support#1555
labgrid/driver/power: Add Tapo(Kasa) smart plug support#1555onurcelep wants to merge 1 commit intolabgrid-project:masterfrom
Conversation
Signed-off-by: Onur Celep <onurcelep@gmail.com>
Emantor
left a comment
There was a problem hiding this comment.
The tp-link power driver also uses the kasa plugin, but seems to be much simpler since it employs the SmartStrip abstraction. Is there something similar inside kasa for smart plugs?
|
Apparently available class for Tapo smart plugs is |
|
Closing in favor of #1630 which provides a more complete implementation kasa API version compatibility (< 0.10.0 and >= 0.10.0), power strip support via device.children, proper unit tests, and type annotations. |
Description
Adds power driver integration for Tapo Smart plugs with Klap authentication.
python-kasa requires KASA_USERNAME and KASA_PASSWORD environment variables to be set to handle the authentication.
Checklist