More ATO help needed

Basic / Standard Reef Angel hardware
Post Reply
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

More ATO help needed

Post 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
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: More ATO help needed

Post 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.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

Post 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.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

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

Re: More ATO help needed

Post by rimai »

Roberto.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

Post by Smotz »

Thank you, as always!
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: More ATO help needed

Post by lnevo »

I put the test code on and my controller should try and refill this evening. Will keep you posted...
re76
Posts: 14
Joined: Tue Jul 19, 2016 7:55 am

Re: More ATO help needed

Post by re76 »

Just as a heads up it looks like you have a typo in there. Reelay != Relay. :)
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

Post by Smotz »

re76 wrote:Just as a heads up it looks like you have a typo in there. Reelay != Relay. :)
holy crap!
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: More ATO help needed

Post by lnevo »

Worked great tonight.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

Post by Smotz »

Looks good for me too. Monitoring..
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

Post by Smotz »

Still getting random ATO timeouts - not as often but still happening for no apparent reason.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: More ATO help needed

Post by lnevo »

Yep, timed out on me tonight as well.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

Post by Smotz »

Lots of timing out. What are people doing as a band-aid?
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: More ATO help needed

Post 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.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: More ATO help needed

Post 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);
Post Reply