1
Votes

Compare temperature automation

 
1
Votes

Compare temperature automation

Compare temperature automation
Compare temperature automation
2024-08-31 13:44:52 - last edited 2024-09-05 08:45:46
Model: Tapo T310  
Hardware Version: V1
Firmware Version: V1.5.0

I'd like to compare 2 temperature sensors T310 to get an alert. I don't know how to configure this.

Pseudo code:

If sensor1.temperature < sensor2.temperature then

SendAlert()

end

It seems quite basic to me. I don't understand how I can do it (or how it is not yet possible). 

If someone can help me, I offer a drink in Brussels. 

Thanks a lot 

#ICT #CEO #Freelance #TeamLead #Developer #Automation #Geek #Mercedes #Vespa #ItaliaAddict www.dogot.net
#1
Options
1 Accepted Solution
Re:Compare temperature automation-Solution
2024-09-03 15:18:37 - last edited 2024-09-05 08:45:46

 Thanks for your answer, @Wayne-TP.

Very easy: I'd like to compare 2 temperature sensors T310 values to get an alert. 

In practice, the goal is to have a notification 'Open the window' when the oustide temperature is lower than the inside temperature.

Pseudo code:

If sensor1.temperature < sensor2.temperature then

       SendAlert()

end

At the moment, I have found a workaround, I created many automations, but it's boring:
 

If sensor1.temperature < 22 and sensor2.temperature > 22 then

       SendAlert()

end
 

If sensor1.temperature < 23 and sensor2.temperature > 23 then

       SendAlert()

end

 

If sensor1.temperature < 24 and sensor2.temperature > 24 then

       SendAlert()

end



PS: the Tapo products are incredible!  Thanks a lot.

#ICT #CEO #Freelance #TeamLead #Developer #Automation #Geek #Mercedes #Vespa #ItaliaAddict www.dogot.net
Recommended Solution
#3
Options
4 Reply
Re:Campare temperature automation
2024-09-02 09:53:09 - last edited 2024-09-02 10:01:58

  @CyberGate 

 

So far, by combining the Trigger and the Condition in automation, you can refine the scene that needs to be triggered by the Tapo temperature & humidity sensor. How to create Smart Action (Automation or Shortcut) on Tapo app

 

Comparing the value between two sensors is not a supported feature at the moment. Can you share what scenarios you want to use this feature for?

 

 

Landscape Mode - Tapo App for PadShare Your Pet Story. Win Free Tapo Care!Smart Action 2.0 Explore and meet the next level home automation.
#2
Options
Re:Compare temperature automation-Solution
2024-09-03 15:18:37 - last edited 2024-09-05 08:45:46

 Thanks for your answer, @Wayne-TP.

Very easy: I'd like to compare 2 temperature sensors T310 values to get an alert. 

In practice, the goal is to have a notification 'Open the window' when the oustide temperature is lower than the inside temperature.

Pseudo code:

If sensor1.temperature < sensor2.temperature then

       SendAlert()

end

At the moment, I have found a workaround, I created many automations, but it's boring:
 

If sensor1.temperature < 22 and sensor2.temperature > 22 then

       SendAlert()

end
 

If sensor1.temperature < 23 and sensor2.temperature > 23 then

       SendAlert()

end

 

If sensor1.temperature < 24 and sensor2.temperature > 24 then

       SendAlert()

end



PS: the Tapo products are incredible!  Thanks a lot.

#ICT #CEO #Freelance #TeamLead #Developer #Automation #Geek #Mercedes #Vespa #ItaliaAddict www.dogot.net
Recommended Solution
#3
Options
Re:Compare temperature automation
2024-09-04 03:09:35

  @CyberGate 

 

Thank you for your sharing!

Landscape Mode - Tapo App for PadShare Your Pet Story. Win Free Tapo Care!Smart Action 2.0 Explore and meet the next level home automation.
#4
Options
Re:Compare temperature automation
2024-09-05 08:45:19

  Dear @Wayne-TP,

 

You're welcome. 

I hope you will add this important feature in the next releases.  Thanks.

#ICT #CEO #Freelance #TeamLead #Developer #Automation #Geek #Mercedes #Vespa #ItaliaAddict www.dogot.net
#5
Options