alang76 / dsmr-metrics

Small utility for exposing energy meter metrics as a Prometheus scrape target.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dsmr-metrics

Utility to read DSMR telegrams from the P1 port of a smart energy meter over a serial port. It publishes these as a Prometheus metrics scrape target. This works for me (Landis+Gyr E350). It is likely that other types of meter will produce outputs that will cause the parser to fail. The application does not implement the full DSMR spec.

Note: the manufacturer specific stuff (mainly the telegram header) probably needs to be less picky.

Mainly used as a learning vehicle for getting acquainted with these libraries:

Here's my dash:

My Dash

About

Small utility for exposing energy meter metrics as a Prometheus scrape target.

License:MIT License


Languages

Language:Haskell 100.0%