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

TP-Link Kasa controller component #2983

Open
toreupfeet opened this issue Dec 9, 2024 · 0 comments
Open

TP-Link Kasa controller component #2983

toreupfeet opened this issue Dec 9, 2024 · 0 comments

Comments

@toreupfeet
Copy link

Describe the problem you have/What new integration you would like

Please consider adding support for control of Kasa devices.

Please describe your use case for this integration and alternatives you've tried:

I have the Kasa integration for HA but I can think of cases where it would be helpful to have the Kasa smart plugs controlled directly by ESPHome. For instance, one of my HA instances is on a Pi5, and for some reason the Pi doesn't always start up after a reboot (update of HA operating system, etc.). I have to unplug/plug power to start the Pi in such case. So, if I were to have the Pi plugged into a Kasa plug, I could create an automation in ESPHome that toggles the Kasa plug if the ESP finds that it is disconnected from the ESPHome API for a period of, say, five minutes.

It might also enable people to create similar automations for friends and family without requiring a full HA machine; like, if someone were to put some PIR and mmwave sensors in a box with an ESP so a lamp would turn on when presence is detected (lamp plugged into a Kasa).

Additional context

I think this is possible. Here is a library:

https://github.com/kj831ca/KasaSmartPlug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant