I am working on automating my ATO fill reservoir, and wanted to confirm my code. It's important I get this right, because I run a regeneration for my whole house water softener at night, so the RODI can only come on during certain hours during the day. I wanted to confirm the code here first before automating it.
This is for an Apex solenoid connected to my RODI.
I would like the solenoid to turn on if the two conditions are met... The time is between 8 am and 8 pm, and the ATO_lo sensor is open. Then I would like the Solenoid to turn off if the ATO_hi sensor is closed, or the time is outside of 8 am to 8 pm.
Set OFF
Fallback OFF
If Time 08:00 to 20:00 Then ON
If ATO_lo open then ON
If ATO_hi closed then OFF
This is for an Apex solenoid connected to my RODI.
I would like the solenoid to turn on if the two conditions are met... The time is between 8 am and 8 pm, and the ATO_lo sensor is open. Then I would like the Solenoid to turn off if the ATO_hi sensor is closed, or the time is outside of 8 am to 8 pm.
Set OFF
Fallback OFF
If Time 08:00 to 20:00 Then ON
If ATO_lo open then ON
If ATO_hi closed then OFF