python-kasa
go-kasa
python-kasa | go-kasa | |
---|---|---|
39 | 2 | |
1,101 | 28 | |
3.1% | - | |
9.5 | 6.1 | |
3 days ago | 15 days ago | |
Python | Go | |
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" 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
go-kasa
-
Kasa HS220 innards - Realtek
mine in go is here https://github.com/cloudkucooland/go-kasa
- API reference for TPLink? Partner Program? Anything?
What are some alternatives?
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
homebridge-tplink-smarthome - TP-Link Smarthome Plugin for Homebridge
clash - A rule-based tunnel in Go.
BulbScript-for-Wiz-Lights - BulbScript is a simple scripting language for controlling Philips Wiz Lightbulbs using the pywizlight library.
go-formatter - A curated list of awesome Go frameworks, libraries and software
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