This is a bit of a catch all SmartApp for use with HAM Bridge. It will show you how to respond to a number of events, as well as the proper method for sending a command to HAM Bridge.
DownloadThis is designed to be assigned to a virtual switch (or any switch for that matter), and sends a HAMBridge command when the switch is turned on, and another when turned off.
DownloadSmartThings default simulated switch Device Type will only trigger ON Events if the switch state is currently OFF, and OFF Events if the switch state is currently ON. This modified Device Type will trigger both ON and OFF events regardless of the state of the switch.
DownloadSimilar to the Virtual Switch SmartApp above, this SmartApp is designed to be used with a momentary switch type, and sends a single HAMBridge command when a momentary switch is pushed(turned ON).
Download