Unable to add my first device (IKEA Grillplats) to HA

HI,
i am running HA in a docker container on a mini pc with linux.
This runs for about two years now and i wanted to add now a thread/matter device.
I bought an IKEA Grillplats.
The hardware on my mini pc is a Sonoff Dongle Plus MG24 flashed to thread via the webflasher.
After that i set up a docker container for otbr and another one for matter.

otbr-compose.yml:

services:
  otbr:
    #entrypoint: ["/bin/sh", "-c", "sleep 3600"]
    container_name: otbr
    image: ghcr.io/ownbee/hass-otbr-docker
    restart: unless-stopped
    privileged: true # don't change this !
    network_mode: host # don't change this !
    cap_add:
      - SYS_ADMIN
      - NET_ADMIN
    environment:
      #DEVICE: "/dev/ttyUSB_THREAD" # Dein Device-Pfad vom Host
      # Wir schreiben die Parameter direkt in die URL, um den Container-Zwang zu umgehen
      DEVICE: "/dev/ttyUSBSONOFF"
      BACKBONE_IF: enp2s0
      FLOW_CONTROL: 0
      FIREWALL: 1
      NAT64: 1
      BAUDRATE: 460800
      OTBR_REST_PORT: 8081
      OTBR_WEB_PORT: 8080
      # OTBR_WEB_INTERFACE: "0.0.0.0"
      AUTOFLASH_FIRMWARE: 0
      OTBR_LOG_LEVEL: info
    devices:
      - /dev/serial/by-id/usb-SONOFF_SONOFF_Dongle_Plus_MG24_c0014165eef8ef119e2068135c2a50c9-if00-port0:/dev/ttyUSBSONOFF
      - /dev/net/tun:/dev/net/tun
    volumes:
      - /var/lib/docker/volumes/otbr/otbr-data:/data/thread

the matter-server-compose.yml looks like this:

services:
  matter-server:
#    image: ghcr.io/home-assistant-libs/python-matter-server:stable
    image: ghcr.io/matter-js/python-matter-server:stable
    container_name: matter-server
    restart: unless-stopped
    network_mode: host
    privileged: true
    security_opt:
      - apparmor:unconfined
    environment:
      - MATTER_SERVER_INTERFACE=enp2s0
    # KORREKTUR HIER:
    command:
      - --storage-path
      - /data
      - --primary-interface
      - enp2s0
#      - --listen-address
#      - 192.168.178.30
    volumes:
      - /var/lib/docker/volumes/matter/matter-data:/data
      - /run/dbus:/run/dbus:ro

After starting both containers, i can login to the webinterface of otbr and form a network.
After that i added thread an matter integration in HA and made my formed netword as a preferred network.
Now i wanted to add the Grillplats, scanned the QR-code but nothing happens.
After a few minutes, i can reed on my iPhone screen, that the device could not be added.
In the log of the matter server i never see a request for adding or searching some sort of hardware.
The only “bad” thing i see is the following part in the matter server log:

2026-04-29 14:11:11.298 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/lib/dnssd/minimal_mdns/Server.cpp:344: CHIP Error 0x00000046: No endpoint was available to send the message

2026-04-29 14:11:11.299 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/lib/dnssd/minimal_mdns/Server.cpp:344: CHIP Error 0x00000046: No endpoint was available to send the message

2026-04-29 14:11:11.299 (Dummy-2) CHIP_ERROR [chip.native.DL] Long dispatch time: 173 ms, for event type 2

2026-04-29 14:11:11.316 (MainThread) INFO [matter_server.server.vendor_info] Loading vendor info from storage.

2026-04-29 14:11:11.326 (MainThread) INFO [matter_server.server.vendor_info] Loaded 421 vendors from storage.

2026-04-29 14:11:11.328 (MainThread) INFO [matter_server.server.vendor_info] Fetching the latest vendor info from DCL.

2026-04-29 14:11:11.636 (MainThread) INFO [matter_server.server.vendor_info] Fetched 420 vendors from DCL.

2026-04-29 14:11:11.636 (MainThread) INFO [matter_server.server.vendor_info] Saving vendor info to storage.

2026-04-29 14:11:11.640 (MainThread) INFO [matter_server.server.device_controller] Loaded 0 nodes from stored configuration

2026-04-29 14:11:11.657 (MainThread) INFO [matter_server.server.server] Matter Server successfully initialized.

In the Companion app, i went to Settings > Companion app > Troubleshooting, then selected Sync Thread credentials.
But i am still unable to add my Grillplats.
What am i doing wrong.
Tried now for allmost 3 days without any success.
Thanks a lot for your help.

There are a few requirements for Matter
One is you need IPv6 enabled on your network, and which means your router and switches can not be set to block IPv6.
IPv6 will self-configure if your router or other device do not handle a more centralized setup control, so you do not need IPv6 from your ISP nor that your router can distribute IPv6 addresses.

You also need to have IPv6 enabled on your HA server, Matter server and Thread Border Router.

Lastly you need the above devices and the new Thread device and the phone on the same network too.
VLANs or other segmentations are not recommended unless the above is still true.

If you go against these recommendations then you need to handle multicast and broadcast for all the protocols used across the routers.
If you do not know how this is done when reading this, then a unrecommended setup will be nearly impossible for you to setup and maintain.

2 Likes

Maybe this helps:
https://community.home-assistant.io/t/solved-matter-over-thread-commissioning-stalled-on-home-assistant-vm-ugreen-nas-fix-was-enabling-ipv6-for-haos-docker/1006775

1 Like