Page 1 of 1

High ATO port

Posted: Thu Aug 28, 2014 7:07 am
by ganjero
Can I use only the HighATO port to monitor the water level in my ATO reservoir? I was thinking in placing the sensor upside down at the bottom of the reservoir but how would I code this?

Thanks

Re: High ATO port

Posted: Thu Aug 28, 2014 8:11 am
by rimai
What do you want to do when the float switch is triggered?

Re: High ATO port

Posted: Thu Aug 28, 2014 8:21 am
by ganjero
rimai wrote:What do you want to do when the float switch is triggered?
Yell to my wife "HEY IT"S TIME TO REFILL THE ATO RESERVOIR" :lol:

I would like to get some type of notification (email, text, or something on the phone app if possible) and turn off port4. I guess I can also buy the buzzer (where can it be connected?) so maybe it can "yell" that is time to refill the reservoir.

Re: High ATO port

Posted: Thu Aug 28, 2014 8:35 am
by rimai
You can set the portal to send you an alert on ATOHIGH equals 1
You can set port4 off with a code like this:

Code: Select all

ReefAngel.Relay.Set(Port4,ReefAngel.HighATO.IsActive());
The buzzer can be connected to any dimming port (actinic or daylight) or you can also use a wall wart and use a relay port.

Re: High ATO port

Posted: Thu Aug 28, 2014 9:06 am
by ganjero
Great, thanks.

Re: High ATO port

Posted: Fri Aug 29, 2014 10:26 am
by binder
if you are using my android app and doing the auto update, you can set notifications based on the ato status as well. the portal updates will probably be faster because the controller updated it more frequently (roughly every 5 minutes)


Sent from my iPad mini

Re: High ATO port

Posted: Sun Aug 31, 2014 6:12 pm
by ganjero
binder wrote:if you are using my android app and doing the auto update, you can set notifications based on the ato status as well. the portal updates will probably be faster because the controller updated it more frequently (roughly every 5 minutes)


Sent from my iPad mini
Thanks

Re: High ATO port

Posted: Sat Sep 20, 2014 8:04 pm
by ganjero
is there something I need to put in the code to use the ato ports? I plug a sensor in the high ato port and it's not turning on. I am using the low ato port to control a DC pump, don't know if that makes a different.

Re: High ATO port

Posted: Sat Sep 20, 2014 8:10 pm
by lnevo
Which libraries are you using? HighATO port isn't in the default libraries yet for DCPump. Also, can you post your current code. In the dev branch you'll just need to do

ReefAngel.DCPump.HighATOChannel=Sync; // or AntiSync...

That should get it to follow the DCPump settings.

Re: High ATO port

Posted: Sat Sep 20, 2014 11:45 pm
by ganjero
Im actually trying to using the high ATO with the sensor.

Re: High ATO port

Posted: Sun Sep 21, 2014 6:17 am
by lnevo
What kind of sensor. The ATO ports dont act like that as far as i know. You can use them to detect a switch port or as an output pwm port

Re: High ATO port

Posted: Mon Sep 22, 2014 6:15 pm
by ganjero
I am using the ATO floating sensor that came with the RA