Apex Multiple DOW + Time statements on same outlet

psumms

Active Member
View Badges
Joined
Sep 11, 2019
Messages
184
Reaction score
134
Location
United Kingdom
Rating - 0%
0   0   0
Is it possible to have multiple time + day statements on an outlet, e.g. as below, testing this seems to suggest not. Is there a workaround?

If Time 00:00 to 08:50 Then OFF
If DOW ----TFS Then OFF
If Time 08:53 to 14:50 Then OFF
If DOW SMT---- Then OFF
 

SuncrestReef

That Apex guy
View Badges
Joined
Jan 18, 2018
Messages
4,214
Reaction score
9,217
Location
Oregon
Rating - 0%
0   0   0
In order to combine multiple conditions, you’ll need to split it out into separate virtual outputs, then use the status of those virtual outputs to control the physical output. Example:

[SMT_Control] — virtual output
Set OFF
If Time 00:00 to 08:00 Then ON
If DOW SMT---- Then OFF

[TFS_Control] — virtual output
Set OFF
If Time 12:00 to 20:00 Then ON
If DOW ----TFS Then OFF

[Device] — physical output
Set OFF
If Output SMT_Control = ON Then ON
If Output TFS_Control = ON Then ON

Adjust the times and days to your preference.

If you’re not familiar with virtual outputs see my tutorial here:
 

Reefing threads: Do you wear gear from reef brands?

  • I wear reef gear everywhere.

    Votes: 43 16.0%
  • I wear reef gear primarily at fish events and my LFS.

    Votes: 17 6.3%
  • I wear reef gear primarily for water changes and tank maintenance.

    Votes: 1 0.4%
  • I wear reef gear primarily to relax where I live.

    Votes: 33 12.3%
  • I don’t wear gear from reef brands.

    Votes: 155 57.8%
  • Other.

    Votes: 19 7.1%
Back
Top