Announcement

Collapse
No announcement yet.

Enable or Disable an Event Plugin

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

  • Enable or Disable an Event Plugin

    Thought I'd post this simple plugin I wrote for myself in case it could be useful for anybody else. This plugin lets you enable or disable HomeSeer Events from an Event. Hopefully it is fairly self explanatory from this screenshot.


    Click image for larger version

Name:	drhsEventEnabler.jpg
Views:	1
Size:	69.0 KB
ID:	1207055

    During testing I found that the plugin does not function correctly on HS 3.0.0.96, because of a HomeSeer bug (http://bugzilla.homeseer.com/bugzill...ug.cgi?id=1439). However it works perfectly on 3.0.0.143 and above, both Windows & Linux.

    To install, unzip the drhsEventEnabler.exe file and copy it to your HomeSeer directory. Then on the Plugins/Manage page, enable drhsEventEnabler.

    Cheers
    -David
    HSPI_drhs_EventEnabler.zip

  • #2
    Would it be possible to allow this to disable the event it is being called in? I would like to disable some events after they are run.

    Comment


    • #3
      Originally posted by pmendiuk View Post
      Would it be possible to allow this to disable the event it is being called in? I would like to disable some events after they are run.
      There is a scripting command that will disable an event.
      You could try including an immediate script command [ &hs.DisableEvent "<event name>" ] as the last event action, after a wait of a second or two. I've never tried to disable a running event that way, but it might work.
      If it doesn't, you could try having the event run another event that has the immediate script command action.

      Mike____________________________________________________________ __________________
      HS3 Pro Edition 3.0.0.548

      HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF, Rain8Net+ | RFXCOM | QSE100D | Vantage Pro | Green-Eye | X10: XTB-232, -IIR | Edgeport/8 | Way2Call | Ecobee3

      Comment


      • #4
        I did try that as immediate script without a delay and it didn't work. I loaded up the easy trigger plugin and I could disable the running event.

        Comment

        Working...
        X