Controller for TP-Link Tapo P100 and other devices
Project description
Plug P100
This is a fork of original work of @K4CZP3R
The purpose of this fork is to provide the library as PyPi package.
How to install
pip install plugp100
Code example
from plugp100 import TapoSwitch, TapoLight
# create plug
sw = TapoSwitch("<ip>", "<email>", "<passwd>")
sw.login()
sw.off()
print(sw.get_state())
# create light
light = TapoLight("<ip>", "<email>", "<passwd>")
light.login()
light.on()
light.set_brightness(100)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plugp100-2.1.tar.gz
(7.2 kB
view hashes)
Built Distribution
plugp100-2.1-py3-none-any.whl
(23.9 kB
view hashes)