-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
Cannot add matter hub #134009
Comments
Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) matter documentation |
Hi Team, I'm facing the same issue as OP, I've freshly installed HAOS and am unable to add my Aqara M3 Hub via Matter. I've tried generating a pairing code from Aqara, SmartThings & Google Home and each time it fails in the same way. I had it previously working on my container install but I recently decided to move to HAOS instead. Fortunately I'm able to access it via the SmartThings integration currently (paired M3 Hub -> SmartThings Hub -> SmartThings Integration) so I can currently use my devices but I would much prefer to pair directly through Matter to the M3 Hub. I have been able to add my Tapo L530E Light Bulbs via Matter in Home Assistant, just not the M3 Hub. My answers to the bug report are below: What version of Home Assistant Core has the issue?2024.12.2 What was the last working version of Home Assistant Core?2024.11.3 What type of installation are you running?Home Assistant OS Integration causing the issueMatter Link to integration documentation on our websitehome-assistant.io/integrations/matter Diagnostics information
|
I thought I should provide an update on my comment, I've been able to pair the M3 Hub over Matter! For me, I thought my network was already a simple configuration, however I had a second router connected to my main router in Access Point mode. A conversation on discord lead me to look into whether this was the issue, changing the secondary router to router mode and plugging in the main router via the LAN port instead has solved all my issues. @secretMoi I would recommend investigating your network setup, basically everything online indicates that there's a communication error between HA and the Hub, and HA seems more sensitive to network issues than other controllers. |
Hello @nathcakes |
The problem
I'm trying to setup my first Matter network
I'm starting to add my hub (Aqara M3), no problem setting it up in Aqara App, Google Home and Alexa.
But I'm unable to add it to home assistant. I tried to add it as new and as used one but it fails each time.
I updated Aqara M3 to latest firmware.
I'm using python-matter-server in my docker compose on same host
The server is well recognized by HA, it's only to add device (my hub) that I'm facing issue
What version of Home Assistant Core has the issue?
2024.12.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Matter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/matter/
Diagnostics information
2024-12-25 22:02:47 2024-12-25 21:02:47.776 (MainThread) INFO [matter_server.server.device_controller] Starting Matter commissioning with code using Node ID 1.
2024-12-25 22:02:47 2024-12-25 21:02:47.778 (MainThread) ERROR [matter_server.server] Error doing task: Task exception was never retrieved
2024-12-25 22:02:47 Traceback (most recent call last):
2024-12-25 22:02:47 File "/usr/local/lib/python3.12/site-packages/matter_server/server/storage.py", line 169, in async_save
2024-12-25 22:02:47 await self.server.loop.run_in_executor(None, do_save)
2024-12-25 22:02:47 File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run
2024-12-25 22:02:47 result = self.fn(*self.args, **self.kwargs)
2024-12-25 22:02:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-25 22:02:47 File "/usr/local/lib/python3.12/site-packages/matter_server/server/storage.py", line 159, in do_save
2024-12-25 22:02:47 shutil.copy(self.filename, self.filename_backup)
2024-12-25 22:02:47 File "/usr/local/lib/python3.12/shutil.py", line 435, in copy
2024-12-25 22:02:47 copyfile(src, dst, follow_symlinks=follow_symlinks)
2024-12-25 22:02:47 File "/usr/local/lib/python3.12/shutil.py", line 260, in copyfile
2024-12-25 22:02:47 with open(src, 'rb') as fsrc:
2024-12-25 22:02:47 ^^^^^^^^^^^^^^^
2024-12-25 22:02:47 FileNotFoundError: [Errno 2] No such file or directory: '/data/3047113067683973373.json'
2024-12-25 22:03:19 2024-12-25 21:03:19.253 (Dummy-2) CHIP_ERROR [chip.native.CTL] Discovery timed out
2024-12-25 22:03:19 2024-12-25 21:03:19.253 (Dummy-2) CHIP_ERROR [chip.native.ZCL] Secure Pairing Failed
2024-12-25 22:03:19 2024-12-25 21:03:19.253 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to establish secure session to device: src/controller/python/ChipDeviceController-ScriptDevicePairingDelegate.cpp:96: CHIP Error 0x00000003: Incorrect state
2024-12-25 22:03:19 2024-12-25 21:03:19.253 (MainThread) ERROR [matter_server.server.client_handler] [140428586576992] Error while handling: commission_with_code: Commission with code failed for node 1.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: