FunFair wrote: Friday 12 June 2026 17:21
I just got my ZBT-2 stick and flashed the Matter/Thread firmware through HomeAssistant. The device is found correctly, but I want to use it in Domoticz, not HA.
So I've installed the matterjs-server, configured the plugin and that works fine, but what should I do now?
ChatGPT tells me to install the Open Thread Border Router, is this the way? The docker container of OTBR refuses to start correctly and won't host it's web interface. So I am wondering if I am on the right track or not.
Anyone with experience?
-edit: this is a native installation on a proxmox Debian VM. I did not use the docker image-
after a few days I finally got it working! Here is my AI created summary. Hope this helps when setting up the same.
I had to use a seperate USB BT dongle, the onboard Intel BT didn't pick up BLE (maybe due to VM)
Running Matter Server + OTBR + Domoticz on Debian 13 (Native Setup)
After extensive testing, this setup is stable for IKEA Matter-over-Thread devices.
---
Hardware
- Proxmox VE (host)
- Debian 13 (Trixie) VM
- Nabu Casa ZBT-2 (Thread RCP)
- TP-Link UB500 (Bluetooth 5.0 / RTL8761BU)
Note:
Intel Bluetooth adapters may work for BLE scanning but can fail during Matter commissioning.
---
1. Find correct network interface (IMPORTANT)
Example:
Check default route:
Example:
→ Use:
ens18 as LAN interface
---
2. Install OTBR (native Debian install)
Install dependencies:
Code: Select all
sudo apt update
sudo apt install -y git build-essential cmake ninja-build \
libdbus-1-dev libavahi-client-dev avahi-daemon \
libssl-dev libglib2.0-dev dbus
---
Build & install OTBR
Code: Select all
git clone https://github.com/openthread/ot-br-posix.git
cd ot-br-posix
./script/bootstrap
INFRA_IF_NAME=ens18 \
TUN_IF_NAME=wpan0 \
BACKBONE_IF_NAME=ens18 \
./script/setup
---
3. Configure RCP (ZBT-2)
Edit:
Set:
Code: Select all
OTBR_AGENT_OPTS="-I wpan0 -B ens18 spinel+hdlc+uart:///dev/serial/by-id/usb-Nabu_Casa_ZBT-2_XXXX-if00 trel://ens18"
OTBR_NO_AUTO_ATTACH=0
Restart:
---
4. Verify OTBR
Expected:
---
5. Thread Dataset (CRITICAL STEP)
Step 1 - Retrieve dataset from OTBR:
Example output:
Step 2 - Copy this value (full line)
---
Step 3 - Enter dataset into Matter Server
Open web UI:
Go to:
Settings → Network Credentials → Thread network set
Paste the dataset string from OTBR.
This step is REQUIRED for Matter-over-Thread commissioning.
---
6. Install Matter Server
Install Node.js 24:
Code: Select all
sudo apt update
sudo apt install -y curl ca-certificates gnupg
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt install -y nodejs
Verify:
---
Install Matter Server
Code: Select all
sudo mkdir -p /opt/matter-server
sudo chown -R $USER:$USER /opt/matter-server
cd /opt/matter-server
npm install matter-server
---
Systemd service
Code: Select all
sudo nano /etc/systemd/system/matter-server.service
Code: Select all
[Unit]
Description=Matter Server
After=network-online.target bluetooth.service
Requires=bluetooth.service
[Service]
Type=simple
WorkingDirectory=/opt/matter-server/node_modules/matter-server
ExecStart=/usr/bin/npm run server -- --bluetooth-adapter 0
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
Enable:
Code: Select all
sudo systemctl daemon-reload
sudo systemctl enable matter-server
sudo systemctl start matter-server
---
7. Bluetooth setup
Code: Select all
sudo apt install firmware-realtek
hciconfig -a
Expected:
- Realtek RTL8761BU
---
8. Verify BLE reception
Expected:
- Matter Service Data (0xFFF6)
- Device visible in pairing mode
---
9. Matter Server logs
Expected:
- BLE scanning starts
- Device discovery
- Commissioning begins
---
10. Domoticz integration
Enable Matter plugin:
- Server IP
- Port 5580
Commission device → auto appears
---
Troubleshooting
Bluetooth:
OTBR:
Expected:
Matter Server:
---
Key finding
Intel Bluetooth adapters may fail to detect Matter commissioning advertisements, even when BLE scanning works.
TP-Link UB500 fixes this reliably.
---
Working configuration
Code: Select all
Debian 13 (Trixie)
Kernel 6.12
OTBR Native (ot-br-posix)
Matter Server Node.js 24
Thread Radio Nabu Casa ZBT-2
Bluetooth TP-Link UB500
Controller Domoticz Matter Plugin