read Eastron SDM 120/230 measurements via ModBus and store them to InfluxDB, and also optionally publish data on ZeroMQ
This is a Python script that reads data from Eastron SDM120 / SDM230 Modbus energy meters and writes it to an InfluxDB database.
It has been developed and is in use on a Raspberry Pi 1 Model B revision 1 (older 256MB model).
See sdm2influx.py -h
- add
setup.py
and other goodies needed to publish on PyPi - add support for multiple energy meters
- add support for combined measurements
- meter 1 on main line, meter 2 on sub-line X, meter 3 on sub-line Y, no meter on sub-line Z: 1-(2+3) = sub-line Z
- meter 1 bidirectional flow to/from energy provider, meter 2 photovoltaic production: 1+2 = actual home power consumption