Summary
As smart homes and offices become increasingly popular, many users are seeking a more powerful, reliable, and private alternative to consumer-grade hubs.
This guide provides a step-by-step tutorial on how to install Home Assistant on a gateway, specifically using the container version on the Robustel EG5120 industrial gateway. By leveraging the EG5120's robust hardware and Debian-based OS, you can create an exceptionally efficient and stable smart control center.
This guide is perfect for developers, power users, and system integrators looking to build a professional-grade automation hub.
Introduction: Why Run Home Assistant on an Industrial Gateway?
So, you've decided to build a smart home or office using the powerful, open-source platform, Home Assistant . That's a fantastic choice. The next question is: what hardware should you run it on? While many people start with a Raspberry Pi or a small PC, I've seen countless users run into stability and performance issues as their smart home grows.
What if you could run your entire smart home on a piece of hardware designed for 24/7 reliability in the most demanding environments? That's what this guide is all about. We're going to show you how to install Home Assistant on a IoT gateway built for industrial use—the Robustel EG5120 Industrial IoT Edge Gateway . By using its powerful processor and reliable storage, you can build a smart control center that is both incredibly powerful and exceptionally stable.

Product Spotlight: The Robustel EG5120 Industrial IoT Edge Gateway
The EG5120 is the ideal hardware foundation for a high-performance Home Assistant hub. It's an industrial-grade device engineered for reliability and powerful edge computing.
Key EG5120 Specifications:
- Processor: Quad-Core ARM Cortex-A53, 1.6 GHz (NXP i.MX8)
- Memory & Storage: 8 GB DDR4 RAM & 64 GB eMMC Storage
- Operating System: RobustOS Pro (based on Debian 11 with Long-Term Support)
- Interfaces: 2x Gigabit Ethernet (LAN/WAN), Dual SIM slots, 2x RS232/RS485 Serial Ports, Digital I/O.
- Industrial Design: Rugged aluminum housing with a wide operating temperature range (-40°C to +70°C).
Its powerful processor ensures a smooth Home Assistant experience, while its industrial interfaces allow for future expansion with professional-grade sensors and equipment. For more details, visit the official EG5120 Industrial IoT Edge Gateway product page .
What You'll Need
Before you begin, let's make sure you have everything ready. This will ensure a smooth installation process.
-
Hardware List:
- 1 x Robustel EG5120 Industrial IoT Edge Gateway
- 1 x Power Supply (e.g., 24V DC/2A recommended)
- 1 x Ethernet Cable
- An active internet connection for the gateway (via Ethernet or a SIM card)
-
Software/Firmware Version:
- The EG5120 should be running RobustOS Pro (which is based on Debian 11).
-
Information Needed:
-
The IP address of your EG5120 on your local network (default is
192.168.0.1). -
Login credentials for the EG5120 (default is
admin/admin).
-
The IP address of your EG5120 on your local network (default is
-
Knowledge Needed:
- Basic familiarity with the Linux command line.
- A general understanding of what Docker containers are.
Step-by-Step Installation Guide
This guide will walk you through the entire process, from initial login to having a running Home Assistant instance with extended capabilities.

Step 1: Initial Login and System Setup
First, we need to log in to the EG5120's management page and ensure it's ready for software installation.
-
Connect your computer to the EG5120's LAN port and open a browser to the default management address:
http://192.168.0.1. -
Log in with the default username (
admin) and password (admin). You will be prompted to change this on your first login for security.


- Ensure the device is connected to the internet. You can check the "Internet Status" on the homepage.

- Navigate to System > User Management and create a new sudo user . This user will be used for installing software via the command line. Set a secure password.

Step 2: Install Docker on RobustOS Pro
Next, we'll log in via SSH and install the Docker engine, which will run our Home Assistant container.
- Use an SSH tool (like Windows Terminal or PuTTY) to log in to your EG5120 with the sudo user credentials you just created.

-
Run the following commands to update your system's package lists and install Docker's dependencies:
Bash
- Add Docker’s official GPG key to ensure the software is authentic:
Bash

- Set up the Docker repository and install the Docker engine:
Bash
- Verify the installation by checking the Docker service status:
Bash

You should see an "active (running)" status.

Step 3: Deploy the Home Assistant Container
Now for the exciting part! We will pull the official Home Assistant image and run it as a container.
-
Run the following
docker runcommand in your SSH terminal.
-
Note: We are mapping a local folder
/usr/local/HAconfigon the gateway to the/configdirectory inside the container. This ensures your Home Assistant configuration is safely stored on the gateway's main storage.
<!-- end list -->
Bash

- The image is large, and the initial setup may take a few minutes.

sudo docker ps.

Step 4: Access and Configure Home Assistant
-
Once the container is running, open a web browser on the same network and go to:
http://:8123(e.g.,http://192.168.0.1:8123). - You will be greeted by the Home Assistant onboarding screen. Create your primary user account.

- Home Assistant will automatically discover many smart devices on your network. You can now begin adding your devices and building automations.
Step 5: Extend Your System with HACS (Home Assistant Community Store)

- Log in to the EG5120 via SSH and navigate to your Home Assistant config directory:
Bash

-
Create the
custom_componentsfolder if it doesn't exist:
Bash


-
Download the latest HACS release from GitHub . (You may need to install
wgetandunzipfirst:sudo apt install wget unzip)
Bash

-
Create the
hacsfolder and extract the archive into it:
Bash



- Go to the Home Assistant web interface, navigate to Settings > System , and click Restart .

- After restarting, go to Settings > Devices & Services > Add Integration , search for "HACS", and follow the on-screen instructions, which will require you to link HACS to your GitHub account .

Conclusion: A Powerful and Reliable Smart Hub
Frequently Asked Questions (FAQ)
Q1: Why use an industrial gateway like the EG5120 for Home Assistant instead of a Raspberry Pi?
A1: While a Raspberry Pi is a great starting point, the EG5120 offers superior reliability with its industrial-grade components and eMMC storage (which is less prone to corruption than SD cards). Its powerful processor and ample RAM also provide better performance as your smart home grows.
Q2: How do I find the Home Assistant configuration path on my EG5120?
A2: The path is defined by the -v option in your docker run command. In our guide, we used -v /usr/local/HAconfig:/config, so your configuration path on the gateway's file system is /usr/local/HAconfig.
Q3: What should I do if the Home Assistant Docker image fails to download?
A3: First, check your gateway's internet connection using the ping google.com command in the SSH terminal. If the internet is working, the image registry may be restricted in your region. You may need to configure a proxy for Docker.


Comments
Leave a comment