Using Tailscale to access Home Assistant from everywhere (2024)

Using Tailscale to access Home Assistant from everywhere (1)

When you start using Home Assistant, you’ll quickly find yourself wanting to access it from everywhere, not just from your couch while being connected to the home wifi.

There are many ways to achieve this, but the easiest is problably the Home Assistant Cloud integration. They offer a subscription based service that also allows you to easily integrate Amazon Alexa and Google Assistant.

But the great thing about Home Assistant is that they allow you to do things more than one way, and there are actually even more ways to open your Home Assistant instance to the internet. I’ll just briefly mention that you can open a port on your router and use a service like DuckDNS to give you a URL to access Home Assistant, but this is hard to make right regarding security and is sometimes even impossible if your ISP only issues IP v6 addresses or has a double NAT setup. If you’ve never heard of these things, be prepared for a long journey - or use Home Assistant Cloud or the Tailscale method this post is about.

If you chose this method and don’t need the other features Home AssistantCloud offers, consider subscribing anyway! By subscribing, you help fund thedevelopment of Home Assistant.

What is Tailscale

Their headline says “Tailscale makes networking easy”. And that’s not an understatement. If you’ve worked with router configurations, VPNs, secret keys, SSL certificates and all those things before, you’ll appreciate how easy and fast it is to connect devices and services using Tailscale.

The core feature of Tailscale is a VPN, where you can connect devices without actually having to do all the networking normally required.If you’ve never heard of Tailscale before, I recommend reading What is Tailscale? from their documentation. If, after reading this article, you decide that you want to use Tailscale, you can read their Quickstart guide which leads you through creating an account and adding a machine to it.

Here is a Screenshot of my tailnet:

Using Tailscale to access Home Assistant from everywhere (2)

From now on, I’ll assume that you have a Tailscale account with your computer connected to your tailnet (their name for the VPN all your devices are in).

A newer feature of Tailscale is Tailscale Funnel, which allows you to access a service from your tailnet via the public internet. This is what we’ll use to make Home Assistant accessible from the internet.

What to expect

We’ll setup Home Assistant to join your tailnet, configure Tailscale, and then make Home Assistant available on a URL that looks like this: https://homeassistant.yak-bebop.ts.net.

Configuring Tailscale

We’ll need to change some things in the Tailscale admin console. First, you’ll have to enable HTTPS support, which you can do by following their guide Enabling HTTPS.Next, we will enable Tailscale Funnel. For this, follow their guide Tailscale Funnel on how to edit the tailnet policy file. For me, it was as simple as pressing a button on the right side of the code editor there, but editing the file by hand is not much harder.

That’s it already for this part.

Adding Home Assistant to your tailnet

Start by opening the addon store and install the Tailscale addon.

Using Tailscale to access Home Assistant from everywhere (3)

After installing, go to configuration, click on the three dots in the top right corner and edit as YAML. There, you can paste this config:

funnel: trueproxy: trueuserspace_networking: false

Click save, then start the addon. Open the web ui of the Tailscale addon and authenticate.

Congratulations, your Home Assistant instance is now part of your tailnet and available from the internet.

Using Tailscale to access Home Assistant from everywhere (4)

Check the logs for an entry that looks like this to find out the address:

[20:51:32] INFO: Tailscale Funnel is enabled:[20:51:32] INFO: Your Home Assistant instance is publicly available on the internet at[20:51:32] INFO: https://homeassistant.yak-bebop.ts.net

You can now connect to Home Assistant from everywhere:

Using Tailscale to access Home Assistant from everywhere (5)

Wrapping up

We now have an easy and secure way to connect to a Home Assistant instance via the internet “without fiddling with router settings or ssl certificates” (although still more steps than Home Assistant Cloud).

You can also configure the Tailscale addon to act as an exit node, which enables you to access other devices on the same network that are not part of the tailnet via any machine connected to the tailnet. Check out the addon documentation for more info on that.

Last update:

Using Tailscale to access Home Assistant from everywhere (2024)

References

Top Articles
Operation Walküre - Das Stauffenberg Attentat | Film 2008 - Kritik - Trailer - News
Origins of The Roblox Valkyrie Helms | Rolimon's
Antisis City/Antisis City Gym
Skamania Lodge Groupon
1970 Chevrolet Chevelle SS - Skyway Classics
Umn Pay Calendar
Www Movieswood Com
CSC error CS0006: Metadata file 'SonarAnalyzer.dll' could not be found
Richmond Va Craigslist Com
Connexus Outage Map
Persona 4 Golden Taotie Fusion Calculator
Socket Exception Dunkin
2024 Non-Homestead Millage - Clarkston Community Schools
Nioh 2: Divine Gear [Hands-on Experience]
D10 Wrestling Facebook
Colorado mayor, police respond to Trump's claims that Venezuelan gang is 'taking over'
Suffix With Pent Crossword Clue
[Birthday Column] Celebrating Sarada's Birthday on 3/31! Looking Back on the Successor to the Uchiha Legacy Who Dreams of Becoming Hokage! | NARUTO OFFICIAL SITE (NARUTO & BORUTO)
Michael Shaara Books In Order - Books In Order
Download Center | Habasit
Michigan cannot fire coach Sherrone Moore for cause for known NCAA violations in sign-stealing case
Tygodnik Polityka - Polityka.pl
Andhrajyothy Sunday Magazine
MLB power rankings: Red-hot Chicago Cubs power into September, NL wild-card race
Masterkyngmash
2021 Volleyball Roster
Hood County Buy Sell And Trade
Www.craigslist.com Austin Tx
Lexus Credit Card Login
Tokyo Spa Memphis Reviews
FAQ's - KidCheck
Pronóstico del tiempo de 10 días para San Josecito, Provincia de San José, Costa Rica - The Weather Channel | weather.com
Chelsea Hardie Leaked
Weather Underground Durham
Town South Swim Club
Pixel Combat Unblocked
Gerber Federal Credit
Wildfangs Springfield
Chilangos Hillsborough Nj
Crystal Mcbooty
Compare Plans and Pricing - MEGA
Htb Forums
Pro-Ject’s T2 Super Phono Turntable Is a Super Performer, and It’s a Super Bargain Too
Pekin Soccer Tournament
Mybiglots Net Associates
Whitney Wisconsin 2022
Solving Quadratics All Methods Worksheet Answers
ESPN's New Standalone Streaming Service Will Be Available Through Disney+ In 2025
Besoldungstabellen | Niedersächsisches Landesamt für Bezüge und Versorgung (NLBV)
Ff14 Palebloom Kudzu Cloth
Affidea ExpressCare - Affidea Ireland
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 6057

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.