Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 773 Bytes

File metadata and controls

38 lines (26 loc) · 773 Bytes

KASA WIFI PLUG PYTHON 3

This is a script to send or receive commands from your KASA WIFI PLUG. Just follow the instructions below to setup your script.

How to start

  1. Connect your Device to your local Network with the "KASA" App
  2. Import kasa to your project.
  3. start

Available Commands

info, on, off, energy, time

A Simple Example

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

Credits to

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/