Announcement

Collapse
No announcement yet.

Disable Event from HS3 Touch?

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

    Disable Event from HS3 Touch?

    I would like to create a button that enables or disables another event.

    Specifically I have an event that announces a visitor at the front door went a motion sensor is triggered.

    There are times where we entertain and a stream of people constantly arrive. I would like to easily disable the announcement from a control on my wall mounted Ipad.

    I looked through available event commands and do not see a way. Has anyone done this with their system?

    #2
    You should be able to run two script commands from HS Touch:

    &hs.DisableEvent "evening"

    &hs.EnableEvent "evening"

    replace "evening" with the name of your event.

    Cheers
    Al
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Thanks. I have not ventured into scripts yet. But this looks pretty basic.

      Do I need a vb editor to create the script file?

      Or can I just use a text editor and give the file a .vb extension?

      Comment


        #4
        Originally posted by hiken View Post
        Thanks. I have not ventured into scripts yet. But this looks pretty basic.

        Do I need a vb editor to create the script file?

        Or can I just use a text editor and give the file a .vb extension?
        You don't need to create a script file. These commands can be used in HS Touch direct. I don't use HS Touch (have played with it in the past), but you can add a command in the designer to a button in this format AFAIK:

        [$SCRIPT=&hs.disableevent "evening"]

        Someone with HS Touch experience can hopefully jump in if you can't find where to add it.

        Cheers
        Al
        HS 4.2.8.0: 2134 Devices 1252 Events
        Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

        Comment


          #5
          Another option that you can do that I have for the same reason (I didn't realize there was a command for scripts to disable events) is create a virtual device that you can turn on and off and make it a condition to the event to run.

          Comment


            #6
            Thank you for the suggestions. I believe I can figure out the next step.

            Comment


              #7
              I just setup an event to do whatever I need to do. So two event, one to disable the event and a second to enable. You don't need a script as stated above.

              The in HSTouch, your buttons will execute the appropriate event.

              Works well.

              Barry

              Comment

              Working...
              X