code for ATO using 2 floats high and high/high backup?

New members questions
Post Reply
miked
Posts: 86
Joined: Fri Feb 10, 2012 11:06 am

code for ATO using 2 floats high and high/high backup?

Post by miked »

I have seen various codes for ATO but not for what I am wanting. I would like to have both floats with wires up. one mounted to trigger ATO port on when water/float is down and port off when water/float is up. I would like to have the second float higher and be a backup so no port control when float is down and port off when float is up. having the high/high notify me when it is activated.

Thanks for pointing me in the correct direction.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: code for ATO using 2 floats high and high/high backup?

Post by rimai »

You can use this:

Code: Select all

  ReefAngel.SingleATOLow(Port1);
  ReefAngel.Relay.Set(Port1,!ReefAngel.HighATO.IsActive());
The first line implements the ATO and the 2nd line implements the safety.
Roberto.
miked
Posts: 86
Joined: Fri Feb 10, 2012 11:06 am

Re: code for ATO using 2 floats high and high/high backup?

Post by miked »

great, thank you

so this 'port 1' is for whatever port/outlet I have my ATO pump connected to and NOT the ATO plug ins themselves correct. How do I determine which port is the single ato and which is the high.

thank you again
Image
Post Reply