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,251
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:
 
Back
Top