Page 1 of 1
ato started filling on new upload
Posted: Wed Jun 18, 2014 4:32 pm
by Smotz
When I uploaded new code, the ATO started up and filling the tank.
I didn't like that.
Any way to avoid?
My ATO code:
Code: Select all
// Main Top Off
ReefAngel.WaterLevelATO(1,Topoff,15,80,100);
// End Main Top Off
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 8:05 am
by Sacohen
Smotz wrote:When I uploaded new code, the ATO started up and filling the tank.
I didn't like that.
Any way to avoid?
My ATO code:
Code: Select all
// Main Top Off
ReefAngel.WaterLevelATO(1,Topoff,15,80,100);
// End Main Top Off
It should only come on for a second or so and then it will shut off if it doesn't need to be on.
Are you using the multi water level sensor?
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 8:07 am
by Smotz
Yes, I am. I had to unplug the ato..
Sent from my SCH-I605 using Tapatalk
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 8:30 am
by Sacohen
I was just curious. I hadn't seen code for the Multi water level sensor yet and I just got one that I'll be hooking up in a bit.
Does the Wizard support the Multi Water Sensors yet?
According to this thread a while back it didn't
http://forum.reefangel.com/viewtopic.ph ... 040#p37040
So you're saying that the ATO come on after reboot and stays on?
It should come on for less than a second after reboot because the unit is reading the level at 0 at the very beginning.
Does the Portal or and app display the Water level correctly?
This is something Roberto created for someone else.
Code: Select all
if (ReefAngel.WaterLevel.GetLevel(1)>=20 && ReefAngel.WaterLevel.GetLevel(2)>=30)
ReefAngel.Relay.On(Port1);
else
ReefAngel.Relay.Off(Port1);
Maybe you can modify that to work for you.
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 11:29 am
by binder
Sacohen wrote:
Does the Portal or and app display the Water level correctly?
yes, multichannel water level works just fine with the android app.
Sent from my iPad mini
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 11:51 am
by Sacohen
No Curt I was asking Smotz if he is getting the correct reading for his Multi Level sensor on the Portal or his app.
If his sensor is reading 20 when it is actually 90 then then ATO is always going to want to be on.
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 12:46 pm
by binder
Sacohen wrote:No Curt I was asking Smotz if he is getting the correct reading for his Multi Level sensor on the Portal or his app.
If his sensor is reading 20 when it is actually 90 then then ATO is always going to want to be on.
ooooohhhh...my bad. i guess i should have read more of the thread.
Sent from my iPad mini
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 12:50 pm
by Sacohen
No problem.
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 1:05 pm
by Smotz
Yes, the reading is correct. I uploaded code about 4 times since and it didn't happen...
I am wondering if by coincidence it was supposed go on right when it rebooted so it stayed on...
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 1:11 pm
by Sacohen
That's very possible, it's happened to mine.
Just keep an eye on it.
Re: ato started filling on new upload
Posted: Thu Jun 19, 2014 6:09 pm
by lnevo
Yes! That is exactly what happened. Steve had the same thing for a while when he had his high/low too close together also. It would cause ato to stay on during reboots because the ato was on more frequently. All the outlets maintain there state when you reboot.
Re: ato started filling on new upload
Posted: Fri Jun 20, 2014 2:22 pm
by Smotz
lnevo wrote:Yes! That is exactly what happened. Steve had the same thing for a while when he had his high/low too close together also. It would cause ato to stay on during reboots because the ato was on more frequently. All the outlets maintain there state when you reboot.
Lol, I need to be careful, then. I got my ATO plumbed to the basement in a 32g brute!
I extended the electrical from the RA to an external pump in the basement.
Re: ato started filling on new upload
Posted: Fri Jun 20, 2014 3:24 pm
by lnevo
It's only gonna happen during a reboot for a few seconds...put an off statement in the setup could help reduce it slightly. The other thing you could do is widen the high/low threshold so it doesnt come on as frequently so you won't hit that random overlap as often and probably eliminate completely.
Re: ato started filling on new upload
Posted: Fri Jun 20, 2014 3:28 pm
by lnevo
The other thing i would recommend especially with that much available water...is time limit the ATO to one, two, or a few times per day... Say perhaps 4pm-5pm. Late enough that if any issue you just home from work, but early enough that you probably wont be uploading code. Just as an idea...
Re: ato started filling on new upload
Posted: Fri Jun 20, 2014 7:05 pm
by Smotz
lnevo wrote:The other thing i would recommend especially with that much available water...is time limit the ATO to one, two, or a few times per day... Say perhaps 4pm-5pm. Late enough that if any issue you just home from work, but early enough that you probably wont be uploading code. Just as an idea...
Not a bad idea. Thanks, bud.