Run commands on your computer with a virtual SmartThings switch

I created a SmartApp that allows you to run a command on your computer by flipping a virtual SmartThings switch. I uses a service called TRIGGERcmd to relay the on/off signal from SmartThings to your computer. It can send ‘on’ or ‘off’ as a parameter if you want it to. Here are a couple YouTube videos showing use cases that pass the on or off to the command to close or open Kodi or turn an X10 lamp on or off.


This post on the forum at www.TRIGGERcmd.com tells how to install the SmartApp and device handler:
https://www.triggercmd.com/forum/topic/29/smartthings-integration-flip-a-virtual-switch-to-run-a-command

I submitted the code to be published, but for now you’ll have to install it manually.