Thanks for the responses. Good stuff.
Well, last night it happened. I had a return pump fail. So the sump started filling with water and covered the light sensor for the ATO, which triggered the ATO's alarm. Luckily, I was home when this happened.
So is there a way for the Apex to detect that the alarm has been set off, so that I can use the great commands above? How does the apex know that a float switch has been activated or is in "very high" position?
If I have this happen again, I need to get the skimmer turned off immediately and I want an email. Fine, I can do that. But what I am not understanding is how the Apex reads what has happened to the float switch or (hopefully) my Tunze light sensor for the ATO.