# Flow to take action when power consumption has been above 500w for 5 minutes?

**URL:** <https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410>\
**Category:** Flows\
**Tags:** advancedflow\
**Created:** [August 7, 2023, 12:41pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410 "2023-08-07T12:41:27Z")\
**Posts on this page:** 11\
**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 7, 2023, 12:41pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/1 "2023-08-07T12:41:27Z")

</div>

Anyone have any tip on how to construct a Flow (or Advanced Flow) in a HP2023 that accomplish the following:

Based on the Power Consumption in a Fibaro Wall Plugg:

- If the power consumption is above 500W and stays above 500w for 5 minutes.
- Then send a Push message to me.

Reason I want to create this:  
I have a ventilation unit with a built in heater, normally during cold weather (winter time) the heater gets active for periods of 20-60 seconds to assist with the heating of the incoming air.

But sometimes the heater get stuck in “on” position and you need to do some manual steps on the unit to get it to release and turn of the heater.

---

<div class="post-metadata">

**Author:** ![Joenoo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joenoo/32/18671_2.png) [@Joenoo](https://community.homey.app/u/Joenoo)\
**Post date:** [August 7, 2023, 12:59pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/2 "2023-08-07T12:59:48Z")

</div>

Should be something like this:

If the power consumption is above 500W  
Then start a timer for 5min

If the timer ends  
And the power consumption is above 500W  
Then send a push message

---

<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:** [August 7, 2023, 1:00pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/3 "2023-08-07T13:00:33Z")

</div>

That’s missing the “stays above 500w” part.

Homey (still) doesn’t have an equivalent of Home Assistant’s `for` option for triggers, so you need an external app to implement this (Chronograph or CountDown).

---

<div class="post-metadata">

**Author:** ![Joenoo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joenoo/32/18671_2.png) [@Joenoo](https://community.homey.app/u/Joenoo)\
**Post date:** [August 7, 2023, 1:04pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/4 "2023-08-07T13:04:11Z")

</div>

You are absolutely right. This addition is necessary:

If the power consumption is below 500W  
And the timer is running  
Then stop the timer

---

<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 7, 2023, 1:21pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/5 "2023-08-07T13:21:49Z")

</div>

Thanks for the quick replies!

Think I understand how this could be done now, will give it a test.

---

<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:** [August 7, 2023, 4:26pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/6 "2023-08-07T16:26:35Z")

</div>

One card 😊

 ![Screenshot_20230727-135445_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a492441e7611331e076418cb4c7c8f7a623300e7.jpeg)

---

<div class="post-metadata">

**Author:** ![Claudio\_Clerici](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claudio_clerici/32/10676_2.png) [@Claudio\_Clerici](https://community.homey.app/u/Claudio_Clerici)\
**Post date:** [August 8, 2023, 8:12am UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/7 "2023-08-08T08:12:25Z")

</div>

Hi, I just started using Homey and I have the same request as Borgen, could you write a flow example with more information for people that don’t know Homey and flow for long time?

---

<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:** [August 8, 2023, 8:22am UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/8 "2023-08-08T08:22:38Z")

</div>

Hi,

First install the Device Capabilities app;  
Then you can create a flow like this:

[https://homey.app/f/o9bfkD](https://homey.app/f/o9bfkD)

This is the trigger card in edit mode, for a better overview:

> ![Screenshot_20230808-102334_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b82bb841a395e8d867dfc19c884e068f2d329446.jpeg)

---

<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 8, 2023, 1:05pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/9 "2023-08-08T13:05:14Z")

</div>

Perfect!

Just what I was looking for and needed, will test it out later today but looks to be rather straight forward!

---

<div class="post-metadata">

**Author:** ![Claudio\_Clerici](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/claudio_clerici/32/10676_2.png) [@Claudio\_Clerici](https://community.homey.app/u/Claudio_Clerici)\
**Post date:** [August 8, 2023, 2:36pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/10 "2023-08-08T14:36:54Z")

</div>

Thank you very much!

---

<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 8, 2023, 6:19pm UTC](https://community.homey.app/t/flow-to-take-action-when-power-consumption-has-been-above-500w-for-5-minutes/86410/11 "2023-08-08T18:19:54Z")

</div>

@Peter_Kawa It worked just as expected and wanted! Thanks for the tip!
