#Matter server using Docker Macvlan

1 messages · Page 1 of 1 (latest)

rain sedge
#

Matter over Thread commissioning works with host networking for python-matter-server (not needed for the HA container) but not for Macvlan. It errors with:

[chip.native.CTL] Discovery timed out
[chip.native.SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33

Config

networks:
    home-lan:
        driver: macvlan
        enable_ipv6: true
        driver_opts:
            parent: eth0
            com.docker.network.endpoint.sysctls: net.ipv6.conf.IFNAME.accept_ra_rt_info_max_plen=64
        ipam:
            config:
                - gateway: "..."
                  subnet: ".../24"
                  ip_range: ".../32"

services:
    home-assistant:
        image: ghcr.io/home-assistant/home-assistant:2025.4.2
        volumes:
            - /home/apps/home-assistant:/config
        ports: ["8123:8123"]

    home-assistant-matter:
        image: ghcr.io/home-assistant-libs/python-matter-server:7.0.1
        networks:
            home-lan: { ipv4_address: ... }
        volumes:
            - /home/apps/home-assistant-matter:/data

The host has a route to the macvlan so that HA's websocket works, promiscuous mode is enabled on eth0, and there's no firewall.

I'm pretty stumped on what else to try, help appreciated!

timber current
#

Would you be willing to help me troubleshoot my containerized HA setup? I'm trying to get python-matter-server functional and am hitting a brick wall.

I'm using an off the shelf TBR (Aqara M100) and can successfully add devices to its Thread network but not bridge them to HA (or reset binding and try to pair directly)

I ran through the openthread.io guides to get the host setup correctly (or so I thought) and followed the remainder of the documentation on the matter-server github with no luck.