SDM72D-Modbus 3-phase 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
Requirements:
Working Domoticz instance with working python plugin service (see logs in domoticz)
If python plugin service is not working try "sudo apt-get install python3.9 libpython3.9 python3.9-dev -y"
(nb: change 3.9 to matching your version of your python installation)
Installation:
cd ~/domoticz/plugins
git clone https://github.com/bbossink/SDM72D-Modbus-Domoticz-plugin
Restart domoticz: systemctl restart domoticz.service
Configuration:
Select "Eastron SDM72-D-Modbus" in Hardware configuration screen
If needed modify some parameters (defaults will do) 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
Still working on domoticz v2022.2
System: Raspberry Pi 2B with Raspbian Bullseye
Used python modules:
pyserial -> https://pythonhosted.org/pyserial/
minimalmodbus -> http://minimalmodbus.readthedocs.io