Announcement

Collapse
No announcement yet.

Run event from website link

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

  • Run event from website link

    Hi,

    I'm using Jon00's Link script, and I've created menu links, but I want to run run an event from the link.
    For example, I have a link that says Shutdown Homeseer which when clicked should run the BlShutdown event.
    I know this is possible as I know some of you guys are doing this.
    The only thing I've come up with so far is having the link open an .aspx page which has some event run scripting in it, although I've not tried this yet.
    Is there a direct way to access events via url?

    Thanks

  • #2
    You can try the JSON interface

    /JSON?request=runevent&group=GROUPNAME&name=EVENTNAME
    OR
    /JSON?request=runevent&id=EVENT_ID


    From https://homeseer.com/support/homesee..._with_json.htm

    Comment


    • #3
      If you are running HS3 on Windows or have ASPX web pages working on Linux, running events is built into my links package. An example is shown at the bottom of page 5 in the docs.
      Jon

      Comment

      Working...
      X