Skip to content

Request device support

petretiandrea edited this page Aug 19, 2021 · 4 revisions

Request for a new device support

This wiki aim to clarify how request for a new device support of TAPO series.

First, you need to install python3.7 and pip. After that, follow these steps:

  1. install plugp100 using pip: pip install plugp100 (>= 2.1.9)
  2. create a new python file, like main.py with following content:
import asyncio
from plugp100 import TapoApiClient

async def main():
    # create generic tapo api
    sw = TapoApiClient("<ip>", "<email>", "<passwd>")
    await sw.login()
    print(await sw.get_state_as_dict())

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.run_until_complete(asyncio.sleep(0.1))
loop.close()
  1. replace ip, email and password with right values (email and password is the same used with tapo app)
  2. run with python python main.py

Post the output into a new issue ;)

Clone this wiki locally