This document provides a comprehensive guide on how to install Home Assistant using a Docker container on Robustel Edge Gateways (EG Series) running RobustOS Pro. Additionally, it covers the necessary steps to download and configure the Home Assistant Community Store (HACS) component.
Running Home Assistant on a Robustel Edge Gateway transforms your device into a powerful, locally-controlled hub for smart home and industrial IoT automation. Integrating HACS further extends its functionality by allowing you to easily install community-developed plugins, custom cards, and integrations.
Hardware Requirements:
Software/Firmware Requirements:
Other Requirements:
📝 Note: If your gateway is not yet connected to the internet, please refer to the relevant documentation on configuring cellular or Ethernet WAN connectivity.
📝 Note: Refer to How to create a sudo user with SSH access on an EG series device to create a user if one does not exist.
📝 Note: Refer to How to Install Docker on Robustel EG Series Gateways via Debian Package Manager to install Docker if it is not already installed.
First, you will deploy the Home Assistant container using the command line.
sudo docker run -d \
--name homeassistant \
--privileged \
--restart=unless-stopped \
-e TZ=Asia/Shanghai \
-v /usr/local/HAconfig:/config \
-v /run/dbus:/run/dbus:ro \
--network=host \
ghcr.io/home-assistant/home-assistant:stable
📝 Note: The system may prompt you to enter the password for your sudo user to authorize the installation. The -e TZ=Asia/Shanghai parameter sets the timezone. Please modify Asia/Shanghai to match your local timezone (e.g., America/New_York, Europe/London).
⚠️ Warning: The Home Assistant Docker image is quite large. Depending on your network speed, the download may take some time. Please be patient and do not interrupt the process.
Once the container is deployed, you need to manually download and extract the HACS component into the Home Assistant configuration directory.
cd /usr/local/HAconfigsudo mkdir custom_components
cd custom_componentssudo wget https://github.com/hacs/integration/releases/download/2.0.5/hacs.zip📝 Note: If the wget command is not found on your system, you can install it by running sudo apt update && sudo apt install wget.
sudo mkdir hacs
sudo unzip hacs.zip -d hacs📝 Note: If unzip is not installed, you can install it using sudo apt install unzip
Run the following command in your SSH terminal to ensure the Home Assistant container is active:
sudo docker ps✅ Success: You should see homeassistant listed under the "NAMES" column with a status of "Up".
http://192.168.0.1:8123 (Replace 192.168.0.1 with the actual IP address of your gateway's LAN or WAN interface, depending on how you are accessing it).📝 Note: If you need to access the WebUI via the WAN port, you must open port 8123 in the Firewall settings.
✅ Success: You will be greeted by the Home Assistant onboarding screen. Follow the prompts to set up your administrator account and password.
custom_components folder.✅ Success: Once authentication is complete, a new "HACS" tab will appear in the left sidebar of the Home Assistant interface
wget or unzip commands are not recognized in the terminal?sudo apt update followed by sudo apt install wget unzip.sudo docker ps that the container is running./usr/local/HAconfig/custom_components/hacs. After confirming the path, fully restart the Home Assistant Docker container by running sudo docker restart homeassistant.Version | Date | Author | Notes |
v1.0 | 2026-3-2 | Jens Zhou | Initial document creation |