pjjameso Posted December 31, 2022 Share Posted December 31, 2022 Have the following program to set a scene on if the time is after 5PM to sunrise. For some reason scene is always active no matter the time of day. So what am i doing incorrectly? Alarm Entrance Delay - [ID 0023][Parent 0001] If From 5:00:00PM To Sunrise (next day) And 'ELK / Jameson' Alarm Status is Entrance Delay is Active Then Set 'Welcome Home' On Else - No Actions - (To add one, press 'Action') Link to comment
MrBill Posted December 31, 2022 Share Posted December 31, 2022 that should work assuming 'ELK / Jameson' Alarm Status is Entrance Delay is Active is valid... (I don't have ELK). you can always break into 2 programs which might help spot the issue. Alarm Entrance Delay - [ID 0023][Parent 0001] If 'ELK / Jameson' Alarm Status is Entrance Delay is Active Then Run Program2 (if) Else - No Actions - (To add one, press 'Action') ---- Program 2 (Must be DISABLED) Alarm Entrance Delay - [ID 0023][Parent 0001] If From 5:00:00PM To Sunrise (next day) Then Set 'Welcome Home' On Else - No Actions - (To add one, press 'Action') Reminder: disabled programs still run when run by another program, they won't be triggered by IF conditions however. 1 Link to comment
Solution MrBill Posted December 31, 2022 Solution Share Posted December 31, 2022 I'd also use the program search function and look for another version of the program. Link to comment
pjjameso Posted December 31, 2022 Author Share Posted December 31, 2022 Thanks Mr Bill, will break into two programs as suggested Link to comment
Recommended Posts