Python library for communication with Tapo Cameras
python3 -m pip install pytapo
Set the following environment variables:
PYTAPO_USER
- user you set in Advanced Settings -> Camera Account
PYTAPO_PASSWORD
- password you set in Advanced Settings -> Camera Account
PYTAPO_IP
- ip of the camera, example: 192.168.1.52
Then run tox
to run all the tests.
from pytapo import Tapo
user = "" # user you set in Advanced Settings -> Camera Account
password = "" # password you set in Advanced Settings -> Camera Account
host = "" # ip of the camera, example: 192.168.1.52
tapo = Tapo(host, user, password)
print(tapo.getBasicInfo())
- Dale Pavey from NCC Group for the initial research on the Tapo C200
- likaci and his github repository for the research on the Mercury camera on which tapo is based
- Tim Zhang for additional research for Mercury camera on his github repository
- Gábor Szabados for doing research and gathering all the information above in Home Assistant Community forum
Pytapo is an unofficial module for achieving interoperability with Tapo cameras.
Author is in no way affiliated with Tp-Link or Tapo.
All the api requests used within the library are available and published on the internet (examples linked above) and this module is purely just a wrapper around those https requests.
Author does not guarantee functionality of this library and is not responsible for any damage.
All product names, trademarks and registered trademarks in this repository, are property of their respective owners.