-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modbus error after update version 2022.2 #37
Comments
I think I have the cause of the problem. I have quite a bit of modbus sensors in Domoticz. When I reboot the system Domoticz initiates all these sensors at the same time. Creating a storm of requests to my PLCs at the same moment. A restart or a reboot of the system will cause for the problem to return. ... |
I have also problem with this plugin but I communicate by Modbus RTU - READ with heat pump. After upgrade of domoticz to 2022.2 I can't get data from the controller, when I restart the system it can read 2 or 3 variables out of 12 but it works till next read and then again it is blocked. |
This plugin has been working fine up to the moment I upgraded to Domoticz 2023.1 (from 2022.1, also several other updates, all on Buster): I now also see multiple ""Modbus error decoding or received no data (TCP/IP)!, check your settings!" errors. I'm reading 8 values from a energy meter at 30 seconds polling. Reduced to 5: some errors remaining. Re-enabled each of the 5 one minute apart as suggested T1NBK, some errors remaining. I tried using slightly different polling intervals for each of the 5: still these errors. The plugin.py code has 5 locations where this error can be triggered. Tagged them to see that the sections 'Decode Data Type' and 'Decode Data Value' generated them. And that is where my Python knowledge stops... |
I have always had these errors but could read the values outside errors (the Domoticz variable is just not updated when error occurs and last good value is there). The device I poll has a limit of polls per seconds so I believe that may cause the error, the plugin receives no value and can't decode it. I tried to change timings but can't see improvements, same time I can't (don't know how to) verify the timings are correct, maybe there is the issue? Anyway I have been running the plugin for years with these errors and the device I control works as expected despite the errors in between polls. |
@sebekhtc thanks for the reply. In my case some of the modbus measured values also arrived OK in Domoticz. Yet, there were mutliple errors logged as mentioned above. The error message can have btw several causes. |
After updating Domoticz 2022.1 to 2022.2 I get a lot of the following errors
"Modbus error decoding or received no data (TCP/IP)!, check your settings!"
More people with this issue?
The text was updated successfully, but these errors were encountered: