Integrations
Every device integration is a plugin. This page is the catalogue: what ships, where it lives, and the driver traps that are not specific to one protocol.
Where integrations live
Protocol integrations live in their own repositories under github.com/reeve-iot and release independently. They consume the published contract packages and, where they need a process outside the backend, talk to it over the workload session plane. Only the Matter bridge sidecar and the shared sidecar wire protocol are part of this repository.
A change to the plugin SDK is therefore a contract change across repositories. Protocol details are documented in the repository that owns the integration, and this repository describes the behaviour an operator sees.
Secret provider administration
The Secrets destination groups the stored-value inventory and configured providers under deep-linkable tabs. Provider metadata stays on the fast picker endpoint; a background check refreshes each provider's health snapshot shortly after startup and every 60 seconds, with a 15-second timeout per provider. The providers tab reads the last snapshot and safe connection details. Authentication files are represented by role or mount metadata, never their contents. Health, renewal time, and unresolved-reference totals are local to the replica that answered; the timestamps identify the health check and diagnostics scan when available.
Catalogue
| Integration | Topology | Notes | Source |
|---|---|---|---|
| Matter — controller | Sidecar (host network) plus companion plugin | Reeve commissions and drives Matter and Thread devices. Thread border routers are the operator's. | reeve-plugin-matter |
| Matter — bridge | Sidecar, in-tree | Exposes Reeve's own devices to Apple Home, Google Home, Alexa and Home Assistant over the LAN. | this repository, services/matter-bridge |
| Zigbee2MQTT | In-process | Zigbee devices through a Zigbee2MQTT bridge on an MQTT broker. The official Zigbee plugin; one built on another Zigbee stack is written like any other plugin. | reeve-common-plugins |
| Home Assistant MQTT discovery | In-process | Any device publishing the Home Assistant discovery envelope. | reeve-common-plugins |
| ESPHome | In-process | ESPHome nodes over their protobuf API. | reeve-common-plugins |
| Google Cast | In-process | Chromecast, Nest speakers and displays, Cast-capable televisions. | reeve-common-plugins |
| Bluetooth LE | Sidecar (radio-pinned) plus companion plugin | Active connections and passive advertisement decoding. | reeve-plugin-bt |
| Z-Wave | Sidecar (radio-pinned) plus companion plugin | Wraps a supervised Z-Wave runtime. | reeve-plugin-z-wave |
| DLNA | In-process | Media renderers over UPnP. | reeve-common-plugins |
| UniFi | In-process | Presence and client data from a network controller. | reeve-common-plugins |
| Spotify | In-process | Playback state and control through an authorized account. | reeve-plugin-spotify |
| Notifications | In-process | Email, webhook and mobile push delivery as workflow actions. | reeve-common-plugins |
| Virtual devices | In-process | Deterministic simulated devices for development and testing. | reeve-plugin-virtual-devices |
| Discovery host | Per-node workload | On-demand SSDP, USB, BLE and DHCP scanning. | reeve-plugin-discovery-host |
Reeve has no cloud voice fulfilment for Google Home or Amazon Alexa. That would need per-partner cloud projects, skill approvals and event-gateway registration, which a self-hosted product cannot ship. The Matter bridge reaches the same assistants locally, with no cloud, no per-vendor OAuth and no public HTTPS endpoint.
Operator guides
Each ecosystem that needs a sidecar has an operator guide covering what the integration does, how to set it up and how it behaves when it goes wrong.
| Integration | Guide | Sidecar workload |
|---|---|---|
| Matter bridge: publish Reeve devices to Apple Home, Google Home, Alexa, Home Assistant and any other Matter controller | matter-bridge.md | Yes, deployed as described in deployment |
| Z-Wave | Z-Wave | Yes, an adapter sidecar released from its own repository |
Protocol integrations that need no hardware-bound sidecar (Zigbee2MQTT, ESPHome, Home Assistant MQTT discovery, Cast, DLNA, UniFi) are described in the pages linked from the catalogue. To write an integration of your own, see plugin authoring.
Z-Wave
Z-Wave lives in its own repository, reeve-iot/reeve-plugin-z-wave. The sidecar adapter and the in-backend client plugin release together, independently of the platform, and consume the published SDK and adapter-protocol packages.
Install it from the plugin index like any other plugin. Its architecture and operator setup (controller passthrough, network security keys, adapter deployment) are documented in that repository. How any adapter sidecar relates to the platform is in the adapter microservice pattern; the deployment mechanics are in deployment.
Choosing a topology
An integration ships as a sidecar only when it needs a radio pinned to a host (Thread and 802.15.4, Z-Wave, a Bluetooth stack over the host's device bus) or a heavy native runtime. The sidecar never touches the database. All persistence flows through its companion plugin.
The split is about topology, not trust: the sidecar and its companion plugin are equally trusted, so a sidecar is not a sandbox. A protocol that is just a network socket stays in-process.
Cross-protocol driver traps
These apply to any driver regardless of protocol.
- Vendor payloads are not in canonical units. Voltage in millivolts, energy in the vendor's own scale, temperature in centi-degrees. The driver converts, the descriptor declares the unit, and no client ever converts. A value several orders of magnitude out of range does not merely display wrong — it can collapse the control's domain and change which control is rendered.
- A vendor's protocol response often carries fields the specific unit does not implement, returning empty or false rather than an error. Never derive a declared capability from a field's presence in the response schema.
- Presence and controllability come from the capability descriptor, never from whether a value is present. A non-controllable capability is exposed read-only and its command handler returns an explicit unsupported status — it never silently no-ops.
- A channel index in a canonical capability key is the raw vendor index, not an array position and not a display ordinal. Real multi-gang hardware commonly numbers from 1, so the zeroth element may not exist. Never derive it from a label or a UI ordinal.
- Vendor device identifiers can exceed 32-bit range — carry them as text, not integers.
- Command acknowledgement means "accepted", not "the device did it". Await-and-roll-back is correct only for discrete one-shot actuations. Continuous controls — level, colour, setpoints, fan percentage — must commit optimistically and be reconciled by the next state frame, or every intermediate step stalls on a round trip.
- Ingestion time is not observation time. Freshness must key off the source's own timestamp where the protocol supplies one, or a replayed state can fire an automation for something that happened hours ago.
- A push-based device socket needs its own liveness clock. A dead socket that never returns end-of-stream looks healthy forever. Declare it dead after a small multiple of the keepalive interval and reconnect with exponential backoff plus jitter.
- A health check that opens a TCP socket proves nothing about the protocol. Check the actual handshake — a real connect-and-acknowledge exchange — or the check passes against a port that will reject every message.
- Only non-secret resolved attributes may ride the reserved telemetry keys the canonical parser ignores. A key, token or bind key in clear on a frame is forbidden.
- Never log a setup passcode, pairing code, fabric private key or attestation private key at any layer. A commissioning code is a credential: publish it only on demand, on a dedicated non-retained channel, and discard it after rendering.
- Never trust a device-supplied descriptor (vendor, product, type) for authorization or identity — it is attacker-influenceable metadata. Use it for display and sanity checks only; authorise by principal and instance, and de-duplicate by the commissioned node identity.
- Every plugin must be able to run without an integration transport. The transport factory is strictly opt-in on the host-services surface, exactly like the guarded HTTP client, and an optional discovery or integration subsystem must degrade and keep retrying — it must never be able to abort host startup.
Discovery traps
The backend browses multicast DNS in-process, because it only works from a process on the devices' layer-2 segment. The other network-level providers run in a per-node discovery workload that scans on demand, once, to completion, and then exits, so no privileged scanner stays resident on every node.
- mDNS multicast does not traverse a pod-network overlay, and mDNS-typed candidates are not accepted from a remote forwarder — the forwarded-candidate validator accepts only the SSDP, USB, BLE and DHCP types.
- On a VLAN where multicast does not propagate, protocol discovery silently finds nothing. Plugins for such protocols carry a static host-and-port list as the escape hatch. A controller-backed discovery source, which knows every client across every VLAN, is the other way to seed candidates where multicast cannot reach.
- Unicast discovery to a device's own address crosses subnet boundaries; broadcast discovery does not. Where a vendor protocol offers both, addressing the device directly is what makes it work across a routed LAN.
- Bluetooth devices using resolvable private addresses rotate their advertised address roughly every quarter hour, so each rotation is a new discovery candidate. Resolving them needs the bonding key, which only exists after pairing — this cannot be fixed downstream.
Candidates are ephemeral. They carry a time-to-live and are keyed by provider type plus a stable identifier. Discovery metadata is allowlisted for privacy, and raw Bluetooth addresses are hashed rather than stored.
See discovery for the pipeline and the matcher reference for authoring.
Replica-aware integrations
- Any plugin holding a long-lived per-device connection must take the connection-ownership lease before connecting, or every replica opens its own socket to the same device.
- A correlated request/response stream must never be sharded across replicas — the response has to return to the replica that issued the request. A stream that mixes a correlated response with ongoing events on one channel cannot be classified per channel; route by deserialised message type.
- A fleet-wide sweep, such as re-interviewing every stored node, runs only on the replica that owns the session, while individual commands stay available from every replica. If session locality cannot be determined, sweeping fails open (every replica sweeps, wastefully) rather than closed (nobody sweeps and devices never settle). Locality must follow shared presence, never a lingering local socket handle.
- A synchronous command await is honest or absent: when the owning socket is not local, return "no session" rather than fabricating a client-side timeout for a delivery that never awaited a response.
- Locality-aware plugin APIs are added as default-implemented members on an existing facade — never as a new positional record parameter, which is binary-incompatible and kills every plugin built against the old constructor at load, and never as a new sub-facade interface, because each facade binds one permission code and that would force a manifest change and fresh operator consent for a pure query.
What an operator will meet
| Symptom | Cause | Do |
|---|---|---|
| Commands from a non-owning replica take longer than expected | They are written as durable rows, the owner is nudged, and it delivers on its local socket | Delivery is reliable; the latency is real, and a serialised radio makes it worse |
| The same physical device appears twice | It is heard by two sources — two proxies, or a radio and a network proxy | Reconciled at the logical-device layer by attaching several single-writer sources to one device, never by de-duplicating on signal strength inside a driver |
| A device stops responding to typed commands after its identity changes | Some device identities are re-keyed on re-discovery, orphaning references | Prefer the stable protocol identifier the vendor supplies over anything derived from a name |
| A device reported by two integrations becomes uncontrollable after detaching one | The ownership reverse index must keep a set per logical device and drop the entry only when the last source detaches | If a device is unreachable by id while it still exists, this is the shape of it |
| A discovery candidate keeps coming back after dismissal | A candidate is keyed by provider type plus identifier, and dismissal hides that one row until it expires | Expected for privacy-rotating addresses; stable identifiers dismiss once and stay dismissed |
| An integration that needs a broker cannot connect on a fresh install | Reeve ships no broker, and the instance names none or one that refuses its credentials | Run a broker and enter it with its credentials in the instance's settings; sidecars on the session plane need none and must not be given any |