Not sure if someone has covered this, but if you have a zigbee network, you can buy the MHCOZY Zigbee dry contact switch to connect to your front panel IO, allowing remote power on I use one of these to power up my PC when I get in from work via Home Assistant and an automation (also use a seperate zigbee switch for when I haven't left) These things are brilliant, get a USB Micro to USB header, and it is all stuck inside out of the way Downside is that your motherboard will need to have permenant power on the USB rails (luckily mine does) If you get a 2-way splitter, it doesn't interfere with the case power on button as well Switch model number ZG-001-RF Sold on Amazon for around £17 They also do a 4-way version for £23
I suppose the other benefit is able to turn off the machine by sending another signal. Personally I didn't have problem using WOL switch in HA. Just give it the MAC address and IP address. https://www.home-assistant.io/integrations/wake_on_lan/ PC on/off becomes a switch entity. Code: switch: # Template switch for wyxmain power control - platform: wake_on_lan name: wyxmain_pwr mac: "xxxxxxxx" host: "192.168.x.x" turn_off: service: shell_command.wyxmain_shutdown For shutdown, simply use SSH for Linux. For Windows, I use this little tool: https://github.com/karpach/remote-shutdown-pc Code: shell_command: # Windows hibernate using this: https://github.com/karpach/remote-shutdown-pc wyxmain_shutdown: curl http://192.168.x.x:xxxx/secret/shutdown