powermeter_exporter

command module
v0.0.0-...-e4c1737 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

README

powermeter_exporter

A simple tool to extract powermeter readings from an electronic meter which can emit SML data, e.g. by using an IR device and have it scraped by Prometheus.

Usage:
  powermeter_exporter [OPTIONS]

Application Options:
      --port=      The address to listen on for HTTP requests. (default: 8080) [$EXPORTER_PORT]
      --interval=  The frequency in seconds in which to gather data (default: 60) [$INTERVAL]
      --device=    The device to read on (default: /dev/irmeter0)
      --metername= The name of your meter, to uniquely name them if you have multiple
      --factor=    Reduction factor for all readings (default: 1)
      --debug      Activate debug mode
      --keepalive  When true, keep tty connection open between reads

Help Options:
  -h, --help       Show this help message

Docker image

A recent docker image (multiarch amd64,arm/v7) is automatically built for each release at sfudeus/powermeter_exporter:$TAG.

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