Tapo Automation "And function" for multiple triggers

Tapo Automation "And function" for multiple triggers

Tapo Automation "And function" for multiple triggers
Tapo Automation "And function" for multiple triggers
3 weeks ago - last edited 3 weeks ago
Model: Tapo C325WB  
Hardware Version: V2
Firmware Version: 1.1.5

Hi Tapo Community,

 

Just want to ask is there a "and" function for triggers in automation. I want to set up two triggers like person detection and line detection that functions as "and" in which when the two detection is triggered (not any of the two) it will activate certain commands in automation. If not available, can tapo team add these feature in future software upgrades.

 

Thank you and best regards,

eLzr100

  0      
  0      
#1
Options
4 Reply
Re:Tapo Automation "And function" for multiple triggers
3 weeks ago

  @eLzr100 

Hi,
Currently, your usage scenario can not be achieved via the Automation feature. We suggest voting and leaving your comments on the thread "Add capability so that ALL triggers are required to activate the automation" for evaluation.
Best Regards

  0  
  0  
#2
Options
Re:Tapo Automation "And function" for multiple triggers
3 weeks ago

Hi  @eLzr100 

 

I have a work around that you can leverage for your scenario. Basically I have created a way for maintaining an indicator to keep track of a trigger, I.e a variable in coding terms, which can then be referenced by other automations.

 

It will require some additional automations to be created (for each trigger in your "When" statement) so only try this if you have 2 or 3 triggers otherwise it can get a bit complex for more than that. Read this article as some background on creating the variables:

https://community.tp-link.com/en/smart-home/threads/topic/748844?page=1

 

If you want to give it a go then create a "two value variable" for each trigger and set it on when the trigger is triggered. Then in your automation when one of the triggers is triggered use the "if" statement to check if all the other triggers are set to determine if it should execute the actions.

 

Note this is a work around and a bit of work to code but will work. Let me know if you would like more info or assistance

  0  
  0  
#3
Options
Re:Tapo Automation "And function" for multiple triggers
2 weeks ago

  @Rbuck i tried this and somehow make it work but im not sure if this is error free. I also add a delay action to turn off again the automation to restore to its state. I will also try if this would still work even when wifi becomes unavailbale. But i hope tapo will add "and" logic for multiple triggers.

 

Thank you

  0  
  0  
#4
Options
Re:Tapo Automation "And function" for multiple triggers
2 weeks ago

Hi  @eLzr100,

 

It will work but agree it is a little complex to set up. It will most likely be many months before tapo release the feature request... maybe longer. If you want me to assist then post some screen prints of your automations and I am happy to review and provide advice. 

  0  
  0  
#5
Options