Closed rohitbhatia19 closed 10 months ago
Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration (matter
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
matter documentation matter source (message by IssueLinks)
Well, that your Samsung SmartThings hub works does not have to say your network is not the issue. The Samsung hub is probably connected over WiFi instead of ethernet on the same Access point as the Tapo plug ?
For matter to work reliably, any (mdns) multicast Ipv6 traffic has to travel freely as that is how devices are discovered and communicating. Some network setups are blocking this traffic by default, such as Ubiquity Unifi and you have to disable that features. Look in your router for options like "Multicast enhancements" and disable it. Also some IGMP solutions are known to be broken so it helps to toggle it on or off as test.
In your log there is a really clear indication of mDNS lookup issues so your network is indeed the issue, sorry.
@rohitbhatia19 did you ever find out the culprit of the issue ?
Hi. Unfortunately, I am traveling for work and in another country, so I can't do thorough tests. However, some notes:
I plan to work on this after I return home toward the end of October. I'll keep you updated. Thanks.
@rohitbhatia19 can we close here ?
This is strictly taken not an issue but more a help request for your specific situation. Our discord server is a very good place to get (community) support with these kind of questions so we can use the issue tracker here for bug reports of the code.
A few tips/hint:
See our documentation about network topologies. Matter is based around IPv6 multicast (mDNS) which is not always properly handled by network gear, especially not the semi professional stuff like Unifi which tends to block as much multicast as possible (which makes sense in a way for business environments).
So as soon as the IPv6 multicast traffic can travel freely in your network, issues like these will resolve itself.
I'll seek help from the community, that's fine. However, I thought I'd let you know 2 things:
1) Be aware that Matter is IPv6 and some switches/routers do not have a solid MLD snooping implementation (IGMP snooping for ipv6) and some filter out parts of the IPv6 multicast traffic. We've seen weird cases. Even examples where HA Matter on the WiFi would work perfectly fine but connecting it over ethernet doesn't.
2) Ah good that sharing it from Samsung to HA worked! At least that means that traffic itself is working. Maybe it was just a random fluke then. Was your phone on the same 2,4 Ghz as the device when you tried to commission using the HA companion app ?
If you need more support, check out the HA discord
Hi there.
Did some more tests. I'm not looking for help, but only letting you know with the intent of improving the matter integration. After trying several things, nothing worked. So, I reset the smart plug, removed the Matter integration and Matter Server addon, reinstalled the integration, which reinstalls the addon, and tried to add the smart plug. It connected the first time. All this was done without any additional changes to my network gear. That makes me question if it actually is a network issue. When trying to add the second device of the same type (also factory reset), I get an error as in the screenshot.
My last message here. I'll check HA discord if I need help. But I thought it's important that I give this feedback.
Thanks.
Hi there.
Did some more tests. I'm not looking for help, but only letting you know with the intent of improving the matter integration. After trying several things, nothing worked. So, I reset the smart plug, removed the Matter integration and Matter Server addon, reinstalled the integration, which reinstalls the addon, and tried to add the smart plug. It connected the first time. All this was done without any additional changes to my network gear. That makes me question if it actually is a network issue. When trying to add the second device of the same type (also factory reset), I get an error as in the screenshot.
My last message here. I'll check HA discord if I need help. But I thought it's important that I give this feedback.
Thanks.
that matches my experience, fist plug worked. 2nd 3rd ect would not connect. deleted 1st, and... wont connect again.
I was having this same issue of the first device pairing correctly, but subsequent devices would get to the final "Connecting device to Home Assistant" prompt before erroring out with "Something went wrong".
Some random steps (couldn't reproduce) of changing configs and repeatedly restarting both HA and the Python Matter server (both in docker containers) eventually got me to a second, but I could never get a third device, and after unpairing the second, I got into the same trouble again. After some random cycle of restarting and changing configs, I eventually got a second, but never past that.
After downgrading to HA 2023.8.2, I was able to pair everything in one shot without any errors. More recent images that I had, starting with 2023.9.3 and later, all had the same errors as the most recent release (2023.12.1), so something seems to have broken in an update between 2023.8.2 and 2023.9.3.
The problem
Hi HA community,
I am trying to integrate a KASA/TAPO matter-based smart switch KP125M to the HA Matter (Beta) integration. I have a flat network behind the router. Yet, adding a device fails. I am able to add this same switch (and another matter dimmer) to the Samsung SmartThings station without any issues - so it is unlikely that my network is the issue. Can someone help?
HA info: Home Assistant 2023.8.4 Supervisor 2023.08.1 Operating System 10.5 Frontend 20230802.1 - latest
Matter server version: 4.9.0
Here’s the Matter Server log:
Thanks in advance
What version of Home Assistant Core has the issue?
2023.9.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Matter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/matter/
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response