pjjameso Posted December 31, 2022 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')
MrBill Posted December 31, 2022 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
Solution MrBill Posted December 31, 2022 Solution Posted December 31, 2022 I'd also use the program search function and look for another version of the program.
pjjameso Posted December 31, 2022 Author Posted December 31, 2022 Thanks Mr Bill, will break into two programs as suggested
Recommended Posts