Announcement

Collapse
No announcement yet.

Disable Event from HS3 Touch?

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

  • lhfarm
    replied
    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

    Leave a comment:


  • hiken
    replied
    Thank you for the suggestions. I believe I can figure out the next step.

    Leave a comment:


  • waynehead99
    replied
    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.

    Leave a comment:


  • sparkman
    replied
    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

    Leave a comment:


  • hiken
    replied
    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?

    Leave a comment:


  • sparkman
    replied
    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

    Leave a comment:


  • hiken
    started a topic Disable Event from HS3 Touch?

    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?
Working...
X