ato started filling on new upload

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

ato started filling on new upload

Post 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  
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: ato started filling on new upload

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

Re: ato started filling on new upload

Post by Smotz »

Yes, I am. I had to unplug the ato..

Sent from my SCH-I605 using Tapatalk
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: ato started filling on new upload

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

Re: ato started filling on new upload

Post 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
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: ato started filling on new upload

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

Re: ato started filling on new upload

Post 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
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: ato started filling on new upload

Post by Sacohen »

No problem.
Smotz
Posts: 401
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: ato started filling on new upload

Post 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...
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: ato started filling on new upload

Post by Sacohen »

That's very possible, it's happened to mine.
Just keep an eye on it.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: ato started filling on new upload

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

Re: ato started filling on new upload

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

Re: ato started filling on new upload

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

Re: ato started filling on new upload

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

Re: ato started filling on new upload

Post 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.
Post Reply