This is a script to send or receive commands from your KASA WIFI PLUG. Just follow the instructions below to setup your script.
- Connect your Device to your local Network with the "KASA" App
- Import kasa to your project.
- start
info, on, off, energy, time
from kasa import Plug
plug1 = Plug(ip="192.168.1.240")
plug1.command(info)
plug1.command(on)
time.sleep(5)
plug1.command(off)
HAVE FUN
https://www.beardmonkey.eu/tplink/hs110/2017/11/21/collect-and-store-realtime-data-from-the-tp-link-hs110.html https://www.softscheck.com/en/reverse-engineering-tp-link-hs110/