Delay after water change

Do you have a question on how to do something.
Ask in here.
Post Reply
anderzon_
Posts: 69
Joined: Sun Oct 27, 2013 11:35 am

Delay after water change

Post by anderzon_ »

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.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Delay after water change

Post by Sacohen »

Have you tried the wizard?
There is a setting where you can tell it what ports to delay after a start up.

Image

The code would be like this...

Code: Select all

ReefAngel.Relay.DelayedOn( Port1,15 );
ReefAngel.Relay.DelayedOn( Port4,15 );
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Delay after water change

Post by lnevo »

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..
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Delay after water change

Post by Sacohen »

Yes I forgot that you put that in.

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);
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...

Code: Select all

  // First 10 minutes after WC disable ATO
  if (now()-wcTimer >= 0 && now()-wcTimer < 600)
    ReefAngel.WaterLevelATO(Port1, Port4 ,720,0,1);
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Delay after water change

Post by lnevo »

You're missing these line which needs to come first.

Code: Select all

  static time_t wcTimer=0;
  if (ReefAngel.DisplayedMenu == WATERCHANGE_MODE) wcTimer=now();
For the heater, you could do similar to the WaterLevelATO with bogus temps to make sure it doesn't go on...
anderzon_
Posts: 69
Joined: Sun Oct 27, 2013 11:35 am

Re: Delay after water change

Post by anderzon_ »

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.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Delay after water change

Post by lnevo »

The standard delay wont work with the ato either...both will require similar code to what steve and i posted.
skehole
Posts: 75
Joined: Fri Feb 13, 2015 4:58 pm

Re: Delay after water change

Post by skehole »

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.
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Delay after water change

Post by rimai »

Try the delayed start first. If that doesn't work the way you want, let us know.
Roberto.
skehole
Posts: 75
Joined: Fri Feb 13, 2015 4:58 pm

Re: Delay after water change

Post by skehole »

Thanks. Will do
Image
Post Reply