John Ford February 4, 2018 Share February 4, 2018 So I set up a few simple alerts maybe a year ago and just recently I started to get this email once or twice a day. Date: 2018-02-03 21:00:54 -0500 Status: ON Statement: If pH > 8.50 Then ON (8.51) The problem is my ph is right around 8.1 or 8.2. It’s never even close to 8.5 even if I look back at my graph it does not come close to 8.5. Is there a way to add a time delay so the ph would have to maintain greater than 8.5 for 30 seconds to limit false alarms or is there a mistake/flaw in my statement below. Set OFF If Temp > 82.0 Then ON If Temp < 75.0 Then ON If pH > 8.50 Then ON I also want to add an alarm for my ato so if the pump runs longer than one minute but I can start a new thread or look into that more later. Thanks for any suggestions. Link to comment Share on other sites More sharing options...
Jon Lazar February 4, 2018 Share February 4, 2018 The Defer command adds the requirement for a condition to be continuous for a period of time before the code will take effect. Set OFFIf Temp > 82.0 Then ONIf Temp < 75.0 Then ONIf pH > 8.50 Then ON Defer 005:00 Then ON Link to comment Share on other sites More sharing options...
John Ford February 4, 2018 Author Share February 4, 2018 Thanks Jon! Would that defer for all of the above or just the PH? Link to comment Share on other sites More sharing options...
Jon Lazar February 4, 2018 Share February 4, 2018 It'll defer all them. If you only want the delay for pH, I think you would create a virtual outlet for pH, with a Defer. Then use the virtual outlet name in the list of email conditions. Disclaimer: I'm no expert, there may be a better way to do it, and I haven't tested this code. HighpH Set OFF If pH > 8.50 Then ON Defer 005:00 Then ON Email/Alarm Set OFFIf Temp > 82.0 Then ONIf Temp < 75.0 Then ONIf HighpH ON then ON Defer 005:00 Then ON Link to comment Share on other sites More sharing options...
John Ford February 4, 2018 Author Share February 4, 2018 The virtual outlets are above my head at the moment. Haha I changed the defer time to 000:30 just to shorten that parameter. So far today I have not received one apex alert. Thanks Jon! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now