I broke down and set up an EventGhost install on my always-on HTPC that would fire time-based events. It was dead simple, and there’s a neat SmartApp here that allows two-way communication between ST and EventGhost.
/**
* Send Events to EventGhost
*
* Send SmartThings events to EventGhost
*
* https://github.com/aderusha/SmartThings/blob/master/Send-Events-to-EventGhost.groovy
* Copyright 2015 aderusha
* Version 1.0.0 - 2015-09-13 - Initial release
* Version 1.1.0 - 2015-09-15 - Changed handling of binary(ish) vs non-binary values to allow sending
* value data to EG to be handled via Python and eg.event.payload[]
* Version 1.2.0 - 2016-04-18 - Added support for individual button values
*
* This SmartApp will send selected events to an EventGhost server running the Webserver plugin.
* EventGhost is a Windows application used for event automation, find out more here: http://www.eventghost.org/
* How to setup the EventGhost Webserver plugin: http://www.eventghost.org/mediawiki/index.php?title=Webserver
*
* TODO:
* - Currently doesn't support user authentication or SSL. EG Webserver authentication must be disabled by leaving
* the username/password field in the plugin configuration blank
* - Figure out how to monitor Sonos "musicPlayer" events
This file has been truncated. show original
1 Like