Page 1 of 1

SingleATO Question

Posted: Sat May 17, 2014 9:32 am
by keithb
I'm trying to use the SingleATO function "SingleATO(true,Box1_Port3,300,1)" but I'm getting the following error: "SingleATO not declared in this scope."

Where does one declare it?

Or better yet, is there a way to make RA wait a couple seconds when the ATO switch is toggled just to make sure its not a "False Alert?" As it stands right now the ATO pump is toggled 15-20 times an hour and I'm pretty sure that's not good for the pump.

Re: SingleATO Question

Posted: Sat May 17, 2014 10:44 am
by lnevo
First off, you need to call it ReefAngel.SingleATO.

Second, as far as the cycling, the easiest way I think would be to time control it. How many times per hour would you like it to run? Time becomes your "low" switch since your using single ato.

Re: SingleATO Question

Posted: Sat May 17, 2014 9:14 pm
by keithb
Ideally I'd love for the ato to run 2x an hour.

Re: SingleATO Question

Posted: Sun May 18, 2014 10:46 am
by lnevo
if (now%1800<305) ReefAngel.SingleATO(true,Box1_Port3,300,1)
else ReefAngel.Relay.Off(Box1_Port3);

The 3:05 is the runtime. I wanted it a little longer than your timeout time so that could activate if an issue or empty reservoir condition.

Re: SingleATO Question

Posted: Sun May 18, 2014 1:39 pm
by keithb
Awesome. Thanks a lot!