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

https://github.com/sfudeus/powermeter_exporter

Prometheus exporter for powermeter readings with the SML protocol
https://github.com/sfudeus/powermeter_exporter

prometheus-exporter smartmeter sml

Last synced: 4 months ago
JSON representation

Prometheus exporter for powermeter readings with the SML protocol

Awesome Lists containing this project

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.