One of the main features of Home Assistant Cloud is remote access. 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 possible. You need to enable it.
How does remote access work?
Once enabled, Home Assistant generates a security certificate for secure communication and provides you with a URL. You can then use this URL to access your Home Assistant while away from home.
Below is a simplified visualization, showing how remote access to Home Assistant works via Home Assistant Cloud:
- Remote website: When you access your Home Assistant instance remotely, your browser sends an encrypted request to the Nabu Casa Cloud servers.
- Cloud server: The request is routed through a secure cloud server managed by Nabu Casa. This server acts as a proxy, ensuring secure communication between your browser and your Home Assistant instance.
- Home Assistant instance: The cloud server forwards the encrypted request to your Home Assistant instance at home. Your local instance decrypts the data and processes the request.
This flow ensures that all communication is encrypted and secure.
Related topics
- Enabling remote access to Home Assistant
- Using remote access with a custom domain for Home Assistant
- Remote access - How it works - deep dive
- Remote access - security aspects
- Remote access source code on GitHub
Edit this article on GitHub