iobroker.luxtronik2-controller 0.15.1 β 0.17.1
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.
- package/README.md +35 -34
- package/admin/jsonConfig.json +8555 -1036
- package/build/copManager.js +254 -0
- package/build/copManager.js.map +7 -0
- package/build/main.js +6 -0
- package/build/main.js.map +2 -2
- package/build/mapping/actions.js +11 -0
- package/build/mapping/actions.js.map +2 -2
- package/build/mapping/info.js +91 -2
- package/build/mapping/info.js.map +2 -2
- package/build/objectManager.js +10 -3
- package/build/objectManager.js.map +2 -2
- package/build/scripts/generateConfig.js +285 -0
- package/build/scripts/generateConfig.js.map +7 -0
- package/io-package.json +59 -54
- package/package.json +4 -3
- package/build/stateMapping_old.js +0 -4712
- package/build/stateMapping_old.js.map +0 -7
package/README.md
CHANGED
|
@@ -85,61 +85,62 @@ Bug reports, compatibility notes for specific firmware versions, or feature requ
|
|
|
85
85
|
## Changelog
|
|
86
86
|
|
|
87
87
|
// ### **WORK IN PROGRESS**
|
|
88
|
-
### 0.
|
|
88
|
+
### 0.17.1 (2026-10-11)
|
|
89
89
|
|
|
90
90
|
#### π Bugfixes & Enhancements
|
|
91
91
|
|
|
92
|
-
- **
|
|
93
|
-
- **Testing Framework:** Updated `@iobroker/testing` to version 6.3.0 to meet current repository standards.
|
|
94
|
-
- **Changelog Formatting:** Fixed Markdown header formatting to comply with ioBroker "Test and Release" requirements.
|
|
92
|
+
- **Code Quality & CI/CD:** Fixed ESLint `no-prototype-builtins` pipeline failures in `objectManager.ts` by replacing direct `.hasOwnProperty()` calls with safe `Object.prototype.hasOwnProperty.call()` methods.
|
|
95
93
|
|
|
96
|
-
### 0.
|
|
94
|
+
### 0.17.0 (2026-10-11)
|
|
97
95
|
|
|
98
|
-
|
|
96
|
+
#### π Features
|
|
99
97
|
|
|
100
|
-
- **
|
|
101
|
-
- **
|
|
102
|
-
- **
|
|
103
|
-
- **
|
|
98
|
+
- **COP & Efficiency Calculator:** Introduced a comprehensive COP (Coefficient of Performance) calculation engine to track heat pump efficiency.
|
|
99
|
+
- **External Smart Meter Support:** Users can now choose to use internal Luxtronik estimates or link high-precision external sensors (e.g., Shelly 3EM or M-Bus heat meters) via ioBroker Object IDs for power consumption and thermal energy generation.
|
|
100
|
+
- **Granular Live Metrics:** The adapter now dynamically analyzes the active operating state to split and calculate live daily COP values for "Total", "Heating", and "Hot Water" independently.
|
|
101
|
+
- **Persistent Time Rollovers:** Implemented a robust "snapshot" system with absolute virtual counters. The adapter automatically detects day, month, and year rollovers to persist data and guarantee accurate long-term calculations, even across adapter restarts or ioBroker reboots.
|
|
102
|
+
- **Dedicated Efficiency UI:** Added a new "Efficiency / COP" configuration tab to easily manage energy data sources and toggle the calculation engine.
|
|
103
|
+
- **Connection & Polling Status:** Added a new system datapoint `info.lastUpdate`. This state continuously tracks the exact timestamp of the last successful data retrieval, making it easy to monitor the adapter's health and polling activity in visualisations like VIS or Lovelace.
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
#### π Bugfixes & Enhancements
|
|
106
106
|
|
|
107
|
-
- **
|
|
108
|
-
- **
|
|
109
|
-
- **
|
|
110
|
-
- **
|
|
111
|
-
- **
|
|
112
|
-
- **
|
|
107
|
+
- **Object Tree Creation:** Fixed an issue where hidden data buckets for the COP calculation were not created because parent directories were missing.
|
|
108
|
+
- **Timestamp Formatting:** Resolved a strict type mismatch error in the ioBroker log by correctly formatting `info.lastUpdate` as an ISO string instead of a numeric timestamp.
|
|
109
|
+
- **State Properties & Code Quality:** Resolved strict TypeScript and ESLint warnings (missing JSDoc annotations, missing read/write object definitions) in the new COP manager.
|
|
110
|
+
- **Modernized ioBroker API:** Replaced deprecated `setStateAsync` method calls with the modern, promise-based `setState` standard across the COP calculation engine.
|
|
111
|
+
- **Config UI Sorting:** Ensured the newly generated configuration tabs maintain a logical and consistent order across rebuilds.
|
|
112
|
+
- **Internal Mapping:** Restructured the `info` folder mapping to cleanly accommodate adapter-level metadata alongside hardware telemetry.
|
|
113
113
|
|
|
114
|
-
### 0.
|
|
114
|
+
### 0.16.1 (2026-10-11)
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
#### π Features
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
- **Enhanced UI Layout:** Improved the "Datapoints" settings tab layout to display up to 4 items side-by-side on larger screens for a better overview and improved usability.
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
#### π Bugfixes & Enhancements
|
|
121
121
|
|
|
122
|
-
**
|
|
123
|
-
The manufacturer has introduced a massive bug in the local Luxtronik protocol (Port 8889) with the firmware releases **V1.90.0** and **V2.90.0**. Whenever a smart home system (ioBroker, Home Assistant, etc.) attempts to write a parameter value to the heat pump, the controller freezes and forces a **hard reboot** of the system after about 10 seconds. Read operations are not affected.
|
|
122
|
+
- **State Cleanup Logic Fixed:** Resolved an issue where unchecked datapoints (e.g., Room Thermostats) were not removed from the ioBroker object tree. The `isStateEnabled` logic now correctly handles `undefined` config states for dynamically generated checkboxes.
|
|
124
123
|
|
|
125
|
-
|
|
126
|
-
As soon as the adapter detects firmware V1.90.x or V2.90.x, **all write commands are strictly blocked**. Instead, a corresponding warning is printed to the ioBroker log.
|
|
124
|
+
### 0.16.0 (2026-10-11)
|
|
127
125
|
|
|
128
|
-
|
|
126
|
+
#### π Features
|
|
129
127
|
|
|
130
|
-
|
|
128
|
+
- **Dynamic Admin UI Generation:** The "Datapoints / Objects" configuration tab in the adapter settings is now fully auto-generated during the build process (`prebuild`). This ensures the UI is always 100% in sync with the underlying TypeScript state mappings.
|
|
129
|
+
- **Category Master Switches:** Added master toggle switches to the adapter settings. Users can now enable or disable entire hardware categories (e.g., Solar, Cooling, Ventilation) with a single click. This keeps the ioBroker object tree clean and significantly reduces unnecessary polling for unused features.
|
|
130
|
+
- **Dynamic Protection for Critical States:** System-critical datapoints are now protected dynamically via a `required: true` flag in the codebase. They are permanently locked (grayed out) in the UI and cannot be accidentally deleted or disabled by the user or the visibility filter.
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
- **Visibilities completely overhauled:** The internal logic for command 3005 has been rewritten (dynamic detection of 1-byte and 4-byte arrays). The adapter now reads the visibility flags flawlessly across **all** firmware versions. Hiding non-existent hardware in the object tree now works perfectly for V1.x and V2.x systems without causing crashes or timeouts!
|
|
132
|
+
#### π Bugfixes & Enhancements
|
|
134
133
|
|
|
135
|
-
|
|
134
|
+
- **Cycle Optimization Logic (Hot Water):** Fixed a logic flaw where the adapter erroneously applied an artificial hot water target temperature increase while the heat pump was already actively running a hot water cycle. The trigger is now strictly limited to the end of regular heating cycles.
|
|
135
|
+
- **Build Process Optimized:** Integrated the UI generation script (`generateConfig.ts`) seamlessly into the NPM `prebuild` lifecycle, automatically patching the `jsonConfig.json` before typescript compilation.
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
- **Network / WebSocket:** The experimental password transmission for port 8214 has been completely removed, as the communication issue was proven to be caused by the manufacturer's firmware bug. The WebSocket connection for genuine V3.x firmwares operates cleanly again using the proven standard handshake.
|
|
137
|
+
### 0.15.1 (2026-10-10)
|
|
139
138
|
|
|
140
|
-
|
|
139
|
+
#### π Bugfixes & Enhancements
|
|
141
140
|
|
|
142
|
-
- **
|
|
141
|
+
- **Admin UI (ZIP Control):** Completely revised the explanatory text for the Circulation Pump (ZIP) settings in `jsonConfig.json`. Clarified the exact behavior of the "Disable base ZIP values" (`zip_lWP_aktiv`) option to prevent unintentional power cuts to external Wi-Fi relays (like Shelly) while maintaining EEPROM hardware protection.
|
|
142
|
+
- **Testing Framework:** Updated `@iobroker/testing` to version 6.3.0 to meet current repository standards.
|
|
143
|
+
- **Changelog Formatting:** Fixed Markdown header formatting to comply with ioBroker "Test and Release" requirements.
|
|
143
144
|
|
|
144
145
|
## License
|
|
145
146
|
|