Pure HA+Thread, "Border Router required"

As for using iOS HA Companion App to commission Matter/Thread, I’ve been told by one of the developers that there is a race condition so it may or may not work.

I found that when using a manual setting in IPv6 it would not work unless the fe80 address was the first one listed.
Try to set it to automatic and then restart the host (not just the core) to clear the present IPv6 settings.

Thanks, but reset to automatic doesn’t solve the problem. It still tells me that a border router is required.

I guess I need to buy a ready-to-use matter thread border router somewhere. Google Nest or Apple HomePod mini seem to be the cheapest even though I don’t really need them.

I use just a SkyConnect with HA as my only Thread Border Router, so it can work, but I commission devices through my Android 13 phone, which my be the important difference here.

Sounds good. However, I tried a Samsung A55 yesterday. It has the latest Android version. It didn’t work either. Should I try a SkyConnect stick or do you think it won’t make a difference?

Make sure you have the correct thread credentials on the Android.

On the Android Companion App open Settings → Companion App → Troubleshooting (I think that is what it is called in english, but it list logfiles and other tools to diagnostics as description of the item).
In this next window click the Sync Thread Login Credentials (Again it might not be named exactly that, but close to and there should not be that many options and it should be in the bottom)

It should say either something with “Added …” or “Already using the same credentials”.
The trick here is to run it again and make sure that it does not say “Added …” the second time.

If it does then you need to clear the Google Play Services Cache, which might clear a lot of other stuff, like login to services and credit card informations for Google Play and websites and so on, so make sure you know you informations before hand.

The way to clear the cache is Settings → Apps → See All Apps → Google Play Services → Storage and Cache → Manage Storage → Clear All Cache
Now repeat the syncing of the thread credentials above.

6 Likes

Thanks, it helps me add my matter device

Hi, is the problem with the iOS HA Companion App to commission Matter/Thread still ongoing, or can I use the iOS version to commission Matter/Thread in the meantime?

Beginning with 2024.7 release, the iOS HA Companion App can be used for commissioning Thread devices for Matter. But you first have to installl the Thread Dataset from HA to the iOS device/phone.
Using the iOS HA Companion App you would navigate:
Settings->UI->Integrations->Thread->CONFIGURE-> psuedo-button “SEND CREDENTIALS TO PHONE”. After this, you should be able to commission a Thread/Matter device using the iOS HA Companion App.

1 Like

Trying to set a Thread network using SkyConnect, but still no luck. When i try to add a device, it looks like it’s gonna work (a nearby device is discovered), but finally the app says that there’s no thread border router in the network.

This is my setup:

  • Core 2024.9.0
  • Supervisor 2024.08.0
  • Operating System 13.1
  • Frontend 20240904.0

wmaker, can you give some more detail about how to install the thread dataset from HA to the iOS device? When i go integrations → thread → configure, i see that there’s a preferred network named ha-thread-xxxx; and a message saying “no border routers found”. At the bottom of the screen it’s a blue button that says “send credendials to home assistant”…

Help would be sincerery appreciated.

Make sure all your devices in the process have IPv6 enabled.
Make sure HA, Matter server and border router only have one NIC.

I assume you are using the OTBR Add-On, and if you are, you may need to restart it or verify that it is running, as it appears the Thread Integration does not see it and thus not auto-discovering it as a TBR.

(Using the HA iOS Companion App) in addition, there should also be a pseudo-button on the same screen underneath the list of TBRs, that says “SEND CREDENTIALS TO PHONE”. If you don’t see this, then I’m not entirely sure, but in your list of TBR(s) on that same page, there should be one with small icon that looks like a rectangle with a key inside, as it is this TBR’s Credentials that are to be sent to your phone. If you don’t have that icon, then that may be the reason the pseudo-button is not showing up.

Ok, I’m also trying to add a Thread/Matter Device with Home Assistant as border router.

I have a Home Assistant Connect ZBT-1 and an aqara P2 Threa/Matter Motion Sensor.

I followed this guide to make HA my first Thread border router.

I added the Thread Integration & then I enabled thread on the ZBT-1 dongle. I now can see a Thread and an Open Thread Border Router integration in HA.

And then I followed this guid for the matter part

And I now see a Matter (beta) integration in HA

Next step is to add the device with the companion app on my iphone 13 pro
I can scan the QRcode and I can see that the companion app is connecting to the device and it goes into setup phase. But then I get a message that a Thread Border Router is Required.

Home Assistant has an IPv6 address
image
And so does my phone

Any ideas where I can start looking to troubleshoot this issue?

1 Like

Thank you wmwalker. Will give it a try.

Hi there, found this via Google. Thanks for this. I pressed the button in the Thread Configure page to send to phone, but when I go to the Companion App → Debugging → Thread, I just see a blank page. There is no “Sync Thread Credentials” button visible.

That page is only for displaying the Thread credentials that have been stored on your iOS device. There is no button on that page.

This worked for me! I tried numerous times to add an Eve motion detector to my Home Assistant Yellow set up as a thread border router. On Android, I synced the thread login credentials exactly as described by Wally and was able to get it added on my first try.

Thank you, this fixed my issue with adding Thread/Matter devices.

I’m running into this issue with IOS devices, was anybody able to get this working with Apple devices?

I’m running a VM with the SkyConnect USB stick. I have followed the guides to install all of the prerequisites but I keep receiving the error that a Thread Border Router is required when I try to add the device but if I look in my thread integration the OpenThread Border Router is listed in my preferred network.

Usually this means that the Thread dataset/credentials are not known or are the incorrect ones used by the iOS Companion App when it gave it to the device to join the Thread network.

Just to verify, in this guide, step 3 says for iOS Companion app to “Send to phone”. Did you do that part?

Otherwise, the other know problem is IPv6 is not setup and running properly.