Program for certain days of the week

chrisjj625

Active Member
View Badges
Joined
Apr 14, 2010
Messages
370
Reaction score
186
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?
 

n2585722

2500 Club Member
View Badges
Joined
Jun 17, 2013
Messages
4,818
Reaction score
2,779
Location
Cedar Park, Tx
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?
It would help to know which controller you have. I can help with the Hydros, Archon and RKE, but not the others.
 

Sean Clark

🐟 OnlyFins 🐠
View Badges
Joined
May 16, 2019
Messages
9,057
Reaction score
33,264
Location
Michigan
Rating - 0%
0   0   0
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.
 
OP
OP
chrisjj625

chrisjj625

Active Member
View Badges
Joined
Apr 14, 2010
Messages
370
Reaction score
186
Location
Michigan
Rating - 0%
0   0   0
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
 

Sean Clark

🐟 OnlyFins 🐠
View Badges
Joined
May 16, 2019
Messages
9,057
Reaction score
33,264
Location
Michigan
Rating - 0%
0   0   0
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.
 

TOP 10 Trending Threads

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 57 41.6%
  • More hurtful.

    Votes: 5 3.6%
  • I think it depends mostly on the technology.

    Votes: 53 38.7%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 41 29.9%
Back
Top
Home
Post thread…
Market
What's new