Connect the Raspberry Pi to the PC through a network cable, and connect the Raspberry Pi to the home Wifi, then the PC can be woken up through HomeKit.
Useful when you don't want to push the power button of your PC. For example, you use your laptop with its lid closed, and it does not connected to the router with wire, and you didn't managed to make WOWLAN work.
For simplicity, I did not expose the configurable interface, you need to modify the constants in the code and compile it yourself.
The hap-rs
has a known issue here, inside the comments there is a workaround solution.
- I have a bunch of boards like Raspberry Pi.
- An ESP32 with ethernet is relatively expensive.
- It's simpler to program on linux.