Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.74 KB

README.md

File metadata and controls

38 lines (22 loc) · 1.74 KB

MQTT2Influx

Lint Tests Release Docker image

This repository contains the source code for mqtt2influx, a utility that helps you store events from a mqtt broker to an influxdb database.

Its main purpose is to read sensor readings coming from a Zigbee2MQTT.

Important notes

  • Only compatible with InfluxDB v1 (for tests, version 1.5.4 is used).

How to get

You can either grab the latest release or build it yourself:

$ cargo build --release

Add the binary to your path and you are ready to go!

Docker image

You can find the docker image at ghcr.io/cquintana92/mqtt2influx:latest (or :VERSION instead of :latest).

Configuration

An example configuration file can be found at the file mqtt2influx.toml.

The docker image can be configured via env variables too, using a double underscore for indicating sections (ie: influx.server would be expressed as INFLUX__SERVER).

License

Dual-licensed under MIT or the UNLICENSE.