ATO Float switch

Basic / Standard Reef Angel hardware
Post Reply
jtomasi
Posts: 22
Joined: Thu Oct 25, 2012 11:35 am

ATO Float switch

Post by jtomasi »

I use the water level expansion - works great.

I would like to use the two float switches as follows:

Low Switch: Put in my ATO bucket to indicate if the bucket is low.

High Switch: Additional fail safe for the water level - put it in my sump to turn the ATO pump relay off if the sump gets to a certain level (this would also indicate if my return pump malfunctions for some reason as the water in the display will flow to the sump)

Where can I find the code for this?
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: ATO Float switch

Post by rimai »

You can use something like this:

Code: Select all

if (ReefAngel.HighATO.IsActive())
{
  ReefAngel.Relay.Off(Port1);  
  ReefAngel.Relay.Off(Port8);
}
else
{
  ReefAngel.WaterLevelATO(Port1,60,70,75);  
  ReefAngel.Relay.On(Port8);
}
Roberto.
Post Reply