iobroker.luxtronik2-controller 0.8.1 → 0.9.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 +30 -44
- package/admin/jsonConfig.json +226 -73
- package/build/backupManager.js +102 -0
- package/build/backupManager.js.map +7 -0
- package/build/codes.js +182 -85
- package/build/codes.js.map +2 -2
- package/build/main.js +7 -4
- package/build/main.js.map +2 -2
- package/build/virtualStates.js +10 -2
- package/build/virtualStates.js.map +2 -2
- package/io-package.json +27 -27
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -58,24 +58,6 @@ Dieses Projekt steht in keinerlei Verbindung zu Alpha Innotec, Novelan, ait-deut
|
|
|
58
58
|
|
|
59
59
|
_This project is not affiliated with Alpha Innotec, Novelan, ait-deutschland GmbH, or any other company. It is a personal project that is maintained in spare time. Use at your own risk._
|
|
60
60
|
|
|
61
|
-
"project_disclaimer": "Este proyecto no está afiliado de ninguna manera con Alpha Innotec, Novelan, ait-deutschland GmbH u otros fabricantes. Es un proyecto de código abierto privado desarrollado y mantenido en el tiempo libre. El uso del adaptador es bajo su propio riesgo."
|
|
62
|
-
|
|
63
|
-
"project_disclaimer": "Ce projet n'est en aucun cas affilié à Alpha Innotec, Novelan, ait-deutschland GmbH ou à d'autres fabricants. Il s'agit d'un projet open source privé développé et maintenu pendant le temps libre. L'utilisation de l'adaptateur se fait à vos propres risques."
|
|
64
|
-
|
|
65
|
-
"project_disclaimer": "Ce projet n'est en aucun cas affilié à Alpha Innotec, Novelan, ait-deutschland GmbH ou à d'autres fabricants. Il s'agit d'un projet open source privé développé et maintenu pendant le temps libre. L'utilisation de l'adaptateur se fait à vos propres risques."
|
|
66
|
-
|
|
67
|
-
"project_disclaimer": "Dit project is op geen enkele wijze verbonden met Alpha Innotec, Novelan, ait-deutschland GmbH of andere fabrikanten. Het is een privé open-sourceproject dat in de vrije tijd wordt ontwikkeld en onderhouden. Het gebruik van de adapter is op eigen risico."
|
|
68
|
-
|
|
69
|
-
"project_disclaimer": "Ten projekt nie jest w żaden sposób powiązany z Alpha Innotec, Novelan, ait-deutschland GmbH ani innymi producentami. Jest to prywatny projekt typu open-source, rozwijany i utrzymywany w czasie wolnym. Korzystanie z adaptera odbywa się na własną odpowiedzialność."
|
|
70
|
-
|
|
71
|
-
"project_disclaimer": "Este projeto não está afiliado de forma alguma à Alpha Innotec, Novelan, ait-deutschland GmbH ou a outros fabricantes. É um projeto de código aberto privado desenvolvido e mantido no tempo livre. O uso do adaptador é por sua conta e risco."
|
|
72
|
-
|
|
73
|
-
"project_disclaimer": "Этот проект никоим образом не связан с компаниями Alpha Innotec, Novelan, ait-deutschland GmbH или другими производителями. Это частный проект с открытым исходным кодом, который разрабатывается и поддерживается в свободное время. Использование адаптера осуществляется на свой страх и риск."
|
|
74
|
-
|
|
75
|
-
"project_disclaimer": "Цей проєкт жодним чином не пов'язаний з Alpha Innotec, Novelan, ait-deutschland GmbH чи іншими виробниками. Це приватний проєкт з відкритим кодом, який розробляється та підтримується у вільний час. Використання адаптера здійснюється на власний ризик."
|
|
76
|
-
|
|
77
|
-
"project_disclaimer": "Цей проєкт жодним чином не пов'язаний з Alpha Innotec, Novelan, ait-deutschland GmbH чи іншими виробниками. Це приватний проєкт з відкритим кодом, який розробляється та підтримується у вільний час. Використання адаптера здійснюється на власний ризик."
|
|
78
|
-
|
|
79
61
|
## Reporting Bugs & Contributing
|
|
80
62
|
|
|
81
63
|
Bug reports, compatibility notes for specific firmware versions, or feature requests can be submitted via the issue tracker in the [GitHub-Repository](https://github.com/TbsJah/ioBroker.luxtronik2-controller/issues).
|
|
@@ -97,6 +79,36 @@ Bug reports, compatibility notes for specific firmware versions, or feature requ
|
|
|
97
79
|
## Changelog
|
|
98
80
|
|
|
99
81
|
// ### **WORK IN PROGRESS**
|
|
82
|
+
### 0.9.1 (2026-09-20)
|
|
83
|
+
|
|
84
|
+
**🚀 Features & Improvements**
|
|
85
|
+
|
|
86
|
+
- **(Added) Backup & Diagnostics Tab:** Introduced a new tab in the adapter settings for easy access to heat pump data. Added a recommendation and link for the OpenDTA project to help users analyze their downloaded .dta files.
|
|
87
|
+
- **Automated DTA Backup:** Integrated a time-based background cron job to fully automate the retrieval and storage of DTA log files directly into the ioBroker file system.
|
|
88
|
+
- **Admin UI Diagnostics:** Added a dedicated "Backup & Diagnostics" tab in the adapter settings featuring manual download buttons for DTA files and system logs, along with a recommendation link for the OpenDTA analysis tool.
|
|
89
|
+
- **Intelligent Firmware Fallback:** Improved the DTA download logic to automatically detect the heat pump's firmware version. It seamlessly supports newer models (via `/NewProc`) while automatically falling back to legacy endpoints (`/proclog`, `/procdta`, or `/Webclient/procdta`) for older heat pumps.
|
|
90
|
+
|
|
91
|
+
### 0.9.0 (2026-09-20)
|
|
92
|
+
|
|
93
|
+
**🐛 Bugfixes**
|
|
94
|
+
🔴 **IMPORTANT:**
|
|
95
|
+
|
|
96
|
+
- **(Fixed) HUP Dynamic Voltage Control:** Fixed an issue where the digital relay state (`HUPout`) was queried instead of the actual nominal voltage (`heating_system_circ_pump_voltage_nominal`). This previously caused the calculation logic to produce target voltages below the hardware limit (e.g. 1.25V), triggering "less than min 3" validation warnings in the log.
|
|
97
|
+
- **(Fixed) Admin UI Backup Links:** Fixed multiple issues with the manual download links in the Backup tab. The IP address placeholder was corrected (from `{host}` to `${data.host}`) to resolve correctly. Additionally, `404 Not Found` errors on newer firmware versions were fixed by routing links to the root web directory (`/procdta`, `/procparam`, `/procerr`) instead of the legacy `/Webclient/` directory.
|
|
98
|
+
|
|
99
|
+
**🚀 Features & Improvements**
|
|
100
|
+
|
|
101
|
+
- **(Added) German Translations for Error & Outage Codes:** Added full German translations for all entries in `ERROR_CODES` and `OUTAGE_CODES`.
|
|
102
|
+
- **(Improved) Multi-Language History Logs:** The error log (`Fehlerspeicher`) and outage history (`Abschaltungen`) now dynamically output descriptions and fallbacks in the configured adapter language (`de` / `en`).
|
|
103
|
+
- **(Added) Backup & Diagnostics Tab:** Introduced a new tab in the adapter settings for easy access to heat pump data.
|
|
104
|
+
- **(Added) Manual Downloads:** Added direct buttons to manually download the parameter backup (`procparam`) and error log (`procerr`) via the heat pump's web server. The manual DTA download was split into two distinct steps ("1. Trigger DTA generation" and "2. Download DTA Log") to better reflect the hardware behavior.
|
|
105
|
+
- **(Added) Automated DTA Backup & Custom Storage:** Implemented a new scheduling feature (cron) to automatically trigger and download live DTA logs, saving them directly to the ioBroker file system. The default storage location is the root directory of the adapter's file system, but users can specify a custom subfolder (e.g., `backup`) which is automatically created and sanitized.
|
|
106
|
+
- **(Improved) Firmware Agnostic Backup Downloads:** The automated DTA backup manager now features an intelligent fallback mechanism. It attempts to download logs from both the root directory (`/procdta`) and the legacy subfolder (`/Webclient/procdta`), ensuring compatibility across all Luxtronik firmware versions (V1, V2, V3).
|
|
107
|
+
|
|
108
|
+
**🛠 Refactoring & Under the Hood**
|
|
109
|
+
|
|
110
|
+
- **(Development) TypeScript Definitions:** Added missing `@types/node-schedule` to the dev dependencies to resolve ESLint type-checking errors during the build process.
|
|
111
|
+
|
|
100
112
|
### 0.8.1 (2026-09-19)
|
|
101
113
|
|
|
102
114
|
- Resolve issues which are reported by repository checker
|
|
@@ -126,32 +138,6 @@ Bug reports, compatibility notes for specific firmware versions, or feature requ
|
|
|
126
138
|
|
|
127
139
|
-(Fixed) Time-String Conversion on State Change: Fixed a parsing bug where manual updates to time strings (HH:MM / HH:MM:SS) on states marked with isDurationFormat or time-related roles were passed directly as strings instead of converting to seconds since midnight, preventing user-entered schedule values from persisting in the controller.
|
|
128
140
|
|
|
129
|
-
### 0.7.2 (2026-09-07)
|
|
130
|
-
|
|
131
|
-
**Bugfixes**
|
|
132
|
-
|
|
133
|
-
- (Fixed) Unintended Configuration Overwrites: Fixed a critical architectural flaw where the adapter blindly forced default values (e.g., hot water target temperature, heating curve) to the heat pump on every startup. The adapter is now 100% passive (read-only) upon installation until features are explicitly enabled.
|
|
134
|
-
|
|
135
|
-
- (Fixed) Strict Opt-In Logic: All internal condition checks for background automations (cycle optimization, ZIP optimization, idle resets) were refactored to strict opt-in logic (=== true), preventing unintended actions when settings have never been saved.
|
|
136
|
-
|
|
137
|
-
- (Fixed) Live Toggle for Cycle Optimization: Fixed an issue where the ioBroker switch Actions.Regelung_Aktiv was ignored during runtime. The optimization loop now evaluates this switch dynamically, allowing users to toggle the feature live via their dashboard.
|
|
138
|
-
|
|
139
|
-
- (Fixed) Hardware ZIP Timer Disable: Fixed a bug where a mismatched configuration key (zip_hardware_timer_disable instead of zip_lWP_aktiv) prevented the adapter from correctly disabling the hardware circulation pump timer for flash memory protection.
|
|
140
|
-
|
|
141
|
-
- (Fixed) "Heating after hot water" Reset: Restored missing logic that properly resets the "Heating after water" status back to false at the end of a cycle, preventing the system from getting stuck in this mode.
|
|
142
|
-
|
|
143
|
-
**Features & Change**
|
|
144
|
-
|
|
145
|
-
- (Changed) Forced DHW Safety Limit: Reduced the internal safety limit for temporary hot water target adjustments during forced DHW runs from 75°C to 70°C to better protect the system's high-pressure switch.
|
|
146
|
-
|
|
147
|
-
### 0.7.1 (2026-09-07)
|
|
148
|
-
|
|
149
|
-
**Bugfixes**
|
|
150
|
-
|
|
151
|
-
- (Fixed) Status Display: Fixed a logical evaluation bug where the operating state "Heating" (Code 0) was incorrectly overwritten and displayed as "No demand" (Code 5). Thanks to @michiproep for reporting!
|
|
152
|
-
|
|
153
|
-
- (Fixed) Temperature Values: Fixed a related issue where temperature readings of exactly 0 °C (e.g., average temperature, return target temperature, cooling release) were incorrectly replaced by internal fallback values (e.g., 1.5 °C).
|
|
154
|
-
|
|
155
141
|
## License
|
|
156
142
|
|
|
157
143
|
MIT License
|
package/admin/jsonConfig.json
CHANGED
|
@@ -126,79 +126,6 @@
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
|
-
"cycleOptimizationTab": {
|
|
130
|
-
"type": "panel",
|
|
131
|
-
"label": {
|
|
132
|
-
"en": "Cycle Optimization",
|
|
133
|
-
"de": "Takt-Optimierung"
|
|
134
|
-
},
|
|
135
|
-
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTkuNSAxNXExLjA1IDAgMS43NzUtLjcyNWw0LTRRMTYgOS41NSAxNiA4LjV0LS43MjUtMS43NzVUMTMuNSA2dC0xLjc3NS43MjVRMTAuOCA2LjQgOS45IDYuNTc1dC0xLjUyNS44dC0uOCAxLjUyNXQuMTUgMS44MjVRNyAxMS40NSA3IDEyLjV0LjcyNSAxLjc3NVQ5LjUgMTVNNiAyMnYtNC4zcS0xLjQyNS0xLjMtMi4yMTItMy4wMzdUMyAxMXEwLTMuNzUgMi42MjUtNi4zNzVUMTIgMnEzLjEyNSAwIDUuNTM4IDEuODM4dDMuMTM3IDQuNzg3bDEuMyA1LjEyNXEuMTI1LjQ3NS0uMTc1Ljg2M1QyMSAxNWgtMnYzcTAgLjgyNS0uNTg3IDEuNDEzVDE3IDIwaC0ydjJoLTJ2LTRoNHYtNWgyLjdsLS45NS0zLjg3NXEtLjU3NS0yLjI3NS0yLjQ1LTMuN1QxMiA0UTkuMSA0IDcuMDUgNi4wMjVUNSAxMC45NXEwIDEuNS42MTMgMi44NXQxLjczNyAyLjRsLjY1LjZWMjJ6bTYuMzUtOSIgLz4KPC9zdmc+Cg==",
|
|
136
|
-
"items": {
|
|
137
|
-
"informationCycleOptimization": {
|
|
138
|
-
"type": "staticText",
|
|
139
|
-
"text": {
|
|
140
|
-
"en": "By default, the Luxtronik controller treats heating and domestic hot water (DHW) cycles as separate operations. This adapter coordinates the run so the compressor transitions seamlessly into heating without shutting down.<br><br>➔ <i>Trigger rule:</i> If <b>(DHW Target - DHW Actual) ≥ (DHW Hysteresis - 1.5 K)</b> and <b>Heating Return ≤ Return Target</b> and outdoor heating threshold is not active, heating is triggered directly with Return Target temporarily set to 35°C to force compressor operation.",
|
|
141
|
-
"de": "Standardmäßig behandelt die Luxtronik-Steuerung Heiz- und Warmwassertakte strikt getrennt. Dieser Adapter koppelt die Vorgänge, sodass der Verdichter ohne Zwischenstopp direkt in den Heizbetrieb übergeht.<br><br>➔ <i>Auslöser-Regel:</i> Wenn <b>(WW Soll - WW Ist) ≥ (WW Hysterese - 1,5 K)</b> und <b>Heizung Rücklauf ≤ Rücklauf Soll</b> und die Heizgrenze nicht aktiv ist, wird direkt der Heizbetrieb gestartet und der Rücklauf-Sollwert temporär auf 35°C gesetzt, um das Heizen zu erzwingen."
|
|
142
|
-
},
|
|
143
|
-
"style": { "marginBottom": "20px", "fontSize": "14px" },
|
|
144
|
-
"xs": 12,
|
|
145
|
-
"sm": 12,
|
|
146
|
-
"md": 12,
|
|
147
|
-
"lg": 12,
|
|
148
|
-
"xl": 12
|
|
149
|
-
},
|
|
150
|
-
"regelung_aktiv": {
|
|
151
|
-
"type": "checkbox",
|
|
152
|
-
"label": {
|
|
153
|
-
"en": "Enable intelligent cycle optimization",
|
|
154
|
-
"de": "Intelligente Takt-Optimierung aktivieren"
|
|
155
|
-
},
|
|
156
|
-
"default": false,
|
|
157
|
-
"confirm": {
|
|
158
|
-
"condition": "data.regelung_aktiv === true && data.idle_defaults_aktiv !== true",
|
|
159
|
-
"title": { "en": "Important Recommendation", "de": "Wichtige Empfehlung" },
|
|
160
|
-
"text": {
|
|
161
|
-
"en": "You are activating the intelligent cycle optimization. It is highly recommended to also enable 'Force default values during idle' in the 'Idle Defaults' tab! This ensures that the heat pump returns to a safe state after the adapter intervenes.",
|
|
162
|
-
"de": "Du aktivierst die intelligente Takt-Optimierung. Es wird dringend empfohlen, im Reiter 'Leerlauf' die Option 'Standardwerte im Leerlauf erzwingen' einzuschalten! Nur so ist garantiert, dass die Wärmepumpe nach dem Eingreifen des Adapters wieder in einen sicheren Ursprungszustand zurückkehrt."
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"xs": 12,
|
|
166
|
-
"sm": 6,
|
|
167
|
-
"md": 6,
|
|
168
|
-
"lg": 6,
|
|
169
|
-
"xl": 6
|
|
170
|
-
},
|
|
171
|
-
"Heating_after_warmwater": {
|
|
172
|
-
"type": "checkbox",
|
|
173
|
-
"label": { "en": "Heating after hot water", "de": "Heizen nach Warmwasser erzwingen" },
|
|
174
|
-
"hidden": "!data.regelung_aktiv",
|
|
175
|
-
"default": false,
|
|
176
|
-
"xs": 12,
|
|
177
|
-
"sm": 6,
|
|
178
|
-
"md": 6,
|
|
179
|
-
"lg": 6,
|
|
180
|
-
"xl": 6
|
|
181
|
-
},
|
|
182
|
-
"exampleImageCycle_de": {
|
|
183
|
-
"type": "staticImage",
|
|
184
|
-
"src": "img/Takt_Optimierung.svg",
|
|
185
|
-
"hidden": "systemConfig.language !== 'de'",
|
|
186
|
-
"style": {
|
|
187
|
-
"width": "1200px",
|
|
188
|
-
"maxWidth": "100%",
|
|
189
|
-
"height": "auto",
|
|
190
|
-
"border": "1px solid #cccccc",
|
|
191
|
-
"borderRadius": "5px",
|
|
192
|
-
"marginTop": "10px"
|
|
193
|
-
},
|
|
194
|
-
"xs": 12,
|
|
195
|
-
"sm": 12,
|
|
196
|
-
"md": 12,
|
|
197
|
-
"lg": 12,
|
|
198
|
-
"xl": 12
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
129
|
"idleTab": {
|
|
203
130
|
"type": "panel",
|
|
204
131
|
"label": {
|
|
@@ -399,6 +326,79 @@
|
|
|
399
326
|
}
|
|
400
327
|
}
|
|
401
328
|
},
|
|
329
|
+
"cycleOptimizationTab": {
|
|
330
|
+
"type": "panel",
|
|
331
|
+
"label": {
|
|
332
|
+
"en": "Cycle Optimization",
|
|
333
|
+
"de": "Takt-Optimierung"
|
|
334
|
+
},
|
|
335
|
+
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTkuNSAxNXExLjA1IDAgMS43NzUtLjcyNWw0LTRRMTYgOS41NSAxNiA4LjV0LS43MjUtMS43NzVUMTMuNSA2dC0xLjc3NS43MjVRMTAuOCA2LjQgOS45IDYuNTc1dC0xLjUyNS44dC0uOCAxLjUyNXQuMTUgMS44MjVRNyAxMS40NSA3IDEyLjV0LjcyNSAxLjc3NVQ5LjUgMTVNNiAyMnYtNC4zcS0xLjQyNS0xLjMtMi4yMTItMy4wMzdUMyAxMXEwLTMuNzUgMi42MjUtNi4zNzVUMTIgMnEzLjEyNSAwIDUuNTM4IDEuODM4dDMuMTM3IDQuNzg3bDEuMyA1LjEyNXEuMTI1LjQ3NS0uMTc1Ljg2M1QyMSAxNWgtMnYzcTAgLjgyNS0uNTg3IDEuNDEzVDE3IDIwaC0ydjJoLTJ2LTRoNHYtNWgyLjdsLS45NS0zLjg3NXEtLjU3NS0yLjI3NS0yLjQ1LTMuN1QxMiA0UTkuMSA0IDcuMDUgNi4wMjVUNSAxMC45NXEwIDEuNS42MTMgMi44NXQxLjczNyAyLjRsLjY1LjZWMjJ6bTYuMzUtOSIgLz4KPC9zdmc+Cg==",
|
|
336
|
+
"items": {
|
|
337
|
+
"informationCycleOptimization": {
|
|
338
|
+
"type": "staticText",
|
|
339
|
+
"text": {
|
|
340
|
+
"en": "By default, the Luxtronik controller treats heating and domestic hot water (DHW) cycles as separate operations. This adapter coordinates the run so the compressor transitions seamlessly into heating without shutting down.<br><br>➔ <i>Trigger rule:</i> If <b>(DHW Target - DHW Actual) ≥ (DHW Hysteresis - 1.5 K)</b> and <b>Heating Return ≤ Return Target</b> and outdoor heating threshold is not active, heating is triggered directly with Return Target temporarily set to 35°C to force compressor operation.",
|
|
341
|
+
"de": "Standardmäßig behandelt die Luxtronik-Steuerung Heiz- und Warmwassertakte strikt getrennt. Dieser Adapter koppelt die Vorgänge, sodass der Verdichter ohne Zwischenstopp direkt in den Heizbetrieb übergeht.<br><br>➔ <i>Auslöser-Regel:</i> Wenn <b>(WW Soll - WW Ist) ≥ (WW Hysterese - 1,5 K)</b> und <b>Heizung Rücklauf ≤ Rücklauf Soll</b> und die Heizgrenze nicht aktiv ist, wird direkt der Heizbetrieb gestartet und der Rücklauf-Sollwert temporär auf 35°C gesetzt, um das Heizen zu erzwingen."
|
|
342
|
+
},
|
|
343
|
+
"style": { "marginBottom": "20px", "fontSize": "14px" },
|
|
344
|
+
"xs": 12,
|
|
345
|
+
"sm": 12,
|
|
346
|
+
"md": 12,
|
|
347
|
+
"lg": 12,
|
|
348
|
+
"xl": 12
|
|
349
|
+
},
|
|
350
|
+
"regelung_aktiv": {
|
|
351
|
+
"type": "checkbox",
|
|
352
|
+
"label": {
|
|
353
|
+
"en": "Enable intelligent cycle optimization",
|
|
354
|
+
"de": "Intelligente Takt-Optimierung aktivieren"
|
|
355
|
+
},
|
|
356
|
+
"default": false,
|
|
357
|
+
"confirm": {
|
|
358
|
+
"condition": "data.regelung_aktiv === true && data.idle_defaults_aktiv !== true",
|
|
359
|
+
"title": { "en": "Important Recommendation", "de": "Wichtige Empfehlung" },
|
|
360
|
+
"text": {
|
|
361
|
+
"en": "You are activating the intelligent cycle optimization. It is highly recommended to also enable 'Force default values during idle' in the 'Idle Defaults' tab! This ensures that the heat pump returns to a safe state after the adapter intervenes.",
|
|
362
|
+
"de": "Du aktivierst die intelligente Takt-Optimierung. Es wird dringend empfohlen, im Reiter 'Leerlauf' die Option 'Standardwerte im Leerlauf erzwingen' einzuschalten! Nur so ist garantiert, dass die Wärmepumpe nach dem Eingreifen des Adapters wieder in einen sicheren Ursprungszustand zurückkehrt."
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"xs": 12,
|
|
366
|
+
"sm": 6,
|
|
367
|
+
"md": 6,
|
|
368
|
+
"lg": 6,
|
|
369
|
+
"xl": 6
|
|
370
|
+
},
|
|
371
|
+
"Heating_after_warmwater": {
|
|
372
|
+
"type": "checkbox",
|
|
373
|
+
"label": { "en": "Heating after hot water", "de": "Heizen nach Warmwasser erzwingen" },
|
|
374
|
+
"hidden": "!data.regelung_aktiv",
|
|
375
|
+
"default": false,
|
|
376
|
+
"xs": 12,
|
|
377
|
+
"sm": 6,
|
|
378
|
+
"md": 6,
|
|
379
|
+
"lg": 6,
|
|
380
|
+
"xl": 6
|
|
381
|
+
},
|
|
382
|
+
"exampleImageCycle_de": {
|
|
383
|
+
"type": "staticImage",
|
|
384
|
+
"src": "img/Takt_Optimierung.svg",
|
|
385
|
+
"hidden": "systemConfig.language !== 'de'",
|
|
386
|
+
"style": {
|
|
387
|
+
"width": "1200px",
|
|
388
|
+
"maxWidth": "100%",
|
|
389
|
+
"height": "auto",
|
|
390
|
+
"border": "1px solid #cccccc",
|
|
391
|
+
"borderRadius": "5px",
|
|
392
|
+
"marginTop": "10px"
|
|
393
|
+
},
|
|
394
|
+
"xs": 12,
|
|
395
|
+
"sm": 12,
|
|
396
|
+
"md": 12,
|
|
397
|
+
"lg": 12,
|
|
398
|
+
"xl": 12
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
402
|
"hupTab": {
|
|
403
403
|
"type": "panel",
|
|
404
404
|
"label": {
|
|
@@ -2892,6 +2892,159 @@
|
|
|
2892
2892
|
]
|
|
2893
2893
|
}
|
|
2894
2894
|
}
|
|
2895
|
+
},
|
|
2896
|
+
"backupTab": {
|
|
2897
|
+
"type": "panel",
|
|
2898
|
+
"label": {
|
|
2899
|
+
"en": "Backup & Diagnostics",
|
|
2900
|
+
"de": "Backup & Diagnose"
|
|
2901
|
+
},
|
|
2902
|
+
"icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTkgOWgtNFYzSDl2Nkg1bDcgN3pNNSAxOHYyaDE0di0yeiIvPjwvc3ZnPg==",
|
|
2903
|
+
"items": {
|
|
2904
|
+
"headerBackup": {
|
|
2905
|
+
"type": "header",
|
|
2906
|
+
"text": { "en": "Manual Download", "de": "Manueller Download" },
|
|
2907
|
+
"size": 4,
|
|
2908
|
+
"xs": 12,
|
|
2909
|
+
"sm": 12,
|
|
2910
|
+
"md": 12,
|
|
2911
|
+
"lg": 12,
|
|
2912
|
+
"xl": 12
|
|
2913
|
+
},
|
|
2914
|
+
"backupInfo": {
|
|
2915
|
+
"type": "staticText",
|
|
2916
|
+
"text": {
|
|
2917
|
+
"en": "You can download the heat pump's internal logs directly via its web interface. <br><br><i>Note: Newer firmware versions use <b>/NewProc</b>. Older models use <b>/proclog</b> for their 48h history.</i>",
|
|
2918
|
+
"de": "Über den internen Webserver der Luxtronik-Steuerung lassen sich System-Logs (.dta) direkt herunterladen. <br><br><i>Hinweis: Aktuelle Firmwares nutzen <b>/NewProc</b>. Ältere Wärmepumpen nutzen <b>/proclog</b> für das Herunterladen der Historie.</i>"
|
|
2919
|
+
},
|
|
2920
|
+
"style": { "marginBottom": "20px", "fontSize": "14px" },
|
|
2921
|
+
"xs": 12,
|
|
2922
|
+
"sm": 12,
|
|
2923
|
+
"md": 12,
|
|
2924
|
+
"lg": 12,
|
|
2925
|
+
"xl": 12
|
|
2926
|
+
},
|
|
2927
|
+
"linkDtaDownload": {
|
|
2928
|
+
"type": "staticLink",
|
|
2929
|
+
"label": { "en": "DTA (/NewProc)", "de": "DTA laden (/NewProc)" },
|
|
2930
|
+
"href": "http://${data.host}/NewProc",
|
|
2931
|
+
"button": true,
|
|
2932
|
+
"variant": "contained",
|
|
2933
|
+
"color": "primary",
|
|
2934
|
+
"help": {
|
|
2935
|
+
"de": "Um die .dta Dateien am PC grafisch auszuwerten, empfehlen wir das kostenlose Tool <a href='https://sourceforge.net/projects/opendta/' target='_blank'>OpenDTA</a>.",
|
|
2936
|
+
"en": "To graphically analyze .dta files on your PC, we recommend the free tool <a href='https://sourceforge.net/projects/opendta/' target='_blank'>OpenDTA</a>."
|
|
2937
|
+
},
|
|
2938
|
+
"xs": 12,
|
|
2939
|
+
"sm": 6,
|
|
2940
|
+
"md": 3,
|
|
2941
|
+
"lg": 3,
|
|
2942
|
+
"xl": 3
|
|
2943
|
+
},
|
|
2944
|
+
"linkProcLog": {
|
|
2945
|
+
"type": "staticLink",
|
|
2946
|
+
"label": { "en": "DTA older models (/proclog)", "de": "DTA alte WP (/proclog)" },
|
|
2947
|
+
"href": "http://${data.host}/proclog",
|
|
2948
|
+
"button": true,
|
|
2949
|
+
"variant": "outlined",
|
|
2950
|
+
"color": "primary",
|
|
2951
|
+
"xs": 12,
|
|
2952
|
+
"sm": 6,
|
|
2953
|
+
"md": 3,
|
|
2954
|
+
"lg": 3,
|
|
2955
|
+
"xl": 3
|
|
2956
|
+
},
|
|
2957
|
+
"linkParam": {
|
|
2958
|
+
"type": "staticLink",
|
|
2959
|
+
"label": { "en": "Parameter (.txt)", "de": "Parameter (.txt)" },
|
|
2960
|
+
"href": "http://${data.host}/procparam",
|
|
2961
|
+
"button": true,
|
|
2962
|
+
"variant": "outlined",
|
|
2963
|
+
"color": "secondary",
|
|
2964
|
+
"xs": 12,
|
|
2965
|
+
"sm": 6,
|
|
2966
|
+
"md": 3,
|
|
2967
|
+
"lg": 3,
|
|
2968
|
+
"xl": 3
|
|
2969
|
+
},
|
|
2970
|
+
"linkErr": {
|
|
2971
|
+
"type": "staticLink",
|
|
2972
|
+
"label": { "en": "Error Log (.txt)", "de": "Fehlerspeicher (.txt)" },
|
|
2973
|
+
"href": "http://${data.host}/procerr",
|
|
2974
|
+
"button": true,
|
|
2975
|
+
"variant": "outlined",
|
|
2976
|
+
"color": "secondary",
|
|
2977
|
+
"style": { "marginBottom": "30px" },
|
|
2978
|
+
"xs": 12,
|
|
2979
|
+
"sm": 6,
|
|
2980
|
+
"md": 3,
|
|
2981
|
+
"lg": 3,
|
|
2982
|
+
"xl": 3
|
|
2983
|
+
},
|
|
2984
|
+
"divider1": {
|
|
2985
|
+
"type": "divider",
|
|
2986
|
+
"color": "primary",
|
|
2987
|
+
"style": { "marginBottom": "20px" },
|
|
2988
|
+
"xs": 12,
|
|
2989
|
+
"sm": 12,
|
|
2990
|
+
"md": 12,
|
|
2991
|
+
"lg": 12,
|
|
2992
|
+
"xl": 12
|
|
2993
|
+
},
|
|
2994
|
+
"headerAutoBackup": {
|
|
2995
|
+
"type": "header",
|
|
2996
|
+
"text": { "en": "Automated DTA Backup", "de": "Automatisches DTA-Backup" },
|
|
2997
|
+
"size": 4,
|
|
2998
|
+
"xs": 12,
|
|
2999
|
+
"sm": 12,
|
|
3000
|
+
"md": 12,
|
|
3001
|
+
"lg": 12,
|
|
3002
|
+
"xl": 12
|
|
3003
|
+
},
|
|
3004
|
+
"autoBackupActive": {
|
|
3005
|
+
"type": "checkbox",
|
|
3006
|
+
"label": {
|
|
3007
|
+
"en": "Enable automatic DTA download",
|
|
3008
|
+
"de": "Automatischen DTA-Download aktivieren"
|
|
3009
|
+
},
|
|
3010
|
+
"help": {
|
|
3011
|
+
"en": "If enabled, the adapter will automatically download the DTA log according to the schedule and save it to the ioBroker file system.",
|
|
3012
|
+
"de": "Wenn aktiviert, ruft der Adapter das DTA-Log nach dem untenstehenden Zeitplan vollautomatisch ab und speichert es im ioBroker-Dateisystem."
|
|
3013
|
+
},
|
|
3014
|
+
"default": false,
|
|
3015
|
+
"xs": 12,
|
|
3016
|
+
"sm": 12,
|
|
3017
|
+
"md": 4,
|
|
3018
|
+
"lg": 4,
|
|
3019
|
+
"xl": 4
|
|
3020
|
+
},
|
|
3021
|
+
"autoBackupCron": {
|
|
3022
|
+
"type": "cron",
|
|
3023
|
+
"label": { "en": "Schedule", "de": "Zeitplan" },
|
|
3024
|
+
"default": "0 2 * * *",
|
|
3025
|
+
"hidden": "!data.autoBackupActive",
|
|
3026
|
+
"xs": 12,
|
|
3027
|
+
"sm": 12,
|
|
3028
|
+
"md": 4,
|
|
3029
|
+
"lg": 4,
|
|
3030
|
+
"xl": 4
|
|
3031
|
+
},
|
|
3032
|
+
"autoBackupPath": {
|
|
3033
|
+
"type": "text",
|
|
3034
|
+
"label": { "en": "Storage subfolder", "de": "Speicher-Unterordner" },
|
|
3035
|
+
"help": {
|
|
3036
|
+
"en": "Leave empty to save directly in the adapter's main directory, or type a subfolder name (e.g., 'backups').",
|
|
3037
|
+
"de": "Leer lassen, um direkt im Hauptverzeichnis des Adapters zu speichern. Für Unterordner einfach den Namen eintippen (z.B. 'backups')."
|
|
3038
|
+
},
|
|
3039
|
+
"placeholder": "Leer = Adapter-Verzeichnis",
|
|
3040
|
+
"hidden": "!data.autoBackupActive",
|
|
3041
|
+
"xs": 12,
|
|
3042
|
+
"sm": 12,
|
|
3043
|
+
"md": 4,
|
|
3044
|
+
"lg": 4,
|
|
3045
|
+
"xl": 4
|
|
3046
|
+
}
|
|
3047
|
+
}
|
|
2895
3048
|
}
|
|
2896
3049
|
}
|
|
2897
3050
|
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var backupManager_exports = {};
|
|
30
|
+
__export(backupManager_exports, {
|
|
31
|
+
executeDtaBackup: () => executeDtaBackup,
|
|
32
|
+
initAutoBackup: () => initAutoBackup,
|
|
33
|
+
stopAutoBackup: () => stopAutoBackup
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(backupManager_exports);
|
|
36
|
+
var schedule = __toESM(require("node-schedule"));
|
|
37
|
+
var import_logger = require("./logger");
|
|
38
|
+
let backupJob = null;
|
|
39
|
+
function initAutoBackup(adapter) {
|
|
40
|
+
const config = adapter.config;
|
|
41
|
+
stopAutoBackup();
|
|
42
|
+
if (config.autoBackupActive && config.autoBackupCron) {
|
|
43
|
+
(0, import_logger.writeLog)(`Initializing automated DTA backup with cron schedule: ${config.autoBackupCron}`, "info");
|
|
44
|
+
backupJob = schedule.scheduleJob(config.autoBackupCron, async () => {
|
|
45
|
+
await executeDtaBackup(adapter);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
async function executeDtaBackup(adapter) {
|
|
50
|
+
const config = adapter.config;
|
|
51
|
+
const ip = config.host;
|
|
52
|
+
if (!ip) {
|
|
53
|
+
(0, import_logger.writeLog)("Backup aborted: No IP address configured.", "warn");
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
try {
|
|
57
|
+
(0, import_logger.writeLog)("Triggering live DTA flush and fetching file (/NewProc)...", "debug");
|
|
58
|
+
let response = await fetch(`http://${ip}/NewProc`).catch(() => null);
|
|
59
|
+
let arrayBuffer = response && response.ok ? await response.arrayBuffer() : null;
|
|
60
|
+
if (!arrayBuffer || arrayBuffer.byteLength < 1e3) {
|
|
61
|
+
(0, import_logger.writeLog)("Older firmware detected. Fetching historical DTA via /proclog...", "debug");
|
|
62
|
+
response = await fetch(`http://${ip}/proclog`).catch(() => null);
|
|
63
|
+
if (!response || !response.ok) {
|
|
64
|
+
(0, import_logger.writeLog)("/proclog not found, trying fallback path /procdta...", "debug");
|
|
65
|
+
response = await fetch(`http://${ip}/procdta`).catch(() => null);
|
|
66
|
+
}
|
|
67
|
+
if (!response || !response.ok) {
|
|
68
|
+
(0, import_logger.writeLog)("/procdta not found, trying fallback path /Webclient/procdta...", "debug");
|
|
69
|
+
response = await fetch(`http://${ip}/Webclient/procdta`).catch(() => null);
|
|
70
|
+
}
|
|
71
|
+
if (!response || !response.ok) {
|
|
72
|
+
throw new Error(`HTTP Error - File not found on heat pump webserver.`);
|
|
73
|
+
}
|
|
74
|
+
arrayBuffer = await response.arrayBuffer();
|
|
75
|
+
}
|
|
76
|
+
const buffer = Buffer.from(arrayBuffer);
|
|
77
|
+
const basePath = config.autoBackupPath ? String(config.autoBackupPath).replace(/^\/+|\/+$/g, "").trim() : "";
|
|
78
|
+
const now = /* @__PURE__ */ new Date();
|
|
79
|
+
const timestamp = now.toISOString().replace(/[:.]/g, "-").substring(0, 19);
|
|
80
|
+
const fileName = `dta_live_${timestamp}.dta`;
|
|
81
|
+
const fullPath = basePath !== "" ? `${basePath}/${fileName}` : fileName;
|
|
82
|
+
await adapter.writeFileAsync(adapter.namespace, fullPath, buffer);
|
|
83
|
+
(0, import_logger.writeLog)(`DTA Backup successfully saved as ${fullPath} in ioBroker files.`, "info");
|
|
84
|
+
} catch (err) {
|
|
85
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
86
|
+
(0, import_logger.writeLog)(`Failed to execute automated DTA backup: ${msg}`, "error");
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function stopAutoBackup() {
|
|
90
|
+
if (backupJob) {
|
|
91
|
+
backupJob.cancel();
|
|
92
|
+
backupJob = null;
|
|
93
|
+
(0, import_logger.writeLog)("Automated DTA backup schedule stopped.", "debug");
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
97
|
+
0 && (module.exports = {
|
|
98
|
+
executeDtaBackup,
|
|
99
|
+
initAutoBackup,
|
|
100
|
+
stopAutoBackup
|
|
101
|
+
});
|
|
102
|
+
//# sourceMappingURL=backupManager.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/backupManager.ts"],
|
|
4
|
+
"sourcesContent": ["import type { AdapterInstance } from '@iobroker/adapter-core';\nimport * as schedule from 'node-schedule';\nimport { writeLog } from './logger';\n\n// Speichert den aktuellen Cronjob, um ihn beim Beenden sauber abzur\u00E4umen\nlet backupJob: schedule.Job | null = null;\n\n/**\n * Initialisiert den automatischen Backup-Zeitplan basierend auf der ioBroker-Konfiguration.\n *\n * @param adapter Die ioBroker Adapter-Instanz\n */\nexport function initAutoBackup(adapter: AdapterInstance): void {\n\tconst config = adapter.config as any;\n\n\t// Alten Job abbrechen, falls die Funktion neu aufgerufen wird\n\tstopAutoBackup();\n\n\tif (config.autoBackupActive && config.autoBackupCron) {\n\t\twriteLog(`Initializing automated DTA backup with cron schedule: ${config.autoBackupCron}`, 'info');\n\n\t\t// Neuen Cronjob anlegen\n\t\tbackupJob = schedule.scheduleJob(config.autoBackupCron, async () => {\n\t\t\tawait executeDtaBackup(adapter);\n\t\t});\n\t}\n}\n\n/**\n * F\u00FChrt den eigentlichen Download aus und speichert die Datei im ioBroker.\n *\n * @param adapter Die ioBroker Adapter-Instanz\n */\nexport async function executeDtaBackup(adapter: AdapterInstance): Promise<void> {\n\tconst config = adapter.config as any;\n\tconst ip = config.host;\n\n\tif (!ip) {\n\t\twriteLog('Backup aborted: No IP address configured.', 'warn');\n\t\treturn;\n\t}\n\n\ttry {\n\t\twriteLog('Triggering live DTA flush and fetching file (/NewProc)...', 'debug');\n\n\t\t// 1. Neuer Firmware-Weg (Aktuelle Daten / V3.8x+): /NewProc generiert UND liefert die Datei\n\t\tlet response = await fetch(`http://${ip}/NewProc`).catch(() => null);\n\t\tlet arrayBuffer = response && response.ok ? await response.arrayBuffer() : null;\n\n\t\t// Wenn die Antwort sehr klein ist (< 1000 Bytes), ist es eine \u00E4ltere Firmware.\n\t\tif (!arrayBuffer || arrayBuffer.byteLength < 1000) {\n\t\t\twriteLog('Older firmware detected. Fetching historical DTA via /proclog...', 'debug');\n\n\t\t\t// 2. Offizieller Weg f\u00FCr \u00E4ltere WP / 48h Historie: /proclog\n\t\t\tresponse = await fetch(`http://${ip}/proclog`).catch(() => null);\n\n\t\t\t// 3. Fallback-Download f\u00FCr Zwischenversionen: /procdta\n\t\t\tif (!response || !response.ok) {\n\t\t\t\twriteLog('/proclog not found, trying fallback path /procdta...', 'debug');\n\t\t\t\tresponse = await fetch(`http://${ip}/procdta`).catch(() => null);\n\t\t\t}\n\n\t\t\t// 4. Fallback-Download: Alter Webclient-Ordner f\u00FCr ganz alte V1/V2 Anlagen\n\t\t\tif (!response || !response.ok) {\n\t\t\t\twriteLog('/procdta not found, trying fallback path /Webclient/procdta...', 'debug');\n\t\t\t\tresponse = await fetch(`http://${ip}/Webclient/procdta`).catch(() => null);\n\t\t\t}\n\n\t\t\tif (!response || !response.ok) {\n\t\t\t\tthrow new Error(`HTTP Error - File not found on heat pump webserver.`);\n\t\t\t}\n\n\t\t\t// Puffer der Fallback-Datei einlesen\n\t\t\tarrayBuffer = await response.arrayBuffer();\n\t\t}\n\n\t\tconst buffer = Buffer.from(arrayBuffer);\n\n\t\t// 5. Speicherpfad aus Config holen und formatieren\n\t\tconst basePath = config.autoBackupPath\n\t\t\t? String(config.autoBackupPath)\n\t\t\t\t\t.replace(/^\\/+|\\/+$/g, '')\n\t\t\t\t\t.trim()\n\t\t\t: '';\n\n\t\t// 6. Dateinamen mit aktuellem Zeitstempel generieren (z.B. dta_live_2026-09-20T07-30-00.dta)\n\t\tconst now = new Date();\n\t\tconst timestamp = now.toISOString().replace(/[:.]/g, '-').substring(0, 19);\n\t\tconst fileName = `dta_live_${timestamp}.dta`;\n\n\t\tconst fullPath = basePath !== '' ? `${basePath}/${fileName}` : fileName;\n\n\t\t// 7. Im ioBroker-Dateisystem speichern (Sichtbar im Tab \"Dateien\")\n\t\tawait adapter.writeFileAsync(adapter.namespace, fullPath, buffer);\n\n\t\twriteLog(`DTA Backup successfully saved as ${fullPath} in ioBroker files.`, 'info');\n\t} catch (err: unknown) {\n\t\tconst msg = err instanceof Error ? err.message : String(err);\n\t\twriteLog(`Failed to execute automated DTA backup: ${msg}`, 'error');\n\t}\n}\n/**\n * Stoppt den laufenden Cronjob (wichtig f\u00FCr den Adapter-Neustart).\n */\nexport function stopAutoBackup(): void {\n\tif (backupJob) {\n\t\tbackupJob.cancel();\n\t\tbackupJob = null;\n\t\twriteLog('Automated DTA backup schedule stopped.', 'debug');\n\t}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,eAA0B;AAC1B,oBAAyB;AAGzB,IAAI,YAAiC;AAO9B,SAAS,eAAe,SAAgC;AAC9D,QAAM,SAAS,QAAQ;AAGvB,iBAAe;AAEf,MAAI,OAAO,oBAAoB,OAAO,gBAAgB;AACrD,gCAAS,yDAAyD,OAAO,cAAc,IAAI,MAAM;AAGjG,gBAAY,SAAS,YAAY,OAAO,gBAAgB,YAAY;AACnE,YAAM,iBAAiB,OAAO;AAAA,IAC/B,CAAC;AAAA,EACF;AACD;AAOA,eAAsB,iBAAiB,SAAyC;AAC/E,QAAM,SAAS,QAAQ;AACvB,QAAM,KAAK,OAAO;AAElB,MAAI,CAAC,IAAI;AACR,gCAAS,6CAA6C,MAAM;AAC5D;AAAA,EACD;AAEA,MAAI;AACH,gCAAS,6DAA6D,OAAO;AAG7E,QAAI,WAAW,MAAM,MAAM,UAAU,EAAE,UAAU,EAAE,MAAM,MAAM,IAAI;AACnE,QAAI,cAAc,YAAY,SAAS,KAAK,MAAM,SAAS,YAAY,IAAI;AAG3E,QAAI,CAAC,eAAe,YAAY,aAAa,KAAM;AAClD,kCAAS,oEAAoE,OAAO;AAGpF,iBAAW,MAAM,MAAM,UAAU,EAAE,UAAU,EAAE,MAAM,MAAM,IAAI;AAG/D,UAAI,CAAC,YAAY,CAAC,SAAS,IAAI;AAC9B,oCAAS,wDAAwD,OAAO;AACxE,mBAAW,MAAM,MAAM,UAAU,EAAE,UAAU,EAAE,MAAM,MAAM,IAAI;AAAA,MAChE;AAGA,UAAI,CAAC,YAAY,CAAC,SAAS,IAAI;AAC9B,oCAAS,kEAAkE,OAAO;AAClF,mBAAW,MAAM,MAAM,UAAU,EAAE,oBAAoB,EAAE,MAAM,MAAM,IAAI;AAAA,MAC1E;AAEA,UAAI,CAAC,YAAY,CAAC,SAAS,IAAI;AAC9B,cAAM,IAAI,MAAM,qDAAqD;AAAA,MACtE;AAGA,oBAAc,MAAM,SAAS,YAAY;AAAA,IAC1C;AAEA,UAAM,SAAS,OAAO,KAAK,WAAW;AAGtC,UAAM,WAAW,OAAO,iBACrB,OAAO,OAAO,cAAc,EAC3B,QAAQ,cAAc,EAAE,EACxB,KAAK,IACN;AAGH,UAAM,MAAM,oBAAI,KAAK;AACrB,UAAM,YAAY,IAAI,YAAY,EAAE,QAAQ,SAAS,GAAG,EAAE,UAAU,GAAG,EAAE;AACzE,UAAM,WAAW,YAAY,SAAS;AAEtC,UAAM,WAAW,aAAa,KAAK,GAAG,QAAQ,IAAI,QAAQ,KAAK;AAG/D,UAAM,QAAQ,eAAe,QAAQ,WAAW,UAAU,MAAM;AAEhE,gCAAS,oCAAoC,QAAQ,uBAAuB,MAAM;AAAA,EACnF,SAAS,KAAc;AACtB,UAAM,MAAM,eAAe,QAAQ,IAAI,UAAU,OAAO,GAAG;AAC3D,gCAAS,2CAA2C,GAAG,IAAI,OAAO;AAAA,EACnE;AACD;AAIO,SAAS,iBAAuB;AACtC,MAAI,WAAW;AACd,cAAU,OAAO;AACjB,gBAAY;AACZ,gCAAS,0CAA0C,OAAO;AAAA,EAC3D;AACD;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|