pystuderxcom 3.2.0__tar.gz → 3.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pystuderxcom-3.2.0/src/pystuderxcom.egg-info → pystuderxcom-3.2.2}/PKG-INFO +1 -1
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/pyproject.toml +1 -1
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_tcp.py +4 -4
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/datapoints_240v.json +2 -2
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2/src/pystuderxcom.egg-info}/PKG-INFO +1 -1
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/LICENSE +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/README.md +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/setup.cfg +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/__init__.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_base_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_base_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_serial.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_udp.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/const.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/data.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/datapoints.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/datapoints_120v.json +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/discover_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/discover_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/factory_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/factory_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/families.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/messages.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/messages_en.json +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/protocol.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/values.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/SOURCES.txt +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/dependency_links.txt +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/requires.txt +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/top_level.txt +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_base_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_base_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_serial_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_serial_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_tcp_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_tcp_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_udp_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_udp_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_const.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_data.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_datapoints_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_datapoints_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_discover_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_discover_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_families.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_messageset_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_messageset_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_package_async.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_package_sync.py +0 -0
- {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_values.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pystuderxcom
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.2
|
|
4
4
|
Summary: Python library to communicate with Studer-Innotec devices on the local network via Xcom protocol
|
|
5
5
|
Author-email: Anko Hanse <anko_hanse@hotmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/ankohanse/pystuderxcom
|
|
@@ -150,7 +150,7 @@ class AsyncXcomApiTcp(AsyncXcomApiBase):
|
|
|
150
150
|
self._server._start_serving()
|
|
151
151
|
self._started = True
|
|
152
152
|
else:
|
|
153
|
-
_LOGGER.info(f"Xcom TCP server already listening on port {self.
|
|
153
|
+
_LOGGER.info(f"Xcom TCP server already listening on port {self._listen_port}")
|
|
154
154
|
|
|
155
155
|
if wait_for_connect:
|
|
156
156
|
_LOGGER.info("Waiting for Xcom TCP client to connect...")
|
|
@@ -254,10 +254,10 @@ class XcomApiTcp(XcomApiBase):
|
|
|
254
254
|
# Sanity check
|
|
255
255
|
match mode:
|
|
256
256
|
case XcomApiTcpMode.CLIENT:
|
|
257
|
-
if remote_ip is None: raise XcomParamException("
|
|
258
|
-
if remote_port is None: raise XcomParamException("
|
|
257
|
+
if remote_ip is None: raise XcomParamException("Parameter 'remote_ip' was not specified")
|
|
258
|
+
if remote_port is None: raise XcomParamException("Parameter 'remote_port' was not specified")
|
|
259
259
|
case XcomApiTcpMode.SERVER:
|
|
260
|
-
if listen_port is None: raise XcomParamException("
|
|
260
|
+
if listen_port is None: raise XcomParamException("Parameter 'listen_port' was not specified")
|
|
261
261
|
|
|
262
262
|
# Remember our parameters
|
|
263
263
|
self._mode: XcomApiTcpMode = mode
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
{ "fam": "xt", "lvl": "Inst.", "pnr": 1197, "nr": 1557, "name": " Use an energy quota on AC-input", "unit": "", "def": 0, "min": 0, "max": 1, "fmt": "BOOL", "inc": 1 },
|
|
164
164
|
{ "fam": "xt", "lvl": "Inst.", "pnr": 1197, "nr": 1559, "name": " AC-In energy quota", "unit": "kWh", "def": 1, "min": 0.5, "max": 100, "fmt": "FLOAT", "inc": 0.5 },
|
|
165
165
|
{ "fam": "xt", "lvl": "Expert", "pnr": 10, "nr": 1201, "name": "AUXILIARY CONTACT 1", "unit": "", "def": "", "min": "", "max": "", "fmt": "ONLY LEVEL", "inc": "Menu" },
|
|
166
|
-
{ "fam": "xt", "lvl": "Expert", "pnr": 1201, "nr": 1202, "name": " Operating mode (AUX 1)", "unit": "", "def": 1, "min": 1, "max": 8, "fmt": "LONG ENUM", "inc": "Only 1 bit", "opt": {"1":"Automatic", "2":"Reversed", "4":"
|
|
166
|
+
{ "fam": "xt", "lvl": "Expert", "pnr": 1201, "nr": 1202, "name": " Operating mode (AUX 1)", "unit": "", "def": 1, "min": 1, "max": 8, "fmt": "LONG ENUM", "inc": "Only 1 bit", "opt": {"1":"Automatic", "2":"Reversed", "4":"Manual ON", "8":"Manual Off"} },
|
|
167
167
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1201, "nr": 1497, "name": " Combination of the events for the auxiliary contact (AUX 1)", "unit": "", "def": 0, "min": 0, "max": 1, "fmt": "LONG ENUM", "inc": "Only 1 bit", "opt": {"0": "Any", "1":"All"} },
|
|
168
168
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1201, "nr": 1203, "name": " Temporal restrictions (AUX 1)", "unit": "", "def": "", "min": "", "max": "", "fmt": "ONLY LEVEL", "inc": "Menu" },
|
|
169
169
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1203, "nr": 1204, "name": " Program 1 (AUX 1)", "unit": "", "def": "", "min": "", "max": "", "fmt": "ONLY LEVEL", "inc": "Menu" },
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1201, "nr": 1514, "name": " Maximum time of operation of contact (AUX 1)", "unit": "min", "def": 600, "min": 10, "max": 1200, "fmt": "FLOAT", "inc": 10 },
|
|
271
271
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1201, "nr": 1569, "name": " Reset all settings (AUX 1)", "unit": "", "def": "S", "min": "S", "max": "S", "fmt": "INT32", "inc": "Signal" },
|
|
272
272
|
{ "fam": "xt", "lvl": "Expert", "pnr": 10, "nr": 1310, "name": "AUXILIARY CONTACT 2", "unit": "", "def": "", "min": "", "max": "", "fmt": "ONLY LEVEL", "inc": "Menu" },
|
|
273
|
-
{ "fam": "xt", "lvl": "Expert", "pnr": 1310, "nr": 1311, "name": " Operating mode (AUX 2)", "unit": "", "def": 2, "min": 1, "max": 8, "fmt": "LONG ENUM", "inc": "Only 1 bit", "opt": {"1":"Automatic", "2":"Reversed", "4":"
|
|
273
|
+
{ "fam": "xt", "lvl": "Expert", "pnr": 1310, "nr": 1311, "name": " Operating mode (AUX 2)", "unit": "", "def": 2, "min": 1, "max": 8, "fmt": "LONG ENUM", "inc": "Only 1 bit", "opt": {"1":"Automatic", "2":"Reversed", "4":"Manual ON", "8":"Manual Off"} },
|
|
274
274
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1310, "nr": 1498, "name": " Combination of the events for the auxiliary contact (AUX 2)", "unit": "", "def": 0, "min": 0, "max": 1, "fmt": "LONG ENUM", "inc": "Only 1 bit", "opt": {"0": "Any", "1":"All"} },
|
|
275
275
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1310, "nr": 1312, "name": " Temporal restrictions (AUX 2)", "unit": "", "def": "", "min": "", "max": "", "fmt": "ONLY LEVEL", "inc": "Menu" },
|
|
276
276
|
{ "fam": "xt", "lvl": "Expert", "pnr": 1312, "nr": 1313, "name": " Program 1 (AUX 2)", "unit": "", "def": "", "min": "", "max": "", "fmt": "ONLY LEVEL", "inc": "Menu" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pystuderxcom
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.2
|
|
4
4
|
Summary: Python library to communicate with Studer-Innotec devices on the local network via Xcom protocol
|
|
5
5
|
Author-email: Anko Hanse <anko_hanse@hotmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/ankohanse/pystuderxcom
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|