Enable remote activation of your PC.
Enable remote activation of your PC.
It requires extra equipment. A server type—like a Raspberry Pi—should be used to transmit a wake-on-lan signal to your computer when needed.
yes. the real problem you need to solve is your ip. do you have a static ip? most people dont. in any case there is a solution. me personally i have fritz.box router and that particular manufacturer offers a cloud service where i can vpn into my router from anywhere just using my account data for free. so i do that and then you can send wake on lan as if you where there physically. but you can also do it without all that. in college i had mysql database running. i dont know about now but back then you could get small one for free hosted online. then id have a system on my local network write my public ip into that database and have the phone check the database for the most current ip to send the package to. today though i would probably just create a gmail account for the server. then write an app that sends commands via email to it. and have a little bit of software checking that gmail account and reacting to incoming commands.
Learn about activating Wake on LAN (WoL) also known as magic packets. After understanding the basics, you can decide whether to send the signal over the internet or connect via SSH into another computer and trigger the WoL from there. Once set up, everything becomes automated through scripting. Cheers!