# Notification if pump is running for more than 10 minutes

**URL:** <https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894>\
**Category:** Flows\
**Created:** [June 27, 2019, 2:23pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894 "2019-06-27T14:23:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gert\_Jan\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gert_jan_d/32/12709_2.png) [@Gert\_Jan\_D](https://community.homey.app/u/Gert_Jan_D)\
**Post date:** [June 27, 2019, 2:23pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/1 "2019-06-27T14:23:21Z")

</div>

Is it possible to get a notification when a ground waterpump is running for more than 30 minutes (so you know there is something wrong). Can’t seem to get it fixed. Is a fibaro wall plug with latest homey. (if powerchange - start timer -\>1800 sec --\> send message

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [June 27, 2019, 2:52pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/2 "2019-06-27T14:52:26Z")

</div>

You need 3 flows, the XX (Watt) is a value that is somewhere between the idle and running values:  
1.  
IF energy changes  
AND energy is higher then XX (Watt),  
AND timer isn’t running,  
THEN start timer 1800  
2.  
IF energy changes  
AND energy is lower then XX (Watt)  
AND timer is running (this is optional)  
THEN stop timer  
3.  
IF timer is empty  
THEN send notification

---

<div class="post-metadata">

**Author:** ![M\_a\_r\_c\_o](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/m_a_r_c_o/32/146_2.png) [@M\_a\_r\_c\_o](https://community.homey.app/u/M_a_r_c_o)\
**Post date:** [June 27, 2019, 3:55pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/3 "2019-06-27T15:55:29Z")

</div>

> [@Caseda](#):
>
> 1. 
> 
> IF timer is empty  
> THEN send notification  
> AND switch off groundpump

And switch of the pump (if that is a possible option).

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [June 27, 2019, 4:07pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/4 "2019-06-27T16:07:56Z")

</div>

I wouldn’t do that, at least with the wall plug, a ground pump might fuse/burn up your contacts in the fibaro wallplug if it is strong enough, they are only small relays.

---

<div class="post-metadata">

**Author:** ![M\_a\_r\_c\_o](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/m_a_r_c_o/32/146_2.png) [@M\_a\_r\_c\_o](https://community.homey.app/u/M_a_r_c_o)\
**Post date:** [June 27, 2019, 6:04pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/5 "2019-06-27T18:04:45Z")

</div>

Depends very much of the power the pump needs and what its startup peak is.  
But in case it is too much, then a plug is always a bad idea, even if you don’t switch the pump with it (it will burn).

In that case you could use a kWh meter with P1 (or modbus) to measure usage and/or relais or frequence regulator to control the pump operation.

Or using a relais which is switched on when pomp starts running, like a fibaro binary sensor, no power measurement, but you know that the pump is on.

---

<div class="post-metadata">

**Author:** ![Gert\_Jan\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gert_jan_d/32/12709_2.png) [@Gert\_Jan\_D](https://community.homey.app/u/Gert_Jan_D)\
**Post date:** [June 27, 2019, 6:39pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/6 "2019-06-27T18:39:40Z")

</div>

good thinking. Basically it is always on. Is around 1500 watts. In emergency i want to be able to switch it off. I think starting peak is higher indeed.

---

<div class="post-metadata">

**Author:** ![Gert\_Jan\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gert_jan_d/32/12709_2.png) [@Gert\_Jan\_D](https://community.homey.app/u/Gert_Jan_D)\
**Post date:** [June 27, 2019, 7:02pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/7 "2019-06-27T19:02:32Z")

</div>

> [@Caseda](#):
>
> 1. 
> 
> IF energy changes  
> AND energy is higher then XX (Watt),  
> AND timer isn’t running,  
> THEN start timer 1800  
> 2.  
> IF energy changes  
> AND energy is lower then XX (Watt)  
> AND timer is running (this is optional)  
> THEN stop timer  
> 3.  
> IF timer is empty  
> THEN send notification

let me think. if the pump starts, energy will go above say 500 watts. In flow 2 the energy doesn’t change if it keeps on running. I just want to know if it is running for more than eg 20 minutes. Does your suggestion work like this? So I don’t want a message when it runs 10 minutes (thats ok), only if it exceeds 20 minutes

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [June 27, 2019, 7:48pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/8 "2019-06-27T19:48:10Z")

</div>

typically it is somewhere between _6 to 8 times_ the normal current, so that is 1500\*6 = 9000 Watt in the best case scenario.  
As it is a water pump it will probably last only a few _milli seconds_, so it won’t burn in the contacts immediately, but over time it **will** do that with the small relays in the wall plug, just to keep that in mind.  
It should say on the pumps’ type plate what the starting current (multiplier) is.

But it is also not just the start up current, a water pump wants to continue when you stop it, it has lots of inertia, this will also cause a spark, so if the pump is running, and you switch it with the wall plug, it will do the same as the start current, not immediately, but over time.

The 2nd flow is just to **Stop** the timer when the pump stops before the timer reached your 10 minutes threshold, otherwise you would still get a notification, even though the pump stopped.  
So if you only want a message when it runs more the 20 minutes, then use 20 minutes (1200 seconds).

---

<div class="post-metadata">

**Author:** ![Gert\_Jan\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gert_jan_d/32/12709_2.png) [@Gert\_Jan\_D](https://community.homey.app/u/Gert_Jan_D)\
**Post date:** [July 15, 2019, 8:12pm UTC](https://community.homey.app/t/notification-if-pump-is-running-for-more-than-10-minutes/14894/9 "2019-07-15T20:12:34Z")

</div>

Hey Guys,

It works like a charm now. I don’t use it for starting the pump. It’s only to switch it of. After starting up the pump uses about 600 watts continuous so that should be ok.

Many thanks for the help!
