Kalk Reactor

Basic / Standard Reef Angel hardware
Post Reply
butcherman
Posts: 44
Joined: Thu Apr 05, 2012 11:14 am

Kalk Reactor

Post 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?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Kalk Reactor

Post by rimai »

Yes, just change the 255 to whaterver number you want.
It turns on when port1 turns off, but when does it stop?
Roberto.
butcherman
Posts: 44
Joined: Thu Apr 05, 2012 11:14 am

Re: Kalk Reactor

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

Re: Kalk Reactor

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

Re: Kalk Reactor

Post 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));
Roberto.
binder
Posts: 2865
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
Contact:

Re: Kalk Reactor

Post by binder »

Guess I need to update the app and mark some locations as deprecated based on these changes.


Sent from my iPad mini
butcherman
Posts: 44
Joined: Thu Apr 05, 2012 11:14 am

Re: Kalk Reactor

Post by butcherman »

thanks will try the above and give feed back
butcherman
Posts: 44
Joined: Thu Apr 05, 2012 11:14 am

Re: Kalk Reactor

Post by butcherman »

Thanks this worked perfectly :P
Post Reply