Remote access

There are several ways to make your Home Assistant instance accessible from the outside of your local network but you have to consider the potential security risks associated with each method.

If you need to have access to the webui only, a VPN connection is the best choice in terms of security.
OpenVPN is an open source VPN server that can be installed on different devices, like some routers for example, but if you wont to keep your d-diot installation self-sufficient you have to install an OpenVPN server on your Raspberry Pi.
Setting up a OpenVPN server is a complicated and time consuming task, but you can use something like PiVPN to make your life a lot easier.

Unfortunately there are some components, like device tracker, Amazon Alexa or Google Assistant for example, that needs a remote access to your Home Assistant API and in this case the VPN connection is not suitable.
The solution is to setup a dynamic DNS service (Duck DNS) and an encryption layer (ssl) to secure the Home Assistant connection.
Follow the Duck DNS and SSL encryption guide to enable a full (API + webui) remote access to your Home Assistant installation.

  • how_to/home_assistant/remote_access/start.txt
  • Last modified: 2019/12/15 15:30
  • by franzunix