Request: Code to use single ATO as failsafe

Requests for new functions or software apps
User avatar
Posts: 31
Joined: Fri Apr 19, 2013 1:00 pm
PostPosted: Thu Dec 17, 2015 5:48 pm
Hello folks,

I am trying to install a single float at the top of the sump (wire side up) and use it to turn port 5 of my only relay off. I currently have a standalone single float ATO plugged to port 5 which keeps the water stable but it has failed me a couple times. If it sticks on the low position it continues to import fresh water. To avoid overflowing the sump and flooding the room, I would like to install a single float at the top so it would stop it from continuing.
Also, which of the 2 connectors from the main controller should I use.

In sum: If single float gets pushed up, then turn OFF port 5.

Thanks in advance!
User avatar
Posts: 31
Joined: Fri Apr 19, 2013 1:00 pm
PostPosted: Tue Jan 05, 2016 9:15 pm
Anybody?

Posts: 12276
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Jan 05, 2016 10:05 pm
Try this:
Code: Select all
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.Off(Port5);

Place it after the ATO function you are using now.
Roberto.
User avatar
Posts: 31
Joined: Fri Apr 19, 2013 1:00 pm
PostPosted: Wed Jan 06, 2016 6:58 pm
rimai wrote:Try this:
Code: Select all
if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.Off(Port5);

Place it after the ATO function you are using now.


Thanks Roberto. What if I am not using an ATO function at all? Custom code area?

Posts: 12276
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed Jan 06, 2016 7:36 pm
yes
Roberto.

Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest