fishbigger / TapoP100

A module for controlling the TP-Link Tapo P100 Plugs
MIT License
567 stars 139 forks source link

Schedule turn ON and OFF #43

Closed krasnyd closed 2 years ago

krasnyd commented 2 years ago

In this repository I found out, that Tapo plugs can be scheduled to turn ON and OFF after a certain time. I implemented it in this library.

These functions sends a request to Tapo's API with the provided delay (number of seconds). After that, you can exit your script and the plug will turn ON/OFF by itself, which I find very usefull.

This functionality was also requested in #31

fishbigger commented 2 years ago

Thanks for this! Closes #31