# Discover z-wave device when lost power

**URL:** <https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901>\
**Category:** Questions & Help\
**Tags:** z-wave, flow\
**Created:** [July 28, 2020, 8:24am UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901 "2020-07-28T08:24:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![drberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drberg/32/17475_2.png) [@drberg](https://community.homey.app/u/drberg)\
**Post date:** [July 28, 2020, 8:24am UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/1 "2020-07-28T08:24:33Z")

</div>

I got my first Homey yesterday (congratulations, and welcome to me!), and I’m trying to monitor the status of my refrigerator. All I want to know is if it has power or not.

I have a Fibaro Wall Plug. I figured that I’d be able to get a flow notification when it loses power, but I can’t figure out how to set up that flow.

What I have at the moment is a flow that notifies me if the power is turned off, but that doesn’t work when I manually remove the plug from the wall socket.

Any help would be appreciated!

---

<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:** [July 28, 2020, 8:28am UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/2 "2020-07-28T08:28:22Z")

</div>

> [@drberg](#):
>
> What I have at the moment is a flow that notifies me if the power is turned off, but that doesn’t work when I manually remove the plug from the wall socket.

I think you need to use the _“Device hasn’t reported”_ trigger card. I don’t know how long it will take before Homey notices the device hasn’t reported, but should be easy to find out with a bit of experimentation.

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [July 28, 2020, 8:40am UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/3 "2020-07-28T08:40:03Z")

</div>

You could also make a flow like

WHEN the energy has changed  
AND logic, energy is lower as A  
THEN notify

At the AND part at A you have to look how much Energy your refrigerator takes normally. Just fill in about half the normal energy consumption. When you select logic, lower than, you can select your plug by tapping the button upper left and choose your plug and select energy

---

<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:** [July 28, 2020, 10:03am UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/4 "2020-07-28T10:03:39Z")

</div>

> [@Marcel\_Ubels](#):
>
> AND logic, energy is lower as A

Dunno for sure but when u remove the plug the power is gonna be “-“ instead of 0?  
“-“ is not lower then…  
So if u remove the plug u don’t get a notification?

---

<div class="post-metadata">

**Author:** ![drberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drberg/32/17475_2.png) [@drberg](https://community.homey.app/u/drberg)\
**Post date:** [July 28, 2020, 5:03pm UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/5 "2020-07-28T17:03:57Z")

</div>

Good suggestion, to me it sounded like the correct answer. But unfortunately I could not get your suggestion to work as intende. No notification received after I removed the wall plug.

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [July 28, 2020, 6:57pm UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/6 "2020-07-28T18:57:03Z")

</div>

Ok i didn’t read well enough; removing the power plug. My answer was when there is a power outage or the plug is set to off.

Why should someone get a notification when you manually remove the plug?

When you remove a powerplug, how can Homey know it is removed. It is not just there anymore. _Device hasn’t reported_, Will that work, the device is not just there.

---

<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:** [July 28, 2020, 7:38pm UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/7 "2020-07-28T19:38:06Z")

</div>

> [@drberg](#):
>
> No notification received after I removed the wall plug.

It may take a while.

---

<div class="post-metadata">

**Author:** ![drberg](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/drberg/32/17475_2.png) [@drberg](https://community.homey.app/u/drberg)\
**Post date:** [July 29, 2020, 9:13am UTC](https://community.homey.app/t/discover-z-wave-device-when-lost-power/32901/8 "2020-07-29T09:13:45Z")

</div>

> Why should someone get a notification when you manually remove the plug?

It’s to simulate a broken circuit/fuse in the house.

But you have a point; I should also monitor a sudden drop in power usage to make sure the fridge hasn’t stopped working.
