Delay after water change
Delay after water change
Right now I have it programmed so that the return pump, skimmer, heater, wave maker and ato turns of during water change mode. Can I do that there is a delay of 15 minutes on the heater and ato after I turned off the water change mode to return to normal mode? My heater is on port 1 and the ato is on port 4.
Re: Delay after water change
Have you tried the wizard?
There is a setting where you can tell it what ports to delay after a start up.
The code would be like this...
There is a setting where you can tell it what ports to delay after a start up.
The code would be like this...
Code: Select all
ReefAngel.Relay.DelayedOn( Port1,15 );
ReefAngel.Relay.DelayedOn( Port4,15 );
Re: Delay after water change
That won't work for heaters and ATO ports.. you'll need to implement your own delays.
Sacohen has code the suppresses the ATO after water changes for 10 minutes I beileve... although he's using the WaterLevel ATO. I believe I did some code for rossbryant to do similar for his ATO like device..
Sacohen has code the suppresses the ATO after water changes for 10 minutes I beileve... although he's using the WaterLevel ATO. I believe I did some code for rossbryant to do similar for his ATO like device..
Re: Delay after water change
Yes I forgot that you put that in.
The code the lnevo put in for me is ...
My ports are labeled so you would replace ATO_Pump with the port #.
Lnevo would you need a separate line for the heater and ATO or can you do it like this...
The code the lnevo put in for me is ...
Code: Select all
// First 10 minutes after WC disable ATO
if (now()-wcTimer >= 0 && now()-wcTimer < 600)
ReefAngel.WaterLevelATO(ATO_Pump,720,0,1);
Lnevo would you need a separate line for the heater and ATO or can you do it like this...
Code: Select all
// First 10 minutes after WC disable ATO
if (now()-wcTimer >= 0 && now()-wcTimer < 600)
ReefAngel.WaterLevelATO(Port1, Port4 ,720,0,1);
Re: Delay after water change
You're missing these line which needs to come first.
For the heater, you could do similar to the WaterLevelATO with bogus temps to make sure it doesn't go on...
Code: Select all
static time_t wcTimer=0;
if (ReefAngel.DisplayedMenu == WATERCHANGE_MODE) wcTimer=now();
Re: Delay after water change
Thanks:) Was not quite clear in my last post. My ato is a separate ato I have only connected on port 4, I can use it with standard delay, I have simply missed this. The heater, however, I want to start 15 minutes after the return pump skimmer etc. The reason for this is that the during water change the water drops so that it is above the surface.
Delay after water change
The standard delay wont work with the ato either...both will require similar code to what steve and i posted.
Re: Delay after water change
So, for example, I use an auto Aqua smart ATO unit that is controlled by RA only in that it is plugged in to my relay. This will require a custom bit of code and not a standard delayed start in the wizard?
If so, why? I'm simply curious.
If so, why? I'm simply curious.
Re: Delay after water change
Try the delayed start first. If that doesn't work the way you want, let us know.
Roberto.