-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to commission Thread devices through Matter #2277
Comments
I got this working using a macvlan network, this is my compose file (i created the macvlan using portainer). I think this is because mDNS is required to have full UDP multicast access to the network. This runs on my pi with an RCP. I am using with home assistant in a VM on proxmox which connects to this OTBR. I also have full IPv6 routed network. Nothing worked until i did a)this and b)realized i need to use android not iOS to commission a device.
|
Thank you for the reply. I will give that a shot sometime this week or next and let you know if it works for my case. We aren't using Home Assistant, so I'm hoping that doesn't make much of a difference. |
Shouldn’t make any difference, but note I never figured out how to get commissioning working from the web interface.
…________________________________
From: fostergorman ***@***.***>
Sent: Tuesday, June 4, 2024 7:32:29 AM
To: openthread/ot-br-posix ***@***.***>
Cc: scyto ***@***.***>; Comment ***@***.***>
Subject: Re: [openthread/ot-br-posix] Unable to commission Thread devices through Matter (Issue #2277)
I got this working using a macvlan network, this is my compose file (i created the macvlan using portainer). I think this is because mDNS is required to have full UDP multicast access to the network. This runs on my pi with an RCP. I am using with home assistant in a VM on proxmox which connects to this OTBR. I also have full IPv6 routed network. Nothing worked until i did a)this and b)realized i need to use android not iOS to commission a device.
services:
otbr:
container_name: otbr
image: "openthread/otbr:latest"
privileged: true
restart: unless-stopped
networks:
- otbr_mvl
sysctls:
net.ipv6.conf.all.disable_ipv6: 0
net.ipv4.conf.all.forwarding: 1
net.ipv6.conf.all.forwarding: 1
net.ipv6.conf.all.accept_ra_rt_info_max_plen: 64
net.ipv6.conf.all.accept_ra: 2
command: --radio-url spinel+hdlc+uart:///dev/ttyUSB1?uart-baudrate=460800
devices:
- /dev/ttyUSB1
dns: 127.0.0.1
networks:
otbr_mvl:
external: true
Thank you for the reply. I will give that a shot sometime this week or next and let you know if it works for my case. We aren't using Home Assistant, so I'm hoping that doesn't make much of a difference.
—
Reply to this email directly, view it on GitHub<#2277 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACWXVXHIJPVTH7FHFV57FPLZFXFX3AVCNFSM6AAAAABHLIBVV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBXGY4TENZZGA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Matter devices do not support Thread Commissioning - they support Matter Commissioning. |
Matter does support commissioning of Thread devices. I am able to use Matter to bring a Thread device onto the Thread network. You can see the device be brought onto the Thread network during Matter commissioning. The issue is after the device is brought onto the Thread network, it can't be reached again. |
By the web interface do you mean OTBR's interface? I have never been able to get that to work either. |
Matter does NOT support Thread Commissioning as defined in the Thread Specification. The OTBR web interface implements Thread Commissioning. Matter Commissioning supports configuring Thread interfaces, but that is not the same as Thread Commissioning. As a result, Thread Commissioning CANNOT be used to commission Matter devices. |
I think their may be a mix up of words here since both Matter and Thread use the terminology "commissioning". What I'm saying is that, through Matter commissioning, you are able to connect a Thread device to a Thread network, not that Matter is doing Thread commissioning. |
My assumption (maybe bad) was that the commissioning tab in OTBR would let me add a device that had a built on thread logo AND a matter logo. I assumed I would enter the key off the device and see it in the topology tab of OTBR. Personally I have no devices that have a thread logo without the matter logo.
…________________________________
From: fostergorman ***@***.***>
Sent: Thursday, June 6, 2024 10:16:25 AM
To: openthread/ot-br-posix ***@***.***>
Cc: scyto ***@***.***>; Comment ***@***.***>
Subject: Re: [openthread/ot-br-posix] Unable to commission Thread devices through Matter (Issue #2277)
I think their may be a mix up of words here since both Matter and Thread use the terminology "commissioning". What I'm saying is that, through Matter commissioning, you are able to connect a Thread device to a Thread network, not that Matter is doing Thread commissioning.
—
Reply to this email directly, view it on GitHub<#2277 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACWXVXFAACBLNO7FOQPDJS3ZGB4MTAVCNFSM6AAAAABHLIBVV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSG44TENRVGA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
@fostergorman , I was responding directly to this comment:
The OTBR web interface only implements Thread Commissioning, and not Matter Commissioning.
Matter chose not to implement Thread Commissioning. |
Thanks, does this mean if a device has a matter key printed on it that this precludes thread commission / the device won’t support pure thread commissioning? I had assumed the devices were in effect dual mode…
…________________________________
From: Jonathan Hui ***@***.***>
Sent: Thursday, June 6, 2024 10:27:53 AM
To: openthread/ot-br-posix ***@***.***>
Cc: scyto ***@***.***>; Comment ***@***.***>
Subject: Re: [openthread/ot-br-posix] Unable to commission Thread devices through Matter (Issue #2277)
@fostergorman<https://github.com/fostergorman> , I was responding directly to this comment:
Shouldn’t make any difference, but note I never figured out how to get commissioning working from the web interface.
The OTBR web interface only implements Thread Commissioning, and not Matter Commissioning.
My assumption (maybe bad) was that the commissioning tab in OTBR would let me add a device that had a built on thread logo AND a matter logo. I assumed I would enter the key off the device and see it in the topology tab of OTBR. Personally I have no devices that have a thread logo without the matter logo.
Matter chose not to implement Thread Commissioning.
—
Reply to this email directly, view it on GitHub<#2277 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACWXVXHMW3KNLYFVFQ35SJTZGB5XTAVCNFSM6AAAAABHLIBVV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSHAYTMNRYGY>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Matter devices are not currently required to implement Thread Commissioning. As a result, most do not. |
Describe the bug A clear and concise description of what the bug is.
I'm currently working on a Matter hub that uses both WiFi and Thread. The WiFi part is working just fine, but the Thread part has never worked.
I have an open issue with the Matter team already and it seems that the Matter side of things are working as expected.
The problem that we've narrowed it down to is that Matter never receives an ack from the thread end device. I've looked through the logs and see that there are failures, but the information provided doesn't give enough to know if this is from Matter or some other error.
I have noticed that pinging the end devices IP is intermittent and can sometimes stall endlessly.
To Reproduce Information to reproduce the behavior, including:
Docker setup:
Using Matter's chip-tool (latest commit) to commission a new device onto the Thread network and Matter fabric.
Expected behavior A clear and concise description of what you expected to happen.
Matter connects to the end device using the IP provided by the Thread network and is able to communicate over Thread.
Console/log output If applicable, add console/log output to help explain your problem.
See attached file: otbr.log
The text was updated successfully, but these errors were encountered: