Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustin/outfluxer
An InfluxDB → MQTT gateway
https://github.com/dustin/outfluxer
Last synced: about 2 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T19:27:32.000Z (9 months ago)
- Last Synced: 2024-10-11T14:16:05.457Z (2 months ago)
- Language: Haskell
- Size: 27.3 KB
- Stars: 3
- Watchers: 5
- 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
}
}
```