Skip to content

simat-git/SDM120-Modbus

 
 

Repository files navigation

SDM120-Modbus

Eastron SDM120-Modbus RTU Single Phase kWh Meter Python Plugin for Domoticz

Forked from MFxMF/SDM630-Modbus

This version allows multiple instances to work on Domoticz 2023.1 which uses multithreaded loading of the Plugins. Exclusive access on the serial port is now enforced to ensure only one instance at a time can access that port.

Has been tested on a USB to RS485 interface (FTDI FT232R chip) with 20 Plugin instances accessing several SDM120M and SDM120M-CT meters.

Installation:
cd ~/domoticz/plugins
git clone https://github.com/simat-git/SDM120-Modbus


Used python modules:
pyserial -> -https://pythonhosted.org/pyserial/
minimalmodbus -> http://minimalmodbus.readthedocs.io

Restart your domoticz server using - sudo service domoticz.sh restart

Tested on domoticz 2021.1 and 2023.1, Python 3.9.2. MinimalModbus included is 2.0.1

About

SDM120-Modbus RTU Domoticz Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%