[PORT] - Send Events to EventGhost

This is now working for me.

Instructions to create then run a local Windows command from HE follow. YMMV

  1. Install EventGhost

  2. Activate the Webserver plugin

    • Unless you know what you are doing leave it at port 80
    • In the HTML document root: field enter C:/www
    • Do not change: Event Prefix: HTML Realm: EventGhost
    • Click OK
    • The www directory name is inconsequential as long as it matches what is entered into the webserver's document root field
  3. Create directory C:/www

    • Create file index.html with the following
    • <HTML><BODY></BODY></HTML>
  4. Highlight the computer name at the top of Configuration column

  5. Click on Create a folder: give it a name

  6. highlight the folder then Add a Macro in the newly created folder

    • Expand System, select Run Command
    • enter the windows command, click Test
    • when it works, click OK
    • This is now a Macro, with an Action
  7. From a web browser enter 127.0.0.1?whatever

    • If you get a 404, not found, see step 2 and 3 above
  8. In the EG event log you should see event HTTP .whatever[]

  9. Drag the HTTP event to the newly created Macro. It may look like it's not going, but once you stop dragging it will show up in the macro. That is the trigger

  10. Reenter the trigger URL from the browser to test

  11. Create the HubAction or RM to send the URL and test

6 Likes