Dear Apex Gurus,
Here's the goal. I want my Apex to send me an alarm when the pH in my Calcium Reactor rises above 7.00 (meaning the CO2 tank is empty). That part is easy and works fine. However, I'd like for the alarm to only happen once or twice per day, not once per hour.
I know I could set it to only happen at a certain time of day with the "If Time" function, but I'd rather it notify me right away the first time, and then wait a while before sending out another notification.
I have a virtual outlet set up for the Alarm, and it does work for a standard notification once per hour right now.
My initial idea was to use the OSC function, but this doesn't seem to be working. Is it due to the "midnight reference" for OSC?:
Set OFF
If CaRx_pH > 7.00 Then ON
OSC 000:00/060:00/660:00 Then ON
If CaRx_pH < 7.00 Then OFF
Here is another idea I tried. Pretty sure this one doesn't work because it never switches back to the OFF state for Min Time to hold it there:
Set OFF
If CaRx_pH > 7.00 Then ON
If CaRx_pH < 7.00 Then OFF
Min Time 720:00 Then OFF
Stretch goal once I get this working: Add a Defer statement to keep the alarm from going off during brief pH spikes.
Any help appreciated.
Thanks,
Les
Bookmarks