#Thread pairing

1 messages · Page 1 of 1 (latest)

tropic dragon
#

hey, I am new to Thread/Matter and tried (without good success) to pair my first Matter sensor with HA in a proxmox VM. I might have IPv6 problems.

Is there a more specific guide than https://www.home-assistant.io/integrations/thread ?

(the speicifc problem I am currently having is that my Android app tries to use a old ha-thread-xxxx network, that I had created hours agof, but delete since then....)

Home Assistant

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

slate stump
tropic dragon
#

yes: I synced the credentials (in the trouble shooting section of the Android HA companion app). I said that the credentials are now synced to this device (I assume that is the phone/app, not any Thread device).

#

then I tried both: pairing with the QR code or the 11 digit number on the device

#

It shows this

#

And then ends with the wrong network

#

Wrong, because this is the only recent network listed

#

(the "-94e7")

slate stump
#

Hmm, I'm not an expert on this, but it sounds to me you might need to clear your Google Play Services data and cache, and then try again. But clearing the data might get you in a lot of hassle, because it also clears your Google Wallet etc.

Might be worth a try, if you don't use Wallet and stuff. In my case (I don't use it) it just means I have to login again, and then sync Thread Credentials again in Home Assistant...

tropic dragon
#

I use the wallet 🙂

#

(we are talking about the credit card to pay with phone etc right?)

slate stump
#

In that case, it might be better to wait for some more skilled Thread-people

slate stump
tropic dragon
#

I am reading whatever I find about similar topics and I see a lot of postings mention that the IPv6 might block the multicasts.

Is there any guide on how to check that "that" works?

I am probably reading semi-related stuff and I am not sure what applies - what not.

#

my HA is on wired LAN (not WiFi) and the Android phone is on a2.4 Ghz wifi.

#

I see a few IPv6 addresses on my Android: fe80::...., 2001:.... fda9:.... - but I am not very familar with this, bth

slate stump
#

I'm not very familiar with that either. I've never got my Thread Network to work, despite trying a lot of different things...

There is not so well known option in the Android settings to see your Thread networks. You can see if your network is visible there. For the rest of troubleshooting, I wouldn't bet on me, because my results so far are 100% failure 🤭

wise tapir
#

something annoying is that the android 'thread' settings page mdns implementation is buggy, so it sometimes fails to find the home assistant otbr. this also seems to cause pairing issues for some people.

#

a workaround might be coming to the home assistant otbr in the future, but it requires upgrading to a new openthread version so it's been taking a while.

tropic dragon
#

the "Thread Networks" in Android settings looks empty to me:

wise tapir
tropic dragon
slate stump
tropic dragon
#

Thanks for the update

#

I will watch out for updates on that

#

But: is thread support in HA really that early?

wise tapir
#

technically this is a bug in android, not in home assistant :/

tropic dragon
#

The fact that the deleted network is still "there"?

wise tapir
#

well, that, and also the fact that android sometimes can't discover the home assistant otbr via mdns

tropic dragon
#

Ok.

Is it possible to pair new devices without any android or iOS?

How?

hasty terrace
tropic dragon
#

I updated a few minutes ago, thanks for the ping. I appreciate it

tropic dragon
#

I revived my -2393 network, the very first one that I had create (I still had the TLV record, the long hex string) and use this now again.

I synced the credentials to the Android HA App

I am using a kajplats light bulb, switched it 6x off/on to put it into paring mode.

but the App the times out (over more then ~3 mins), telling me it can't find the device.

#

I tried the paring with scanning the QR code and also entering the 11 digit number code, but I guess that is very similar

#

when I put the bulb into pairing mode (6x off/on switching) it flickers a few times for maybe 5 seconds then is "on" again.

#

maybe 2 mins in into the pairing, the bulb blinks very shortly once - but nothing else happens

#

This is shown during the pairing

#

This is shown after pairing times out

#

Oh, interesting: I also have a Klippbok (water sensor) from Ikea.

Here the pairing process succeed. I started all of this with this exact same water sensor a few days ago

#

(now I need to figure out if the sensor works with home assistant)

#

And then retry with the light bulb 💡

tropic dragon
#

after the pairing of that water leak sensor, that device is offline.

I assume that the IPv6 traffic is the issue (more a gut feeling that science...)

#

and many, many attempts to pair the Kajplats light bulb all fail after > 3:30 mins with the disgnoses that the Android can't find the device

#

my home assistant is in a VM on proxmox. I used tcpdump to demonstrate that it sees IPv6 multicast traffic, like this:
16:24:01.712236 IP 192.168.1.32.5353 > 224.0.0.251.5353: 0*- [0q] 1/0/0 PTR Home Assistant OpenThread Border Router #92EB._meshcop._udp.local. (91)

tropic dragon
#

I tried multiple Android phone, switched the channel (from 15 to 25 as I figured out that Zigbee also uses channel 15). Then resynced the credentials ....

#

no success

#

by now, I would like to hear if anyone managed to pair Matter devices in a similar setup: mostly that they also use HA in Proxmox VM, connected over LAN (not wifi)

tropic dragon
#

and maybe also use the Dongle-PMG24 Dongle with OpenThread 2.4.4 Firmware?

wise tapir
#

there's a bunch of folks (including me) successfully using HAOS in a VM, tho I'm not using proxmox. Have you tried enable the "Beta" option in the Openthread Border Router add-on? It includes some changes which should make pairing on android more reliable.

tropic dragon
#

I have now successfully paired 4 devices.

I enabled the "Beta" option, have still reach issues with the thread radio network

#

I also mixed up 2 QR pairing codes for the 3 light bulbs (come on... I can't be the first on that....)

#

I don't think that proxmox is any problem in my setup