How to Install and Set up Home Assistant in DSGW-210

The following instruction will guide you through the process of installation and setting up the Home Assistant in DSGW-210. (Refer to Home Assistant Gateway for details)

Reference: DSGW-210 IoT Gateway Product Specification

Install OS Agent, Docker, and Dependencies

Step 1. In the terminal run the following commands to update the Debian OS, install Docker, and the required dependencies for the OS Agent and the Supervised installer. Execute the following commands one at a time.

sudo -i
apt update && sudo apt upgrade -y && sudo apt autoremove -y
apt --fix-broken install
apt-get install jq curl avahi-daemon apparmor-utils udisks2 libglib2.0-bin network-manager dbus
wget -y
curl -fsSL get.docker.com | sh

Step 2. Visit the OS Agent page and then replace the version number with the latest available, into the commands below:

Step 3. Execute the following commands one at a time

wget https://github.com/home-assistant/os-
agent/releases/download/1.2.2/osagent_1.2.2_linux_x86_64.deb
dpkg -i os-agent_1.2.2_linux_x86_64.deb

Install Home Assistant Supervised

Step 1. Enter each line of the below commands into the terminal and execute them one at a time

Sudo -

Step 2. Execute the following commands one at a time

wget https://github.com/home-assistant/supervised
installer/releases/latest/download/homeassistant-supervised.deb
dpkg -i homeassistant-supervised.deb

Step 3. You may be prompted to choose a machine type during the installation

Run and Configure the Home Assistant

http://your.ip.address.here:8123/

If everything is successful, you should see the following screen:

1 Like

ZHA in Dusun Homeassistant gateway not working?

Logger: homeassistant.components.zha.core.gateway

Source: components/zha/core/gateway.py:173

Integration: Zigbee Home Automation (documentation, issues)

First occurred: 5:11:51 PM (1 occurrences)

Last logged: 5:11:51 PM

Couldn’t start EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis coordinator

Traceback (most recent call last):

File “/usr/local/lib/python3.9/asyncio/tasks.py”, line 490, in wait_for

return fut.result()

asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 173, in async_initialize

self.application_controller = await app_controller_cls.new(

File “/usr/local/lib/python3.9/site-packages/zigpy/application.py”, line 69, in new

await app.startup(auto_form)

File “/usr/local/lib/python3.9/site-packages/bellows/zigbee/application.py”, line 132, in startup

self._ezsp = await bellows.ezsp.EZSP.initialize(self.config)

File “/usr/local/lib/python3.9/site-packages/bellows/ezsp/init.py”, line 85, in initialize

await ezsp._protocol.initialize(zigpy_config)

File “/usr/local/lib/python3.9/site-packages/bellows/ezsp/protocol.py”, line 63, in initialize

_, conf_buffers = await self.getConfigurationValue(

File “/usr/local/lib/python3.9/asyncio/tasks.py”, line 492, in wait_for

raise exceptions.TimeoutError() from exc

asyncio.exceptions.TimeoutError

Zigbee fails as before… logs above

it seems to me like a radio/driver incompatibility. That’s why i asked you whether you’ve faced any such issues before with the latest HA versions

the HA version I’m running is

Home Assistant Core 2022.6.7

Home Assistant Supervisor 2022.05.3

Also please note that I’m using the default ZHA integration

Radio path is - > /dev/ttyUSB0

Radio Type → EZSP = Silicon Labs EmberZNet protocol: Elelabs, HUSBZB-1, Telegesis

The radio will get added successfully like this

first time i was able to add devices , but after sometime the radio will go offline (not loaded message in integration)

but now nothing works

one thing what i notice now is if its a successful integration when i try to add a new device and if i keep the logs open, the logs related to searching should pop up

but here nothing will come

The ZHA is not working due to a conflict with the USB port; please flash the latest DSGW-210 gateway image.

Hi All,

Is there a way to install " Home Assistant Operating System" instead of the Supervised Installation?

Thanks for a feedback

BR

HA OS needs highly customized and optimized hardware modification, we are now also investigating on it. Will keep you updated and it is welcomed if you can provide your experience.

Hello everyone,
How can I factory reset and install a new Debian 12 image on the DSGW-210-F-18?
I did the process to reset the appliance.
1- Press the reset button for 10 seconds.
2- I used AndroidTool to upgrade the image (I just found .img for Debian 11).
3- I updated the distribution to Debian 12.
4- I followed the process to install Home Assistant Supervised (I have many problems with the instructions above (command does not work, incorrect agent OS, etc.)
5- After many attempts I managed to install HA Supervised, following the instructions on the official HA website. for example Problem with AppArmor and space on the partition.
i tried install de AppArmor, but…
root@DUSUN:~# sudo apparmor_status
apparmor not present.
root@DUSUN:~# sudo systemctl status apparmor
â—‹ apparmor.service - Load AppArmor profiles
Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Thu 2025-02-13 20:40:40 UTC; 19s ago
└─ ConditionSecurity=apparmor was not met
Docs: man:apparmor(7)
Home · Wiki · AppArmor / apparmor · GitLab

Feb 13 20:40:40 DUSUN systemd[1]: apparmor.service - Load AppArmor profiles was skipped because of an unmet condition check (ConditionSecurity=apparmor).

Look the partitions
root@DUSUN:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.9G 6.1G 470M 93% /
devtmpfs 979M 0 979M 0% /dev
tmpfs 980M 0 980M 0% /dev/shm
tmpfs 392M 40M 353M 11% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
/dev/mmcblk2p8 22G 44K 21G 1% /f
overlay 6.9G 6.1G 470M 93% /var/lib/docker/overlay2/ad3b0fda860e91be15f21acda97ebbe340ee0c7754dc874d690a43e8ac876331/merged
overlay 6.9G 6.1G 470M 93% /var/lib/docker/overlay2/a5e27b708b2ccba91584742b9a5f1916081293c6aaf0578e31779ebdb71b2a1d/merged
overlay 6.9G 6.1G 470M 93% /var/lib/docker/overlay2/0330c6dd6213032676f07917bdb1c6604fca62a225a3151a3169983b69aee705/merged
overlay 6.9G 6.1G 470M 93% /var/lib/docker/overlay2/ad5392a79aa7185e1048c827b64da642f514271b12468100ed3e27ef2cd8c285/merged
overlay 6.9G 6.1G 470M 93% /var/lib/docker/overlay2/02c18abe2121a1b961201ff265c38e24277195cd5dd5a1288e347a8bc88fcf36/merged
overlay 6.9G 6.1G 470M 93% /var/lib/docker/overlay2/ada9ed823e8da1eec1ab5f178bbf6979ac030d92d2672aeeb9648900df7b931a/merged
overlay 6.9G 6.1G 470M 93% /var/lib/docker/overlay2/7f6c83f2f86b9f35b67f579ee1eb21cf9760209810abcd42737f67078851e47f/merged
tmpfs 196M 0 196M 0% /run/user/0

I am looking for a beginner’s guide to install everything new, but unfortunately I did not find any guide or documentation.

Please, can someone help me?

Thank you very much.