From 1800fbfe6349f5215df2967d0b1c55b2b472b1d2 Mon Sep 17 00:00:00 2001 From: Guzz-T Date: Sun, 15 Mar 2026 19:14:55 +0100 Subject: [PATCH 1/4] Add calculations fields for 252, 259 and 260 252: ID_WEB_Temperatur_THG_max 259: cooling_active 260: ID_WEB_Time_ena_cooling --- luxtronik/definitions/calculations.py | 42 +++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/luxtronik/definitions/calculations.py b/luxtronik/definitions/calculations.py index 9af61897..858d3a89 100644 --- a/luxtronik/definitions/calculations.py +++ b/luxtronik/definitions/calculations.py @@ -2643,11 +2643,22 @@ "count": 1, "names": ['Unknown_Calculation_252'], "type": Unknown, + "successor": 'ID_WEB_Temperatur_THG_max', "writeable": False, "datatype": 'UINT32', "unit": '', "description": '', }, + { + "index": 252, + "count": 1, + "names": ['ID_WEB_Temperatur_THG_max'], + "type": Celsius, + "writeable": False, + "datatype": 'UINT32', + "unit": '', + "description": 'TODO: Provisional new description based on #180', + }, { "index": 253, "count": 1, @@ -2719,21 +2730,52 @@ "count": 1, "names": ['Unknown_Calculation_259'], "type": Unknown, + "successor": 'cooling_active', "writeable": False, "datatype": 'UINT32', "unit": '', "description": '', }, + { + "index": 259, + "count": 1, + "names": ['cooling_active'], + "type": Bool, + "writeable": False, + "datatype": 'UINT32', + "unit": '', + "description": ( + "Pin 9 on the main board. " + "Signal to the room thermostat to switch between heating and cooling. " + "If the expansion board is installed, " + "this signal comes from calculation 140 `ID_WEB_FP3out`.\n\n" + "TODO: Provisional new description based on #180" + ) + }, { "index": 260, "count": 1, "names": ['Unknown_Calculation_260'], "type": Unknown, + "successor": 'ID_WEB_Time_ena_cooling', "writeable": False, "datatype": 'UINT32', "unit": '', "description": '', }, + { + "index": 260, + "count": 1, + "names": ['ID_WEB_Time_ena_cooling'], + "type": Seconds, + "writeable": False, + "datatype": 'UINT32', + "unit": '', + "description": ( + "Time in seconds until cooling is enabled\n\n" + "TODO: Provisional new description based on #180" + ) + }, { "index": 261, "count": 1, From 2c769826d79dce87aab33fb4c26584f342daa739 Mon Sep 17 00:00:00 2001 From: Guzz-T Date: Sun, 15 Mar 2026 19:36:58 +0100 Subject: [PATCH 2/4] Add new fields to the test_compatibility.py --- CHANGELOG.md | 3 +++ tests/test_compatibility.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb1175b6..f473d40a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1451,7 +1451,10 @@ from `Voltage` to `Voltage2` - Add `HUP_PWM` (index `241`) of type `Percent2` - Add `HUP_Temp_Spread_Soll` (index `242`) of type `Kelvin` - Add `HUP_Temp_Spread_Ist` (index `243`) of type `Kelvin` +- Add `ID_WEB_Temperatur_THG_max` (index `252`) of type `Celsius` - Add `RBE_Version` (index `258`) of type `MajorMinorVersion` +- Add `cooling_active` (index `259`) of type `Bool` +- Add `ID_WEB_Time_ena_cooling` (index `260`) of type `Seconds` - Add `Unknown_Calculation_260` (index `260`) of type `Unknown` - Add `Unknown_Calculation_261` (index `261`) of type `Unknown` - Add `Unknown_Calculation_262` (index `262`) of type `Unknown` diff --git a/tests/test_compatibility.py b/tests/test_compatibility.py index 99d30cb4..f0006cd4 100644 --- a/tests/test_compatibility.py +++ b/tests/test_compatibility.py @@ -1614,7 +1614,10 @@ def get_compatibility_issues(self): "HUP_PWM": (241, Percent2), "HUP_Temp_Spread_Soll": (242, Kelvin), "HUP_Temp_Spread_Ist": (243, Kelvin), + "ID_WEB_Temperatur_THG_max": (252, Celsius), "RBE_Version": (258, MajorMinorVersion), + "cooling_active": (259, Bool), + "ID_WEB_Time_ena_cooling": (260, Seconds), "Unknown_Calculation_260": (260, Unknown), "Unknown_Calculation_261": (261, Unknown), "Unknown_Calculation_262": (262, Unknown), From a2fac808a3608452cccae3f2a5d1fb5fb11374d0 Mon Sep 17 00:00:00 2001 From: Guzz-T Date: Tue, 17 Mar 2026 21:01:12 +0100 Subject: [PATCH 3/4] Add a new error codes for shi and parallel-operation-mode 810: Parallel-Operation Version 816: Multiple SHI data sources --- luxtronik/datatypes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/luxtronik/datatypes.py b/luxtronik/datatypes.py index 681cbb8e..f030dbd5 100755 --- a/luxtronik/datatypes.py +++ b/luxtronik/datatypes.py @@ -526,6 +526,8 @@ class Errorcode(SelectionBase): 805: "sensor desuperheater", 806: "Modbus SEC", 807: "Lost modbus connection", + 810: "Parallel-Operation Version", + 816: "Multiple SHI data sources", } From 0ce2f11a697475b8f1ecc62d962f54806d642899 Mon Sep 17 00:00:00 2001 From: Guzz-T Date: Sun, 15 Mar 2026 19:14:55 +0100 Subject: [PATCH 4/4] Add calculations fields for 244 and 252 244: flow_temp_limit 252: hot_gas_temp_limit (added as second name) --- CHANGELOG.md | 2 ++ luxtronik/definitions/calculations.py | 19 ++++++++++++++++--- tests/test_compatibility.py | 2 ++ 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f473d40a..41dad3c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1451,7 +1451,9 @@ from `Voltage` to `Voltage2` - Add `HUP_PWM` (index `241`) of type `Percent2` - Add `HUP_Temp_Spread_Soll` (index `242`) of type `Kelvin` - Add `HUP_Temp_Spread_Ist` (index `243`) of type `Kelvin` +- Add `flow_temp_limit` (index `244`) of type `Celsius` - Add `ID_WEB_Temperatur_THG_max` (index `252`) of type `Celsius` +- Add `hot_gas_temp_limit` (index `252`) of type `Celsius` - Add `RBE_Version` (index `258`) of type `MajorMinorVersion` - Add `cooling_active` (index `259`) of type `Bool` - Add `ID_WEB_Time_ena_cooling` (index `260`) of type `Seconds` diff --git a/luxtronik/definitions/calculations.py b/luxtronik/definitions/calculations.py index 858d3a89..90d5423d 100644 --- a/luxtronik/definitions/calculations.py +++ b/luxtronik/definitions/calculations.py @@ -2563,11 +2563,23 @@ "count": 1, "names": ['Unknown_Calculation_244'], "type": Unknown, + "successor": 'flow_temp_limit', "writeable": False, "datatype": 'UINT32', "unit": '', "description": '', }, + { + "index": 244, + "count": 1, + "names": ['flow_temp_limit'], + "type": Celsius, + "writeable": False, + "datatype": 'UINT32', + "unit": '°C/10', + "version": ">=3.88.0", + "description": 'Max supply (flow) temperature setpoint', + }, { "index": 245, "count": 1, @@ -2652,12 +2664,13 @@ { "index": 252, "count": 1, - "names": ['ID_WEB_Temperatur_THG_max'], + "names": ['ID_WEB_Temperatur_THG_max', 'hot_gas_temp_limit'], "type": Celsius, "writeable": False, "datatype": 'UINT32', - "unit": '', - "description": 'TODO: Provisional new description based on #180', + "unit": '°C/10', + "version": ">=3.88.0", + "description": 'Max hot-gas (discharge) cut-off setpoint' }, { "index": 253, diff --git a/tests/test_compatibility.py b/tests/test_compatibility.py index f0006cd4..527e49bb 100644 --- a/tests/test_compatibility.py +++ b/tests/test_compatibility.py @@ -1614,7 +1614,9 @@ def get_compatibility_issues(self): "HUP_PWM": (241, Percent2), "HUP_Temp_Spread_Soll": (242, Kelvin), "HUP_Temp_Spread_Ist": (243, Kelvin), + "flow_temp_limit": (244, Celsius), "ID_WEB_Temperatur_THG_max": (252, Celsius), + "hot_gas_temp_limit": (252, Celsius), "RBE_Version": (258, MajorMinorVersion), "cooling_active": (259, Bool), "ID_WEB_Time_ena_cooling": (260, Seconds),