python-kasa
ansible-collection-tp-link-easy-smart-switch
python-kasa | ansible-collection-tp-link-easy-smart-switch | |
---|---|---|
39 | 1 | |
1,101 | 24 | |
3.1% | - | |
9.5 | 0.0 | |
3 days ago | almost 2 years ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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
ansible-collection-tp-link-easy-smart-switch
-
Has anybody hacked the TPLink TL-SG108E?
https://github.com/rgl/ansible-collection-tp-link-easy-smart-switch <- this one contains a proof-of-concept reimplementation of the control software in an ansible playbook. There is a lot of information here on how the control protocol works and things like the Realtek Remote Control Protocol that will be helpful in implementing /u/SleeplessInS's suggestion.
What are some alternatives?
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
tl-sg108e
homebridge-tplink-smarthome - TP-Link Smarthome Plugin for Homebridge
ciscoconfparse - Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations.
BulbScript-for-Wiz-Lights - BulbScript is a simple scripting language for controlling Philips Wiz Lightbulbs using the pywizlight library.
Python-KasaSmartPowerStrip - Simple Python library to control the TP-Link Kasa Smart Power Strip
PiJuice - Resources for PiJuice HAT for Raspberry Pi - use your Pi Anywhere
aos-switch-ansible-collection - Ansible collection for AOS-Switch switches
OpenPlug - Simple Android Application to turn on your TP-Link smart plug devices (HS100, HS105, HS110, HS200)
essstat - TP-Link Easy Smart Switch port statistics
ha-wyzeapi - Home Assistant Integration for Wyze devices.