5
1
I want my PC to turn on automatically when power is connected. This is not for turning on after a power loss but so when I remote control the power socket the pc can be turned on from a distance without someone being needed to press the power button.
Edit: I do not want to resume previous power state, my reasoning for doing this is so that my raspberry pi controlled extension lead can both turn on the mains and turn on my pc (without the raspberry pi being connected to the power switch on the pc) so that from there I can remote desktop to my pc. All the research I did on this only came up with resuming power state, I couldn't find any other information Wake On Lan is also a possibility and is another way I could turn on the PC from the raspberry pi, but not the solution I want.
Sounds like a great idea. What is the mode of the PC you plan on doing this with? – JakeGould – 2015-10-10T22:29:09.777
4Have you looked into Wake-On-LAN? – Simon Verbeke – 2015-10-10T22:32:41.093
1Welcome to Super User. Your question shows little research effort. It reads like an order being placed for us to complete for you. This is a Q&A site. Please read [ask], then update your post with details and a specific question. – CharlieRB – 2015-10-11T00:57:23.640
Not a good idea: if you can turn power on with at the socket, then you can turn it off, possibly during disk I/O. As long as you perform a shutdown (not sleep), and wait for it to complete, there would be no problem, but if you frequently turn the mains off, there is risk of human error. – DrMoishe Pippik – 2015-10-11T02:40:09.953
Updated my post. – Froodle – 2015-10-11T23:30:05.663