Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The optional timeout can be used so that to avoid the external system does not have having to send an a separate Enable and Disable command. A single command message can be sent with a timeout and the original state will be reversed once the timeout has elapsed.

The timeout will reverse the original message state, so this applies to both True and False. If the original message had a state of true (Enable = true) and a 10 second timeout, then the state will be set to true but , however after 10 seconds the state will be automatically changed back to False. Likewise If the original message is sent with Enable = false and a 10 second timeout, then the trigger state will be set to false and after 10 seconds it will automatically change to true.

Info

If the timeout is set to 0 (zero) (or the optional attribute is excluded altogether) then the timeout will have no effect. The trigger state will remain unchanged until another message is sent to change the state.

...