-
Now that the Several users of my Artisan app are reporting that communication fails with the latest app version where I upgraded to pymodbus 3.7 and thus had to removed the For now I added the following line after the
This seems to have fixed the communication errors for those users. pyserial (as well as some usbSerial converters and their drivers) seems to have some issues with that |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
Pull requests are welcome. |
Beta Was this translation helpful? Give feedback.
-
And what is wrong with just adding your suggestion (which btw I assume is for sync). Fixing async should be done in our pyserial amendment. |
Beta Was this translation helpful? Give feedback.
-
I just checked the old code (serial.py):
strict was default, so setting it to false, means the interCharTimeout will not be set....BUT in 3.7.2. it is also not set !! so your fix seems to fix something else, meaning I do not think that reverting 6ca1b04, would make any change for you. Seems your problem is around inter_byte_timeout, which was introduced later. |
Beta Was this translation helpful? Give feedback.
-
the problem is more likely fe809d9, which added inter_byte_timeout |
Beta Was this translation helpful? Give feedback.
-
This one? https://artisan-scope.org/about/ Cool app! I believe this is the discussed issue: artisan-roaster-scope/artisan#1694 |
Beta Was this translation helpful? Give feedback.
Yes this must be the change causing this issue. Bad, now one of them claims that also with my hack above his device is not communicating any longer with my app. Maybe there is another change breaking it for him. He is using an Arduino with corresponding lib. I was not successful in getting him to send me meaningful log files. I have myself not the hardware nor a Windows installation to investigate this myself so I will have to pin pymodbus to v3.6.9 to resolve this for my app and wonder why similar problems were not reported (yet) by anybody else. Sorry for not being more helpful on this one.