Here we go:
Heaters: (RT references the seasonal temperature chart which has seasonal temp, sunrise, sunset, moonrise, moonset data)
Fallback OFF
If Temp > RT+0.2 Then OFF
If Temp < RT+-0.3 Then ON
Here is my top off (which runs through a TLF kalk reactor) This disables the topoff if the pH gets too high in the sump.
Fallback ON
Set ON
If pH > 08.50 Then OFF
Here are my actenic lights (even though you said you are using radon controller, thought I'd just put it all in.) Again references seasonal charts, if the temp hits 82 in the tank, it shuts off and re-evaluates after 10 minutes.
Fallback OFF
Set OFF
If Sun 000/120 Then ON
If Temp > 82.0 Then OFF
Min Time 010:00 Then OFF
Metal Halide lights (similar to actenic, but waits 30 minutes after shut off before they can come back on (if temp is in parameters)
Fallback OFF
Set OFF
If Sun 150/001 Then ON
If Temp > 81.8 Then OFF
Min Time 030:00 Then OFF
Moon Lights: (references moonrise/moonset chart and also doesn't allow the moonlights to be on if the MH lights are on, since they will be way way overpowered by the MHs)
Fallback OFF
Set OFF
If Moon 000/000 Then ON
If Outlet MH_6 = ON Then OFF
Here is ma CaRx: PH2 is the probe in my calcium reactor. This keeps the pH in the reactor between 6.7 and 6.8 and shuts it down for 5.5 hours during the night. I just tweaked these as I dialed in the reactor.
Fallback OFF
If Temp < 78.0 Then OFF
If pH2 < 06.70 Then OFF
If pH2 > 06.80 Then ON
If Time 01:00 to 06:30 Then OFF
Here is my email alarm (also texts me) If any of these conditions are met, I get a text and email telling me about the problem.
Set OFF
If Temp > 82.0 Then ON
If Temp < 74.0 Then ON
If pH > 08.45 Then ON
If pH < 07.80 Then ON
If pH2 < 06.60 Then ON