# Problem triggering flow in the morning

**URL:** <https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301>\
**Category:** Questions & Help\
**Created:** [June 27, 2023, 5:51am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301 "2023-06-27T05:51:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [June 27, 2023, 5:51am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/1 "2023-06-27T05:51:06Z")

</div>

Hello,

I have a flow that starts my AC when temperature becomes grater than 26.9degrees.  
This flow works only between 8:30 and 18:00.

My problem is that sometimes the temperature is already grater than 26.9 at 8:30 and the flow is not triggered. If I start it manually , the AC starts, the temp goes to the desired level and then, when it reaches 26.9 again, the flow starts.

Any ideas?

---

<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:** [June 27, 2023, 6:04am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/2 "2023-06-27T06:04:13Z")

</div>

**When…**  
— Temperature changed

**And…**  
— Temperature is higher than 26.9 °C  
— Time is between 8:30 and 18:00

**Then…**  
— Start AC

Instead of „Temperature changed“ you can also use a time card like „Every 5 minutes“. This card can lower the trigger rate of the flow. But how often the card „Temperature changed“ is triggered depends on the temperature device/app, the change of temperature and maybe on the settings of the temperature device/app.

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [June 27, 2023, 6:09am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/3 "2023-06-27T06:09:28Z")

</div>

The sensor is a netatmo weather station.  
I tried this and it works ok.

Thanks

---

<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:** [June 27, 2023, 6:13am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/4 "2023-06-27T06:13:45Z")

</div>

Netatmo provides temperature values every 5 - 10 minutes (or something in between). So the „Temperature changed card“ will be ok.

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [June 27, 2023, 6:21am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/5 "2023-06-27T06:21:17Z")

</div>

the problem now is that the AC is beeping every few minutes because it’s “started” by the flow…  
and there is no AND option for AC is off.

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [June 27, 2023, 6:24am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/6 "2023-06-27T06:24:26Z")

</div>

**And…**  
— Temperature is higher than 26.9 °C  
— Time is between 8:30 and 18:00  
— AC is off

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [June 27, 2023, 6:27am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/7 "2023-06-27T06:27:37Z")

</div>

![Screenshot 2023-06-27 at 09.27.11](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec04a9322e447581e9d04ebea735be64321b5a4e.png)  
There is no OFF for AND

---

<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:** [June 27, 2023, 6:34am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/8 "2023-06-27T06:34:26Z")

</div>

Use the top card and invert it

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [June 27, 2023, 6:37am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/9 "2023-06-27T06:37:35Z")

</div>

Alternative:  
Then you have the possibility to create a yes/no variable.  
Let the flow set the variable to yes or no depending on the state of the AC.  
You can then take the value of the variable as a condition.

---

<div class="post-metadata">

**Author:** ![Valentin\_Ciopei](https://avatars.discourse-cdn.com/v4/letter/v/6bbea6/32.png) [@Valentin\_Ciopei](https://community.homey.app/u/Valentin_Ciopei)\
**Post date:** [June 27, 2023, 6:39am UTC](https://community.homey.app/t/problem-triggering-flow-in-the-morning/83301/10 "2023-06-27T06:39:52Z")

</div>

I already have a yes/no variable but I didn’t know you can invert anything. I thought that if the inverted value is not available in the browser it doesn’t exist.

Thanks both!

The yes/no variable is used to turn off the AC automatically only if it’s started automatically. When the flow it’s started it creates a yes variable and when it’s stopped it sets that to no.  
I do this because I want to have the option to turn on the AC and not be turned off by the automations.
