Get started
Login
WireGuard is a registered trademark of Jason A. Donenfeld.
© 2024 Tailscale Inc. All rights reserved. Tailscale is a registered trademark of Tailscale Inc.
Go back

Remotely access Home Assistant via Tailscale for free

April 11 2024
Alex Kretzschmar
Alex Kretzschmar

In our latest video, we walk through how to remotely access your Home Assistant by adding it to your Tailscale network. For those not familiar, Home Assistant is an open source home automation platform that puts local control and privacy first. It's a Python application designed to be run 24/7 in your house, on your hardware.

It’s become a behemoth in the space: At the time of writing, Home Assistant is the second most active project on GitHub and has over 2,750 different integrations. These allow Home Assistant to communicate with other devices or services, including proprietary ones. Gone are the days of juggling 10 different apps to control each individual "smart" thing in your life—it all flows through Home Assistant.

For those moments when you need to set the climate controls from afar, or put your mind at ease that you did in fact feed the goldfish today, Tailscale can help you access your Home Assistant install while on the go. And if you have an existing domain and reverse proxy setup and would like to slot Tailscale into that mix, I walk you through that as well.

Supporting code

In the video, I use the unofficial Tailscale add-on maintained by Frenck. It requires some specific YAML code to verify ownership of a personal domain, such as https://alexshouse.example.com. Here's that code in YAML form.

domains:
  - ha.dotsandstuff.dev
email: atailandscales@gmail.com
keyfile: privkey.pem
certfile: fullchain.pem
challenge: dns
dns:
  provider: dns-cloudflare
  cloudflare_email: atailandscales@gmail.com
  cloudflare_api_token: NOTAREALTOKEN_vsfKyyrRai
  dns-cloudflare-propagation-seconds: 15

Instructions on where to place it start at 6:36 in the video. Note that this tutorial assumes you're using Cloudflare for your public DNS needs; other providers are supported but you'll need to modify the code accordingly.

Happy Home Assistanting!

Subscribe to Tailscale’s blog

We have a deep commitment to keeping your data safe.

Too much email?RSSX
Loading...

Try Tailscale for free

Schedule a demo
Contact sales
cta phone
mercury
instacrt
Retool
duolingo
mercari