Hey guys,
As many of you know, most PC's have the ability to power on via a Wake on LAN (WOL) feature. I was able to download an app on my smartphone that sends a WOL signal, that turns on my desktop PC. It works like a charm. I want to make a physical button that sits on my desk. When I press the button I want it to send a WOL signal to my PC that subsequently turns it on. I was thinking of setting up my Raspberry Pi to do this. I've located the code, in Java, that sends the WOL signal (ie magic packets). I need a physical button that connects to the Raspberry Pi's USB port such that the Java app can detect if it has been pressed. I'm envisioning a button that looks similar to an automobile "Push to start" button.
Has this already been done? What do you guys think?
As many of you know, most PC's have the ability to power on via a Wake on LAN (WOL) feature. I was able to download an app on my smartphone that sends a WOL signal, that turns on my desktop PC. It works like a charm. I want to make a physical button that sits on my desk. When I press the button I want it to send a WOL signal to my PC that subsequently turns it on. I was thinking of setting up my Raspberry Pi to do this. I've located the code, in Java, that sends the WOL signal (ie magic packets). I need a physical button that connects to the Raspberry Pi's USB port such that the Java app can detect if it has been pressed. I'm envisioning a button that looks similar to an automobile "Push to start" button.
Has this already been done? What do you guys think?