mihai-dinculescu / tapo

Unofficial Tapo API Client. Works with TP-Link Tapo smart devices. Tested with light bulbs (L510, L520, L530, L610, L630), light strips (L900, L920, L930), plugs (P100, P105, P110, P115, P300), hubs (H100), switches (S200B) and sensors (KE100, T100, T110, T300, T310, T315).
MIT License
339 stars 35 forks source link

How to actually use this? #113

Closed rdvansloten closed 11 months ago

rdvansloten commented 11 months ago

I have no idea how to use this Python code and the README and examples don't make this clear. Import tapo, but import from what? I tried renaming tapo.pyi, but this just throws errors about the classes like PlugHandler being undefined. Could you explain how this Python code should actually be used? It would be nice to have a step-by-step in the README.

Copy/pasting the Python examples and running it doesn't work.

mihai-dinculescu commented 11 months ago

The Python wrapper is WIP and it needs a bit more work before it can be used. I should have made this more obvious in the readme, sorry for confusing you.

mihai-dinculescu commented 11 months ago

@rdvansloten version v0.1.1 of the Python library has been released. The README.md has been updated with information on how to use it.

Please let me know how you find it 😄