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.
Files changed (50) hide show
  1. {pystuderxcom-3.2.0/src/pystuderxcom.egg-info → pystuderxcom-3.2.2}/PKG-INFO +1 -1
  2. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/pyproject.toml +1 -1
  3. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_tcp.py +4 -4
  4. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/datapoints_240v.json +2 -2
  5. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2/src/pystuderxcom.egg-info}/PKG-INFO +1 -1
  6. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/LICENSE +0 -0
  7. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/README.md +0 -0
  8. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/setup.cfg +0 -0
  9. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/__init__.py +0 -0
  10. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_base_async.py +0 -0
  11. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_base_sync.py +0 -0
  12. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_serial.py +0 -0
  13. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/api_udp.py +0 -0
  14. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/const.py +0 -0
  15. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/data.py +0 -0
  16. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/datapoints.py +0 -0
  17. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/datapoints_120v.json +0 -0
  18. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/discover_async.py +0 -0
  19. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/discover_sync.py +0 -0
  20. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/factory_async.py +0 -0
  21. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/factory_sync.py +0 -0
  22. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/families.py +0 -0
  23. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/messages.py +0 -0
  24. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/messages_en.json +0 -0
  25. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/protocol.py +0 -0
  26. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom/values.py +0 -0
  27. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/SOURCES.txt +0 -0
  28. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/dependency_links.txt +0 -0
  29. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/requires.txt +0 -0
  30. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/src/pystuderxcom.egg-info/top_level.txt +0 -0
  31. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_base_async.py +0 -0
  32. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_base_sync.py +0 -0
  33. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_serial_async.py +0 -0
  34. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_serial_sync.py +0 -0
  35. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_tcp_async.py +0 -0
  36. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_tcp_sync.py +0 -0
  37. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_udp_async.py +0 -0
  38. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_api_udp_sync.py +0 -0
  39. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_const.py +0 -0
  40. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_data.py +0 -0
  41. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_datapoints_async.py +0 -0
  42. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_datapoints_sync.py +0 -0
  43. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_discover_async.py +0 -0
  44. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_discover_sync.py +0 -0
  45. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_families.py +0 -0
  46. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_messageset_async.py +0 -0
  47. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_messageset_sync.py +0 -0
  48. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_package_async.py +0 -0
  49. {pystuderxcom-3.2.0 → pystuderxcom-3.2.2}/tests/test_package_sync.py +0 -0
  50. {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.0
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pystuderxcom"
3
- version = "3.2.0"
3
+ version = "3.2.2"
4
4
  authors = [
5
5
  { name="Anko Hanse", email="anko_hanse@hotmail.com" },
6
6
  ]
@@ -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.listen_port}")
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("Paramater 'remote_ip' was not specified")
258
- if remote_port is None: raise XcomParamException("Paramater 'remote_port' was not specified")
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("Paramater 'listen_port' was not specified")
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":"Manaul ON", "8":"Manual Off"} },
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":"Manaul ON", "8":"Manual Off"} },
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.0
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