# At all time show open door/window sensors

**URL:** <https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225>\
**Category:** Flows\
**Created:** [February 29, 2024, 8:41pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225 "2024-02-29T20:41:59Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr.Crimper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dr.crimper/32/102300_2.png) [@Dr.Crimper](https://community.homey.app/u/Dr.Crimper)\
**Post date:** [February 29, 2024, 8:41pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/1 "2024-02-29T20:41:59Z")

</div>

I would like to easily be able to see how many door/windows sensors are open. Like SMT have:

 ![IMG_2364](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/4/84918d8c9c1cb3297a993e4b549721af7082555b.jpeg)

Is it possible with a flow or would this only be able with an app that would show this on the front page on the homey app. A flow would need to be triggered, and I would rather have it be a information that’s always shown.

---

<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:** [March 1, 2024, 2:14am UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/2 "2024-03-01T02:14:11Z")

</div>

1. 

_With_ displaying the nr. of open contacts:  
This can be achieved with an [Advanced Virtual Device](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198) of the magnificent Device Capabilities app.  
You can create a “master” contact which shows if any door/window is open or none.  
There must be a way to have the status indicator display _the number_ of open contacts, but probably there’s a flow needed for that, not sure.

1. 

_Without_ displaying the nr. of open contacts:  
You can create a \< group \> app group contact sensor. Add all of your contact sensors to that group, and set it’s behaviour to “ON when ANY on” & “OFF when ALL off”  
This way you have a “master” contact sensor, which shows the status of your door & windows:  
-all closed: no alarm  
-any open: alarm  
Put the “group” contact sensor on top of your favorite devices and done.

No flows needed

---

<div class="post-metadata">

**Author:** ![Dr.Crimper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dr.crimper/32/102300_2.png) [@Dr.Crimper](https://community.homey.app/u/Dr.Crimper)\
**Post date:** [March 1, 2024, 10:26am UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/3 "2024-03-01T10:26:09Z")

</div>

This is great thanks 🙏 Peter, just what I was looking for.

BTW do you know if homey can send text messages and if there is a way to make an iPhone peep extra loud when alarm or smoke detector goes off. Android phone can do this via an app?

Thanks

---

<div class="post-metadata">

**Author:** ![Dr.Crimper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dr.crimper/32/102300_2.png) [@Dr.Crimper](https://community.homey.app/u/Dr.Crimper)\
**Post date:** [March 1, 2024, 9:05pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/4 "2024-03-01T21:05:47Z")

</div>

The group app worked great but would like to try the virtual device idea.

I installed the app and added a virtual device but cannot figure out how to make the “master” contact.

I’m not sure how to edit the virtual device?  
Came this far:

 ![IMG_2407](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/224f231c4e23e4bba1df2070563b656f12dba79c.png)

---

<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:** [March 2, 2024, 1:58am UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/5 "2024-03-02T01:58:14Z")

</div>

> [@Dr.Crimper](#):
>
> if homey can send text messages

Yes, the onboard push notifications and -confirmations  
But there’s several apps like  
[CallMeBot - Whatsapp+Signal+Telegram+Messenger](https://community.homey.app/t/48374), or [Join](https://homey.app/en-us/app/se.tregota.join/Join/)

Text app search:  
[https://homey.app/en-us/apps/browse/#filter?query=Text&platform=local](https://homey.app/en-us/apps/browse/#filter?query=Text&platform=local)

Message app search:  
[https://homey.app/en-us/apps/browse/#filter?query=Message&platform=local](https://homey.app/en-us/apps/browse/#filter?query=Message&platform=local)

---

<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:** [March 2, 2024, 4:16am UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/6 "2024-03-02T04:16:58Z")

</div>

> [@Dr.Crimper](#):
>
> I’m not sure how to edit the virtual device?  
> Came this far:

#### Edit: March 03, 01:20h - adjusted device and flow, b/c of new info

I made an example AVD and flow for you, which can be imported as well if you like.

> [@Share Your Device! - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/88):
>
> # Master’ Doors/Windows status indicator
> 
> This device + accompanying flow shows the status of 3 door/window sensors.  
> It’s **off** and shows `0 #Open` when all are **closed**  
> It’s _ **on** _ and shows `1 #Open` when _ **1 is opened** _  
> It’s _ **on** _ and shows `2 #Open` when _ **2 are opened** _ and so forth
> 
> Device tile:
> 
> ![signal-2024-03-02-042457_002](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/0/7041c0398d0e12cff55821a723a1a9182faa58d2.jpeg)  
> ![signal-2024-03-02-042457_003](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/05f4d25bde626b2789fff8d6b40e84cbc5eda373.jpeg)
> 
> Flow:
> 
> ![Screenshot from 2024-03-02 23-11-28](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/56aa85a9faaeda6c7416af26e7b4fe0e39972e33.png)
> 
> Apps used:[Simple (Sys) Log](https://homey.app/a/nl.nielsdeklerk.log/) (optional)
> 
> #### TEF - The Exchanger File, to import all on your Homey:
> 
> ```auto
> [tef:AVD:"H4sIAAAAAAACA51VXY+iSBT9Kxt3HnZDGwFBoJN5AGz8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+c0l8gPceAYoOklQ7yKwvNS3yHHRwQjGj/5SBq0H++t758CUERTvClYUzhvkEfuyLfUEZXk7ucqGAoy+3m1pgsYr8tQ8C3WSQ2LncFrHRhk5vlaYZzeuUABOTx1VwKEG39ePhUgesJwk0ikCUFIxa1ZSRLbSFghbYiA7/tSz3FF3k+8AXu/0jIyrsqfB/ALmyLXb/XFrDktyFUYBsijLECoeDz4LcS3+4WujgDeeOxDjIAIxLR6GpkAEjxzmc3TCu1+MDzoRFNho8e/bd23OF+VABI8DZNsIpodIqui/q1la+dXoDdxx6DF+Jr9DlNyOU5x5+K64CgkgAavfyPQHK5prxs2dsOsxIrCO7RD5vrVvUbHGJ0wP5/w7837C3n5leU+BECNM2vC78rv/lx534dmNs6/7QynPyV5H+3fiK/Vb3l3FR/TtgbsEwiWtx47+E+RlEMyPuR5WZR8v710/lrTq7XFr8tt9/MbNHxmlrTqni+HmqNBmim8duPfwEIz+1vJQgAAA==":/tef]
> 
> ```

.

### Device settings:

 ![signal-2024-03-03-011901_002](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/7/67aab015f3a8ce0c1900446d3711b5f45f0fb4cd.jpeg)  
 ![1000044298](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dc6f8afa00a494a52395fd8626beef24c0d3b8c8.jpeg)

### Status indicator:

 ![signal-2024-03-02-042929_002](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/9/c919a0f3c9c4ac4916e226335a63993efff6f564.jpeg)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 2, 2024, 6:52am UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/7 "2024-03-02T06:52:54Z")

</div>

My advise would be to NOT use the special AVD Status Indicator Field. Its legacy.

You can now use any textfield as status indicator, and they use way less resources, because its just a capability value change, while the legacy status indicator field (mis)uses the Unit property, which takes way more resources to update.

Just fyi.

---

<div class="post-metadata">

**Author:** ![Dr.Crimper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dr.crimper/32/102300_2.png) [@Dr.Crimper](https://community.homey.app/u/Dr.Crimper)\
**Post date:** [March 2, 2024, 2:53pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/8 "2024-03-02T14:53:59Z")

</div>

Thank you Peter, I will try it, hope to learn something so I can make my oven AVD in the future

---

<div class="post-metadata">

**Author:** ![Dr.Crimper](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dr.crimper/32/102300_2.png) [@Dr.Crimper](https://community.homey.app/u/Dr.Crimper)\
**Post date:** [March 2, 2024, 2:54pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/9 "2024-03-02T14:54:29Z")

</div>

Thanks I’ll try to use the text field instead

---

<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:** [March 2, 2024, 6:15pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/10 "2024-03-02T18:15:37Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> to NOT use the special AVD Status Indicator Field. Its legacy

Thanks Arie, I’ll update the shared AVD post.  
Is it possible for you to mention this info somewhere on the Status Indicator form in a next app update?  
I appearantly didn’t know about this (or forgot) 🤪

 ![Screenshot_20240302-191404_QuickPic](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/011a7c9a16087be41a617d821052e293e16dd502.jpeg)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 2, 2024, 7:03pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/11 "2024-03-02T19:03:43Z")

</div>

> [@Peter\_Kawa](#):
>
> Is it possible for you to mention this info somewhere on the Status Indicator form in a next app update?

Yeah, its already in the testversion 😉

---

<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:** [March 2, 2024, 7:26pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/12 "2024-03-02T19:26:19Z")

</div>

Damn, I’m getting slow 🤪😅

Edit: @Arie_J_Godschalk I see the test release was published a few months ago.  
No, I’m not thát slow hehe, as I just recalled, I’ve [tried the v2.15.4 test version](https://community.homey.app/t/43287/1645) back then, but it unfortunately crashes on my Pro 2019.

---

<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:** [March 3, 2024, 12:26am UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/13 "2024-03-03T00:26:25Z")

</div>

Hello,

Because of Arie’s info, I [edited my previous post](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/6) and adjusted the device settings, and also got some ideas to make the flow a lot smaller and simpler (to me anyway) 😉

---

<div class="post-metadata">

**Author:** ![KaiF](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaif/32/17746_2.png) [@KaiF](https://community.homey.app/u/KaiF)\
**Post date:** [February 21, 2025, 4:38pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/14 "2025-02-21T16:38:42Z")

</div>

Great stuff. How did you realize the effect that the tile is “greyed out” if no window/door is open?  
Your flow shows some OnOff but I fail to see the corresponding config in the device settings.  
could you please share ?

---

<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:** [February 21, 2025, 6:30pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/15 "2025-02-21T18:30:22Z")

</div>

Thanks!  
It’s here:

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

---

<div class="post-metadata">

**Author:** ![KaiF](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaif/32/17746_2.png) [@KaiF](https://community.homey.app/u/KaiF)\
**Post date:** [February 21, 2025, 7:41pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/16 "2025-02-21T19:41:20Z")

</div>

I have seen that already but I am wondering if OnOff is a capability or where this(variable) is defined. I fail to understand which flow card to use. Maybe it is obvious but honestly I am kind of lost …

---

<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:** [February 21, 2025, 8:38pm UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/17 "2025-02-21T20:38:02Z")

</div>

Ah I see!  
It’s defined in the AVD itself, but it isn’t shown as I now discovered. My bad.  
This is the AVD setting you need:

 ![1000044298](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/c/dc6f8afa00a494a52395fd8626beef24c0d3b8c8.jpeg)

I"ve updated the post with the AVD settings

---

<div class="post-metadata">

**Author:** ![KaiF](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaif/32/17746_2.png) [@KaiF](https://community.homey.app/u/KaiF)\
**Post date:** [February 22, 2025, 10:34am UTC](https://community.homey.app/t/at-all-time-show-open-door-window-sensors/105225/18 "2025-02-22T10:34:09Z")

</div>

Thanks @Peter_Kawa that explained and did the job!
