APEX Programming to turn off after X days?

Albertan22

Well-Known Member
View Badges
Joined
Nov 10, 2019
Messages
750
Reaction score
753
Location
Alberta
What state or country do you live in
Canada
Rating - 0%
0   0   0
Is it possible to set a virtual output to turn off after it’s been running on Auto for 20 days? Maybe using a When command? I’d like to set my auto water change to turn itself off after 20 days since that’s about the amount of saltwater in my reservoir. I’ve been struggling with programming but nothing seems to work. #apexusers
 
Unfortunately the longest timer in Apex programming is 999:99 minutes, which equates to 16 hours, 39 minutes, 59 seconds. In theory you could create a series of virtual outputs, one triggering the next, but it would be a programming mess. Or perhaps the DOW command combined with virtual outputs, but you can only specify certain days of the week, so it wouldn't be able to start a timer on demand.

Your best bet is to install a float switch or optical sensor in your reservoir so your programming can simply monitor the switch Open/Closed status.

See my tutorial on Apex Timers here: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/
 
I was afraid of that. My reservoir is on the other side of the house and I had to fish the RO line through several walls and ceilings, unfortunately I didn’t run any wire with it so getting a float switch setup wouldn’t be easy unless I could figure out some kind of wireless option.
 

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 54 76.1%
  • Free or reduced shipping

    Votes: 13 18.3%
  • A useful bundle of gear or supplies

    Votes: 3 4.2%
  • A good price on livestock I’ve already researched

    Votes: 17 23.9%
  • A rare chance to get something hard to find

    Votes: 15 21.1%
  • A seller or brand I trust

    Votes: 14 19.7%
  • I buy when I need something, sale or not

    Votes: 13 18.3%
  • Other (Post in the comments)

    Votes: 2 2.8%
Back
Top
Home
Post thread…
Market
What's new