Announcement

Collapse
No announcement yet.

SuspendActiveZone?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SuspendActiveZone?

    In an older thread, this method was said to be added to BLRadar. However, it is not in the script documentation, and upon trying it, the log throws an error about Public member 'SuspendActiveZone' not being found. What's the scoop on it?

    #2
    There is a one called "Suspend"

    Here is an example:

    Code:
    hs.Plugin("BLRadar").Suspend("A1", 15)
    The first parameter is the device code
    The second parameter is the number of minutes to suspend
    The third parameter is true or false to force the off (this is optional)
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


      #3
      Hmm, ok thanks. Unfortunately, I want to suspend for only some seconds, so I can't use this. I will have to use a lot of inhibit flags (virtual devices) to suspend my logic for the needed period.

      Also, just to be clear, does this method suspend activation of a zone, or will it literally suspend the countdown/timers with an already active zone as well?

      Comment


        #4
        I believe it suspends activation of a zone. If it is already active then it would have to go inactive for the suspend to affect it.
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment

        Working...
        X