Skip to content

Commit 47e344e

Browse files
committed
plugins: fix some modbus dependencies
1 parent 11f6425 commit 47e344e

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

helios_tcp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import logging
2727
from lib.model.smartplugin import SmartPlugin
2828

29-
from pymodbus3.client.sync import ModbusTcpClient
29+
from pymodbus.client import ModbusTcpClient
3030

3131
VARLIST = {
3232
"outside_temp" : {"var": "v00104", "length": 8, "type": float, "read": True, "write": False},
@@ -114,7 +114,7 @@
114114

115115
class HeliosTCP(SmartPlugin):
116116

117-
PLUGIN_VERSION = "1.0.2"
117+
PLUGIN_VERSION = "1.0.3"
118118
MODBUS_SLAVE = 180
119119
PORT = 502
120120
START_REGISTER = 1

helios_tcp/plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugin:
77
en: 'Enables the communication over TCP with Helios KWL devices that use Helios Easy Controls'
88
maintainer: freget (Thilo Schneider)
99
tester: nobody
10-
version: 1.0.2 # Plugin version
10+
version: 1.0.3 # Plugin version
1111
state: ready
1212
sh_minversion: '1.6' # minimum shNG version to use this plugin
1313
# sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest)

kostalmodbus/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pymodbus>=3.5.2;python_version>='3.8'
1+
pymodbus<3.10;python_version>='3.8'

ksemmodbus/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pymodbus>=3.5.2;python_version>='3.8'
1+
pymodbus<3.10;python_version>='3.8'

pluggit/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pymodbus>=3.5.2;python_version>='3.8'
1+
pymodbus<3.10;python_version>='3.8'

sma_mb/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pymodbus>=3.5.2;python_version>='3.8'
1+
pymodbus<3.10;python_version>='3.8'

0 commit comments

Comments
 (0)