# Smart solution to flows for presence & door sensors?

**URL:** <https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426>\
**Category:** Flows\
**Created:** [March 11, 2019, 1:27pm UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426 "2019-03-11T13:27:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacco\_Overdulve](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacco_overdulve/32/3861_2.png) [@Jacco\_Overdulve](https://community.homey.app/u/Jacco_Overdulve)\
**Post date:** [March 11, 2019, 1:27pm UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/1 "2019-03-11T13:27:57Z")

</div>

Hi all,

I finally have time to get things done with Homey. All lights work with motion sensors, timing and other actions, but I am in doubt about the way flows should be set up using Smart Presence and the door sensors. That is, should I set up a flow for each door sensor and leave of both users (me and my wive, unless there’s a guest at home looking after our kids) or should I set a flow for each user leave and all door sensors together?

FYI: I would like Homey to check all doors and windows being closed before we leave the house for whatever reasons. If one is open, it should send us a message that door or window x is still open.

Any suggestions or examples is much appreciated.

---

<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:** [March 11, 2019, 4:43pm UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/3 "2019-03-11T16:43:04Z")

</div>

> [@Jacco\_Overdulve](#):
>
> FYI: I would like Homey to check all doors and windows being closed before we leave the house for whatever reasons. If one is open, it should send us a message that door or window x is still open.

As @RoyWissenburg says, you can do that with _ **Heimdall** _.  
More specific, the **[Pre Arming check](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134#heading--prearming)** that can trigger the **Sensor active at arming** flow card with a tag that has information which sensor is active or at a glance using the **[Device Status](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/421)** page.

---

<div class="post-metadata">

**Author:** ![Jacco\_Overdulve](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacco_overdulve/32/3861_2.png) [@Jacco\_Overdulve](https://community.homey.app/u/Jacco_Overdulve)\
**Post date:** [March 11, 2019, 4:43pm UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/4 "2019-03-11T16:43:28Z")

</div>

Well, basically on the moment that the last person leaves the house. You know, when kids tend to jeopardize your morning routine and you need to rush to be in time everywhere. At that point I wish Homey to say: you forgot to close the window in the master bedroom.

I’ve been looking at Heimdall. I think I will use that too, but that’s more like someone has opened the door while no-one is at home (burglary). Or is that too narrow minded??

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [March 12, 2019, 7:54am UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/6 "2019-03-12T07:54:07Z")

</div>

I have a group called Perimeter of all the door/window sensors.

[WHEN] - Jamie Leaves the house  
[AND] - Perimeter contact alarm  
[THEN] Notify Jamie - You have left something unlocked.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/fbf1e08706120239fce0f0ef5e1210205dc3b7ab.png)

---

<div class="post-metadata">

**Author:** ![Jacco\_Overdulve](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacco_overdulve/32/3861_2.png) [@Jacco\_Overdulve](https://community.homey.app/u/Jacco_Overdulve)\
**Post date:** [March 12, 2019, 8:56am UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/7 "2019-03-12T08:56:07Z")

</div>

@RoyWissenburg Thanks! Working on this!

---

<div class="post-metadata">

**Author:** ![Jacco\_Overdulve](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacco_overdulve/32/3861_2.png) [@Jacco\_Overdulve](https://community.homey.app/u/Jacco_Overdulve)\
**Post date:** [March 12, 2019, 8:57am UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/8 "2019-03-12T08:57:36Z")

</div>

@Jamie Perimeter? I assume that’s the name you gave to a group of devices? I didn’t know you can group these?

---

<div class="post-metadata">

**Author:** ![Twan\_Veugelers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/twan_veugelers/32/129333_2.png) [@Twan\_Veugelers](https://community.homey.app/u/Twan_Veugelers)\
**Post date:** [March 12, 2019, 10:30am UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/9 "2019-03-12T10:30:37Z")

</div>

@Jacco_Overdulve I assume, the group is created with this app:  
[https://apps.athom.com/app/com.swttt.devicegroups](https://apps.athom.com/app/com.swttt.devicegroups)

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [March 12, 2019, 11:26am UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/10 "2019-03-12T11:26:10Z")

</div>

Thats correct @Twan_Veugelers - @Jacco_Overdulve you can group anything these days.

---

<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:** [March 12, 2019, 11:35am UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/11 "2019-03-12T11:35:16Z")

</div>

Does \< groups \> also group the energy-usage of the devices in it?

---

<div class="post-metadata">

**Author:** ![Jamie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jamie/32/5274_2.png) [@Jamie](https://community.homey.app/u/Jamie)\
**Post date:** [March 12, 2019, 11:37am UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/12 "2019-03-12T11:37:34Z")

</div>

Yes, by default it will show the ‘sum’ of the meter\_power or measure\_power. But You can change it to be the highest/lowest/average/etc.

---

<div class="post-metadata">

**Author:** ![Jacco\_Overdulve](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jacco_overdulve/32/3861_2.png) [@Jacco\_Overdulve](https://community.homey.app/u/Jacco_Overdulve)\
**Post date:** [March 12, 2019, 8:21pm UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/13 "2019-03-12T20:21:00Z")

</div>

Thanks all, will try the suggested apps and come back to you when I have some first experience. Give me some time, there are some other priorities too 🙂

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [August 12, 2024, 1:13pm UTC](https://community.homey.app/t/smart-solution-to-flows-for-presence-door-sensors/10426/14 "2024-08-12T13:13:25Z")

</div>

Archived on August 12, 2024, 1:13pm UTC


