# FLOW If temperatur outside \> temperature inside, then

**URL:** https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815
**Category:** Questions & Help
**Tags:** flow, homey-pro, logic
**Created:** [September 10, 2024, 7:40pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815 "2024-09-10T19:40:54Z")
**Posts on this page:** 7
**Page:** 2

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [September 11, 2024, 1:16pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815/21 "2024-09-11T13:16:07Z")

</div>

Does this actually trigger, Steven?

> ![1000034071](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/2/c2e69ab6e4d508d3beb546e1397c4441a1e5968b.jpeg)

Why do you use a trigger with a tag, when I tried to explain that often doesn’t work, instead you’d enter real number values:

> [@Peter\_Kawa](#):
>
> guess you look for something like this:
> 
> > ![1000034049](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/95c5c430ab2dc0d281144a60f14c2a9b4c5ae392.jpeg)
> 
> (The second tag [temperature] belongs to the indoor thermostat)
> 
> # But, that is impossible:
> 
> unfortunately, few (or no) triggercards can handle tags as comparison value.

Also, a “when temperature becomes greater than X” trigger, doesn’t need to be followed by a condition “and temperature is greater than X”  
or there’s a logic behind it I don’t get yet.

---

<div class="post-metadata">

### Author: ![Inunekko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/inunekko/32/13815_2.png) [@Inunekko](https://community.homey.app/u/Inunekko)
#### Post date: [September 11, 2024, 1:33pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815/22 "2024-09-11T13:33:49Z")

</div>

I have several ones controlling this, one example to open my window when outside is cooler then inside with a margin of 0,5 degrees. One temp sensor is outside, temp living is a average of 2 sensors inside

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/a/7a769fd778069848605e06393efa2ba73c5696dc.png)

---

<div class="post-metadata">

### Author: ![sschot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sschot/32/116924_2.png) [@sschot](https://community.homey.app/u/sschot)
#### Post date: [September 11, 2024, 2:44pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815/23 "2024-09-11T14:44:00Z")

</div>

> [@Peter\_Kawa](#):
>
> Does this actually trigger, Steven?

Yes, this is exactly doing what I want.  
The bad point is that all values are named temperatuur, so you do not see the different sensors in this case. But I use the temperatuur (outside) en de temperatuur (inside)

With the temperatuur is bigger than a value, I prevent to get messages if this is not necesarry because the inside temperatuur is high or low enough and additional ventilation is not needed or no problem.

---

<div class="post-metadata">

### Author: ![sschot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sschot/32/116924_2.png) [@sschot](https://community.homey.app/u/sschot)
#### Post date: [September 11, 2024, 2:45pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815/24 "2024-09-11T14:45:44Z")

</div>

> [@Inunekko](#):
>
> I have several ones controlling this, one example to open my window when outside is cooler then inside with a margin of 0,5 degrees. One temp sensor is outside, temp living is a average of 2 sensors inside

Thanks, this looks also as a good solution for the same issue. I think my solution is suitable and a bit less complicated. When it will not work as aspected, I will try to make it more as you have done!

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [September 11, 2024, 3:03pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815/25 "2024-09-11T15:03:59Z")

</div>

> [@sschot](#):
>
> The bad point is that all values are named temperatuur,

Add some comments to your flow. Helpful for all readers and will help you as well when you read your flow over some months 😉

---

<div class="post-metadata">

### Author: ![sschot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sschot/32/116924_2.png) [@sschot](https://community.homey.app/u/sschot)
#### Post date: [September 11, 2024, 6:17pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815/26 "2024-09-11T18:17:19Z")

</div>

That is a very smart advice, I will take care of that!

---

<div class="post-metadata">

### Author: ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)
#### Post date: [September 13, 2024, 12:40pm UTC](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815/27 "2024-09-13T12:40:04Z")

</div>

> [@sschot](#):
>
> The bad point is that all values are named temperatuur,

For your own use, just hoover with the mouse pointer over the tag, then the name of device/sensor will be shown:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c603dea146e55ed906d84dcf600d42482e1299ce.png)

[Previous page](https://community.homey.app/t/flow-if-temperatur-outside-temperature-inside-then/115815.md?page=1)
