Wake On Lan - Programming help

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:

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?

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

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.