SmartThings turn on/off computer

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.

1 Like

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!

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

2 Likes

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