Skip to content

Can't pair device #1186

@boscorelly

Description

@boscorelly

Hi,

i just up a container, but i can't make it working :


2025-07-06 22:58:25.714 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Logging...
2025-07-06 22:58:25.715 (MainThread) INFO [matter_server.server.stack] Initializing CHIP/Matter Controller Stack...
[1751842705.793475][1:1] CHIP:CTL: Setting attestation nonce to random value
[1751842705.794009][1:1] CHIP:CTL: Setting CSR nonce to random value
[1751842705.796339][1:1] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_kvs
[1751842705.800871][1:1] CHIP:DL: Wrote settings to /tmp/chip_kvs
[1751842705.801617][1:1] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_factory.ini
[1751842705.802827][1:1] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_config.ini
[1751842705.803679][1:1] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /data/chip_counters.ini
[1751842705.807666][1:1] CHIP:DL: Wrote settings to /data/chip_counters.ini
[1751842705.807748][1:1] CHIP:DL: NVS set: chip-counters/reboot-count = 4 (0x4)
[1751842705.808913][1:1] CHIP:DL: Got Ethernet interface: eth0
[1751842705.809624][1:1] CHIP:DL: Found the primary Ethernet interface:eth0
[1751842705.810464][1:1] CHIP:DL: Got WiFi interface: wlan0
[1751842705.810533][1:1] CHIP:DL: Failed to reset WiFi statistic counts
2025-07-06 22:58:25.811 (MainThread) INFO [chip.storage] Initializing persistent storage from file: /data/chip.json
2025-07-06 22:58:25.812 (MainThread) INFO [chip.storage] Loading configuration from /data/chip.json...
2025-07-06 22:58:26.114 (MainThread) INFO [chip.CertificateAuthority] Loading certificate authorities from storage...
2025-07-06 22:58:26.114 (MainThread) INFO [chip.CertificateAuthority] New CertificateAuthority at index 1
2025-07-06 22:58:26.116 (MainThread) INFO [chip.CertificateAuthority] Loading fabric admins from storage...
2025-07-06 22:58:26.117 (MainThread) INFO [chip.FabricAdmin] New FabricAdmin: FabricId: 0x0000000000000001, VendorId = 0xFFF1
2025-07-06 22:58:26.118 (MainThread) INFO [matter_server.server.stack] CHIP Controller Stack initialized.
2025-07-06 22:58:26.119 (MainThread) INFO [matter_server.server.server] Starting the Matter Server...
2025-07-06 22:58:26.128 (MainThread) INFO [matter_server.server.helpers.paa_certificates] Skip fetching certificates (already fetched within the last 24h).
2025-07-06 22:58:26.128 (MainThread) INFO [chip.FabricAdmin] Allocating new controller with CaIndex: 1, FabricId: 0x0000000000000001, NodeId: 0x000000000001B669, CatTags: []
2025-07-06 22:58:26.337 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/inet/UDPEndPointImplSockets.cpp:421: OS Error 0x02000065: Network is unreachable
2025-07-06 22:58:26.339 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/inet/UDPEndPointImplSockets.cpp:421: OS Error 0x02000065: Network is unreachable
2025-07-06 22:58:26.373 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/lib/dnssd/minimal_mdns/Server.cpp:344: CHIP Error 0x00000046: No endpoint was available to send the message
2025-07-06 22:58:26.375 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/lib/dnssd/minimal_mdns/Server.cpp:344: CHIP Error 0x00000046: No endpoint was available to send the message
2025-07-06 22:58:26.377 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/lib/dnssd/minimal_mdns/Server.cpp:344: CHIP Error 0x00000046: No endpoint was available to send the message
2025-07-06 22:58:26.378 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/lib/dnssd/minimal_mdns/Server.cpp:344: CHIP Error 0x00000046: No endpoint was available to send the message
2025-07-06 22:58:26.380 (Dummy-2) CHIP_ERROR [chip.native.DIS] Failed to advertise records: src/lib/dnssd/minimal_mdns/Server.cpp:344: CHIP Error 0x00000046: No endpoint was available to send the message
2025-07-06 22:58:26.382 (Dummy-2) CHIP_ERROR [chip.native.DL] Long dispatch time: 251 ms, for event type 2
2025-07-06 22:58:26.406 (MainThread) INFO [matter_server.server.vendor_info] Loading vendor info from storage.
2025-07-06 22:58:26.420 (MainThread) INFO [matter_server.server.vendor_info] Loaded 328 vendors from storage.
2025-07-06 22:58:26.421 (MainThread) INFO [matter_server.server.vendor_info] Fetching the latest vendor info from DCL.
2025-07-06 22:58:26.717 (MainThread) INFO [matter_server.server.vendor_info] Fetched 327 vendors from DCL.
2025-07-06 22:58:26.718 (MainThread) INFO [matter_server.server.vendor_info] Saving vendor info to storage.
2025-07-06 22:58:26.728 (MainThread) INFO [matter_server.server.device_controller] Loaded 0 nodes from stored configuration
2025-07-06 22:58:26.749 (MainThread) INFO [matter_server.server.server] Matter Server successfully initialized.

Here is my docker-compose config :

  matter:
    image: ghcr.io/home-assistant-libs/python-matter-server:stable
    container_name: matter
    restart: unless-stopped
    # Required for mDNS to work correctly
    network_mode: host
    security_opt:
      # Needed for Bluetooth via dbus
      - apparmor:unconfined
    volumes:
      # Create an .env file that sets the USERDIR environment variable.
      - /datastore/matter/data:/data/
      - /run/dbus:/run/dbus:ro
#    command: --storage-path /data --paa-root-cert-dir /data/credentials --bluetooth-adapter 0

i try to add the matter stack to add my aqara u200 to HA, as it is already in HomeKit.

THanks for your help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions