Skip to main content

A module for controlling the TP-Link Tapo P100 Plugs

Project description

Tapo P100

Tapo P100 is a Python library for controlling the Tp-link Tapo P100 plugs.

Installation

Use the package manager pip to install PyP100.

pip3 install PyP100

Usage

from PyP100 import PyP100

p100 = PyP100.P100("192.168.X.X", "email@gmail.com", "Password123") #Creating a P100 plug object

p100.handshake() #Creates the cookies required for further methods 
p100.login() #Sends credentials to the plug and creates AES Key and IV for further methods

p100.turnOn() #Sends the turn on request
p100.turnOff() #Sends the turn off request
p100.getDeviceInfo() #Returns dict with all the device info

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Contributers

K4CZP3R

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyP100-0.0.8.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

PyP100-0.0.8-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page