# Matter Server The `matter-server` Argo Application installs the maintained `home-assistant-matter-server` chart from https://charts.derwitt.dev in `default`, alongside Home Assistant. Its chart version in `bootstrap/matter-server.yaml` is the canonical release selection; the upstream chart selects its images. Home Assistant connects to `ws://matter-server.default.svc.cluster.local/ws`. The server uses host networking for LAN multicast and IPv6 connectivity to Matter devices. The Intel Xeon, all Odroid H3 and H5 nodes, and arschrock now have the router-advertised route to the Thread OMR prefix. The workload is not node-pinned; arschrock remains excluded by its control-plane `NoSchedule` taint. Verify `ip -6 route get ` on a candidate node before changing host networking. The server has no fixed listen address or interface name. The hosts use IPv6 Router Advertisements on their LAN interfaces while retaining IPv4 DHCP. Bonded nodes enable IPv6 link-local addressing on `bond0` and accept kernel RAs and route-information options (`accept_ra=2`, maximum route prefix length 64). `odroid-h5-00` uses systemd-networkd RA handling with route metric 100; Intel Xeon already receives the required routes on `enp3s0`. Do not enable systemd-networkd's `[IPv6AcceptRA]` on a bond interface. MetalLB allocates a LAN address for the WebSocket/dashboard Service. That address covers API access, not Matter discovery or device traffic: the node running the controller still needs working LAN IPv6 routes to the OTBR. The cluster's Cilium pod network is IPv4-only, so a LoadBalancer Service alone cannot replace host networking. The MikroTik OTBR remains the Thread border router; Matter Server does not create another Thread network. There is no public ingress. A single controller restarts during rescheduling; this is recovery with preserved state, not uninterrupted active-active service. The MikroTik-managed `app-otbr` container requires these startup sysctls in its own network namespace: `net.ipv6.conf.all.forwarding=1`, `net.ipv6.conf.veth-app-otbr.accept_ra=2`, and `net.ipv6.conf.veth-app-otbr.accept_ra_from_local=1`. The persistent script `/data/lan-ipv6-init.sh` applies them before `exec /init`; the RouterOS container uses `entrypoint=/bin/sh` and `cmd=/data/lan-ipv6-init.sh`. Keeping the script separate avoids RouterOS command-line quoting errors. Without accepting its own router advertisements, the container advertises a LAN prefix but lacks the corresponding return route; discovery works while IPv6 communication with Thread fails. Recheck this entrypoint after changing or reinstalling the MikroTik App. RouterOS does not expose `accept_ra_rt_info_max_plen` in this container kernel. The selected node must receive the OTBR's LAN router advertisements. Verify `ip -6 route get ` on the host before moving this pod; Matter discovery can succeed while device traffic still fails without that route. BLE proxy commissioning is enabled. Home Assistant's Matter integration connects to the server's `/ble` endpoint and supplies its Bluetooth adapters or active ESPHome proxies, allowing commissioning without Google Play services. The upstream prerequisites for ESPHome proxies are ESPHome 2026.5 or newer and ESP-IDF 6.0.1 or newer. Verify the proxy firmware and Bluetooth range before using this path; merely seeing BLE advertisements is not sufficient. The controller must have the preferred Thread dataset before commissioning. Devices still require their own Matter QR/manual setup code and pairing mode. The chart creates `data-matter-server-0`, mounted at `/data`, on the retained `rook-cephfs-ec` storage class. This contains authoritative Matter fabric keys and device pairing state. Preserve the entire directory and its permissions when restoring, stop the server during a filesystem copy, and never run two controllers against the same data. Restore it to the same claim or an isolated recovery claim before starting a replacement controller. Losing this state can require commissioning every device again. Backup gap: this new claim is not selected by `apps/backup/` yet. Ceph replication and the retained volume are not historical backups. No successful external backup or restore exercise is claimed. Thread credentials on the MikroTik and Home Assistant configuration are separate recovery material.