If you give up the video capture part, a smart plug and a Raspberry Pi that can send Wake on Lan packets and can act as an SSH gateway should work, without extra parts. My beige Linux boxes currently use a $20 8-port switch and a Pi that's reachable via port forwarding.