tmgrash
Guest
Someone mentioned to have a thread with different apex codes, here's mine. Still have more I want to do but this is a start.
Dosing Pumps
Alk
Fallback OFF
OSC 000:00/008:35/051:25 Then ON
If pH > 08.50 Then OFF
Cal
Fallback OFF
OSC 000:00/008:35/051:25 Then ON
Cooling Fan
Fallback OFF
If Temp > 81.5 Then ON
If Temp < 81.4 Then OFF
ATO, this is controlling the solenoid to allow water through the rodi which has double float switch in the sump.
Fallback OFF
Set OFF
If Time 17:30 to 17:50 Then ON
If Time 10:00 to 10:20 Then ON
Refuge Light
Fallback OFF
Set OFF
If Time 20:00 to 08:00 Then ON
Return
Fallback ON
Set ON
Blue Led
Fallback OFF
Set OFF
If Moon 000/000 Then MoonInt
If Time 08:00 to 12:00 Then RampUp
If Time 12:00 to 18:30 Then ON
If Time 18:30 to 21:00 Then RampDnB
MoonInt
Ramp time 1 min
Start intensity 0
End intensity 3
RampUp
Ramp time 240 mins
Start intensity 0
End intensity 100
RampDnB
Ramp time 150 mins
start intensity 100
end intensity 0
White Led
Fallback OFF
Set OFF
If Time 08:00 to 12:00 Then RampUp
If Time 12:00 to 15:30 Then ON
If Time 15:30 to 18:30 Then RampDnV
If Time 18:30 to 21:00 Then RampDnW
RampDnV
Ramp time 180
start intensity 100
end intensity 45
RampDnW
Ramp time 150
start intensity 45
end intensity 0
Email Alarm/ text alarm
Set OFF
If Temp > 83.5 Then ON
If Temp < 75.0 Then ON
If pH > 08.50 Then ON
[/b]
Dosing Pumps
Alk
Fallback OFF
OSC 000:00/008:35/051:25 Then ON
If pH > 08.50 Then OFF
Cal
Fallback OFF
OSC 000:00/008:35/051:25 Then ON
Cooling Fan
Fallback OFF
If Temp > 81.5 Then ON
If Temp < 81.4 Then OFF
ATO, this is controlling the solenoid to allow water through the rodi which has double float switch in the sump.
Fallback OFF
Set OFF
If Time 17:30 to 17:50 Then ON
If Time 10:00 to 10:20 Then ON
Refuge Light
Fallback OFF
Set OFF
If Time 20:00 to 08:00 Then ON
Return
Fallback ON
Set ON
Blue Led
Fallback OFF
Set OFF
If Moon 000/000 Then MoonInt
If Time 08:00 to 12:00 Then RampUp
If Time 12:00 to 18:30 Then ON
If Time 18:30 to 21:00 Then RampDnB
MoonInt
Ramp time 1 min
Start intensity 0
End intensity 3
RampUp
Ramp time 240 mins
Start intensity 0
End intensity 100
RampDnB
Ramp time 150 mins
start intensity 100
end intensity 0
White Led
Fallback OFF
Set OFF
If Time 08:00 to 12:00 Then RampUp
If Time 12:00 to 15:30 Then ON
If Time 15:30 to 18:30 Then RampDnV
If Time 18:30 to 21:00 Then RampDnW
RampDnV
Ramp time 180
start intensity 100
end intensity 45
RampDnW
Ramp time 150
start intensity 45
end intensity 0
Email Alarm/ text alarm
Set OFF
If Temp > 83.5 Then ON
If Temp < 75.0 Then ON
If pH > 08.50 Then ON
[/b]