Page 1 of 1

Kalk Reactor

Posted: Sun Aug 18, 2013 11:53 pm
by butcherman
I have a pressure pump attached to the RA top up (50 gpd pump)

I have 2 problems.

1. the max time out for ATO seems to be 255 seconds. Can i increase this?
2. Can i have the port 5 (kalk reactor pump) turn on once the ATO port 1 pump turns off?

Re: Kalk Reactor

Posted: Mon Aug 19, 2013 1:07 pm
by rimai
Yes, just change the 255 to whaterver number you want.
It turns on when port1 turns off, but when does it stop?

Re: Kalk Reactor

Posted: Tue Aug 20, 2013 3:23 am
by butcherman
I cant change the ATO time out parameter above 255 on the reef angel android app says it must be between 1 and 255.

id like port 5 to turn on for 10 seconds after the port1 ato turns off

Re: Kalk Reactor

Posted: Tue Aug 20, 2013 8:21 am
by rimai
Ah, you are trying to use the android app.
Which mem location are you using?
We deprecated a bunch of mem locations a few updates back.
The reason is to make a unique timeout for all functions.
So, the mem location you should change is ATO Extended Timeout, which is 276.

Re: Kalk Reactor

Posted: Tue Aug 20, 2013 8:27 am
by rimai
For your kalk, try this:

Code: Select all

  static time_t LastATO=millis()-10000;
  if (ReefAngel.Relay.Status(Port1)) LastATO=millis();
  ReefAngel.Relay.Set(Port5,millis()-LastATO<10000 && !ReefAngel.Relay.Status(Port1));

Re: Kalk Reactor

Posted: Tue Aug 20, 2013 9:32 am
by binder
Guess I need to update the app and mark some locations as deprecated based on these changes.


Sent from my iPad mini

Re: Kalk Reactor

Posted: Wed Aug 21, 2013 6:16 am
by butcherman
thanks will try the above and give feed back

Re: Kalk Reactor

Posted: Mon Aug 26, 2013 9:42 am
by butcherman
Thanks this worked perfectly :P