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.