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?
 
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.
 

TOP 10 Trending Threads

WHICH TYPE OF MISTAKE TAUGHT YOU YOUR MOST EXPENSIVE REEFKEEPING LESSON?

  • Moving too quickly or adding too much at once

    Votes: 12 33.3%
  • Skipping—or shortening—quarantine or dipping

    Votes: 5 13.9%
  • Buying the wrong equipment the first time

    Votes: 6 16.7%
  • Ignoring maintenance, warning signs, or redundancy

    Votes: 11 30.6%
  • Chasing numbers or making too many changes

    Votes: 3 8.3%
  • Choosing incompatible fish, corals, or invertebrates

    Votes: 5 13.9%
  • Poor aquascaping or tank-design decisions

    Votes: 3 8.3%
  • Failing to research an animal’s needs

    Votes: 1 2.8%
  • Trusting bad advice

    Votes: 4 11.1%
  • Doing something on the tank when you should've gone to bed

    Votes: 5 13.9%
  • Something else—tell us below

    Votes: 4 11.1%
  • I’m still waiting for my first expensive lesson!

    Votes: 3 8.3%

New Posts

Back
Top
Home
Post thread…
Market
What's new