Remote access allows you to connect to your Home Assistant instance from outside of your home network. So that you can start the vacuum cleaner from your phone while you are on the train for your daily commute, for example.
By default, remote access is not enabled. To enable it, you can use one of the following methods:
- Enabling remote access from within your network
- Enabling remote access from outside of your network
- Using an automation to enable or disable remote connection
To enable remote access to Home Assistant while your inside the network
-
In Home Assistant, go to Settings > Home Assistant Cloud.
-
Make sure you are logged in to Home Assistant Cloud.
- If you only just logged in for the first time, you might see a message "Remote control is being prepared. We will notify you when it's ready.".
- In this case, wait a few minutes and refresh the page.
-
Under Remote access, enable the toggle.
- The first time you enable it, Home Assistant Cloud will have to generate and validate the certificate. This can take up to 60 seconds.
- The link shown here is the link that you need to use when connecting remotely to your instance.
-
This URL is only accessible if your local instance is connected to the remote access server.
- By default, Home Assistant maintains a connection if remote access is enabled.
- When not connected, the remote URL will not be accessible.
- If you want to be able to activate remote access from outside your network, enable Allow external activation of remote access.
-
Congratulations! you can now access your Home Assistant from outside your home network using a URL.
To activate remote access from outside your network
If you are away from home and want to access your Home Assistant, but the remote access setting on your instance is disabled (as shown below), you can activate remote access from your account page.

Activating remote control from outside your network only works if under Settings > Home Assistant Cloud you previously enabled Allow external activation of remote control (see steps above under To enable remote control).
-
Log in to your Nabu Casa account page.
- If your instance is not connected, the Status under Remote access is shown as Not connected.
-
To connect remotely, select Connect.
-
You can now connect to your Home Assistant using the Remote address URL.
Using an automation to enable and disable remote access
The cloud component exposes two services to enable and disable remote access as part of an automation:
cloud.remote_connect
cloud.remote_disconnect
That way you can turn on the remote connection only when you leave the house and need it.
Related topics
- About the remote access connection to Home Assistant
- Using remote access with a custom domain for Home Assistant
Edit this article on GitHub