Smart home central control system¶
Copyright © Quectel Wireless Solutions Co., Ltd. 2026. All rights reserved.
The smart home central control system is a home automation hub solution built on the Quectel Pi H1 single-board computer.
Powered by Home Assistant and deployed using Docker containers, the project executes device onboarding, status monitoring, scene automation, and visual control locally on the board. The system provides centralized monitoring for household telemetry—including lighting, weather, power consumption, and room status—and can be expanded with Zigbee gateways, sensors, cameras, and additional smart peripherals. It is well-suited for wall-mounted smart panels, desktop control terminals, and lightweight edge smart home gateways.
This project highlights the board's capabilities in home automation, on-premise service deployment, web UI hosting, and multi-protocol device integration. It serves as a reference design for smart home control hubs, domestic information dashboards, and local automation systems.
The board operates as a backend gateway server connected to an external MIPI display, while also serving the dashboard to client web browsers across the local network.
Development resources¶
Development accessory list¶
Note
The following is a recommended accessory list; The actual configuration can be adjusted as needed.
Accessory name |
Quantity |
Specifications |
|---|---|---|
Quectel Pi H1 smart single-board computer |
1 |
|
Power adapter |
1 |
|
Micro HDMI cable |
1 |
HDMI 2.0, 1 m, HDMI-A (male) to HDMI-D (male) |
Ethernet cable |
1 |
Gigabit, 1 m |
CPU cooling fan |
1 |
|
Network camera (smart device) |
1 |
Tenda indoor home surveillance camera |
Wi-Fi light bulb (smart device) |
1 |
|
Display |
1 |
24-inch HDMI monitor |
Accessory reference images¶
Quick start¶
The Quectel Pi H1 comes pre-installed with Debian 13, so reflashing the OS image is typically not required. Follow the steps below to start the development:
Hardware connections¶
Complete the hardware connections below. The locations of the interfaces are shown in the following figure:
Display connection: Connect the Micro-HDMI end of the Micro-HDMI cable to the board's Micro-HDMI port and the other end to the monitor's HDMI port.
Network connection: Connect one end of the Gigabit Ethernet cable to the Gigabit Ethernet port of the board and the other end to a LAN port of the router (or connect to the same LAN over Wi-Fi).
Input device connection: Connect a USB keyboard and mouse to the two USB-A ports of the board. If you use wireless input devices, simply plug the receiver into a USB port.
Power connection: Plug the power adapter into an AC outlet, then connect the USB-C end to the board's power input port labeled POWER IN.
Project implementation¶
Install basic dependencies¶
Run the following commands to install the basic system dependencies:
sudo apt update
sudo apt install -y ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
Install Docker¶
Add Docker's official GPG key:
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
Add the Docker software repository:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Install the Docker packages:
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Enable Docker at boot and verify the installation:
sudo systemctl enable docker
sudo systemctl start docker
sudo docker version
Deploy Home Assistant with Docker Compose¶
The parameters recommended on the official Home Assistant Linux installation page are as follows:
ghcr.io/home-assistant/home-assistant:stable
network_mode: host
privileged: true
Mount the configuration directory to /config.
Optionally mount /run/dbus (required for Bluetooth-related features).
Step 1: Create the deployment directory and configuration file:
sudo mkdir -p /opt/homeassistant
cd /opt/homeassistant
Step 2: Write the Compose configuration:
sudo nano compose.yaml
Copy the following configurations to the compose.yaml:
services:
homeassistant:
container_name: homeassistant
image: ghcr.io/home-assistant/home-assistant:stable
restart: unless-stopped
privileged: true
network_mode: host
environment:
TZ: Asia/Shanghai
volumes:
- /opt/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
This image is pulled from the GitHub Container Registry (ghcr.io). If image pulls time out due to network connectivity issues, configure a Docker registry mirror on the board or pull the image through a proxy.
Step 3: Start the Home Assistant container
sudo docker compose up -d
Configure firewall rules¶
By default, port 8123 is not open and the Home Assistant console is accessible only locally. To allow access from other devices on the LAN, manually open the port:
Edit the firewall rule files:
sudo vi /etc/iptables/rules.v4
sudo vi /etc/iptables/rules.v6
Add the following rule to the files (replace <port_number> with the port to be opened, such as 8123):
-A INPUT -p tcp --dport <port_number> -j ACCEPT
Reload the firewall rules:
sudo systemctl daemon-reload
sudo systemctl restart iptables-restore.service
sudo systemctl status iptables-restore.service
Access the Home Assistant console¶
Open a browser within the LAN and visit http://
After entering the console, create a user and complete the initial setup. The reference interfaces are shown below:
View container logs¶
sudo docker logs -f homeassistant
Integrate smart devices¶
Wi-Fi lights, cameras, and other smart devices can be integrated into Home Assistant for unified management. Follow these steps:
Open the Home Assistant console and click Settings.
Select Devices & Services, then click Add Integration.
Search for the device brand name and follow the on-screen instructions to add the corresponding integration.
Install the HACS extension (Home Assistant Community Store)¶
HACS can expand the Home Assistant plugin ecosystem. Install it as follows:
# Check the container running status
sudo docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"
# Enter the Home Assistant container
sudo docker exec -it homeassistant bash
# Run the official HACS installation script
wget -O - https://get.hacs.xyz | bash -
# Exit the container and restart Home Assistant
exit
sudo docker restart homeassistant
After installation, restart Home Assistant, then search for HACS in Settings → Add Integration and complete the setup:
HACS requires signing in to a GitHub account for authorization. Once authorized, you can download community plugins:
Create scenes and dashboards¶
Scenes: Capture the states of smart devices to restore multiple entities to predefined states with a single click.
Dashboards: Centrally view and monitor information for all devices and their assigned areas.
For detailed configuration, refer to the official Home Assistant documentation.
Notes¶
This document is adapted for the Debian 13 environment on the board. If the system version differs, some commands may need adjustment.
Network cameras, Wi-Fi lights, and other accessories are optional for demonstration scenarios and can be added or removed based on actual deployment requirements.
If the container fails to start, first check whether port 8123 is in use, whether the /opt/homeassistant directory permissions are correct, and whether the network mode is configured correctly.
HACS is a community open-source plugin library. Please comply with its open-source license and related terms before use.
Application demo¶
FAQ¶
The Docker installation command fails and reports that packages cannot be found¶
Solution:
Verify that the official Docker repository URL and target architecture are correctly configured, then run sudo apt update to refresh the package index.
Verify that the repository configuration command was entered correctly, then re-execute the steps to add the Docker repository.
Other devices on the LAN cannot access the Home Assistant console¶
Solution:
Run ip a to query the actual IP address of the board, then use the correct IP address to access it again.
Check the network connections of all devices to ensure they are connected to the same router via Wi-Fi or wired network.
Recheck the firewall rules, confirm that the rule allowing port 8123 has been added, and restart the firewall service.
HACS is installed but cannot be found under Add Integration¶
Solution:
Refresh the browser page and retry.
Re-enter the container and run the HACS installation script again, ensuring that the script completes without errors.
Run sudo docker restart homeassistant to restart the container.
Check the network connectivity of the board by running ping github.com to ensure GitHub is reachable.
Technical support and contributions¶
If you encounter any issues during use, please submit technical inquiries on the Quectel official forum. Our technical support team will respond promptly.