# How to send push if power is higher than 500 for 15 minutes

**URL:** <https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933>\
**Category:** Questions & Help\
**Created:** [August 16, 2019, 10:58am UTC](https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933 "2019-08-16T10:58:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Borgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/borgen/32/12762_2.png) [@Borgen](https://community.homey.app/u/Borgen)\
**Post date:** [August 16, 2019, 10:58am UTC](https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933/1 "2019-08-16T10:58:04Z")

</div>

New to creating Flows and can’t figure out how to do this.

I have a ventilation unit connected to a Fibaro WallPlugg, the ventilation unit has a builtin heater and I want to create a Flow that sends a push message to my Phone if the heater in the ventilation unit have been on for more than 15 minutes.

Normally it consumes around 146W but when the heater turns on it consumes more that 500W.

So now have a Flow now that sends a push message as soon as the power is changed and power is more than 500W.

But how do I add a check/delay that waits until the heater has been on for 15 minutes?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 16, 2019, 11:36am UTC](https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933/2 "2019-08-16T11:36:16Z")

</div>

You need two flows, the first starts the wall-plug and starts the second flow with a delay of 15 minutes  
the second flow has “This flow is started” in the first column and does check the power-use and sends a message if higher then 500W. Make the second flow first, otherwise you can not choose it in the first flow.

---

<div class="post-metadata">

**Author:** ![ArnoP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnop/32/13709_2.png) [@ArnoP](https://community.homey.app/u/ArnoP)\
**Post date:** [August 16, 2019, 11:44am UTC](https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933/3 "2019-08-16T11:44:44Z")

</div>

I would do it like this:

IF Power changes  
AND Power \> 500 AND Timer is not running  
THEN start timer 15 minutes

IF Power changes  
AND Power \< 200 AND Timer is running  
THEN stop timer

IF Timer reaches 0  
AND Power \> 500 (not really necessary because of 2nd flow)  
THEN … do what you like to do when more than 15 minutes continuously \> 500 Watt

If you do it this way whenever during the 15 minutes the load goes below 200 the timer will stop since there’s not 15 minutes continuously high load.

---

<div class="post-metadata">

**Author:** ![Borgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/borgen/32/12762_2.png) [@Borgen](https://community.homey.app/u/Borgen)\
**Post date:** [August 16, 2019, 11:47am UTC](https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933/4 "2019-08-16T11:47:01Z")

</div>

The WallPlugg is always on, so what should then start the first flow?

The Ventilation unit is always running and then consumes around 146W, but when outside air is cold it turns on its internal heater (normally is on for just a few minutes) and then the unit consumes over 500W.

Was thinking about using a counter/timer in some manner, but question is how.

---

<div class="post-metadata">

**Author:** ![Borgen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/borgen/32/12762_2.png) [@Borgen](https://community.homey.app/u/Borgen)\
**Post date:** [August 16, 2019, 11:48am UTC](https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933/5 "2019-08-16T11:48:26Z")

</div>

That seems to be a doable solution!

Will test tonight and see if it work.

Thanks!

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 16, 2019, 11:54am UTC](https://community.homey.app/t/how-to-send-push-if-power-is-higher-than-500-for-15-minutes/16933/6 "2019-08-16T11:54:19Z")

</div>

In the WHEN-column of the first flow, you can check the change of power, then in the AND-column, with a Logic compare you can check if the power is above 200 W, if so, start the second flow with a delay of 15 minutes.
