iobroker.luxtronik2-controller 0.16.0 β 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 -43
- package/admin/jsonConfig.json +2557 -2167
- 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 +90 -0
- package/build/mapping/info.js.map +2 -2
- package/build/objectManager.js +10 -5
- package/build/objectManager.js.map +2 -2
- package/build/scripts/generateConfig.js +146 -6
- package/build/scripts/generateConfig.js.map +2 -2
- package/io-package.json +46 -41
- package/package.json +1 -1
- package/build/stateMapping_old.js +0 -4712
- package/build/stateMapping_old.js.map +0 -7
package/README.md
CHANGED
|
@@ -85,70 +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.
|
|
89
|
-
|
|
90
|
-
#### π Features
|
|
91
|
-
|
|
92
|
-
- **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.
|
|
93
|
-
- **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.
|
|
94
|
-
- **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.
|
|
88
|
+
### 0.17.1 (2026-10-11)
|
|
95
89
|
|
|
96
90
|
#### π Bugfixes & Enhancements
|
|
97
91
|
|
|
98
|
-
- **
|
|
99
|
-
- **Build Process Optimized:** Integrated the UI generation script (`generateConfig.ts`) seamlessly into the NPM `prebuild` lifecycle, automatically patching the `jsonConfig.json` before typescript compilation.
|
|
100
|
-
|
|
101
|
-
### 0.15.1 (2026-10-10)
|
|
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.
|
|
102
93
|
|
|
103
|
-
|
|
94
|
+
### 0.17.0 (2026-10-11)
|
|
104
95
|
|
|
105
|
-
|
|
106
|
-
- **Testing Framework:** Updated `@iobroker/testing` to version 6.3.0 to meet current repository standards.
|
|
107
|
-
- **Changelog Formatting:** Fixed Markdown header formatting to comply with ioBroker "Test and Release" requirements.
|
|
96
|
+
#### π Features
|
|
108
97
|
|
|
109
|
-
|
|
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.
|
|
110
104
|
|
|
111
|
-
|
|
105
|
+
#### π Bugfixes & Enhancements
|
|
112
106
|
|
|
113
|
-
- **
|
|
114
|
-
- **
|
|
115
|
-
- **
|
|
116
|
-
- **
|
|
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.
|
|
117
113
|
|
|
118
|
-
|
|
114
|
+
### 0.16.1 (2026-10-11)
|
|
119
115
|
|
|
120
|
-
|
|
121
|
-
- **ZIP Optimization Defaults:** Fixed an issue where the circulation pump (ZIP) was unintentionally shut down (Hardware timers forced to 0 ON / 60 OFF) directly after installation. The logic and default values for `zip_lWP_aktiv` have been clarified to ensure users relying on the Luxtronik's internal power supply do not experience unexpected offline states of their smart relays.
|
|
122
|
-
- **Visibility Filter (Command 3005) fixed:** Resolved a major logic flaw in the `cleanupStates` function. Previously, the adapter ignored unsupported hardware components (like missing cooling or solar modules) but failed to delete their remnants from the ioBroker object tree. Obsolete datapoints and empty folders are now rigorously removed upon startup.
|
|
123
|
-
- **Precise Visibility Mapping implemented:** The hide-logic (Command 3005) no longer relies on broad folder names. Instead, it now uses the exact, manufacturer-specific visibility index (`visiIndex`) for every individual module to accurately show or hide features.
|
|
124
|
-
- **HUP Optimization (Temperature Spread Control):** Dynamic voltage adjustment of the heating circulation pump during heating operation now only triggers after the state has been active for at least 10 minutes and compressor 1 (`VD1`) is actively running. This prevents premature voltage shifts during startup phases before the thermal spread has stabilized.
|
|
125
|
-
- **Outage & Malfunction Monitoring:** Fixed tracking logic in `checkAndSendOutageNotifications`: Luxtronik outage code `0` (_Heat pump malfunction / WP-StΓΆrung_) is no longer erroneously skipped. Both low flow issues and direct heat pump shutdowns now reliably dispatch alarms via Telegram and the ioBroker Notification Center.
|
|
116
|
+
#### π Features
|
|
126
117
|
|
|
127
|
-
|
|
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.
|
|
128
119
|
|
|
129
|
-
|
|
120
|
+
#### π Bugfixes & Enhancements
|
|
130
121
|
|
|
131
|
-
|
|
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.
|
|
132
123
|
|
|
133
|
-
|
|
124
|
+
### 0.16.0 (2026-10-11)
|
|
134
125
|
|
|
135
|
-
|
|
136
|
-
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.
|
|
126
|
+
#### π Features
|
|
137
127
|
|
|
138
|
-
|
|
139
|
-
|
|
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.
|
|
140
131
|
|
|
141
|
-
|
|
132
|
+
#### π Bugfixes & Enhancements
|
|
142
133
|
|
|
143
|
-
|
|
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.
|
|
144
136
|
|
|
145
|
-
|
|
146
|
-
- **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!
|
|
137
|
+
### 0.15.1 (2026-10-10)
|
|
147
138
|
|
|
148
|
-
|
|
139
|
+
#### π Bugfixes & Enhancements
|
|
149
140
|
|
|
150
|
-
- **
|
|
151
|
-
- **
|
|
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.
|
|
152
144
|
|
|
153
145
|
## License
|
|
154
146
|
|