roarfred / MBusMqttLogger

An M-bus master that poll a meter and logs data to an MQTT server
52 stars 9 forks source link

MBusMqttLogger

This project is using an arduino (really, an ESP8266) to read and log data from two different meters:

Electrical meter: This one is measuring electrical energy consumed by my heat pump system. The meter is a simple thing that has an open collector output, giving one pulse for every Wh that has been consumed. A class has been created, PulsePort, to facilitate IRQ-based reading, and to keep track of the current value.

Heat Pump meter: This one is a Zenner C5 meter, providing data over an M-Bus interface (Meter Bus). A minimal implementation of the M-bus protocol has been implemented in the class MBus.

Featuring:

No further processing is done here. My OpenHAB is listening on the data being reported and do further calculations, storage and presentation of the data