Skip to content
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

pymodbus version #35

Open
gerw opened this issue Nov 2, 2024 · 1 comment
Open

pymodbus version #35

gerw opened this issue Nov 2, 2024 · 1 comment

Comments

@gerw
Copy link

gerw commented Nov 2, 2024

This library is not compatible with newer pymodbus versions starting from 3.7.0:

Traceback (most recent call last):
  File "my_logger.py", line 4, in <module>
    import sdm_modbus
  File "/home/gerw/local/src/X/.env/lib/python3.12/site-packages/sdm_modbus/__init__.py", line 1, in <module>
    from sdm_modbus.meter import *
  File "/home/gerw/local/src/X/.env/lib/python3.12/site-packages/sdm_modbus/meter.py", line 11, in <module>
    from pymodbus.register_read_message import ReadInputRegistersResponse
ModuleNotFoundError: No module named 'pymodbus.register_read_message'
olusiek added a commit to olusiek/sdm_modbus that referenced this issue Dec 20, 2024
@olusiek
Copy link

olusiek commented Dec 20, 2024

Hi, I've checked and already made a pull request which is pending approval. If you want here's the link #36 not much changes required to make it work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants