home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.63k stars 30.78k forks source link

Matter Integration - Aqara hub mDNS #110774

Closed Cameron-Bird-753 closed 8 months ago

Cameron-Bird-753 commented 8 months ago

The problem

Trying to add an Aqara E1 hub (Also tried M2) to HA using the Matter integration, but to no avail. From the logs it seems to be related to mDNS. Any thoughts? Network wise - the hub and HA are on seperate vlans, I use Opnsense and have mDNS Repeater configured for these interfaces.

What version of Home Assistant Core has the issue?

core-2024.2.2

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

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-02-16 21:35:18 core-matter-server chip.CTL[126] ERROR Discovery timed out
2024-02-16 21:35:18 core-matter-server chip.ZCL[126] ERROR Secure Pairing Failed
2024-02-16 21:35:18 core-matter-server matter_server.server.client_handler[126] ERROR [139903956769744] Error handling message: CommandMessage(message_id='7236aa8977084638b3056416416c6263', command='commission_with_code', args={'code': '04207427416', 'network_only': True})
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py", line 193, in _run_handler
    result = await result
             ^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 265, in commission_with_code
    raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission with code failed for node 61.
2024-02-16 21:35:19 core-matter-server chip.DIS[126] ERROR Timeout waiting for mDNS resolution.
2024-02-16 21:35:50 core-matter-server matter_server.server.device_controller[126] INFO Starting Matter commissioning with code

Additional information

No response

home-assistant[bot] commented 8 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!

Code owner commands Code owners of `matter` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign matter` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


matter documentation matter source (message by IssueLinks)

marcelveldt commented 8 months ago

Check the documentation for Matter which clearly says you cant run it with vlans. Only simple/flat network configs will work.