Mark Sanctuary Posted November 2, 2007 Posted November 2, 2007 These programs are showing "Idle: true" even though it is 11:19 am right now. Should they really be showing "Idle: false"? If Time is Sunrise + 2 hours Then Set Scene 'Inside All Scene' Off Wait 10 seconds Set Scene 'Inside All Scene' Off Else - No Actions - (To add one, press 'Action') If Time is 2:59:00AM Then Set Scene 'Inside Off LEDs' Off Set Scene 'Inside On LEDs' On Else - No Actions - (To add one, press 'Action') If Time is 3:00:00AM Then Set Scene 'My Lighting' Query Else - No Actions - (To add one, press 'Action') Quote
Chris Jahn Posted November 2, 2007 Posted November 2, 2007 You can think of a 'Time is' entry as equivalent in behaviour to receiving an X10 message, or a Control event like 'Keypad A Fast On'. For 'Time is', the arrival of that specified time is the event, and as such the program will run. The program True/False state is only changed when a 'relevant event' occurs, meaning that at least one of the conditions in your 'If' is testing for the event that occurred. For Time Ranges (From/To, From/For), there are two time events, one when the 'From' time arrives, and one when the 'To' (or 'For') time arrives. Therefore, in your examples, the program state will never become false (unless you add more conditions). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.