I am new to apex programming, and am looking to add a safety feature to keep my heater from staying on continuously should the temperature probe malfunction. Living in Southern California, my heater does not come on often, and when it does usually runs for no more than 15 minutes.
Any suggestion on code to:
1. Set a maximum time for the heater to come on (for example 20 minutes)?
2. Set a lock out until the next time the heater comes on (for example 60 minutes)?
3. Send an alarm when the heater has been on for "too long"?
I have the newest version of apex.
Many thanks,
Travis
Bookmarks