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
- Host: GitHub
- URL: https://github.com/sfudeus/powermeter_exporter
- Owner: sfudeus
- License: apache-2.0
- Created: 2019-02-04T20:48:55.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-11-24T20:27:45.000Z (7 months ago)
- Last Synced: 2025-11-28T08:13:01.782Z (7 months ago)
- Topics: prometheus-exporter, smartmeter, sml
- Language: Go
- Homepage:
- Size: 228 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.