Announcement

Collapse
No announcement yet.

Change Event Condition via a Script

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

    Change Event Condition via a Script

    Is there any way in HS3 to change an event's condition with a script?

    I have an event condition of

    IF A Timer's Value Becomes...
    Timer: "S1-Step #1' Time: 0 days 0 hours 0 minutes 5 seconds

    I would like a user to be able to change the number of seconds on this condition without drilling into the event and conditions.

    For example, the user would enter a value through a button or input box on an HS Touch screen and then a script would update this condition with the new value.

    Thanks.

    #2
    There are a couple of methods available to change event properties but not as many as there are to change device properties or what was available in HS2.

    The options available are documented here - http://www.homeseer.com/support/home...ing_events.htm and unfortunately I don't think one will help your situation.

    Comment


      #3
      Thanks

      I was afraid that was the case now.

      Comment


        #4
        Talking about fiddling with events, is there a way in HS3 to create an event from a script as I used to do in HS2

        HS2 code
        Code:
        dim T
        T=dateadd ("N",+2,NOW)
        hs.NewTimeEvent "Speakers",T,"",1,1,1,1,1,1,1,"",1,"Start Speakers.txt","System"
        sigpic
        A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

        Comment

        Working...
        X