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.

../../../_images/image_KiLebEF3HoN06pxwTPtcT1jOnut.webp

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

Quectel Pi H1 smart single-board computer

Power adapter

1

45W USB Type-C Power Supply

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

Raspberry Pi 5 official active cooler (with thermal pad)

Network camera (smart device)

1

Tenda indoor home surveillance camera

Wi-Fi light bulb (smart device)

1

Smart Life Tuya smart Wi-Fi light bulb

Display

1

24-inch HDMI monitor

Accessory reference images

../../../_images/image_MQRAbacfDoHJstxGL2JcGM5jnPe.webp

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:

../../../_images/image_UFoIbE8AloTmNBxStXCc7WYknj1.webp
  1. 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.

  2. 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).

  3. 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.

  4. 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

  1. 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
  1. 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
  1. Install the Docker packages:

sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
  1. Enable Docker at boot and verify the installation:

sudo systemctl enable docker
sudo systemctl start docker
sudo docker version
../../../_images/image_OuJMbt4JEoZsjuxzTHKcbS6Wncc.webp

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
../../../_images/image_DA2KbVVuXoNXnaxc2pbcsYlhnfb.webp

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:

  1. Edit the firewall rule files:

sudo vi /etc/iptables/rules.v4
sudo vi /etc/iptables/rules.v6
  1. 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
  1. 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://:8123 (replace with the actual IP address of the board).

After entering the console, create a user and complete the initial setup. The reference interfaces are shown below:

../../../_images/image_XrjCbhTOkoHPX5xKuIrc0m8Onzd.webp ../../../_images/image_HPuIbGibzoJVERxo9LHccCttnWc.webp ../../../_images/image_YNxfbEkA5oNK7MxVUMlcXeQrn4c.webp ../../../_images/image_YYydblaQDolQjmx6bfFc6dTnnyc.webp ../../../_images/image_XKmZb6ctRoxNIsxu8DecpNGOnrb.webp

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:

  1. Open the Home Assistant console and click Settings.

  2. Select Devices & Services, then click Add Integration.

  3. Search for the device brand name and follow the on-screen instructions to add the corresponding integration.

../../../_images/image_Qk2FbghQnow0STxEkDdcnMqinnf.webp ../../../_images/image_Ptl9bByHeom31TxFIOBcPxQInfc.webp

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
../../../_images/image_GOmkbNVbco82mBxOYA9cuOz5nNb.webp

After installation, restart Home Assistant, then search for HACS in Settings → Add Integration and complete the setup:

../../../_images/image_W74JbUOoloMvfWxMjgWcTNlfnWd.webp

HACS requires signing in to a GitHub account for authorization. Once authorized, you can download community plugins:

../../../_images/image_GPHlb29eNoUUiKxMooxcARJDndb.webp ../../../_images/image_GVGRbcJ7UoPEBUxImoFcusp9nvf.webp

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.

../../../_images/image_T95ZbnBu9otPqqxmGFCcKvT5nSg.webp

Notes

  1. This document is adapted for the Debian 13 environment on the board. If the system version differs, some commands may need adjustment.

  2. Network cameras, Wi-Fi lights, and other accessories are optional for demonstration scenarios and can be added or removed based on actual deployment requirements.

  3. 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.

  4. HACS is a community open-source plugin library. Please comply with its open-source license and related terms before use.

Application demo

smart-home-central-control-system

FAQ

The Docker installation command fails and reports that packages cannot be found

Solution:

  1. Verify that the official Docker repository URL and target architecture are correctly configured, then run sudo apt update to refresh the package index.

  2. 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:

  1. Run ip a to query the actual IP address of the board, then use the correct IP address to access it again.

  2. Check the network connections of all devices to ensure they are connected to the same router via Wi-Fi or wired network.

  3. 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:

  1. Refresh the browser page and retry.

  2. Re-enter the container and run the HACS installation script again, ensuring that the script completes without errors.

  3. Run sudo docker restart homeassistant to restart the container.

  4. 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.