More ATO help needed
More ATO help needed
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
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
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
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.
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
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
Thank you, as always!
Re: More ATO help needed
I put the test code on and my controller should try and refill this evening. Will keep you posted...
Re: More ATO help needed
Just as a heads up it looks like you have a typo in there. Reelay != Relay.
Re: More ATO help needed
holy crap!re76 wrote:Just as a heads up it looks like you have a typo in there. Reelay != Relay.
Re: More ATO help needed
Looks good for me too. Monitoring..
Re: More ATO help needed
Still getting random ATO timeouts - not as often but still happening for no apparent reason.
Re: More ATO help needed
Lots of timing out. What are people doing as a band-aid?
Re: More ATO help needed
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.
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
Think it'll be better to go this route?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.
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);