Skip to main content

Crate matter_bridge

Crate matter_bridge 

Source
Expand description

§matter-bridge

A standalone Matter to MQTT bridge: a Matter controller (on rs-matter) that commissions devices, keeps a subscription to each, and publishes what they report on MQTT, with Home Assistant discovery and a plain JSON topic scheme. See the README for the topics.

Part of matter-bridge, maintained by Pulzar. See the user guide, the library guide and the API documentation.

License: MIT.

Re-exports§

pub use bridge::run;
pub use config::Config;

Modules§

bridge
The bridge: controller events out to MQTT, MQTT requests and commands in to the controller.
config
The bridge’s configuration file (TOML). Every section is optional.
homeassistant
Home Assistant MQTT discovery, from what a node says it is: entities are chosen by the clusters an endpoint serves (and its device type, where the cluster alone is ambiguous), so no per-device table is needed.
mqtt
The MQTT session: one connection, re-established by rumqttc’s event loop, with the bridge’s availability as the last will.
topics
Names in topics and requests: clusters, attributes, commands and events by their snake_case data model names, or by number where the data model does not know them (vendor clusters).