DomoticX / domoticz-modbus

Domoticz RS485 Modbus Read/Write Plugins
GNU General Public License v3.0
17 stars 30 forks source link

Modbus Read/Write Plugins for Domoticz

Author: Sebastiaan Ebeltjes / DomoticX.nl

Succesfully Tested on Domoticz version: 2020.2 stable

You can update domoticz with command: cd /home/pi/domoticz | ./updaterelease

Support for:

Functions of the READ plugin

Supported data types:

Functions of the WRITE plugin

RTU/ASCII/RTU over TCP: Write HEX Payloads, like: 0x0100 TCP/IP: Write INT Payloads, like: 53


Installation

Place the folders inside the domoticz plugin folder, for example like this construction:

/home/pi/domoticz/plugins/modbus-write/plugin.py

/home/pi/domoticz/plugins/modbus-read/plugin.py

Then restart domoticz with: sudo service domoticz.sh restart


Using RTU / ASCII (SERIAL HW)


Using RTU over TCP / TCP/IP


Dependancies

  1. RPi: Raspbian image (FULL version recommended)
  2. additional python3 libraries:

pymodbus AND pymodbusTCP

Install with: sudo pip3 install -U pymodbus pymodbusTCP


HW Tested: