8000 GitHub - dsoklic/tapo-p100-python: Work in progress implementation of tapo protocol in python.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dsoklic/tapo-p100-python

 
 

Repository files navigation

tapo-p100-python

Work in progress implementation of tapo protocol in python.

To do list

  • Handshake
  • Encrypt data
  • Login request
  • Decrypt data
  • Change state

How to install it (Linux)

  1. Make venv: python3 -m venv venv
  2. Activate venv: source venv/bin/activate
  3. Install wheel: pip install wheel
  4. Install requirements pip install -r req.txt

How to install it (Windows)

TODO

How to use it

usage: main.py [-h] TPLINK_EMAIL TPLINK_PASS ADDR STATE

Change plug state.

positional arguments:
  TPLINK_EMAIL  Your TPLink account email
  TPLINK_PASS   Your TPLink account password
  ADDR          Address of your plug (ex. 192.168.2.22)
  STATE         New state of the plug (on=1 off=0)

optional arguments:
  -h, --help    show this help message and exit

Example: python main.py email@gmail.com Password123 192.168.137.135 1

About

Work in progress implementation of tapo protocol in python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0