Event Scheduler, What To Do, 0 and 1 options

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • marcuslee
    Automated Home Ninja
    • Dec 2009
    • 279

    Event Scheduler, What To Do, 0 and 1 options

    Hi All,

    In Event Scheduler, What to Do, Action Function option, what is the significance of the 1 or 0 option (after the object action selected)?

    (I note the help file image doesn't have it, so obviously doesn't mention this).

    Thanks in advance,

    Marcus
  • Viv
    Automated Home Ninja
    • Dec 2004
    • 284

    #2
    Originally posted by marcuslee View Post
    Hi All,

    In Event Scheduler, What to Do, Action Function option, what is the significance of the 1 or 0 option (after the object action selected)?

    (I note the help file image doesn't have it, so obviously doesn't mention this).

    Thanks in advance,

    Marcus
    The Scheduler makes a temporary connection to an object. Triggers the connection and then destroys it.
    Depending on what you trigger, the recipient may do something depending on the state of the sender (here the Scheduler).
    It all depends on the recipient object and which of its connections you trigger.
    Many inputs do not care about the state of the sender.
    The 1 or 0 options reflects the state of the Scheduler when it makes the trigger action.

    If for example you triggered a Lights 'Follow state input connection' via the scheduler it would follow the state of the scheduler e.g. 1 or 0.
    The option was provided fairly recently as in some case it was found a 0 or false state was desirable for the representation of the Scheduler state.

    Viv.
    Last edited by Viv; 6 April 2014, 10:37 AM.

    Comment

    • chris_j_hunter
      Automated Home Legend
      • Dec 2007
      • 1713

      #3
      well done - have been meaning to ask that question, since it first appeared !
      Our self-build - going further with HA...

      Comment

      • marcuslee
        Automated Home Ninja
        • Dec 2009
        • 279

        #4
        Originally posted by Viv View Post
        The Scheduler makes a temporary connection to an object. Triggers the connection and then destroys it.
        Depending on what you trigger, the recipient may do something depending on the state of the sender (here the Scheduler).
        It all depends on the recipient object and which of its connections you trigger.
        Many inputs do not care about the state of the sender.
        The 1 or 0 options reflects the state of the Scheduler when it makes the trigger action.

        If for example you triggered a Lights 'Follow state input connection' via the scheduler it would follow the state of the scheduler e.g. 1 or 0.
        The option was provided fairly recently as in some case it was found a 0 or false state was desirable for the representation of the Scheduler state.

        Viv.
        Thanks Viv, appreciated.

        Comment

        Working...
        X