I got my issue above resolved. I needed to add pulldown resistors.
---------------------
-- New Issue --
---------------------
Okay, I am trying to automatically refill my ATO Reservoir using 2 float switches.
Lets call them "Float-Low" and "Float-High", for low level and high level sensors.
- In ATO Menu, Float-High is set to OneShot, controls a Solenoid Valve, and is disabled by default.
- Float-Low is set to Enable, and is set to trigger a macro called "Refill Reservoir".
- The Macro called "Refill Reservoir" has only 1 action in it, which is "ATO > Float-High > Turn On"
The idea is when "Float-Low" is triggered, it will turn on a Solenoid Valve to refill the Reservoir until it reaches the "Float-High" sensor.
However, when I try to do this, it does not work, and it causes the entire system to hang.
What am I doing wrong?
I have not been able to get an ATO to trigger a Macro. I think this is what you are seeing and thinking the system is hanging
This is the question I probably get the most so I made this up, here's a copy and paste. You can ignore the controller and any sensor type will work if you have it confirmed working with ATO.
Here's an example of a low level sensor starting a pump and a high level sensor stopping the pump.
This is how the jumpers should be set, sensor 1 is the low level float. Notice I have one float on GND and other float on +5v and the P-U / P-D jumper is opposite. I did it that way so connectors in reef-pi don't need to be "reversed". If both were wired like sensor 2, sensor 1 connector would need to be "reversed". For float switches the P-U / P-D jumper should always be opposite of 2nd wire on float. If a wire from float goes to GND jumper must be set to P-U, if the float wire goes to +5v then jumper needs to be P-D.
Based on the floats connected like above this is how connectors should look. (RevB has a 6th sensor port).
Now setup two macros like image below. The "Start Fill" is the low level float and "Stop Fill" is high level.
Once both are added you can press "Run" button for "Start Fill" and the pump should turn on. I have DC 1 set for equipment but anything on that tab will be available.
Then press run for "Stop Fill" and it should turn off.
When this is working you can move on.
Now add the two sensors to ATO tab. I have them both disabled so I could get both on single image so do keep them both enabled (on).
Now the low float will start the pump and top float will turn it off. Note both floats always need to be in the position they would be otherwise it will flip flop. During testing this can throw you off. If you are testing out of water make sure you keep adjusting both floats in order they would be in reality.
Here's some images of the floats. the lower one is low level and other high level. Of course space between floats is unlimited, this is just what I was using.
This image represents a full tank of water, both floats would be up and pump (light in image) would be off. At this point if you went to equipment tab and turned on the pump manually it would flip flop once because the high level sensor is still running the macro which is turning off the pump.
This image would be a partially filled tank, bottom float is still high but top dropped. Pump remains off. Now at this point if you went to equipment tab and turned on that pump it would turn on and stay on until the high level float went back up. This can be useful to manually start a refill at any time.
This picture is when the tank gets empty, both floats are down and the pump will turn on. This time if you manually tried to turn off the pump at this point it would immediately come back on because low level float is forcing it on. If you manually moved the high level float up while low level is down it would flip flop as well but in reality this should never happen.
This image is during the fill but tank not full yet, low float is up and high float is still down. Once water raises high level the pump will stop and it can go back to the down position when water is used.
And this the end of the cycle and tank is full again. Pump is off and waiting for both floats to drop to start the pump.
+100, this is an awesome topic. I’m taking notes, whatever comes out of it, I’ll translate into software features. As of now , default equipment state on startup is something I’m thinking of.
Here's my 2 cents, on my old controller I created a function called smartStartup, it was one of the best features. When the controller started up it went through all the schedules and figured out based on the current day time what state each output should be in. After this is went through all the sensors and what they control and decided which should run or not. It wasn't easy to do but it was slick and worked well.
Hey everyone, looking for a little help with the ph setup. When I add it I get an error that an input is missing and the ability to calibrate it is grayed out.
here’s how I’ve been setting it up:
1. Add ezo ph driver with the default 68
2. Add analog ph connector with pin 0
3. Go to ph and add the ph connector
I added my circuit below if you feel that may be the source of the issue. After buying everything I realized I’m not following best practices for noise isolation but I’d still expect it to show up.
Thanks in advance!
The default address is 99 in reef-pi, with i2cdetect you should see 63. Also don't forgot to go to "admin" tab and press "reboot" button after changing the address.
I think it's crazy Atlas doesn't have those circuits isolated, it should work but how well is the question. If I put an isolated probe in my tank it goes off the charts.