#Custom switch for PC control

4 messages · Page 1 of 1 (latest)

spark scarab
#

I recently switched from Homebridge to Home Assistant, and I’ve been trying to get back the PC on/off switch I had before. My plan was to set up a custom switch that pings the PC to check its status. The switch would use Wake-on-LAN to turn it on, and to turn it off it would send an RPC shutdown command.

But now I’m not even sure if a custom switch like that would carry over to my HomeKit bridge. Has anyone done something similar or knows of other integrations that could work?

Also, I’m a bit stuck on where I would even exactly create this custom switch in Home Assistant. Any pointers?

cerulean chasm
#

It should carry over just fine, at the end of the day a switch is a switch

craggy surgeBOT
cerulean chasm
#

The docs there have details on creating a WoL switch