First AquaController Program

Wrote my first program, looking for folks to review to make sure it does what I think it does.

One odd thing about my setup is that I run the lights at night when electricity is 1/2 price. So my lights are running from 10pm to 8am.


ACT-A01 ; Actinic Lights DC4
VFA-A02 ; Room Vent Fan DC4
CFA-A03 ; Sump Fan DC4
CO2-A04 ; CO2 Regulator DC4
HQI-B01 ; HQI Lighting - DC4HD to be added.
ALM-C01 ; Alarm module to be added.


If Time > 00:00
Then ALM OFF ; Default Alarm off
If Time > 07:59
Then ACT OFF ; Turn Actinics OFF 8:00AM
If Time > 22:00
Then ACT ON ; Turn Actinics ON 10:00PM
If Time > 07:00
Then HQI OFF ; Turn Halides OFF 7:00AM
If Time > 23:00
Then HQI ON ; Turn Halides ON 11:00PM
If Time > 10:00
Then VFA OFF ; Turn Room Vent OFF 10:00AM
If Time > 22:00
Then VFA ON ; Turn Room Vent ON 10:00PM
If Temp < 77.0
Then ALM ON ; Low Temp Alarm
If Temp < 81.0
Then CFA OFF ; Turn sump fan off below 81 for at least 5 minutes
Max Change 005 M
Then CFA OFF
If Temp > 83.0 ; Turn sump fan on above 83 for at least 5 minutes
Then CFA ON
Max Change 005 M
Then CFA ON
If Temp > 85.0
Then HQI OFF ; Turn off halides temp over 85 for at least 10 minutes
Max Change 010 M
Then HQI OFF
If Temp > 85.0
Then ALM ON ; High temp alarm
If pH < 07.90
Then ALM ON ; Low pH alarm
If pH < 08.00
Then CO2 OFF ; Turn off CO2 regulator below pH 8.0
If pH > 08.50
Then ALM ON ; High pH alarm
If Cond < 50.0
Then ALM ON ; Low salinity alarm
If Cond > 57.0
Then ALM ON ; High salinity alarm
If Power Fail
Then ALM ON
If Battery Low
Then ALM ON
 
Looks good. I didn't notice a heater statement in there. Are you in a warm enough climate to go without one?
 
At this point, I'm not using the Aquacontroller for the heaters. They are on there own. I'm thinking about adding a statement that will force the heater always on and kill the heater when temp is over 85. Thinking here is that under normal operation the heater will control itself and only under high temps kill power which could be just a hot day or could be a heater stuck on.
 
Aquaduck said:
You have more faith in your heaters thermostat than I do in mine.

Yeah me too. I actually run it the opposite. I have AQ control my heaters and set the heater thermostats to slightly above so if for some reason the AQ does not turn of the heaters the internal thermostat will kick in.
 
Joboo said:
Yeah me too. I actually run it the opposite. I have AQ control my heaters and set the heater thermostats to slightly above so if for some reason the AQ does not turn of the heaters the internal thermostat will kick in.

That's exactly how I have mine set up. :)
 
Aquaduck said:
You have more faith in your heaters thermostat than I do in mine.

Well, I've been running my heaters for many years without issue. Only been using the Aquacontroller for a few weeks. I'm slowly moving devices onto the controller as my trust it in develops.

I was thinking of using something like:

If Temp > 84.5 then
HET OFF

That way the heater's thermostat can be used (kept set at 80*F) and the Aquacontroller will cut off power only if the tank gets to warm (rare but possible stuck thermostat).
 
Back
Top