# Flow to check if one window is open

**URL:** <https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334>\
**Category:** Questions & Help\
**Created:** [February 18, 2019, 8:01am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334 "2019-02-18T08:01:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baschtl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baschtl/32/9565_2.png) [@Baschtl](https://community.homey.app/u/Baschtl)\
**Post date:** [February 18, 2019, 8:01am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/1 "2019-02-18T08:01:26Z")

</div>

Hello,

I want to create a flow to check if a windows is open. What is the easiest way to do it. I want to get a notification if the windows is open if I trigger the flow.

Can someone help me. I dont want to write one flow for every window.

---

<div class="post-metadata">

**Author:** ![Marlon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marlon/32/3794_2.png) [@Marlon](https://community.homey.app/u/Marlon)\
**Post date:** [February 18, 2019, 8:32am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/2 "2019-02-18T08:32:40Z")

</div>

Add a new Device card and select  
**An alarm turned on** or **An alaram turned off**  
Set type is **Contact Alarm**

Then you can use the **Name** and **Zone** tags in the And or Then section of you flow.

---

<div class="post-metadata">

**Author:** ![Baschtl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baschtl/32/9565_2.png) [@Baschtl](https://community.homey.app/u/Baschtl)\
**Post date:** [February 18, 2019, 8:35am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/3 "2019-02-18T08:35:34Z")

</div>

Ok, check. But then I get the notification if the window is opened. But I want it on any time.

---

<div class="post-metadata">

**Author:** ![Marlon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marlon/32/3794_2.png) [@Marlon](https://community.homey.app/u/Marlon)\
**Post date:** [February 18, 2019, 8:47am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/4 "2019-02-18T08:47:04Z")

</div>

To check if any contact alarms are open You could still use the device card with **All alarms are turned off** and select Contact alarm. The only problem is you cannot differentiate between doors and/or windows.

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [February 18, 2019, 8:48am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/5 "2019-02-18T08:48:20Z")

</div>

Or with Heimdall, get a trigger for every window which is open :

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/0/0b00f95a3b398575a2f497b20cb18f13aa1545cf.png)  
When this flow is started “check status of all sensors”  
“Sensor active at checking status” then … with a tag of the device-type…

---

<div class="post-metadata">

**Author:** ![Baschtl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baschtl/32/9565_2.png) [@Baschtl](https://community.homey.app/u/Baschtl)\
**Post date:** [February 18, 2019, 8:54am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/6 "2019-02-18T08:54:00Z")

</div>

Thanks for your hint, but I can not read it ☹

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [February 18, 2019, 8:59am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/7 "2019-02-18T08:59:06Z")

</div>

added translation…

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [February 18, 2019, 9:35am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/8 "2019-02-18T09:35:16Z")

</div>

See the _ **Heimdall** _ topic: [Heimdall - Let Homey watch over your home](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/388) for an example of this functionality in English.

---

<div class="post-metadata">

**Author:** ![Baschtl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baschtl/32/9565_2.png) [@Baschtl](https://community.homey.app/u/Baschtl)\
**Post date:** [February 18, 2019, 10:28am UTC](https://community.homey.app/t/flow-to-check-if-one-window-is-open/9334/9 "2019-02-18T10:28:07Z")

</div>

Thx. Didn’t see this new feature. I think it will help
