SDM72D-Modbus 3-fase power meter with RS485 Port modbus RTU plugin for domoticz
Original code bij MFxMF for the SDM630-M power meter https://github.com/MFxMF/SDM630-Modbus Original code by bbossink for the SDM72-D-M power mether https://github.com/remcovanvugt/SDM120Modbus-Domoticz-plugin
Installation:
cd ~/domoticz/plugins
git clone https://github.com/remcovanvugt/SDM120Modbus-Domoticz-plugin
Configuration:
Select "Eastron SDM120-Modbus" in Hardware configuration screen
If needed modify some parameters and click add
Hint: Set reading interval to 0 if you want updates per "heartbeat" of the system (aprox 10s in my case)
9 new devices will be automatically added. Go to devices tab, there you can find them
Don't forget to restart your Domoticz server
Tested on domoticz 4.10717
Used python modules:
pyserial -> https://pythonhosted.org/pyserial/
minimalmodbus -> http://minimalmodbus.readthedocs.io