RuuviBridge is designed to act as a "data bridge" between various sources and consumers of data. Original design goal is to work as a drop-in replacement for RuuviCollector for users who have a Ruuvi Gateway or use ruuvi-go-gateway.
Supports following sources (sources of RuuviTag data):
Supports following sinks (things that use the data):
Supports following RuuviTag Data Formats:
Supports following data from the tag (depending on tag firmware):
Ability to calculate following values in addition to the raw data (the accuracy of these values are approximations):
Check config.sample.yml for a sample config. By default the bridge assumes to find a file called config.yml
in the current working directory, but that can be overridden with -config /path/to/config.yml
command line flag.
By default RuuviBridge parses the config in a flexible way, ignoring all unknown fields. This can be changed with -strict-config
command line flag, which will make RuuviBridge throw errors if there are unknown entries in the config. Do note that this only validates whether the config has a valid structure with right keys (ie. no typos in the keys), it does not validate whether the config makes sense as such.
Recommended method is using Docker with the prebuilt dockerimage: ghcr.io/scrin/ruuvibridge for which you can use the provided composefile
Without docker you can download prebuilt binaries from the releases page. For production use it's recommended to set up as a service.
Home Assistant allows automatic configuration of MQTT entities using MQTT Discovery. To enable RuuviBridge to automatically configure all of your RuuviTags to Home Assistant for you, all you need to do (assuming default configuration) is to set homeassistant_discovery_prefix
in the config under mqtt_publisher
. In default Home Assistant configuration this should be simply homeassistant
.
After setting this configuration, it should be a matter of seconds before your RuuviTags should appear as devices in Home Assistant for reporting all available measurements, with properly set names, units, icons and other attributes.