Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elgohr/mqtt-to-influxdb
Bridge to write MQTT to InfluxDB
https://github.com/elgohr/mqtt-to-influxdb
bridge influxdb mqtt
Last synced: 10 days ago
JSON representation
Bridge to write MQTT to InfluxDB
- Host: GitHub
- URL: https://github.com/elgohr/mqtt-to-influxdb
- Owner: elgohr
- License: mit
- Created: 2020-10-31T16:30:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-30T13:21:43.000Z (2 months ago)
- Last Synced: 2024-10-10T18:46:47.770Z (27 days ago)
- Topics: bridge, influxdb, mqtt
- Language: Go
- Homepage:
- Size: 45.3 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mqtt-to-influxdb
Bridge to write MQTT to InfluxDB.
## Install
Please have a look at the binaries in https://github.com/elgohr/mqtt-to-influxdb/releases
## Usage
### Mandatory Configuration
| Environment Variable | Description |
|----------------------|---------------------------------------|
| MQTT_NAME | Name that the bridge will use on mqtt |
| MQTT_URL | MQTT Broker URL |
| MQTT_USERNAME | Username for authentication |
| MQTT_PASSWORD | Password for authentication || Environment Variable | InfluxDb < 2.0 | InfluxDb 2.0 |
|----------------------|-------------------------|--------------------------|
| INFLUX_URL | Url to the InfluxDB | Url to the InfluxDB |
| INFLUX_TOKEN | use "username:password" | Token for authentication |
| INFLUX_ORGANIZATION | leave empty | Organization to use |
| INFLUX_BUCKET | use database name | Bucket to use |### Optional
| Environment Variable | Description |
|-----------------------|-------------------------------------------------------------------------|
| INFLUX_RETRY_INTERVAL | Retry interval for writing to InfluxDB in Milliseconds (max 4294967295) |
| INFLUX_MAX_RETRIES | Numbers of retries for writing to InfluxDB |
| INFLUX_BATCH_SIZE | Number of points send in a single request to InfluxDB |