Skip to content
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

Matter over Thread: cannot add Tado X smart valves #131374

Open
duemila2 opened this issue Nov 23, 2024 · 1 comment
Open

Matter over Thread: cannot add Tado X smart valves #131374

duemila2 opened this issue Nov 23, 2024 · 1 comment

Comments

@duemila2
Copy link

The problem

I'm trying to add my Tado X smart valves to Home Assistant using Matter and Thread integration.
These devices have their own border router included.
I've Home Assistant on Docker and this is my Docker compose configuration:

version: '3'
services:
    home-assistant:
        container_name: home-assistant
        image: ghcr.io/home-assistant/home-assistant:stable
        ports:
        - 8123:8123
        volumes:
        - ~/homeassistant:/config
        - /run/dbus:/run/dbus:ro
        environment:
        - TZ=Europe/Rome
        - DISABLE_JEMALLOC=true
        network_mode: host
        restart: always
        privileged: true
    matter-server:
      image: ghcr.io/home-assistant-libs/python-matter-server:stable
      container_name: matter-server
      restart: unless-stopped
      # Required for mDNS to work correctly
      network_mode: host
      security_opt:
        - apparmor:unconfined
      command: --log-level debug
      volumes:
        - ${USERDIR:-$HOME}/docker/matter-server/data:/data/

I've added the Matter Integration to Home Assistant:
image

I also added Thread integration and imported credentials for Tado border router:
Screenshot_20241123-163708

then I tried to add one valve from Tado app:
Screenshot_20241123-163355
Screenshot_20241123-163409
Screenshot_20241123-163420
Screenshot_20241123-163425

but it fails:

Screenshot_20241123-164102

from the logs on the Matter Server I can see:

`2024-11-23 15:39:05.068 (MainThread) DEBUG [matter_server.server.device_controller.mdns] Discovered commissionable Matter node: AsyncServiceInfo(type='_matterc._udp.local.', name='CF3323621DF5E6F6._matterc._udp.local.', addresses=[], port=5540, weight=0, priority=0, server='4AF54A67B1756B6E.local.', properties={b'VP': b'4942+1', b'DT': b'769', b'SII': b'3800', b'SAI': b'1000', b'T': b'0', b'D': b'1964', b'CM': b'0', b'PH': b'36', b'PI': None}, interface_index=None)
2024-11-23 15:40:23.624 (MainThread) DEBUG [matter_server.server.device_controller.mdns] Commissionable Matter node disappeared: AsyncServiceInfo(type='_matterc._udp.local.', name='CF3323621DF5E6F6._matterc._udp.local.', addresses=[], port=None, weight=0, priority=0, server=None, properties={}, interface_index=None)
2024-11-23 15:40:24.616 (MainThread) DEBUG [matter_server.server.device_controller.mdns] Discovered commissionable Matter node: AsyncServiceInfo(type='_matterc._udp.local.', name='E797EF712AB9F1B9._matterc._udp.local.', addresses=[], port=5540, weight=0, priority=0, server='4AF54A67B1756B6E.local.', properties={b'VP': b'4942+1', b'DT': b'769', b'SII': b'3800', b'SAI': b'1000', b'T': b'0', b'D': b'133', b'CM': b'2', b'PH': b'36', b'PI': None}, interface_index=None)
2024-11-23 15:40:26.399 (MainThread) INFO [matter_server.server.device_controller] Starting Matter commissioning with code using Node ID 8.
2024-11-23 15:40:26.402 (ThreadPoolExecutor-0_0) DEBUG [matter_server.server.storage] Saved data to persistent storage
2024-11-23 15:40:26.457 (Dummy-2) CHIP_ERROR [chip.native.-] src/inet/UDPEndPointImplSockets.cpp:416: OS Error 0x02000065: Network is unreachable at src/controller/SetUpCodePairer.cpp:280
2024-11-23 15:40:56.403 (Dummy-2) CHIP_ERROR [chip.native.CTL] Discovery timed out
2024-11-23 15:40:56.403 (Dummy-2) CHIP_ERROR [chip.native.ZCL] Secure Pairing Failed
2024-11-23 15:40:56.403 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to establish secure session to device: src/controller/python/ChipDeviceController-ScriptDevicePairingDelegate.cpp:89: CHIP Error 0x00000003: Incorrect state
2024-11-23 15:40:56.404 (MainThread) ERROR [matter_server.server.client_handler] [132016439334096] Error while handling: commission_with_code: Commission with code failed for node 8.

How can I solve or troubleshoot it?

Thank you very much in advance!

What version of Home Assistant Core has the issue?

core-2024.6.4

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

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant