python-kasa
Python-KasaSmartPowerStrip
Our great sponsors
python-kasa | Python-KasaSmartPowerStrip | |
---|---|---|
39 | 3 | |
1,090 | 54 | |
3.8% | - | |
9.5 | 0.0 | |
3 days ago | about 1 year ago | |
Python | Python | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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
Python-KasaSmartPowerStrip
-
Is it possible to adress things connected to a switch by the physical port their connected to?
These all seemed like great general purpose solutions that would work with any switch, but I was more thinking along the lines of a proprietary protocol/API that a switch manufacturer could implement similar to what you do with smart strips: https://github.com/p-doyle/Python-KasaSmartPowerStrip#example-code
- Will this TP-link Energy Monitoring work?
- Need a product/device that can record power/current measurements from the power strip.
What are some alternatives?
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
ansible-collection-tp-link-easy-smart-switch - Manage TP-Link Easy Smart Switches with Ansible
homebridge-tplink-smarthome - TP-Link Smarthome Plugin for Homebridge
BulbScript-for-Wiz-Lights - BulbScript is a simple scripting language for controlling Philips Wiz Lightbulbs using the pywizlight library.
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)
OctoPrint-Tplinkautoshutdown - A plugin designed to be used within OctoPrint and OctoPi to control TP-Link kasa devices.
openhabian - openHABian - empowering the smart home, for Raspberry Pi and Debian systems
tuya-convert - A collection of scripts to flash Tuya IoT devices to alternative firmwares
LIFX-Control-Panel - As LIFX no longer supports their Windows 10 app, I created an open-source alternative for controlling LIFX-brand smart lights.
go-kasa - Go library & CLI tool to control TP-Link Kasa devices