wh31e_metrics
Transform WH31E readings from rtl_433 for publishing to InfluxDB.
Usage
Configue rtl_433 to emit syslog events with -F syslog:127.0.0.1:1514
(to send to wh31e_metrics on localhost port 1514). In the rtl_433 config file, this is configured with output syslog:127.0.0.1:1514
.
To configure wh31e, create a YAML file:
influx_url: https://us-west-2-1.aws.cloud2.influxdata.com
influx_token: TOKEN
influx_org: ORG_ID
influx_bucket: BUCKET_NAME
syslog_host: 127.0.0.1
syslog_port: 1514
sensor_names:
SENSOR_ID: HUMAN_NAME
Check the output from rtl_433 to get the sensor IDs for each sensor (this is a separate integer from the channel ID).
Then, start the forwarder with ./wh31e_metrics config.yaml
Installation
git clone https://github.com/akerl/wh31e_metrics
cd wh31e_metrics
go build .
License
dapper is released under the MIT License. See the bundled LICENSE file for details.