I have a circulating pump that is connected to a sensitive N/C flow switch. The flow switch is connected to the Insteon 74551 I/O link. When the pump fails, the I/O triggers a program that sends me a message that I have a pump failure and to start the backup pump. All works fine except the flow switch is so sensitive, a small air bubble in the water or a power dip, the flow drops for a few seconds and triggers the I/O. This can happen three or four times a week. So I tried to write a few program that will wait 2 minutes before sending a notification but they just don't work well, too many false alarms....I just can't figure out the correct IF statements. Simply I'm trying to have a program that does nothing until it confirms there is constant trigger 2 minutes after the initial trigger. Any help would be greatly appreciated.
Here is my effort at programs which clearly don't work:
"Pump Failure": If CW Backup Pump Alert-sensor is ON,
Then Wait 2 Minutes
Run program "Pump Failure 2" (if)
Else No Action
"Pump Failure 2": If Program 'pump failure' is true
Then Set 'CW backup Alarm ON (this is lamp link with red warning bulb)
Send Notification to Brooke email content 'Cold Circ Pump Failure'
Wait 10 minutes
Send Notification to Brooke email content 'Cold Circ Pump Failure'
Else No Action