How do I setup loop for smart actions

How do I setup loop for smart actions

How do I setup loop for smart actions
How do I setup loop for smart actions
2 weeks ago
Model: Tapo P125  
Hardware Version: V3
Firmware Version:

How do I set up a smart action on a Tapo Smart Plug to turn on for 1 hour, then turn off for 7 minutes, and repeat indefinitely?

  0      
  0      
#1
Options
4 Reply
Re:How do I setup loop for smart actions
2 weeks ago

  Hi @Makarov,

 

The Tapo automation does not allow loops to be programmed.

 

However, one way to do this  is to create an automation which triggers at any of the following times... midnight, 1:07am, 2:14am, 3:27am, etc.

 

Then include the following actions:

- turn on the smart plug

- Delay 1 hour

- turn off the smart plug

 

Not perfect as you will have some spare minutes left over as a day is not an exact multiple of 67 mins.

 

If this is good enough then feel free to let me know if you need more detailed instructions....

 

Also, I'm not sure how many triggers you can add to a single automation. If you can't add them all then you may need to add 2 cycles of the actions with a 7 minute delay in between.

  1  
  1  
#2
Options
Re:How do I setup loop for smart actions
2 weeks ago

Rbuck wrote

  Hi @Makarov,

 

The Tapo automation does not allow loops to be programmed.

 

However, one way to do this  is to create an automation which triggers at any of the following times... midnight, 1:07am, 2:14am, 3:27am, etc.

 

Then include the following actions:

- turn on the smart plug

- Delay 1 hour

- turn off the smart plug

 

Not perfect as you will have some spare minutes left over as a day is not an exact multiple of 67 mins.

 

If this is good enough then feel free to let me know if you need more detailed instructions....

 

Also, I'm not sure how many triggers you can add to a single automation. If you can't add them all then you may need to add 2 cycles of the actions with a 7 minute delay in between.

 

@Makarov  The above suggestion can be a workaround for your needs. Up to 64 actions can be added in one automation.

Tapo P110M Matter 1.3 Release Energy Monitoring through Matter ▶ Smart HomeBase Tapo H500 - Even More Powerful Smart Hub ▶ First Smart Switch Module! Tapo S112 Smart Switch Module with Roller and Switch Dual ModesTapo Camera Image Style & Image Brightness Try out a different image style for your camera!
  0  
  0  
#3
Options
Re:How do I setup loop for smart actions
Sunday

  @Rbuck Thank you very much! However, I wonder if there are other ways to make it loop automatically, for example by creating two smart actions or something similar. Otherwise, I have to set up the times to switch repeatedly over 60 times, which takes a lot of time and doesn't really feel like smart automation.Thank you very much! However, I wonder if there are other ways to make it loop automatically, for example by creating two smart actions or something similar. Otherwise, I have to set up the times to switch repeatedly over 60 times, which takes a lot of time and doesn't really feel like smart automation.

  0  
  0  
#4
Options
Re:How do I setup loop for smart actions
Monday

 Hi @Makarov,

 

I expect that creating loops has been deliberately blocked by the Tapo developers. There is a very good reason for this as if you create a loop without any delays then it would run at exceptional speed and cause performance problems on Tapo servers and devices.

 

Just as an aside, I tried to get around the "block" by creating one automation in Google home which triggers an automation in Tapo which then triggers the Google one again. A loop across 2 ecosystems to do what you have asked, but unfortunately it was also blocked. The Tapo app was smart enough to understand what I was trying to do and did not trigger the tapo automation from the Google one. Well done to them I guess...

 

In regards to the work around, you only need to create it once with the 21 triggers and 3 actions, (of course that will leave one cycle of less than 67 minutes each day). If you want a perfect ongoing cycle then that is difficult as by my quick excel calculation a 67 minute cycle only repeats every 67 days... 

  0  
  0  
#5
Options