Wake On Lan - Programming help


(Jay) #1

I’m trying to create a handler so that I can turn on my computer through Wake-on-lan

I’m a total beginner on to Smartthings and am no programmer.

I’ve read this post:
http://docs.smartthings.com/en/latest/cloud-and-lan-connected-device-types-developers-guide/building-lan-connected-device-types/building-the-device-type.html#wake-on-lan-wol

When I create a new device handler, and I create from code and I past this on the code page, I get a java.lang.illegalargumentexpression: metadata definition not found

How can I troubleshoot this, or create this so that I can be able to turn on my PC remotely?


#2

Im interested in doing this, did you get it sorted?


#3

I would suggest that you install Core. There is a core piston that will do this for you. You just need to supply the Mac address of the pc. No programming required.