esphome / esphome/feature-requests

TP-Link Kasa controller component

Open
#2,983 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.