Page 1 of 1

More ATO help needed

Posted: Sat Jul 16, 2016 9:10 am
by Smotz
I am having constant ATO timeouts

This does not seem to be working for me: ReefAngel.WaterLevelATO(1,Topoff,15,85,95);
Translated to me, this means if waterlevel(1) hits 85% turn on turn on (Topoff) until 95% for a max of 15 seconds.

I put the below code in instead. Any thoughts? Why isn't it working?


// Main Top Off
// ReefAngel.WaterLevelATO(1,Topoff,15,85,95);
// just to be safe if the water level gets to 135 or greater, turn off the topoff.
if ( ReefAngel.WaterLevel.GetLevel(1) <=85 ) ReefAngel.Reelay.On (TopOff);
if ( ReefAngel.WaterLevel.GetLevel(1) <=95 ) ReefAngel.Reelay.Off (TopOff);
if ( ReefAngel.WaterLevel.GetLevel(1) >= 135 ) ReefAngel.Relay.Off (Override);
// End Main Top Off

Re: More ATO help needed

Posted: Sat Jul 16, 2016 9:14 am
by lnevo
There's a fix in dev. I haven't tested, but it's two lines if you want to just apply it to the current code. Take a look at dev branch on github. Not home so sorry for the bad instructions. Can give you more detail later, but yes having same issue.

Re: More ATO help needed

Posted: Sat Jul 16, 2016 9:33 am
by Smotz
Ok, no problem. Thanks for the reply. I'll just use the alternate code for now.
I am moving modules from one RA to another (upgrading my tank) and am running in to a slew of issues.

Re: More ATO help needed

Posted: Sun Jul 17, 2016 3:13 pm
by Smotz
lnevo wrote:There's a fix in dev. I haven't tested, but it's two lines if you want to just apply it to the current code. Take a look at dev branch on github. Not home so sorry for the bad instructions. Can give you more detail later, but yes having same issue.

A friendly reminder for a bit more details - I am having a problem finding the fix in DEV.

Re: More ATO help needed

Posted: Sun Jul 17, 2016 5:14 pm
by rimai

Re: More ATO help needed

Posted: Sun Jul 17, 2016 7:33 pm
by Smotz
Thank you, as always!

Re: More ATO help needed

Posted: Wed Jul 20, 2016 2:34 pm
by lnevo
I put the test code on and my controller should try and refill this evening. Will keep you posted...

Re: More ATO help needed

Posted: Wed Jul 20, 2016 6:12 pm
by re76
Just as a heads up it looks like you have a typo in there. Reelay != Relay. :)

Re: More ATO help needed

Posted: Wed Jul 20, 2016 7:20 pm
by Smotz
re76 wrote:Just as a heads up it looks like you have a typo in there. Reelay != Relay. :)
holy crap!

Re: More ATO help needed

Posted: Wed Jul 20, 2016 7:22 pm
by lnevo
Worked great tonight.

Re: More ATO help needed

Posted: Thu Jul 21, 2016 6:03 am
by Smotz
Looks good for me too. Monitoring..

Re: More ATO help needed

Posted: Sun Jul 24, 2016 8:45 am
by Smotz
Still getting random ATO timeouts - not as often but still happening for no apparent reason.

Re: More ATO help needed

Posted: Sun Jul 24, 2016 6:05 pm
by lnevo
Yep, timed out on me tonight as well.

Re: More ATO help needed

Posted: Mon Sep 12, 2016 4:48 am
by Smotz
Lots of timing out. What are people doing as a band-aid?

Re: More ATO help needed

Posted: Mon Sep 12, 2016 8:01 pm
by lnevo
I am trying to upgrade my IDE so can't upload new code for a bit.

My ATO would only time out in the first few minutes and it's timed to only work starting at 8pm. So for the first few minutes I clear the timeout.

If you're ok breaking your ato up into a timed even we can control clearing the timeout..you'll still have protection but basically we have a known starting point so we wouldn't clear outside that window.

Re: More ATO help needed

Posted: Tue Sep 13, 2016 12:39 pm
by Smotz
lnevo wrote:I am trying to upgrade my IDE so can't upload new code for a bit.

My ATO would only time out in the first few minutes and it's timed to only work starting at 8pm. So for the first few minutes I clear the timeout.

If you're ok breaking your ato up into a timed even we can control clearing the timeout..you'll still have protection but basically we have a known starting point so we wouldn't clear outside that window.
Think it'll be better to go this route?


if ( ReefAngel.WaterLevel.GetLevel(1) <=85 ) ReefAngel.Reelay.On (TopOff);
if ( ReefAngel.WaterLevel.GetLevel(1) <=95 ) ReefAngel.Reelay.Off (TopOff);
if ( ReefAngel.WaterLevel.GetLevel(1) >= 135 ) ReefAngel.Relay.Off (Override);