Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
}
}
```