mqtt2influxdb

Subscribe to MQTT topics and push them to InfluxDB 1.x or v2

GPL-3.0 License

Stars
5

Bot releases are visible (Hide)

mqtt2influxdb - v2.0.2 Latest Release

Published by github-actions[bot] 3 months ago

dependency updates and housekeeping

mqtt2influxdb - v2.0.1

Published by github-actions[bot] 6 months ago

mqtt2influxdb - v2.0.0

Published by github-actions[bot] 7 months ago

Added

  • Parse payloads with JSON and MessagePack, adding key{depth}={name} as tags (besides the topic tags). Example: {"foo": {"bar": 1337}}key1=foo,key2=bar
  • Print InfluxDB Line Protocol data when --verbose

Changes

  • Show InfluxDB write URL on startup instead of InfluxDB host
  • Remove deprecated topic-1 style tags. (deprecated since 0.4.0)
mqtt2influxdb - v1.0.0

Published by github-actions[bot] 8 months ago

Added

  • find values in payloads with units like 12.3 °C (ignore everything after the whitespace)
  • autogenerated man pages from CLI definition (clap)

Changed

  • reduce heap allocations on InfluxDB line creation.
  • reduce heap allocations on MQTT message parsing.
  • group CLI options into headings
  • systemd: use Service Type=exec
mqtt2influxdb - v0.4.0

Published by github-actions[bot] about 1 year ago

Added

  • use --victoria-metrics when there is no database, organisation or bucket required.
  • topicSegments shows the amount of segments in the topic.

Breaking Changes

  • rename topic-1 to topicE1 (same with topic-2 and topic-3).
    The old name with the - (minus) is still available but deprecated and will be removed in a future release.
mqtt2influxdb - v0.3.3

Published by github-actions[bot] over 1 year ago

Changed

  • Update dependencies

Fixes

  • Ensure influx org and bucket are both provided when using the Influx API v2
mqtt2influxdb - v0.3.2

Published by github-actions[bot] over 1 year ago

Changed

  • Update to clap v4
  • Update dependencies
mqtt2influxdb - v0.3.1

Published by EdJoPaTo about 2 years ago

  • Switch to current_thread async worker (tokio) to reduce dependencies and less thread switches
  • dependency updates, housekeeping, …
mqtt2influxdb - v0.3.0

Published by EdJoPaTo over 2 years ago

Added

  • Show InfluxDB error message (from request body) on error.
  • Build deb/rpm packages.

Changed

  • Increase minimum error wait. This reduces the load on the database as it seems to have some errors currently anyway.
  • Higher timeout for InfluxDB writes.

Fixes

  • Only attempt to publish finite floats. NaN for example errors anyway.
  • Systemd: restart on-failure.
mqtt2influxdb - v0.2.0

Published by EdJoPaTo over 2 years ago

Added

  • Handle termination signals (Ctrl-C, SIGTERM, …) and send buffer before closing

Changed

  • Payload float detection is way more performant with known (on, true) and other strings.
    This looses support for strange formattings like onLiNe but still works with formattings like online, Online and ONLINE.

Fixes

  • Empty MQTT messages are no longer assumed as 0.0. Clearing retained messages for example are empty messages.
mqtt2influxdb - v0.1.0

Published by EdJoPaTo over 2 years ago

Initial release