Jump to content

Bug: Scheduled times show True when past the time


Mark Sanctuary

Recommended Posts

Posted

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')

Posted

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).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...