Reeve Docs

Docs / Sidecars

Matter controller

Reeve speaks Matter in both directions, through two independent integrations. This page is the controller: Reeve commissions Matter and Thread devices into its own fabric and drives them, through a host-network sidecar plus a companion plugin (reeve-iot/reeve-plugin-matter). The other direction, exposing Reeve's own devices to other ecosystems as one Matter bridge node, is in Matter bridge.

Reeve as a Matter controller

The controller side is released separately from the host and runs as a sidecar on the host network, as a non-root user with no Linux capabilities, no tun device and no mounted radio. It is a Matter controller and nothing else: a Thread border router and any Bluetooth dongle are infrastructure the operator runs, and nothing in Reeve writes a Thread dataset to a border router. The controller reaches a Thread device over plain IPv6, so the host's LAN interface must accept the border router's route advertisements (net.ipv6.conf.<interface>.accept_ra=2 and accept_ra_rt_info_max_plen=64); the sidecar only diagnoses these settings. It reaches the backend over the workload session plane.

Phone-driven onboarding

The companion app uses the phone's own operating-system commissioner to do the Bluetooth pairing exchange and network provisioning. The operating system then reopens the commissioning window and hands back the device's network address and port, a passcode and a device descriptor, which the app relays over its authenticated session. The controller then commissions the device into Reeve's fabric by address, over IP, with no Bluetooth on the Reeve side at all.

Any plugin can register an onboarding provider. The app picks a handler by the onboarding kind string, not by plugin identity, so a replacement Matter plugin needs no app change. Only a new onboarding kind does.

A relayed address must be reachable from the commissioning host, in addition to passing the SSRF check. A link-local or scope-id-bearing address is only meaningful in the network namespace that resolved it, so the relay rejects it instead of letting the pairing time out later.

The onboarding session is stored server-side in the shared database, not in replica memory, and the app resumes by polling it. Expired sessions are swept by the onboarding-session-maintenance job, which runs every 60 seconds by default on the one replica that holds it. The provider does not create a device row. The device appears through the normal asynchronous device sync, and the session is matched to it by the commissioned node id.

Elements the specification does not define

A commissioned node routinely advertises manufacturer clusters alongside the standard ones. The controller can read and subscribe to their attributes generically, and cannot invoke their commands at all without first modelling the cluster. When a device's ecosystem app does more than its Matter surface exposes, that gap and the ways across it are covered in matter-vendor-clusters.md.

See also