# Detection if a flow fails

**URL:** <https://community.homey.app/t/detection-if-a-flow-fails/24507>\
**Category:** Questions & Help\
**Created:** [January 16, 2020, 7:13am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507 "2020-01-16T07:13:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hplos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hplos/32/10096_2.png) [@hplos](https://community.homey.app/u/hplos)\
**Post date:** [January 16, 2020, 7:13am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/1 "2020-01-16T07:13:59Z")

</div>

Sometimes a motion sensor of me removes itself from my zigbee network. When this happens some flows fail to run completely.

I would love it if the homey could detect this so I could start a flow or something (or add a setting in the notification settings for sending a notification when a flow fails)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [January 16, 2020, 7:27am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/2 "2020-01-16T07:27:10Z")

</div>

Isn’t there a trigger based on “A device has become unavailable”?

---

<div class="post-metadata">

**Author:** ![rindler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rindler/32/5501_2.png) [@rindler](https://community.homey.app/u/rindler)\
**Post date:** [January 16, 2020, 8:21am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/3 "2020-01-16T08:21:44Z")

</div>

Almost. Under Devices, there’s a trigger if a device hasn’t reported in a certain time (maximum 24 hours).

You can then sort out certain devices by making a Logic under the AND-section.

---

<div class="post-metadata">

**Author:** ![rindler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rindler/32/5501_2.png) [@rindler](https://community.homey.app/u/rindler)\
**Post date:** [January 16, 2020, 8:31am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/4 "2020-01-16T08:31:24Z")

</div>

[https://homey.app/f/dKsuJ\_](https://homey.app/f/dKsuJ_)

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [January 16, 2020, 6:47pm UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/5 "2020-01-16T18:47:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hplos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hplos/32/10096_2.png) [@hplos](https://community.homey.app/u/hplos)\
**Post date:** [January 17, 2020, 6:33pm UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/6 "2020-01-17T18:33:15Z")

</div>

This is not very usefull

With this flow

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c8574cc1254314b15340198452d7f758610b474.jpeg)

I get this result

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/9/e9e25422445c4c3df2a3196b5796938022feed67.jpeg)

So when I dont use a door or a window for a day I get a notification that the sensor is not working

(Yes I know the flow is now for 2 hours)

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [January 17, 2020, 7:26pm UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/7 "2020-01-17T19:26:25Z")

</div>

> [@hplos](#):
>
> So when I dont use a door or a window for a day I get a notification that the sensor is not working

Not triggering is not the same as “not responding”. Most battery powered devices have a default wake-up interval set to report regularly to the controller. So “not responding” should only be caused by an empty battery or loss of signal due to range or interference or something like that.

What kind of devices are the ones that are shown in you screen shot?

---

<div class="post-metadata">

**Author:** ![hplos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hplos/32/10096_2.png) [@hplos](https://community.homey.app/u/hplos)\
**Post date:** [January 18, 2020, 8:03am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/8 "2020-01-18T08:03:50Z")

</div>

I only have one choice for not responding

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/b/6b117cebdb0b3ec8aa131f070d8ce4ffc5d0e392.png)

All kind of devices are reported as not responding, lights and sensors

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [January 18, 2020, 8:24am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/9 "2020-01-18T08:24:23Z")

</div>

Pick a logic card in the AND colom.

 ![chrome_2020-01-18_09-23-41](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/b/4baa2eb7e403779d76286c7bcb4ad0211e972aec.png)

---

<div class="post-metadata">

**Author:** ![rindler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rindler/32/5501_2.png) [@rindler](https://community.homey.app/u/rindler)\
**Post date:** [January 18, 2020, 8:38am UTC](https://community.homey.app/t/detection-if-a-flow-fails/24507/10 "2020-01-18T08:38:31Z")

</div>

Just the other day I sent a suggestion/request to Athom to add a local tag to filter by device type (am more interested in my sensors as well). Guess they won’t fix it, but still! 😊
