I'm might be damaged by testing and working with embedded development.
>Cool project, but what about power management? What happens if the PC being controlled crashes and does not let you reboot it using keyboard shortcut?
Yeah, that's one of the limitations. TinyPilot can't control power for the target computer.
I don't know of any way to manage power without connecting the Pi to the target machine's motherboard, but that increases complexity significantly. I'm using this for a homelab, so it's easy for me to walk over and cycle power if that ever comes up, but for this to support more remote scenarios, I'd need to address this.
A better way would be a relay and microcontroller, which you could also potentially use for the USB HID stuff too.
In theory, you could have a HDMI switch, a single Pi and HDMI grabber, and just a microcontroller board for each target machine that could have power button control, keyboard emulation etc built in.