python-kasa
tplink-smarthome-api
python-kasa | tplink-smarthome-api | |
---|---|---|
39 | 2 | |
1,101 | 1,009 | |
3.1% | - | |
9.5 | 7.0 | |
3 days ago | 6 months ago | |
Python | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python-kasa
-
Raspberry Pi 5: available now
I bought a [Kasa Smart Plug](https://www.amazon.com/dp/B08LN3C7WK). It has an API for reporting energy usage. Luckily there was already a [library](https://github.com/python-kasa/python-kasa) for calling this API. I wrote a small console app that checks energy usage and when I detect a drop, I know that the dryer is done.
This is my second attempt at solving this problem. In the first incarnation, I attempted to do audio recognition for the sound that the dryer makes when its done, but I just couldn't get it to work well. The sound was too short to generate a good signature.
-
can someone fill me in on how to control tplink plugs (via the linux terminal)?
It looks like the easiest way is probably this python library: https://github.com/python-kasa/python-kasa
-
Wifi smart outlet that can be controlled by Windows batch file?
The TPLink Kasa stuff has a very robust Python library if you can install Python on that computer. https://github.com/python-kasa/python-kasa
- Is there a UK WiFi smart plug that can work on LAN without any app/cloud/smart assistants?
- Setting HS110 Energy Level Alerts
-
Advice for push notifications + response? probably raspberry pi etc. android phone.
I don't know kasa smart plugs but this library seems like a good starting point. Just write a little python script (on, sleep(60), off) and you're good to go. When you want to fully automate things use a simple Webserver on your Pi and open a link when clicking the notification . The Webserver runs your script. Done. Probably can be done simpler but I don't know any of the components involved.
- Looking for cheapest way to turn on a lamp when I am away from home. I have dogs that we’d like to turn the light on for when we get home late. Any recs?
-
Replacement for Kasa light switches
you can use https://github.com/python-kasa/python-kasa to set them up without the app, if you want. then they can be thrown on a wifi guest network without internet if you desire.
-
I'm so impressed with Kasa
https://github.com/python-kasa/python-kasa should allow you to set up offline
-
Very basic power meter plug
I have a different Kasa model, and the mobile app seems to need internet access and a login… got get around that, I wrote a small python program using: https://github.com/python-kasa/python-kasa
tplink-smarthome-api
-
Is There a Way to Toggle a Kasa SmartPlug By Turning on / off a PC? Alternatively - Can I Bind a Kasa On/Off to my F12 Key Using Logitech G-Hub?
This is what I use: https://github.com/plasticrake/tplink-smarthome-api
-
Homebridge TP-Link Troubleshooting
The kasa plugin uses https://github.com/plasticrake/tplink-smarthome-api to communicate with kasa devices. This api project comes with a command line interface. You should be able to use it troubleshoot.
What are some alternatives?
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
tplink-energy-monitor - An energy monitoring dashboard for TP-Link smart plugs
homebridge-tplink-smarthome - TP-Link Smarthome Plugin for Homebridge
mqtt2kasa - Python-based project that provides wrapper to python-kasa for MQTT access
BulbScript-for-Wiz-Lights - BulbScript is a simple scripting language for controlling Philips Wiz Lightbulbs using the pywizlight library.
Shortumation - [Not Maintained] A better way to write automations in home-assistant without having to install and run a seperate automation engine!
PiJuice - Resources for PiJuice HAT for Raspberry Pi - use your Pi Anywhere
OpenPlug - Simple Android Application to turn on your TP-Link smart plug devices (HS100, HS105, HS110, HS200)
Python-KasaSmartPowerStrip - Simple Python library to control the TP-Link Kasa Smart Power Strip
OctoPrint-Tplinkautoshutdown - A plugin designed to be used within OctoPrint and OctoPi to control TP-Link kasa devices.
ansible-collection-tp-link-easy-smart-switch - Manage TP-Link Easy Smart Switches with Ansible
openhabian - openHABian - empowering the smart home, for Raspberry Pi and Debian systems