Skip to main content

Crate bluetooth_bridge

Crate bluetooth_bridge 

Source
Expand description

§bluetooth-bridge

crates.io docs.rs

A standalone Bluetooth LE to MQTT bridge on the bluetooth_host stack.

cargo install bluetooth-bridge

Advertisements go out parsed (every AD type, beacon formats decoded), decoded sensor readings get Home Assistant discovery, and every GATT, pairing and advertising operation is a request on MQTT. See bridge for the topics.

Part of bluetooth-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: the host’s events out to MQTT, requests from MQTT in.
config
The bridge’s configuration file (TOML).
ha
Home Assistant MQTT discovery for devices whose advertisements decode to readings (BTHome, KKM, Ruuvi, Eddystone TLM).
mesh
Bluetooth Mesh in the bridge: the bridge as a mesh’s provisioner, on the advertising bearer of the controller it already scans with.
mqtt
The broker session.