https://github.com/dustin/outfluxer
An InfluxDB → MQTT gateway
https://github.com/dustin/outfluxer
Last synced: 4 months ago
JSON representation
An InfluxDB → MQTT gateway
- Host: GitHub
- URL: https://github.com/dustin/outfluxer
- Owner: dustin
- License: bsd-3-clause
- Created: 2019-10-13T20:34:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-03-17T04:35:23.000Z (4 months ago)
- Last Synced: 2025-03-17T05:28:53.573Z (4 months ago)
- Language: Nix
- Size: 62.5 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# outfluxer
An InfluxDB → MQTT gateway.
## Example
This is a snippet of the configuration I'm using in production.
```
from influxdbhost iotawatt {
query "select last(value) from solar group by *" {
last -> $site/iotawatt/solar/now
}
query "select mean(value) from solar where time > now() - 30m group by *" {
mean -> $site/iotawatt/solar/30m
}
}from influxdbhost collectd {
query "select last(value) from load_shortterm group by *" {
last -> sys/$host/load
}
query "select last(value) from cpufreq_value group by *" {
last -> sys/$host/$type/$type_instance
}
}
```