# How to trigger flow when temperature is above a certain value (not just when it becomes higher)?

**URL:** <https://community.homey.app/t/how-to-trigger-flow-when-temperature-is-above-a-certain-value-not-just-when-it-becomes-higher/136571>\
**Category:** Questions & Help\
**Created:** [May 16, 2025, 5:33am UTC](https://community.homey.app/t/how-to-trigger-flow-when-temperature-is-above-a-certain-value-not-just-when-it-becomes-higher/136571 "2025-05-16T05:33:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WimWeetjens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wimweetjens/32/79635_2.png) [@WimWeetjens](https://community.homey.app/u/WimWeetjens)\
**Post date:** [May 16, 2025, 5:33am UTC](https://community.homey.app/t/how-to-trigger-flow-when-temperature-is-above-a-certain-value-not-just-when-it-becomes-higher/136571/1 "2025-05-16T05:33:23Z")

</div>

Hi everyone,

I’m using a Homey Pro in combination with my Vaillant heating system (VR921 with Zones). I’m trying to control my air conditioning based on the indoor temperature measured by the heating system.

Here’s what I want to achieve:

- When the temperature **is above 23°C** , the airco should turn on.
- When the temperature **drops below 23°C** , the airco should turn off.

I’ve set this up using a flow that triggers when the temperature _becomes_ higher than 23°C. It works most of the time, but sometimes the trigger seems to be missed.

For example: if the temperature rises from 22.9°C to 23.1°C and the flow doesn’t trigger at that moment, it will _stay_ above 23°C without ever _becoming_ higher again—so the flow never runs, and the airco stays off.

As far as I can tell, there’s no built-in way to trigger a flow when the temperature _is_ (or stays) above or below a value—only when it _becomes_ higher/lower.

Is there a workaround for this? Maybe using logic variables, a scheduled flow, or a script? Any tips or solutions would be greatly appreciated!

Thanks in advance 🙏

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [May 16, 2025, 5:48am UTC](https://community.homey.app/t/how-to-trigger-flow-when-temperature-is-above-a-certain-value-not-just-when-it-becomes-higher/136571/2 "2025-05-16T05:48:11Z")

</div>

> [@WimWeetjens](#):
>
> For example: if the temperature rises from 22.9°C to 23.1°C and the flow doesn’t trigger at that moment, it will _stay_ above 23°C without ever _becoming_ higher again—so the flow never runs, and the airco stays off.

You are fully right!

Change the flow to:

WHEN the temperature has changed  
AND The temperature is higher than 23 (you need to use a logic card for this.

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

This flow will run even if the temp is already \>23

---

<div class="post-metadata">

**Author:** ![WimWeetjens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wimweetjens/32/79635_2.png) [@WimWeetjens](https://community.homey.app/u/WimWeetjens)\
**Post date:** [May 16, 2025, 6:04am UTC](https://community.homey.app/t/how-to-trigger-flow-when-temperature-is-above-a-certain-value-not-just-when-it-becomes-higher/136571/3 "2025-05-16T06:04:27Z")

</div>

Hi, thanks so much for you quick response 😃👍  
Works perfect, thanks so much!
