Hallo zusammen,
ich bin gerade auf SHNG 1.11 umgestiegen. Leider gibt es die Plugins ksemmodbus+kostalmodbus nicht mehr. Wenn ich das richtig verstehe werden die durch das Plugin modbus_tcp ersetzt.
Das führt bei mir leider zu Problemen.
Setup:
Ubuntu 24.04.3 LTS
shng 1.11
pymodbus 3.11.4
python 3.12
Ich habe auch schon pymodbus 3.8.6 + 3.3.2 ausprobiert. Hat aber leider nicht geholfen.
Habt ihr eine Idee?
Items:
Logs:
ich bin gerade auf SHNG 1.11 umgestiegen. Leider gibt es die Plugins ksemmodbus+kostalmodbus nicht mehr. Wenn ich das richtig verstehe werden die durch das Plugin modbus_tcp ersetzt.
Das führt bei mir leider zu Problemen.
Setup:
Ubuntu 24.04.3 LTS
shng 1.11
pymodbus 3.11.4
python 3.12
Ich habe auch schon pymodbus 3.8.6 + 3.3.2 ausprobiert. Hat aber leider nicht geholfen.
Habt ihr eine Idee?
Items:
Code:
KsemmodbusNew:
plugin_name: modbus_tcp
instance: ksem
host: 192.168.178.30
port: 502
cycle: 5
plugin_enabled: true
KostalmodbusNew:
plugin_name: modbus_tcp
instance: kostal
host: 192.168.178.28
port: 1502
cycle: 5
plugin_enabled: true
Code:
2025-12-08 10:13:45 ERROR lib.plugin Plugin 'KsemmodbusNew' error importing Python package: cannot import name 'Endian' from 'pymodbus.constants' (/usr/local/smarthome/venvs/py_3.12/lib/python3.12/site-packages/pymodbus/constants.py) 2025-12-08 10:13:45 ERROR lib.plugin Plugin 'KsemmodbusNew' initialization failed, plugin not loaded 2025-12-08 10:13:45 ERROR lib.plugin Plugin 'KostalmodbusNew' error importing Python package: cannot import name 'Endian' from 'pymodbus.constants' (/usr/local/smarthome/venvs/py_3.12/lib/python3.12/site-packages/pymodbus/constants.py) 2025-12-08 10:13:45 ERROR lib.plugin Plugin 'KostalmodbusNew' initialization failed, plugin not loaded


Kommentar