#Matter server mDNS error adding device using ZBT-1

1 messages ยท Page 1 of 1 (latest)

languid finch
#

I recently bought the ZBT-1 and Iam using the Home Assistant Yellow and followed the online manual, but I always get the message "You dont have credentials to import"...

  • I have the OpenThread Border Router addon installed and active (and as trial and error configured to baudrate 460800, since it was mentioned here) => the right device is selected
  • The Open Thread Border Router integration shows the right service (without device)
  • The Thread integration finds my border router and I activated "Used for Android + iOS credentials)
  • There are no errors in the Open Thread Border Router logs
  • I restarted the addon and the whole Yellow
  • I tried deleting the ZBT-1 and installing it again
  • IPv6 in the System settings of Home Assistant is on "auto"
  • edited And I activated IPv6 in my router (didnt know it was important, but didnt help)

I dont know what to do - any ideas?

languid finch
#

Just found the Troubleshooting for the Conpanion App abd that didnt help, too ๐Ÿ˜ฆ

loud ginkgo
#

What exactly did you press to get that message? Maybe you're going the wrong way, trying to send thread credentials from your phone to home assistant instead of from home assistant to your phone.

languid finch
loud ginkgo
#

from your screenshots, it looks like it worked fine? the first screenshot you posted appears to be on the troubleshooting page and says that the thread credential synchronization worked, right?

languid finch
loud ginkgo
#

what did you do to get the "no credentials to import" message?

languid finch
loud ginkgo
#

is this an apple device or android?

languid finch
#

Android (Pixel 6 Pro).

loud ginkgo
#

the instructions do not tell you to press a "send credentials to phone" button on android, and there is no such button on android

#

the "send credentials to home assistant" button is for the other direction, to send credentials from your phone to home assistant.

languid finch
#

And I dont need to do that? ๐Ÿ˜ฎ

loud ginkgo
#

yes, because since you created the thread network in home assistant, home assistant already knows about it

#

that button is for if you have a thread network created by google home, and you want to be able to use it with home assistant.

languid finch
#

I was trying for hours and thought thats the problem why I cant add my device...
Geez...

Thanks... ๐Ÿ˜„ Still dont know why I cant add the device then, but at least I can stop trying this way...

loud ginkgo
#

yeah, if the thread credentials were missing, your phone would not let you add the device at all. it would complain that you do not have a thread network.

#

for other problems: it is very important that your phone (wifi) and home assistant are on the same network subnet.

#

because during setup, the phone has to talk to the new device over thread. That means the phone has to talk to the thread border router (otbr add-on in home assistant), and the thread border router relays messages to the device.

languid finch
#

They are.

I already added the device last year, when I had Nest Wifi as Border Router.
Didnt use it since then. Not even sure how I did configure it then ๐Ÿ˜„
It seems like I used the "Matter Server" Add on. I dont need that, right? Can I delete that? Maybe its interfereing?!
(I tried to stop it already)

loud ginkgo
#

if it's a matter device, you need the matter server

#

the matter server is the part of home assistant which talks to matter devices to control them.

#

it would be helpful to see exactly what error you get when you try to add the new device. There's a few different steps where it can fail. First the phone talks to the device over bluetooth and tells the device how to connect to thread. Then the phone talks to the device over thread and tells it to get ready to pair with home assistant. Then home assistant (matter server) talks to the device over thread.

languid finch
loud ginkgo
#

ok. if it's trying to connect to home assistant that means the thread border router is working, and the phone can talk to the device over thread.

languid finch
#

I tried it with Home Assistant (with ZPT-1), mobile phone and the sensor right next to each other.

loud ginkgo
#

the problem is probably in the home assistant matter server addon

#

it might be helpful to look at the logs for the matter server add-on.

languid finch
#

A lot of that:
2025-06-21 21:03:35.298 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD parse error: src/lib/dnssd/IncrementalResolve.cpp:285: CHIP Error 0x0000002F: Invalid argument

And then that:
2025-06-21 21:04:03.868 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2025-06-21 21:04:17.865 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000001]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:123: CHIP Error 0x00000032: Timeout

And than that:
2025-06-21 21:04:17.866 (Dummy-2) CHIP_ERROR [chip.native.CTL] Remove Current Fabric Failed : src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:123: CHIP Error 0x00000032: Timeout
2025-06-21 21:04:17.867 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to unpair device: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:123: CHIP Error 0x00000032: Timeout
2025-06-21 21:04:17.869 (MainThread) WARNING [matter_server.server.device_controller] Removing current fabric from device failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:123: CHIP Error 0x00000032: Timeout
2025-06-21 21:04:29.405 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:14447i with Node: <0000000000000000, 0> S:0 M:125790176] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)

loud ginkgo
#

ok, that is very strange. it is complaining that it cannot find the thread device via mDNS. However, we know that mDNS is working because your phone was able to use it to find the thread device.

#

does your home assistant machine have multiple network interfaces? (for example, ethernet and wifi?)

languid finch
#

It gets Internet with ethernet.
For devices I think I use like nearly everything now: WiFi, Bluetooth, Zigbee and now trying to use Thread

loud ginkgo
#

I suggest that you rename the discord thread - maybe "matter server mDNS error adding device using ZBT-1" - so someone else might be able to help you further.

languid finch
#

Or I create a new one, since a lot of Informations here, that lead in the wrong direction ๐Ÿ˜„

loud ginkgo
#

better to stay in the same thread, since some context from what we've already checked will make it so other people don't have to ask the same questions again

#

This is very strange, since the matter server add-on and openthread border router add-on are both on the same machine. so why can your phone see the mdns, but the matter server add-on can't? :/

languid finch
#

Matter server mDNS error adding device using ZBT-1

#

Idk... ๐Ÿ˜„ I deinstalled the Matter Server, let it delete all data and installed it again: still same problem

#

2025-06-21 21:23:26.669 (MainThread) ERROR [chip.storage] [Errno 2] No such file or directory: '/data/chip.json'
2025-06-21 21:23:26.669 (MainThread) CRITICAL [chip.storage] Could not load configuration from /data/chip.json - resetting configuration...
2025-06-21 21:23:26.670 (MainThread) WARNING [chip.storage] No valid SDK configuration present - clearing out configuration
2025-06-21 21:23:26.670 (MainThread) WARNING [chip.storage] No valid REPL configuration present - clearing out configuration

2025-06-21 21:23:30.752 (Dummy-2) CHIP_ERROR [chip.native.DL] Long dispatch time: 247 ms, for event type 2

And a ton of these after:
2025-06-21 21:23:45.397 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD parse error: src/lib/dnssd/IncrementalResolve.cpp:285: CHIP Error 0x0000002F: Invalid argument

The first ones are probably from starting the addon, didnt see that when I checked before. Maybe thats something...

loud ginkgo
#

if you deleted all the data, then the "resetting" and "clearing out configuration" messages are normal

languid finch
#

I was able to add the device now, idk why xD The Matter Server was gone and I had to re-add it (dont know why xD) and then it worked...
But before I still got like 100+ times the errors mesage:
2025-06-22 23:02:16.640 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD parse error: src/lib/dnssd/IncrementalResolve.cpp:285: CHIP Error 0x0000002F: Invalid argument

Even while adding the device I had several of this and it still worked...