Edit: I’ve got a mini computer that could wake up the big one.
Well, you can in theory enable WOL without Magic Packet, but that means any network activity will wake it up, even a random ping, so you might find your PC waking up randomly.
You can accomplish this using your router. The router can send the magic package to the computer. You can do this remotely from over the internet and even through a VPN connection to your router (preferred). If your router doesnt support the functionality out-of-the-box, OpenWRT does!
https://dgross.ca/blog/linux-home-server-auto-sleep did the rounds lately.
But you’ll need another system to always be on to handle this.
In many cases, you can “fake” this in other means. For example, I had Remmina configured to run a script to send a WOL packet and wait before connecting via remote desktop to a computer.
For a while I just had a widget on my phone where I could just tap an icon to send a magic packet to the desired MAC.
I don’t think if you can wake with an http request but after either a bios/kernel setting you can do
wol mac:add:re:ss
from a different computer.The key restrictions here is not every hardware supports wake-on-lan, and one computer must be configured to “wake” the other.
That could be a very interesting feature for a reverse proxy to have, wake-on-lan-on-demand, I guess it could show the server’s ping status with a “please wait server is starting” image and a countdown to the next retry / how long it usually takes to wake up.
I found something similar called WOL proxy
If your computer boots when plugged in (not only by pushing the power button) it would be feasible via a connected plug, but you’d still need a small computer, e.g HomeAssistant on a RaspberryPi, to convert the HTTP request to ZigBee, or a WiFi plug but I’m not sure which one would handle an HTTP request, if any.
I’ve been looking into PiKVM this week, to allow me to administrate certain systems over IP. It also allows for remotely powering on and off a system, if you use an additional expansion module. It isn’t an entirely cheap option, though.