Page 21 of 21

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Posted: Wednesday 05 March 2025 17:38
by Copitano
Rosomak wrote: Friday 20 September 2024 17:49 Hi All,
I rewrote the script of the Read plugin and it reads the modbus RTU and modbus TCP/IP registers correctly.
I have no way to check modbus RTU over IP.
Just replace the plugin.py file in the location .../domoticz/plugins/modbus-read and restart Domoticz
I will work on the plugin for writing next week.
Dependences needed:
pip3 install -U pymodbus pymodbusTCP
pip install pyserial



P.S. I'm not able to attach file here so I left it on https://easyupload.io/fj9psi
I am very curious if you managed to rewrite the complete plugin for the new domoticz version.

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

Posted: Wednesday 07 May 2025 23:38
by waltervl
It seems someone fixed the plugin for newer pymodbus modules https://github.com/DomoticX/domoticz-modbus/pull/42
Fixes allowing plugin to work with newer pymodbus version.
Some small improvements.
Tested on fresh Domoticz 2024.7 , Python 3.11.2 , pymodbus v3.6.9 with TCP modbus mode.