# While a window is opened then Thermostat off

**URL:** <https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251>\
**Category:** Flows\
**Created:** [November 4, 2019, 5:28pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251 "2019-11-04T17:28:50Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![seiko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/seiko/32/10963_2.png) [@seiko](https://community.homey.app/u/seiko)\
**Post date:** [November 1, 2020, 8:30pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/21 "2020-11-01T20:30:45Z")

</div>

I have not a Tado but the principle is the same , i think.

I have made several flows that just put the setpoint of the thermostat to 15 degrees if a window/ door sensor opens for longer then 5 min.

In normal situation this means that the heating stops.

If door or Window closes then heating wil start automatically depending on movements and time of day.

---

<div class="post-metadata">

**Author:** ![Capetrip](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/capetrip/32/19333_2.png) [@Capetrip](https://community.homey.app/u/Capetrip)\
**Post date:** [November 1, 2020, 9:47pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/22 "2020-11-01T21:47:51Z")

</div>

Ok Thanks. But my question was how to automatically disable the heating set when windows close if it is not heating season (e.g. May - Sept). I dont want to send the heating schedule to the thermostates when windows closes in summer time.

I am thking about a global variable “Heatig Season” = true/false and then check this variable in the flow.

Any other ideas ?

Regards,  
Uli

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [November 1, 2020, 10:02pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/23 "2020-11-01T22:02:11Z")

</div>

The flow from @seiko to stop heating is only running when the heating is working i think.  
When the heating is not working he have to stop nothing. You don’t send then something, at that moment nothing happens.  
WHEN door/window open  
AND heating is on  
THEN stop heating.

If the heating is of nothing happens.

Or what doe you mean exactly? For me it is not clear.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [November 14, 2020, 7:12pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/24 "2020-11-14T19:12:04Z")

</div>

I do not really understand why you worry about the heating season. I lower the desired temp and set it back. This desired temp is true in any season, and the heater won’t do anything of it’s too hot outside.

But if you think it is of any use, why not simply put a month range test in all the flows? There’s a “month is between” test in the date/time cards.

Better yet, I would let the flows react to the outside temperature if you don’t want the flow to trigger when it’s hot outside, and not just assume it’s hot outside the heating season.

You can use a flow card to disable some of the flows when the window closes, and enable them again when the window opens. I use this a lot for start/end type flows where the end flow should not trigger unless the start action was performed beforehand.

---

<div class="post-metadata">

**Author:** ![Leonardo\_Soliera](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leonardo_soliera/32/49003_2.png) [@Leonardo\_Soliera](https://community.homey.app/u/Leonardo_Soliera)\
**Post date:** [March 8, 2022, 6:51pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/25 "2022-03-08T18:51:18Z")

</div>

it would be interesting to be able to do what you say but how do you say ‘drops 0.3 in 5 minutes’? I have a netatmo and the flow cards only allow you to see if the temperature has changed, if it drops, or if it rises.

---

<div class="post-metadata">

**Author:** ![arvi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvi/32/30144_2.png) [@arvi](https://community.homey.app/u/arvi)\
**Post date:** [December 8, 2022, 8:01am UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/26 "2022-12-08T08:01:37Z")

</div>

I am experiencing strange behavior with Netatmo valves and window alarm. I have a simple flow which sets low temperature on the valve, when alarm is triggered (~window is open). However, this setting seems to time out after about 2 and half hours, reverting back to original program. This causes excessive heating with open window during night. Anyone experienced this? Is there a way to set this kind of time out or rather switch it off completele a let me steer it?  
 ![Screenshot 2022-12-08 085800](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e6100eb332b3674e96180226d4efe440b0e15ea3.png)  
 ![Screenshot 2022-12-08 090115](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/6/86c5115c80996eb945501b2c51c7818c54568073.png)

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [December 10, 2022, 11:01am UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/27 "2022-12-10T11:01:04Z")

</div>

@arvi  
Isn’t there a card with “the alarm is on”?  
So when after 2,5 hours the temp changes you get something like  
IF temp changens  
AND alarm is on  
THEN set temp to…

---

<div class="post-metadata">

**Author:** ![danone](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/danone/32/115743_2.png) [@danone](https://community.homey.app/u/danone)\
**Post date:** [December 10, 2022, 9:19pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/28 "2022-12-10T21:19:54Z")

</div>

Had a similar behaviour, then I’ve figured out that my Netatmo schedule would override the valve temp setting. Now when a window is open, I just use “Set mode to Away” instead of a specific temperature. When mode is to away, the Netatmo schedule does not override it.

 ![Screenshot 2022-12-11 at 8.17.03 am](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f70f97077402a311f8363fdea44b7f58d0a64d5.png)

---

<div class="post-metadata">

**Author:** ![arvi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvi/32/30144_2.png) [@arvi](https://community.homey.app/u/arvi)\
**Post date:** [December 11, 2022, 10:53am UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/29 "2022-12-11T10:53:27Z")

</div>

Unfortunately not, there are just cards with events triggered, not staying in that specific state

---

<div class="post-metadata">

**Author:** ![arvi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvi/32/30144_2.png) [@arvi](https://community.homey.app/u/arvi)\
**Post date:** [December 11, 2022, 10:53am UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/30 "2022-12-11T10:53:45Z")

</div>

Would not this set Away for the whole household?

---

<div class="post-metadata">

**Author:** ![arvi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvi/32/30144_2.png) [@arvi](https://community.homey.app/u/arvi)\
**Post date:** [December 11, 2022, 10:57am UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/31 "2022-12-11T10:57:05Z")

</div>

I think I found the solution - manual mode duration was set to 3 hours. I changed the default setting to 12 hours. Still it was behaving strange, so I disabled the auto adjust and now it seems to be working fine. However I still need to monitor, whether program changes actually cancels the manual settings. Because I want temperature to change e.g. every morning at 7, but at the same time I don’t close the windows at exact time as to have the default manual mode duration set to specific length.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [December 11, 2022, 12:27pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/32 "2022-12-11T12:27:05Z")

</div>

@arvi What brand of type door sensor are you using?

---

<div class="post-metadata">

**Author:** ![arvi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvi/32/30144_2.png) [@arvi](https://community.homey.app/u/arvi)\
**Post date:** [December 11, 2022, 12:54pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/33 "2022-12-11T12:54:02Z")

</div>

Aqara

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [December 11, 2022, 1:13pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/34 "2022-12-11T13:13:12Z")

</div>

@arvi  
From the Aqara app.

 ![SmartSelect_20221211_141219_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/f/3fa9d406f9546ee2649fba250f9cc84e0c0dd59b.jpeg)

 ![SmartSelect_20221211_141357_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/1/810fbcedf79faa08d5c40c290e61923ac1efac46.jpeg)

---

<div class="post-metadata">

**Author:** ![arvi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvi/32/30144_2.png) [@arvi](https://community.homey.app/u/arvi)\
**Post date:** [December 11, 2022, 1:25pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/35 "2022-12-11T13:25:13Z")

</div>

Strange…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/24bfb5f265fab53f5ededa12f99c95c75a3184c5.jpeg)

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [December 11, 2022, 3:34pm UTC](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251/36 "2022-12-11T15:34:27Z")

</div>

@arvi  
Do you look at the AND cards and not IF?

[Previous page](https://community.homey.app/t/while-a-window-is-opened-then-thermostat-off/20251.md?page=1)
