Search found 7 matches
- Sunday 01 May 2022 19:11
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 144586
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
From https://www.domoticz.com/wiki/Developing_a_Python_plugin The following things should not be attempted using the Python Framework: Waiting or sleepingin Domoticz callbacks. Plugin callbacks are single threaded so the whole plugin system will wait. Is this true anymore? If I add constant sleep ...
- Sunday 01 May 2022 0:03
- Forum: Python
- Topic: Python plugin for modbus - help wanted
- Replies: 1
- Views: 1175
Re: Python plugin for modbus - help wanted
Hi,
Did you get it working?
Did you get it working?
- Tuesday 26 April 2022 18:12
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 144586
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
I "solved" my problems by setting a crontab to restart Domoticz every 6 hours. This works for me, but I have to say that I don't run any other process on this pc. It's a remote server that only runs modbus for the heat pumps. Restarting Domoticz every 6 hours ensures I don't have any errors from ...
- Sunday 24 April 2022 20:30
- Forum: Python
- Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
- Replies: 401
- Views: 144586
Re: Python plugin: Modbus RTU / ASCII / TCP/IP
What error do you get when "the modbus flips"? I also had many unexplained modbus errors. Sometimes there were hours without them, and then they would reappear at 12 minute intervals. Could not find an explanation, but all of these errors disappeared when I installed a 120 Ohm resistor on both ends ...
- Friday 15 April 2022 18:34
- Forum: dzVents
- Topic: Retrieve variable values from Siemens LOGO! web server
- Replies: 8
- Views: 2439
Re: Retrieve variable values from Siemens LOGO! web server

- Thursday 14 April 2022 17:34
- Forum: dzVents
- Topic: Retrieve variable values from Siemens LOGO! web server
- Replies: 8
- Views: 2439
Re: Retrieve variable values from Siemens LOGO! web server
Btw.. doesn’t the LOGO support modbus over tcp/ip? There is a python plugin for Domoticz that can talk modbus. Maybe that already works? [emoji16] Yes it does, I tried that first but modbus-read crashed domoticz. I upgraded to latest beta and it started working. I'm using raspbian bullseye. Thanks t ...
- Tuesday 12 April 2022 18:19
- Forum: dzVents
- Topic: Retrieve variable values from Siemens LOGO! web server
- Replies: 8
- Views: 2439
Retrieve variable values from Siemens LOGO! web server
Hi all! I'm a total beginner with Domoticz, I hope this is the right subforum to ask help, since I believe I need to write a custom script for what I plan to do. I have 3 kWh-meters with pulse outputs (1000 p/kWh) that I have connected to Siemens LOGO! PLC. I reset counters every 10 minutes and want ...