Hello,
Is there a way to have something like:
If DoW -M--T-- And Time 00:00 to 12:00 Then ProfileName
Please advise.
Thank you,
Don
Hello,
Is there a way to have something like:
If DoW -M--T-- And Time 00:00 to 12:00 Then ProfileName
Please advise.
Thank you,
Don
Last edited by dsdoyle; 02-22-2018 at 15:17. Reason: Correct syntax
Set OFF
If Time 0:00 to 12:00 Then profile-name
If DoW S-TW-FS Then OFF
Note the difference in how I specified the days in the DoW statement compared to your post. The key is to keep the output OFF on those days you do not want it to operate.
Please do not send me PMs with technical questions or requesting assistance - use the forums for Apex help. PM me ONLY if the matter is of a private or personal nature. Thanks.
So I could do:
Set OFF
If Time 0:00 to 12:00 Then profile-name
If DoW S-TW-FS Then OFF
If Time 0:00 to 23:00 Then another-profile
If DoW -M--T-- Then OFF
Correct?
Last edited by dsdoyle; 02-22-2018 at 15:36. Reason: Edit
Nope. The lower lines will override the upper ones and won't behave how you expect. Different weekly behaviors require virtual outlets.
VOname (virtual outlet)
Set OFF
If Time 00:00 to 22:59 Then ON
If DOW -M--T-- Then OFF
Physical Outlet
Set OFF
If Time 00:00 to 11:59 Then profile1
If DOW S-TW-FS Then OFF
If Output VOname = ON Then profile2
You might be an engineer if...You have no life and can prove it mathematically.
No, the net effect of your DOW commands are all days OFF. And your second Time command encompasses the first. Why dont you describe in words what you are trying to do. It helps to think in terms of a default/nominal behavior with exceptions.
-edit-
It looks like zombie figured out what you wanted.
Bookmarks