Water Pressure Monitor, Alarms and Restores

Hi,
I have 2 Fibaro Smart Implants (FGBS-222) that is am using in part to monitor 2 pressure switches in a circulating system to some horse waterers. The line from the house is not as deep as it could be and sometimes freezes up. Which is a real pain, and the longer it sits before I am notified the harder it is to thaw so the pressure monitors are there to alert me of the loss of water pressure to the barn. I have the sensors installed and working but they sometimes trip if there is a sudden drop in pressure due to 2 waterers filling at once, etc. I don't really want to turn the sensitivity down any further but i just want to filter out the notifications if it is less than a minute.

This is easy to do in the notifications for the Alarm Condition, I just set the" Switch Opens" condition of "for how long" setting to to one minute.

The problem is with the restore notification. I don't want to get the Restore unless the Alarm condition has been sent/satisfied by being active for one minute. but I don't see a way to do that with the existing "Switch Closed " logic in notifier. and I looked at rule machine but can't figure out how to do it there either.

In a nutshell:
Working: Send a notification if Water Sensor is open for over a minute
Working: Do not send a notification if Water Sensor is open less than a minute.
Not Working: Send a notification if Water sensor is closed after being open for a minute, If Water Sensor was open less than a minute (No Alarm Notification sent) then don't send a notification.

Any Ideas?
Thanks,

I built these in the Basic Rule app. First task was to create a virtual switch called "vPressureAlarmSwitch." I would've rather used a variable, but it doesn't seem that Basic Rule supports variables. I also used a 10 second duration to make testing faster.

The first rule generates the alarm (turns on the virtual switch and sends the alarm notification) after the sensor opens for at least 10 seconds, but is disabled if the virtual switch is already on (alarm is already present).


The second rule is similar, except that it resets the alarm (turns off the virtual switch and sends the "all clear" notification) after the sensor closes for ten seconds. This time, the rule is disabled if the virtual switch is in the off state (no alarm present).

1 Like

It my not help but you might consider adding temperature sensors to the Fibaros. Then if the water has been running a few minutes or so and the temperature is at or below 33 - 34 °F you will know freezing is perhaps pending, Especially if the temperature has been continually dropping or if the air temperature is << 32°F.

1 Like

Yes i am using some external temperature sensor off the implant for that also, just trying to cover all the bases.

The pipe comes up in a heated room so I am monitoring the outside of the pipe but even with it slipped under some foam pipe insulation it is affected by the room temperature. it is hard to get a temperature reading inside the pipe, i am working on it but have not found a great solution yet.

And also the water temperature where the pipe comes in is affected by ground temperature trapped under the concrete in the room. it runs for 15' under the concrete in the heated room

I will duplicate those rules and give it a try,
I was not even aware of Basic Rules App. I just knew of Rule Machine and it lacks the "Opens and Stays Open" function. It looks like this should do exactly what i need.

Thank You

1 Like