Counting events with rule creator
Good morning all,
i have a pump that is independant, equipped with a pressure sensor that senses
a pressure drop in the piping. when pressure drop, this activate the pump. this
is all fully independant from the zipabox; nothing to do with it.
Still, in case of a small leak the pump will start, reach the pressure, stop,
To avoid that, i installed a on/off Fibaro switch on the power inlet of the
I see easylly when the pump start as the power consumption rockets up.
i would like to create a rule that counts how many time did the pump start and
stop to be able to swith the whole pump off if it starts and stop too often.
To do so, i created a virtuel meter that is used in 2 rules :
First one is a recet rule : as soon as the meter is not 0, wait 3600s
then set it to 0
Second rule is the pump protection rule that should increase the value of the
meter each time the pump restarts :
In addition, it should stop the pump if it is on or more than 2400s.
Problem, it doesn't work. I think there is a trick with some 'join' or 'stop'
action, but i can't make it right.
Can anybody help ?
Thanks in advance
/* Style Definitions */
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;