SmartMeterToMqtt: Poll smart meter (m-bus/sml) devices and publish via MQTT

Hi everyone,

I recently connected my gas and power meter devices to Home Assistant.
The power meter is an iskra MT681 which has an IR diode that used to publish power and total energy consumption using SML (see https://github.com/dailab/libsml).
The gas meter is an elster BK-G4 AT with M-Bus ACM Modul. It has an M-Bus interface (see https://github.com/rscada/libmbus).

I found several tools and scripts that can handle one or the other but I was not very happy with any of them, so I created a small application based on QT which is now running on a Raspberry Pi Zero W.

2 Likes