So I want to be able to turn my PC on or off over the internet, so I can use Teamviewer from everywhere in the world. I have tried Wake On Lan, but I found it unreliable; for me it only works reliable on Lan (port-forwarding and static IP doesn't help for outside my network).
So I thought using an Arduino and a relay board to short out the two power wires that connect to my motherboard would work. Is this a good idea and if so, which Arduino and relay board should I use? And ideas about how to control it (like with an app or via a website)? Thanks!
However, I personally don't like cloud solutions and I would instead choose to send a UDP command for turning on and off. There are lots of android apps that send udp codes . I really like the UDP TCP Server which also has a nice button panel.
So I want to be able to turn my PC on or off over the internet, so I can use Teamviewer from everywhere in the world. I have tried Wake On Lan, but I found it unreliable; for me it only works reliable on Lan (port-forwarding and static IP doesn't help for outside my network).
So I thought using an Arduino and a relay board to short out the two power wires that connect to my motherboard would work. Is this a good idea and if so, which Arduino and relay board should I use? And ideas about how to control it (like with an app or via a website)? Thanks!
A good engineer would also need to determine if the PC was already on or off, and if the command you send actually worked as requested.
Can I power the micro-controller with the PC's USB port even if the PC is off?
PaulS:
No.
Yes you can. Most PC PSUs have a 5VSB (5V Stand-By) line that provides 5V (usually up to 2A) when the power supply is disabled (i.e. the computer is off). Obviously, it does need to be plugged in for this to work.
Some motherboards have this line connected to the USB ports on the front, so you can charge your phone/tablet without having to turn on your computer.