How to set up a PoE Thread dongle in Home Assistant

A guide to use Thread dongles with Home Assistant.

Dsc01115

Please note: This page may contain affiliate links. Read our ethics policy

While Thread radios are often built directly into smart home hubs, there are situations where a separate, dedicated dongle offers better placement and wiring flexibility. That’s where a Thread dongle with a Power over Ethernet (PoE) or Wi-Fi connection comes in handy.

This guide will walk you through setting up a PoE Thread dongle (using the Sonoff Dongle Max as an example) in Home Assistant, including the steps to configure the Thread radio.

Prerequisites

To get started, you will need:

  • Home Assistant OS or Home Assistant Supervised installed and connected to your local network via Ethernet or Wi-Fi.

  • A network-attached Thread dongle like the Sonoff Dongle Max or SLZB-06, powered on and connected to your local network.

Dsc00662

Set up your dongle

These dongles use an IEEE 802.15.4 radio, which allows them to work with both Thread and Zigbee, making them multifunctional. For this guide, we need to ensure the dongle is running Radio Co-Processor (RCP) firmware for Thread.

Find ip

Once your dongle is powered on and connected to your network, log in to its web console. For the Sonoff Dongle Max, the default address is http://dongle-m.local. If that domain doesn’t work, find the dongle’s IP address in your router’s admin panel. It’s highly recommended that you assign a static IP address (sometimes called a “preserved” or “reserved” IP) to the dongle in your router’s settings so it doesn’t change.

Thread mode tab

Once you’re on the web page, find the tab labeled “EFR32MG24 Operation Mode”. Toggle on “Thread RCP Mode” if it isn’t enabled by default. The dongle should automatically download and flash the correct firmware to the radio chip.

Toggle thread

When the flash is complete, switch to the “Z2M&ZHA” tab and click “Zigbee2MQTT”. Under the TCP connection settings, note the serial port number (for example, mine is 6638). Ignore the baudrate field in the web console – it is often incorrect for this setup.

Find port number

Install OpenThread Border Router in Home Assistant

In your Home Assistant dashboard, navigate to Settings > Add-ons > Add-on Store. Search for and install the OpenThread Border Router add-on. If it isn’t listed, click your user profile icon in the bottom-left corner and toggle on “Advanced Mode”.

Otbr config 1

After a few minutes, go to the add-on’s page and click the Configuration tab.

Under the “Device” option, select the plain serial device path from the dropdown menu (avoiding any options with extra descriptions or names of devices plugged directly into your host machine).

Set the “Baudrate” to 460800 if you are using the Sonoff Dongle Max or another dongle based on a Silicon Labs MG21/24 chip.

Click Save.

Click the three-dot menu in the top-right corner and select Edit in YAML.

Otbr config 2

In the options: section, add the following line, replacing the address and port with your dongle’s details:

network_device: dongle-m.local:6638

Click the Save button below the YAML editor.

(Optional): To access the OpenThread web interface, go to the “Network” section, turn on the Show disabled ports toggle, and enter 8080 and 8081 in the fields. This gives you more advanced control over your Thread network.

Otbr start ndash 1

Once you are done, go back to the “Info” tab of the add-on and start it.

Otbr start

Check the “Log” tab to ensure it is working as expected. You should see a line that says, INFO: Successfully sent discovery information to Home Assistant.

Otbr auto on

If that appears, return to the “Info” tab and toggle on the Start on boot and Watchdog options. This ensures the Border Router will launch automatically on boot and restart if it crashes.

Configure Thread

Go to Settings > Devices & Services. You should see two new integrations: Thread and OpenThread Border Router. Click on Thread. From there, you should see a newly created Thread network, usually with a name starting with ha-thread-.

Otbr management

You can make this a preferred network for Home Assistant to add new Matter and HomeKit devices to. If you already have a Thread network in use, click Add to preferred network, and the border router will automatically join it.

Otbr merged

At this point, your network is ready to use. For more detailed tricks on adding new devices with the Thread Border Router in Home Assistant, check out these articles:

(Image Source: Matter Alpha/Ward Zhou)

 

About the Author

Ward Zhou

Ward Zhou

Products Editor and Writer

Ward Zhou has been immersed in the smart home and industrial tech space throughout his career. Based in Shenzhen, the industrial hub of smart home, he began his journey with local media outlets and a prominent smart home solution provider, eWeLink, cultivating his expertise in smart home devices and industrial dynamics. Ward has contributed hundreds of review and news pieces to respected publications such as TechNode, PingWest, and Caixin Global. When he’s not covering the latest in tech, Ward enjoys coding, design, street photography, and video games.

Home Assistant Green
Home Assistant Green

A compact, fanless Home Assistant hub with quad-core processing, 4 GB RAM, 32 GB storage, local data control and Thread USB expandability.

SONOFF Dongle Max
SONOFF Dongle Max

A high-performance Zigbee/Thread dongle with Ethernet, Wi-Fi, and USB connectivity for flexible, stable smart home integration and web-based management.

View Product Info