iobroker.luxtronik2-controller 0.20.1 → 0.21.0
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 +42 -20
- package/admin/img/PV.png +0 -0
- package/admin/jsonConfig.json +544 -13
- package/build/main.js +42 -24
- package/build/main.js.map +2 -2
- package/build/mapping/info.js +37 -0
- package/build/mapping/info.js.map +2 -2
- package/build/modbusManager.js +23 -22
- package/build/modbusManager.js.map +2 -2
- package/build/notificationManager.js +1 -1
- package/build/notificationManager.js.map +2 -2
- package/build/pvManager.js +367 -0
- package/build/pvManager.js.map +7 -0
- package/build/virtualStates.js +6 -6
- package/build/virtualStates.js.map +2 -2
- package/io-package.json +85 -53
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ This project builds upon the preliminary work of existing open-source projects.
|
|
|
23
23
|
- **[BenPru](https://github.com/BenPru/luxtronik) & rhammen:** A special thanks to BenPru and rhammen for their continuous further development regarding the access and control of the Luxtronik controller. Without their dedication, efforts, and ideas, this adapter would not have reached the advanced state it is in today. _(If you appreciate their work, feel free to buy them a coffee! ☕) [BenPru](https://github.com/sponsors/BenPru) [rhammen](https://github.com/sponsors/rhammen)_
|
|
24
24
|
|
|
25
25
|
**Innovations in this version:**
|
|
26
|
-
The `luxtronik2-controller` natively integrates both classic TCP communication (Port `8888` / `8889`) and modern WebSockets (Port `8214` for firmware > V3.81), combined with an optional **Hybrid Modbus TCP** engine (Port `502`) for wear-free RAM writes. Additionally, it features intelligent cycle optimization, dynamic pump control, hardware flash-wear protection, COP/JAZ efficiency tracking, and automated datapoint management.
|
|
26
|
+
The `luxtronik2-controller` natively integrates both classic TCP communication (Port `8888` / `8889`) and modern WebSockets (Port `8214` for firmware > V3.81), combined with an optional **Hybrid Modbus TCP** engine (Port `502`) for wear-free RAM writes. Additionally, it features intelligent cycle optimization, dynamic pump control, hardware flash-wear protection, COP/JAZ efficiency tracking, PV-management and automated datapoint management.
|
|
27
27
|
|
|
28
28
|
### Features
|
|
29
29
|
|
|
@@ -48,6 +48,11 @@ The `luxtronik2-controller` natively integrates both classic TCP communication (
|
|
|
48
48
|
- **Intelligent Notification System:** Dispatches error logs, connectivity alerts, and critical shutdowns (such as water flow rate issues) to **Telegram** and the **ioBroker Notification Center** – including a 60-minute anti-spam cooldown and a live test button.
|
|
49
49
|
- **Automated DTA Backup:** Manual one-click links and scheduled Cron downloads of internal `.dta` diagnostic logs directly from the heat pump to `0_userdata.0/luxtronik_backups` for analysis in tools like _OpenDTA_.
|
|
50
50
|
- **Broad Compatibility:** Full support for older (V1.x / V2.x) and newer (V3.x) firmware generations using dynamic scaling factors and adaptive write-queue timing.
|
|
51
|
+
- **PV Surplus Management (PV-Ready):** Fully integrated, automated solar surplus control. Uses your live grid feed-in to intelligently raise heating and/or hot water setpoints (wear-free via Modbus TCP).
|
|
52
|
+
- **Dynamic Sequence Priority:** Continuously monitors live temperatures and intelligently reroutes power between hot water and heating once the prioritized target reaches saturation.
|
|
53
|
+
- **Hysteresis & Smart Timers:** Customizable start/stop delays and a dedicated stop threshold (Schmitt trigger logic) prevent self-cancelling feedback loops when the heat pump starts consuming the surplus.
|
|
54
|
+
- **Battery Prioritization:** Optionally includes your home battery's charging power in the surplus calculation, treating the heat pump as the primary thermal battery.
|
|
55
|
+
- **Hardware Cycle Protection:** Intelligently waits for an active heating or hot water cycle to naturally finish before reverting setpoints after the sun disappears, protecting the compressor.
|
|
51
56
|
|
|
52
57
|
## ⚠️ Warning
|
|
53
58
|
|
|
@@ -91,41 +96,58 @@ You might see red error messages in the installation log related to `node-gyp`,
|
|
|
91
96
|
//### **WORK IN PROGRESS**
|
|
92
97
|
|
|
93
98
|
## Changelog
|
|
94
|
-
### 0.
|
|
99
|
+
### 0.21.0 (2026-10-26)
|
|
100
|
+
|
|
101
|
+
**🚀 New Features**
|
|
102
|
+
|
|
103
|
+
- **PV Surplus Management (PV-Ready):** Introduced a fully integrated, automated PV surplus control system.
|
|
104
|
+
- **PV Hysteresis Control:** Added a dedicated stop threshold (`pv_threshold_stop`) to the PV surplus manager. This prevents the heat pump from cancelling its own boost cycle by consuming the solar surplus (feedback loop). The system now supports independent start and stop boundaries (Schmitt trigger logic).
|
|
105
|
+
- **Dynamic Setpoint Boost:** Automatically raises hot water and heating setpoints (wear-free via Modbus RAM) based on your current grid feed-in.
|
|
106
|
+
- **Smart Timers:** Includes customizable start and stop delay timers to prevent compressor short-cycling during variable cloud cover.
|
|
107
|
+
- **Cycle Protection:** Added a "finish cycle" safety feature. If the solar surplus drops, the adapter intelligently waits for an active heating or hot water cycle to finish before reverting the setpoints, protecting the compressor hardware.
|
|
108
|
+
- **PV Telemetry:** Added three new virtual datapoints under `Information.17_PV_Surplus` (`pv_boost_active`, `pv_boost_active_since`, and `pv_boost_last_activation`) to make the current surplus control status transparently available for external ioBroker visualizations.
|
|
109
|
+
- **Battery Prioritization (PV):** Added an optional feature to include your home battery's charging power into the PV surplus calculation. This allows you to treat the heat pump as the primary thermal battery, intercepting the solar power to heat up the house or hot water _before_ it flows into your chemical battery.
|
|
95
110
|
|
|
96
111
|
**🐛 Bugfixes & Tweaks**
|
|
97
112
|
|
|
98
|
-
- **
|
|
99
|
-
- **
|
|
113
|
+
- **Cycle Optimization vs. PV Logic:** Fixed an edge-case bug where a temporary high target temperature from the cycle optimization module leaked into the PV surplus manager if the heat pump skipped the standby/idle state. The adapter now explicitly resets cross-cycle targets and forces the PV manager to reference the secure baseline configuration limits.
|
|
114
|
+
- **Modbus Stability:** Fixed a critical race condition in the Modbus manager. Concurrent read and write operations no longer share a single global client, preventing connection collisions and adapter crashes during hybrid mode operations.
|
|
115
|
+
- **API Modernization:** Replaced deprecated `setStateAsync` calls in the PV manager with the modern Promise-based `setState` API to comply with the latest ioBroker adapter guidelines and resolve TypeScript warnings.
|
|
116
|
+
- **Unit Conversion:** The PV feed-in datapoint now natively supports kilowatts (kW) via a new toggle in the configuration UI, automatically converting it to Watts internally.
|
|
117
|
+
- **Admin UI Polish:** Replaced HTML-based information blocks in the configuration UI with native ioBroker JSON components to bypass React XSS-filtering issues and ensure clean rendering.
|
|
100
118
|
|
|
101
|
-
### 0.20.
|
|
119
|
+
### 0.20.4 (2026-10-24)
|
|
102
120
|
|
|
103
|
-
|
|
121
|
+
**🔧 Maintenance & Compatibility**
|
|
104
122
|
|
|
105
|
-
- **
|
|
106
|
-
- **Update Notifications:** Added a new configuration tab to set a custom cron schedule and enable optional Telegram notifications when a new firmware version is released.
|
|
107
|
-
- **New Update Datapoints:** Added `firmware_available`, `firmware_update_available`, and `firmware_changelog` to the system info tree to directly expose update states and release notes in ioBroker.
|
|
108
|
-
- **Manual Trigger Button:** Added a `check_firmware` button to manually initiate the update check process at any time.
|
|
123
|
+
- **Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.
|
|
109
124
|
|
|
110
|
-
### 0.
|
|
125
|
+
### 0.20.3 (2026-10-24)
|
|
111
126
|
|
|
112
|
-
|
|
127
|
+
**🔧 Maintenance & Compatibility**
|
|
113
128
|
|
|
114
|
-
- **
|
|
129
|
+
- **Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.
|
|
115
130
|
|
|
116
|
-
|
|
131
|
+
### 0.20.2 (2026-10-24)
|
|
117
132
|
|
|
118
|
-
|
|
133
|
+
**🔧 Maintenance & Compatibility**
|
|
119
134
|
|
|
120
|
-
|
|
135
|
+
- **Repository Checker Fixes:** Addressed multiple warnings from the ioBroker repository checker.
|
|
136
|
+
- **Node.js Requirement:** Updated minimum Node.js requirement to `>= 22` in `package.json` and `io-package.json` to meet current adapter standards.
|
|
137
|
+
- **UI Layout:** Added missing responsive size attributes (`xs`, `sm`, `md`, `lg`, `xl`) to elements in the new updates configuration tab.
|
|
138
|
+
- **Translations:** Added missing i18n translations for all supported languages in the configuration dropdown menus (COP sources and ZIP control mode).
|
|
139
|
+
- **Metadata:** Removed non-existent version entries from the `news` section in `io-package.json`.
|
|
121
140
|
|
|
122
|
-
|
|
141
|
+
**✨ Features & Enhancements**
|
|
123
142
|
|
|
124
|
-
|
|
143
|
+
- **Notification Center:** Introduced a dedicated notification category (`lwpSystem`) for firmware updates and system info to cleanly separate them from critical heat pump errors in the ioBroker UI.
|
|
125
144
|
|
|
126
|
-
|
|
145
|
+
### 0.20.1 (2026-10-22)
|
|
146
|
+
|
|
147
|
+
**🐛 Bugfixes & Tweaks**
|
|
127
148
|
|
|
128
|
-
- **
|
|
149
|
+
- **Modbus Factor Correction:** Explicitly set the scaling factor for the heating target temperature offset (Luxtronik ID 1 / Holding 23) to `10` to correctly handle and display Modbus TCP values in tenths of a degree (e.g., 5.0 °C instead of 50).
|
|
150
|
+
- **Configuration UI:** Clarified the English and German labels for heating parameters (such as base point and parallel offset) in the adapter settings to prevent mapping confusion.
|
|
129
151
|
|
|
130
152
|
## License
|
|
131
153
|
|
package/admin/img/PV.png
ADDED
|
Binary file
|