Program for certain days of the week

chrisjj625

Active Member
View Badges
Joined
Apr 14, 2010
Messages
360
Reaction score
202
Location
Michigan
Rating - 0%
0   0   0
Is there a way to program for days of the week? For example, I would like to run my co2 scrubber all day Saturday and Sunday when we are home all day. But, during the week I would like it to go off when it hits a certain ph value. Is this possible? Any sample code?
 
Is there a way to program for days of the week? For example, I would like to run my co2 scrubber all day Saturday and Sunday when we are home all day. But, during the week I would like it to go off when it hits a certain ph value. Is this possible? Any sample code?
It would help to know which controller you have. I can help with the Hydros, Archon and RKE, but not the others.
 
IF DOW S-S THEN ON

If you want to have concurrent days then exclude the hyphen. For example

If DOW TWT THEN ON would set your outlet on for Tuesday Wednesday and Thursday.
 
Here is what my code looks like:

Fallback OFF
If pH < 7.90 Then ON
If pH > 7.90 Then OFF
If Output Maintenance = ON Then OFF
If FeedA 005 Then OFF

If I enter "IF DOW S-S THEN ON" I get an error and it won't let me update. Any ideas? @Sean Clark
 
Here is what my code looks like:

Fallback OFF
If pH < 7.90 Then ON
If pH > 7.90 Then OFF
If Output Maintenance = ON Then OFF
If FeedA 005 Then OFF

If I enter "IF DOW S-S THEN ON" I get an error and it won't let me update. Any ideas? @Sean Clark
My mistake. You need to include a hyphen for each day that is omitted. So five hyphens in place of MTWTF.

If DOW S-----S Then ON

Sorry for that.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top