wh31e_metrics

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 12 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL