Hi. I want a way to turn my PC on and off.
WOL does not have the features I want.
I want my computer to be in a full shutdown, and be able to trigger something in HA, then have either the physical button be pressed to turn on my PC, or have a relay bypass the button, and press the button for me.
What is the best way to do this?
I use Zigbee already, so Aqara’s Relay seems like it would work. What about those “button pusher” things. I can’t find any for Zigbee however.
Note you should script turning the relay on for a brief period for start up / shutdown. Holding the relay on for more than 10 seconds will cause a hardware shutdown. You should not regularly turn off your PC like that.
Can WOL also power off or put to sleep a computer? I’m running linux, so I can just ssh in to sleep or shutdown.
One thing with WOL, does it work while outside the network, but while vpn’d? I have a wireguard vpn running locally on a server. So I can access my 192 ip locally or remotely.
Also, any good guides for config on linux? I haven’t been able to get WOL working.
Mmm… Actually, not typically. WOL sends a local broadcast on you LAN only. That packet is not routed, so does not work through a VPN / VLAN / …
There are surely ways to overcome that limitation, but not by default.
I cannot guarantee it working with Zigbee2Mqtt or ZHA
for the price its roughly 20-25 euro normally, I have seen it in the “Bundle-deals” though at the times I spotted it it was sold out, so keep your eye out for it.
some versions are in the “Discount finder” in the coins section, so when there is a sale discounts can get as high as 20%
I might get one myself later, when I can get it trough the bundle-deals.