Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Countdown feature #20

Open
kpp39 opened this issue Apr 17, 2021 · 3 comments
Open

Countdown feature #20

kpp39 opened this issue Apr 17, 2021 · 3 comments

Comments

@kpp39
Copy link

kpp39 commented Apr 17, 2021

In Tapo App there is a feature that you can set up a timer like "turn off after 5 minutes".
Is it possible to add such function in this integration ?

@richard-scott
Copy link
Contributor

You could do that with a Home Assistant automation.

@fishbigger
Copy link
Owner

As @richard-scott said the easiest way to do this would be in an integration as I believe the countdown feature is handled away from the plug :)

@kpp39
Copy link
Author

kpp39 commented Apr 17, 2021

Sorry, my English is bad(
I think, there are two possible ways how it made in Tapo App:

  1. cloud implementation - after expiration of timer app/cloud sends "off" command to plug
  2. plug implementation - app/cloud sends something like "set timer..." to plug and this timer handled in plug

If there are no way to send something like "set timer..." to plug - ok, there are only HA automation only.

If there exist something like "set timer..." - i'll prefer this instead of straight "plug on" in some situations.
For example - let there be some sensor(temp, humidity, etc.) and some to power on (heater, humidifier) and something gone wrong

  1. sensor triggered "plug on"
  2. sensor shuts down(battery fail - it's possible to overcome this via automation) or HA hangs up(watchdog ?)
  3. plug continue to be in "on" state and there become overheat or anything else.
    If there instead of "plug on" possible to use something like "plug on for an hour" - this will be way more fail safe. Plug will turn off by itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants