# Monitor for power loss/outage. Run a flow when a device is unreachable

**URL:** <https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [January 16, 2025, 5:35pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997 "2025-01-16T17:35:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![gary.osullivan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gary.osullivan/32/119418_2.png) [@gary.osullivan](https://community.homey.app/u/gary.osullivan)\
**Post date:** [January 16, 2025, 5:35pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/1 "2025-01-16T17:35:50Z")

</div>

Hi,

I have several smart plugs that report on energy consumption. However, I would like to use Homey to notify me when the power supply for the smart plug is lost. I am using Innr smart plugs.

What is the most straightforward way to do this?

I have tried Device Capabilities, but either it doesn’t work, or more likely, I can’t get it to work.

Many thanks.

---

<div class="post-metadata">

**Author:** ![JohanP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johanp/32/119002_2.png) [@JohanP](https://community.homey.app/u/JohanP)\
**Post date:** [January 16, 2025, 8:02pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/2 "2025-01-16T20:02:17Z")

</div>

You mean when the smart plug goes off because it doesn’t get power, lik unplugged?

It would leave the network (ie zigbee, zwave or wifi)…  
Not sure if there is a trigger for it…

---

<div class="post-metadata">

**Author:** ![gary.osullivan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gary.osullivan/32/119418_2.png) [@gary.osullivan](https://community.homey.app/u/gary.osullivan)\
**Post date:** [January 16, 2025, 9:06pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/3 "2025-01-16T21:06:21Z")

</div>

Yes, unplugged or loss of power. So unreachable. Device Capabilities suggest it can trigger on unreachable. I can’t make it work, though.

---

<div class="post-metadata">

**Author:** ![Ronwell](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronwell/32/46980_2.png) [@Ronwell](https://community.homey.app/u/Ronwell)\
**Post date:** [January 17, 2025, 9:59am UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/4 "2025-01-17T09:59:36Z")

</div>

just a thought, could try when energy is “0” And is turned “On” then start a 20 min timer  
a 2nd flow when timer finished And energy is still “0” then set logic power is down.

asuming the energy is not usually 0 when its turned on, because when the power goes down, it wouldn’t set the plug in off state. i added the timer to double check that the energy is defanately 0

---

<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:** [January 17, 2025, 10:01am UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/5 "2025-01-17T10:01:43Z")

</div>

> [@JohanP](#):
>
> It would leave the network

For zigbee probably not. Homey has no “regard as offline after x hours” setting like zigbee2mqtt has.  
Maybe zigbee devices become ‘unavailable’ after a while.

> [@gary.osullivan](#):
>
> Device Capabilities suggest it can trigger on unreachable. I can’t make it work, though.

It does trigger on ‘unavailable’, which is not exactly the same

 ![1000041592](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2ce81348e9ae000d51b46fb161c828a86dfc8008.jpeg)

An Innr zigbee plug will probable not become unavailable right away, after power down

---

<div class="post-metadata">

**Author:** ![JohanP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johanp/32/119002_2.png) [@JohanP](https://community.homey.app/u/JohanP)\
**Post date:** [January 17, 2025, 12:10pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/6 "2025-01-17T12:10:35Z")

</div>

> [@Peter\_Kawa](#):
>
> > [@JohanP](#):
> >
> > It would leave the network
> 
> For zigbee probably not. Homey has no “regard as offline after x hours” setting like zigbee2mqtt has.

My Frient zigbee smokealarm did just that when i reset the device…

---

<div class="post-metadata">

**Author:** ![gary.osullivan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gary.osullivan/32/119418_2.png) [@gary.osullivan](https://community.homey.app/u/gary.osullivan)\
**Post date:** [January 17, 2025, 12:23pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/7 "2025-01-17T12:23:23Z")

</div>

Hi John,

What behaviour did you see when that happened, and could it trigger a flow?

---

<div class="post-metadata">

**Author:** ![JohanP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johanp/32/119002_2.png) [@JohanP](https://community.homey.app/u/JohanP)\
**Post date:** [January 17, 2025, 12:33pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/8 "2025-01-17T12:33:34Z")

</div>

Just got a notification in the timeline…  
Doesn’t look like there is a trigger for it.

you also get 0 voltage and 0 watt when de plug is just switched off…

But I don’t have Innr, Just Shelly and Frient

---

<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 17, 2025, 12:37pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/9 "2025-01-17T12:37:24Z")

</div>

You know that resetting and unplugging (/removing power) are two very different things, right?

---

<div class="post-metadata">

**Author:** ![JohanP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johanp/32/119002_2.png) [@JohanP](https://community.homey.app/u/JohanP)\
**Post date:** [January 17, 2025, 12:55pm UTC](https://community.homey.app/t/monitor-for-power-loss-outage-run-a-flow-when-a-device-is-unreachable/127997/10 "2025-01-17T12:55:57Z")

</div>

Hmm, you’re painfully right…  
My fault…
