alrha
Premium Member
To help others planning a program for their AC units, here is mine. I placed the legend first then the program. There are 40 commands on 11 devices.
Any feedback is of course always appreciated.
2Ka = 20K MH (150W)
2Kb = 20K MH (150W)
1Ka = 10 K MH (2x250W)
1Kb = 10k MH (2x250W)
Mlt = Moonlight (2xPFO)
Htr = Heater (300W)
Fan = Fans (1xsump 1xcanopy)
Rfg = Refugium/Sump light (96W)
Top = Top-off connected to float switch via KalkReactor
Mix = mixing pump for KalkReactor
Alm = Alarm Module
[Lighting]
If Time > 07:00 Then Mlt On
If Time > 19:00 Then 2Ka On
If Time > 20:00 Then 2Kb On
If TIme > 21:00 Then 1Ka On
If TIme > 22:00 Then 1Kb On
If Time > 04:00 Then 1Ka Off
If Time > 05:00 Then 1Kb Off
If Time > 06:00 Then 2Ka Off
If Time > 07:00 Then 2Kb Off
If Time > 19:00 Then Mlt Off
[Temp control: I would narrow/widen the ranges based on results/seasons]
If Temp < 79.0 Then Htr On
If Temp > 79.5 Then Htr Off
If Temp > 80.5 Then Fan On
If Temp < 80.0 Then Fan Off
If Temp < 80.0 Then Rfg On
If Temp > 80.5 Then Rfg Off
If Temp > 81.0 Then 1Ka Off
If Temp > 81.5 Then 1Kb Off
If Temp > 82.0 Then 2Ka Off
If Temp > 82.5 Then 2Kb Off
[Top Off / KalkReactor mixing]
If Time > 00:00 Then Top Off
If Time > 00:00 Then Mix On
If Time > 00:15 Then Mix Off
If Time > 01:00 Then Top On
If Time > 12:00 Then Top Off
If Time > 12:00 Then Mix On
If TIme > 12:15 Then Mix Off
If Time > 13:00 Then Top On
[pH stability: I would narrow/widen the ranges based on results]
If pH > 8.3 Then Top Off
if pH > 8.4 Then Rfg Off
If pH < 8.2 Then Rfg On
If Temp > 82 Then Rfg Off
[Alarm warnings: I would narrow/widen the ranges based on results]
If Temp > 77 Then Alm Off
If Temp > 83 Then Alm On
If Temp < 83 Then Alm Off
If Temp < 77 Then Alm On
If pH > 8.1 Then Alm Off
If pH > 8.5 Then Alm On
If pH < 8.5 Then Alm Off
If pH < 8.1 Then Alm On
The code is in this particular order as the until goes through the code in order with the later command overuling the prior command on the same device.
Again feedback is appreciated.
Feel free to copy this code for your systems.
Any feedback is of course always appreciated.
2Ka = 20K MH (150W)
2Kb = 20K MH (150W)
1Ka = 10 K MH (2x250W)
1Kb = 10k MH (2x250W)
Mlt = Moonlight (2xPFO)
Htr = Heater (300W)
Fan = Fans (1xsump 1xcanopy)
Rfg = Refugium/Sump light (96W)
Top = Top-off connected to float switch via KalkReactor
Mix = mixing pump for KalkReactor
Alm = Alarm Module
[Lighting]
If Time > 07:00 Then Mlt On
If Time > 19:00 Then 2Ka On
If Time > 20:00 Then 2Kb On
If TIme > 21:00 Then 1Ka On
If TIme > 22:00 Then 1Kb On
If Time > 04:00 Then 1Ka Off
If Time > 05:00 Then 1Kb Off
If Time > 06:00 Then 2Ka Off
If Time > 07:00 Then 2Kb Off
If Time > 19:00 Then Mlt Off
[Temp control: I would narrow/widen the ranges based on results/seasons]
If Temp < 79.0 Then Htr On
If Temp > 79.5 Then Htr Off
If Temp > 80.5 Then Fan On
If Temp < 80.0 Then Fan Off
If Temp < 80.0 Then Rfg On
If Temp > 80.5 Then Rfg Off
If Temp > 81.0 Then 1Ka Off
If Temp > 81.5 Then 1Kb Off
If Temp > 82.0 Then 2Ka Off
If Temp > 82.5 Then 2Kb Off
[Top Off / KalkReactor mixing]
If Time > 00:00 Then Top Off
If Time > 00:00 Then Mix On
If Time > 00:15 Then Mix Off
If Time > 01:00 Then Top On
If Time > 12:00 Then Top Off
If Time > 12:00 Then Mix On
If TIme > 12:15 Then Mix Off
If Time > 13:00 Then Top On
[pH stability: I would narrow/widen the ranges based on results]
If pH > 8.3 Then Top Off
if pH > 8.4 Then Rfg Off
If pH < 8.2 Then Rfg On
If Temp > 82 Then Rfg Off
[Alarm warnings: I would narrow/widen the ranges based on results]
If Temp > 77 Then Alm Off
If Temp > 83 Then Alm On
If Temp < 83 Then Alm Off
If Temp < 77 Then Alm On
If pH > 8.1 Then Alm Off
If pH > 8.5 Then Alm On
If pH < 8.5 Then Alm Off
If pH < 8.1 Then Alm On
The code is in this particular order as the until goes through the code in order with the later command overuling the prior command on the same device.
Again feedback is appreciated.
Feel free to copy this code for your systems.