SmartThings turn on/off computer

(Dan) #1

I have two apps on my iPhone, one turn on my computer through WOL and another to turn it off.
I would imagine someone was able to figure out how to use SmartThings to do these things?

Ultimately, I want to run my Goodnight function and shut down my PC.
And use WOL to turn the pc on either on a timer or switch.

(sidjohn1) #2

(Benji) #3

To quote @Tyler :

hubAction = new physicalgraph.device.HubAction("wake on lan ${getDataValue("mac")}", physicalgraph.device.Protocol.LAN, null, [secureCode:"000000000000"])

[QUOTE]“wake on lan command”[/QUOTE]

Not sure if this is available yet but if it’s not, it’s definitely coming since it’ll be needed for the 2015/2016 Samsung Smart TVs!

(Glen King) #4

Too bad you don’t have an android phone. Tasker with AutoInput and Sharptools could do exactly what you desire.

(Larry Mc Farlin) #5

Create a momentary virtual switch to turn off your PC then use the webserver function of Eventghost: