Apex Code Help.

yepreef

Active Member
View Badges
Joined
Jun 8, 2018
Messages
215
Reaction score
72
Rating - 0%
0   0   0
So i have this code for my soleinoid on 24v DC port.
Set OFF
Fallback OFF
If Sw3 CLOSED Then ON
How do i set this to turn off for 1 hour at nigh?
Thanks
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
If you just want it to turn off for one hour at a specified time, add this line of code:

Set OFF
Fallback OFF
If Sw3 CLOSED Then ON
If Time 22:00 to 22:59 Then OFF

This example would turn it off between 10pm - 11pm.

See my tutorial on Apex Timers for more details and examples:
 

Looking for the spotlight: Do your fish notice the lighting in your reef tank?

  • My fish seem to regularly respond to the lighting in my reef tank.

    Votes: 37 78.7%
  • My fish seem to occasionally respond to the lighting in my tank.

    Votes: 4 8.5%
  • My fish seem to rarely respond to the lighting in my tank.

    Votes: 3 6.4%
  • My fish seem to never respond to the lighting in my tank.

    Votes: 0 0.0%
  • I don’t pay enough attention to my fish to notice if they respond to the lighting.

    Votes: 2 4.3%
  • I don’t have any fish in my tank.

    Votes: 1 2.1%
  • Other.

    Votes: 0 0.0%
Back
Top