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
    Len


    HomeSeer Version: HS3 Pro Edition 3.0.0.435
    Linux version: Linux homeseer Ubuntu 16.04 x86_64
    Number of Devices: 633
    Number of Events: 773

    Enabled Plug-Ins
    2.0.54.0: BLBackup
    2.0.40.0: BLLAN
    3.0.0.48: EasyTrigger
    30.0.0.36: RFXCOM
    3.0.6.2: SDJ-Health
    3.0.0.87: weatherXML
    3.0.1.190: Z-Wave

    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