Daniel D. Beck

Revisiting remote Wake-on-LAN

I’ve written previously about using Tailscale to wake a PC remotely. I’m now using Home Assistant to wake it in fewer steps.

To recap, I wanted to wake a PC at home from another continent, but WoL requires a physical link. I used Tailscale to remotely access my NAS on the same physical network as the PC, then used it to send a WoL magic packet.

Since then, I started running Home Assistant on a machine at home, to control some lights and power outlets. I recently learned that Home Assistant has a WoL integration. I used it to add a Wake [target PC hostname] button to my Home Assistant dashboard. Now I can wake that PC with one click, instead of fussing with the terminal.

This also helps with my remote-access use case. Since my Home Assistant instance is available to me via Tailscale, I can use the wake button from more or less anywhere with an internet connection.

What’s more, the target is a home theater PC which cannot be woken by Bluetooth gamepads. So I’ve embellished my living room setup to wake the PC from the couch, with a Zigbee button or my phone.

At some point, I'd like to learn more about self-hosting Headscale or using Wireguard directly. But for now, I'm quite pleased by how well all this stuff fits together.

If you liked this, then subscribe to get updates on making documentation, tech writing, and docs as code. When you sign up, you’ll also get The 30-Minute Information Rescue, a short guide to interviewing subject matter experts when there’s no time to spare.

    Subscribe for periodic articles and offers. I won’t sell, rent, or give away your personal information. Unsubscribe at any time. Read my privacy policy for details.

    Don’t want more email? Subscribe to my RSS feed instead.