Joined
·
15,591 Posts
The Problem: my PC doesn't like to sleep (the fans never turn off) and Wake-On-Lan can be really touchy, usually turning on my PC when I didn't ask it to and after only 2-3 minutes of sleep. Also, sometimes I forget to turn on my computer when I am at work or school so I can't access any of my files or services.
The Solution: I'm going to buy a Raspberry Pi. The Pi will host a web server (via wireless) which will have a single web page with a single button to Power On or Off my PC. When I click the button, I will use the GPIO pins on the Raspberry Pi to switch a relay connected to the power pins on my PC. This will all fit nicely inside my PC case.
So, I need to set up a web server on Linux, which I can do. I need to wire up a relay circuit which I can sorta do but my EE roommate can help me with. Then I need to code the web page to actually switch the relay which I have no idea how to do but my roommate says he does.
All in all I'm not sure how I'm going to fit this project into my time but I hope to get it done in the next month or so. Anyone done this sort of thing before?
EDIT: Final update here: http://www.overclock.net/t/1429479/remote-power-switch-for-my-pc-using-a-raspberry-pi/0_50#post_21592386
The Solution: I'm going to buy a Raspberry Pi. The Pi will host a web server (via wireless) which will have a single web page with a single button to Power On or Off my PC. When I click the button, I will use the GPIO pins on the Raspberry Pi to switch a relay connected to the power pins on my PC. This will all fit nicely inside my PC case.
So, I need to set up a web server on Linux, which I can do. I need to wire up a relay circuit which I can sorta do but my EE roommate can help me with. Then I need to code the web page to actually switch the relay which I have no idea how to do but my roommate says he does.
All in all I'm not sure how I'm going to fit this project into my time but I hope to get it done in the next month or so. Anyone done this sort of thing before?
EDIT: Final update here: http://www.overclock.net/t/1429479/remote-power-switch-for-my-pc-using-a-raspberry-pi/0_50#post_21592386