iobroker.luxtronik2-controller 1.2.1 → 1.3.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 +14 -7
- package/admin/webcomponents/luxtronik-base.js +242 -0
- package/admin/webcomponents/luxtronik-cop-cockpit.js +303 -0
- package/admin/webcomponents/luxtronik-cop-cockpit.json +44 -0
- package/admin/webcomponents/luxtronik-dhw-tank.js +417 -0
- package/admin/webcomponents/luxtronik-dhw-tank.json +42 -0
- package/admin/webcomponents/luxtronik-diagnostics-feed.js +412 -0
- package/admin/webcomponents/luxtronik-diagnostics-feed.json +42 -0
- package/admin/webcomponents/luxtronik-health-monitor.js +378 -0
- package/admin/webcomponents/luxtronik-health-monitor.json +44 -0
- package/admin/webcomponents/luxtronik-heatcurve-tuner.js +515 -0
- package/admin/webcomponents/luxtronik-heatcurve-tuner.json +42 -0
- package/admin/webcomponents/luxtronik-hydraulics-flow.js +464 -0
- package/admin/webcomponents/luxtronik-hydraulics-flow.json +34 -0
- package/admin/webcomponents/luxtronik-schedule-radar.js +448 -0
- package/admin/webcomponents/luxtronik-schedule-radar.json +34 -0
- package/admin/webcomponents/luxtronik-status-card.js +2 -2
- package/io-package.json +22 -15
- package/package.json +1 -1
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <luxtronik-schedule-radar>
|
|
3
|
+
* 24-Stunden-Zeitbalken für Heizung (Absenkung), Warmwasser (Sperrzeit) und Zirkulation (Freigabe)
|
|
4
|
+
* mit wanderndem Jetzt-Marker für `@iobroker/web-components`.
|
|
5
|
+
*/
|
|
6
|
+
import { LuxtronikBaseCard } from './luxtronik-base.js';
|
|
7
|
+
|
|
8
|
+
const DAYS_EN = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
|
|
9
|
+
const DAYS_DE = ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'];
|
|
10
|
+
const TABLE_MODE_LABELS = { 0: 'Woche', 1: '5+2', 2: 'Tage' };
|
|
11
|
+
|
|
12
|
+
const TRACKS = [
|
|
13
|
+
{
|
|
14
|
+
id: 'hz',
|
|
15
|
+
label: 'Heizung',
|
|
16
|
+
kindLabel: 'Absenkung',
|
|
17
|
+
inBlockText: 'Abgesenkt',
|
|
18
|
+
outBlockText: 'Normal',
|
|
19
|
+
color: '#f59e0b',
|
|
20
|
+
inBlockCls: 'warn',
|
|
21
|
+
outBlockCls: 'ok',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: 'ww',
|
|
25
|
+
label: 'Warmwasser',
|
|
26
|
+
kindLabel: 'Sperrzeit',
|
|
27
|
+
inBlockText: 'Gesperrt',
|
|
28
|
+
outBlockText: 'Freigegeben',
|
|
29
|
+
color: '#ef4444',
|
|
30
|
+
inBlockCls: 'bad',
|
|
31
|
+
outBlockCls: 'ok',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: 'zip',
|
|
35
|
+
label: 'Zirkulation',
|
|
36
|
+
kindLabel: 'Freigabe',
|
|
37
|
+
inBlockText: 'Freigegeben',
|
|
38
|
+
outBlockText: 'Pausiert',
|
|
39
|
+
color: '#3b82f6',
|
|
40
|
+
inBlockCls: 'info',
|
|
41
|
+
outBlockCls: 'muted',
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
|
|
45
|
+
class LuxtronikScheduleRadar extends LuxtronikBaseCard {
|
|
46
|
+
static get stateMap() {
|
|
47
|
+
const map = {
|
|
48
|
+
hz_sel: 'Settings.07_Tables.heatingOperationTimerTableSelected',
|
|
49
|
+
ww_sel: 'Settings.07_Tables.hotWaterOperationTimerTableSelected',
|
|
50
|
+
zip_sel: 'Settings.07_Tables.hotWaterCircPumpTimerTableSelected',
|
|
51
|
+
hz_week: 'Information.11_Tables.Heating.heatingOperationTimerTableWeek',
|
|
52
|
+
hz_monfri: 'Information.11_Tables.Heating.heatingOperationTimerTable52MonFri',
|
|
53
|
+
hz_satsun: 'Information.11_Tables.Heating.heatingOperationTimerTable52SatSun',
|
|
54
|
+
ww_week: 'Information.11_Tables.HotWater.hotWaterTableWeek',
|
|
55
|
+
ww_monfri: 'Information.11_Tables.HotWater.hotWaterTable52MonFri',
|
|
56
|
+
ww_satsun: 'Information.11_Tables.HotWater.hotWaterTable52SatSun',
|
|
57
|
+
zip_week: 'Information.11_Tables.Circulation.hotWaterCircPumpTimerTableWeek',
|
|
58
|
+
zip_monfri: 'Information.11_Tables.Circulation.hotWaterCircPumpTimerTable52MonFri',
|
|
59
|
+
zip_satsun: 'Information.11_Tables.Circulation.hotWaterCircPumpTimerTable52SatSun',
|
|
60
|
+
};
|
|
61
|
+
for (const day of DAYS_EN) {
|
|
62
|
+
map[`hz_${day}`] = `Information.11_Tables.Heating.heatingOperationTimerTableDay${day}`;
|
|
63
|
+
map[`ww_${day}`] = `Information.11_Tables.HotWater.hotWaterTableDay${day}`;
|
|
64
|
+
map[`zip_${day}`] = `Information.11_Tables.Circulation.hotWaterCircPumpTimerTableDay${day}`;
|
|
65
|
+
}
|
|
66
|
+
return map;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor() {
|
|
70
|
+
super();
|
|
71
|
+
this._clockTimer = null;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
connectedCallback() {
|
|
75
|
+
super.connectedCallback();
|
|
76
|
+
if (!this._clockTimer) {
|
|
77
|
+
this._clockTimer = window.setInterval(() => {
|
|
78
|
+
if (this._rendered) {
|
|
79
|
+
this._updateView();
|
|
80
|
+
}
|
|
81
|
+
}, 60000);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
disconnectedCallback() {
|
|
86
|
+
super.disconnectedCallback();
|
|
87
|
+
if (this._clockTimer) {
|
|
88
|
+
window.clearInterval(this._clockTimer);
|
|
89
|
+
this._clockTimer = null;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
_toMinutes(val) {
|
|
94
|
+
if (val === null || val === undefined || val === '') {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
if (typeof val === 'number' && !isNaN(val)) {
|
|
98
|
+
// Sekunde (0..86400) oder Minute (0..1440) erkennen
|
|
99
|
+
if (val > 1440) {
|
|
100
|
+
return Math.round(val / 60);
|
|
101
|
+
}
|
|
102
|
+
return Math.round(val);
|
|
103
|
+
}
|
|
104
|
+
const s = String(val).trim();
|
|
105
|
+
const m = s.match(/^(\d{1,2}):(\d{2})/);
|
|
106
|
+
if (m) {
|
|
107
|
+
return parseInt(m[1], 10) * 60 + parseInt(m[2], 10);
|
|
108
|
+
}
|
|
109
|
+
const n = parseFloat(s);
|
|
110
|
+
if (!isNaN(n)) {
|
|
111
|
+
return n > 1440 ? Math.round(n / 60) : Math.round(n);
|
|
112
|
+
}
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
_fmtMin(min) {
|
|
117
|
+
const m = Math.max(0, Math.min(1440, Math.round(min)));
|
|
118
|
+
const h = Math.floor(m / 60);
|
|
119
|
+
const mm = m % 60;
|
|
120
|
+
return `${String(h).padStart(2, '0')}:${String(mm).padStart(2, '0')}`;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
_parseIntervals(raw) {
|
|
124
|
+
if (!raw) {
|
|
125
|
+
return [];
|
|
126
|
+
}
|
|
127
|
+
let data = raw;
|
|
128
|
+
if (typeof raw === 'string') {
|
|
129
|
+
const trimmed = raw.trim();
|
|
130
|
+
if (!trimmed) {
|
|
131
|
+
return [];
|
|
132
|
+
}
|
|
133
|
+
try {
|
|
134
|
+
data = JSON.parse(trimmed);
|
|
135
|
+
} catch {
|
|
136
|
+
// Fallback für reine Textlisten wie "06:00-22:00, 23:00-05:00"
|
|
137
|
+
const pairs = [];
|
|
138
|
+
const re = /(\d{1,2}:\d{2})\s*[-–]\s*(\d{1,2}:\d{2})/g;
|
|
139
|
+
let match;
|
|
140
|
+
while ((match = re.exec(trimmed)) !== null) {
|
|
141
|
+
const s = this._toMinutes(match[1]);
|
|
142
|
+
const e = this._toMinutes(match[2]);
|
|
143
|
+
if (s !== null && e !== null && s !== e) {
|
|
144
|
+
pairs.push([s, e]);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return pairs;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
const rawPairs = [];
|
|
152
|
+
const addPair = (a, b) => {
|
|
153
|
+
const s = this._toMinutes(a);
|
|
154
|
+
const e = this._toMinutes(b);
|
|
155
|
+
if (s !== null && e !== null && s !== e) {
|
|
156
|
+
rawPairs.push([s, e]);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
if (Array.isArray(data)) {
|
|
161
|
+
if (data.length > 0 && data.every(x => typeof x === 'number')) {
|
|
162
|
+
for (let i = 0; i + 1 < data.length; i += 2) {
|
|
163
|
+
addPair(data[i], data[i + 1]);
|
|
164
|
+
}
|
|
165
|
+
} else {
|
|
166
|
+
for (const entry of data) {
|
|
167
|
+
if (Array.isArray(entry) && entry.length >= 2) {
|
|
168
|
+
addPair(entry[0], entry[1]);
|
|
169
|
+
} else if (typeof entry === 'string') {
|
|
170
|
+
const m = entry.match(/(\d{1,2}:\d{2})\s*[-–]\s*(\d{1,2}:\d{2})/);
|
|
171
|
+
if (m) {
|
|
172
|
+
addPair(m[1], m[2]);
|
|
173
|
+
}
|
|
174
|
+
} else if (entry && typeof entry === 'object') {
|
|
175
|
+
const s = entry.on ?? entry.start ?? entry.from ?? entry.von ?? entry.Start;
|
|
176
|
+
const e = entry.off ?? entry.end ?? entry.to ?? entry.bis ?? entry.End ?? entry.Ende;
|
|
177
|
+
addPair(s, e);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
} else if (data && typeof data === 'object') {
|
|
182
|
+
// z.B. { start1: ..., end1: ... }
|
|
183
|
+
const keys = Object.keys(data);
|
|
184
|
+
for (let i = 1; i <= 5; i++) {
|
|
185
|
+
const sKey = keys.find(k => new RegExp(`(start|on|von).*${i}$`, 'i').test(k));
|
|
186
|
+
const eKey = keys.find(k => new RegExp(`(end|ende|off|bis).*${i}$`, 'i').test(k));
|
|
187
|
+
if (sKey && eKey) {
|
|
188
|
+
addPair(data[sKey], data[eKey]);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
return rawPairs;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
_splitWrapped(pairs) {
|
|
197
|
+
const segments = [];
|
|
198
|
+
for (const [s, e] of pairs) {
|
|
199
|
+
if (s < e) {
|
|
200
|
+
segments.push([s, e]);
|
|
201
|
+
} else if (s > e) {
|
|
202
|
+
// Mitternachts-Überlauf (z.B. 22:00 - 05:30)
|
|
203
|
+
segments.push([s, 1440]);
|
|
204
|
+
if (e > 0) {
|
|
205
|
+
segments.push([0, e]);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return segments;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
_selectTableValue(prefix, now) {
|
|
213
|
+
const mode = this._toNum(this._values[`${prefix}_sel`]) ?? 0;
|
|
214
|
+
const dayIdx = now.getDay();
|
|
215
|
+
const isWeekend = dayIdx === 0 || dayIdx === 6;
|
|
216
|
+
|
|
217
|
+
let raw = null;
|
|
218
|
+
if (mode === 1) {
|
|
219
|
+
raw = this._values[isWeekend ? `${prefix}_satsun` : `${prefix}_monfri`];
|
|
220
|
+
} else if (mode === 2) {
|
|
221
|
+
raw = this._values[`${prefix}_${DAYS_EN[dayIdx]}`];
|
|
222
|
+
} else {
|
|
223
|
+
raw = this._values[`${prefix}_week`];
|
|
224
|
+
}
|
|
225
|
+
return { mode, raw };
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
_renderBase() {
|
|
229
|
+
const tracksHtml = TRACKS.map(
|
|
230
|
+
t => `
|
|
231
|
+
<div class="track-card">
|
|
232
|
+
<div class="track-head">
|
|
233
|
+
<div class="track-left">
|
|
234
|
+
<span class="dot" style="background:${t.color}"></span>
|
|
235
|
+
<span class="track-name">${t.label}</span>
|
|
236
|
+
<span class="track-meta" data-ref="meta_${t.id}">–</span>
|
|
237
|
+
</div>
|
|
238
|
+
<span class="pill" data-ref="state_${t.id}">–</span>
|
|
239
|
+
</div>
|
|
240
|
+
<div class="bar-wrap">
|
|
241
|
+
<div class="bar-blocks" data-ref="blocks_${t.id}"></div>
|
|
242
|
+
<div class="now-line" data-ref="now_${t.id}"></div>
|
|
243
|
+
</div>
|
|
244
|
+
<div class="slots-text" data-ref="slots_${t.id}">Keine Zeitfenster hinterlegt</div>
|
|
245
|
+
</div>
|
|
246
|
+
`,
|
|
247
|
+
).join('');
|
|
248
|
+
|
|
249
|
+
const tpl = document.createElement('template');
|
|
250
|
+
tpl.innerHTML = `
|
|
251
|
+
<style>
|
|
252
|
+
:host {
|
|
253
|
+
--lux-surface: rgba(127, 127, 127, 0.11);
|
|
254
|
+
--lux-border: rgba(127, 127, 127, 0.24);
|
|
255
|
+
--lux-ok: #22c55e;
|
|
256
|
+
--lux-warn: #f59e0b;
|
|
257
|
+
--lux-bad: #ef4444;
|
|
258
|
+
--lux-info: #3b82f6;
|
|
259
|
+
display: block;
|
|
260
|
+
width: 100%;
|
|
261
|
+
height: 100%;
|
|
262
|
+
box-sizing: border-box;
|
|
263
|
+
font-family: inherit;
|
|
264
|
+
color: inherit;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.card {
|
|
268
|
+
width: 100%;
|
|
269
|
+
height: 100%;
|
|
270
|
+
box-sizing: border-box;
|
|
271
|
+
display: flex;
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
gap: 8px;
|
|
274
|
+
padding: 12px;
|
|
275
|
+
overflow: auto;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.header {
|
|
279
|
+
display: flex;
|
|
280
|
+
justify-content: space-between;
|
|
281
|
+
align-items: center;
|
|
282
|
+
gap: 8px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.title { font-size: 0.98rem; font-weight: 600; }
|
|
286
|
+
.clock { font-size: 0.78rem; font-weight: 600; opacity: 0.78; font-variant-numeric: tabular-nums; }
|
|
287
|
+
|
|
288
|
+
.tracks {
|
|
289
|
+
display: flex;
|
|
290
|
+
flex-direction: column;
|
|
291
|
+
gap: 8px;
|
|
292
|
+
flex: 1;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.track-card {
|
|
296
|
+
background: var(--lux-surface);
|
|
297
|
+
border: 1px solid var(--lux-border);
|
|
298
|
+
border-radius: 10px;
|
|
299
|
+
padding: 8px 10px;
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
gap: 6px;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.track-head {
|
|
306
|
+
display: flex;
|
|
307
|
+
justify-content: space-between;
|
|
308
|
+
align-items: center;
|
|
309
|
+
gap: 8px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.track-left { display: flex; align-items: center; gap: 6px; }
|
|
313
|
+
.dot { width: 8px; height: 8px; border-radius: 50%; }
|
|
314
|
+
.track-name { font-size: 0.82rem; font-weight: 600; }
|
|
315
|
+
.track-meta { font-size: 0.72rem; opacity: 0.65; }
|
|
316
|
+
|
|
317
|
+
.pill {
|
|
318
|
+
padding: 1px 7px;
|
|
319
|
+
border-radius: 999px;
|
|
320
|
+
font-size: 0.7rem;
|
|
321
|
+
font-weight: 600;
|
|
322
|
+
background: var(--lux-surface);
|
|
323
|
+
border: 1px solid var(--lux-border);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.pill.ok { color: var(--lux-ok); border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.14); }
|
|
327
|
+
.pill.warn { color: var(--lux-warn); border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.14); }
|
|
328
|
+
.pill.bad { color: var(--lux-bad); border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.14); }
|
|
329
|
+
.pill.info { color: var(--lux-info); border-color: rgba(59, 130, 246, 0.45); background: rgba(59, 130, 246, 0.14); }
|
|
330
|
+
.pill.muted { opacity: 0.72; }
|
|
331
|
+
|
|
332
|
+
.bar-wrap {
|
|
333
|
+
position: relative;
|
|
334
|
+
height: 14px;
|
|
335
|
+
border-radius: 6px;
|
|
336
|
+
background: rgba(127, 127, 127, 0.2);
|
|
337
|
+
overflow: hidden;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.bar-blocks {
|
|
341
|
+
position: absolute;
|
|
342
|
+
inset: 0;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.block {
|
|
346
|
+
position: absolute;
|
|
347
|
+
top: 0;
|
|
348
|
+
bottom: 0;
|
|
349
|
+
border-radius: 3px;
|
|
350
|
+
opacity: 0.82;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.now-line {
|
|
354
|
+
position: absolute;
|
|
355
|
+
top: -2px;
|
|
356
|
+
bottom: -2px;
|
|
357
|
+
width: 2px;
|
|
358
|
+
background: #ffffff;
|
|
359
|
+
box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
|
|
360
|
+
z-index: 2;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.slots-text {
|
|
364
|
+
font-size: 0.71rem;
|
|
365
|
+
opacity: 0.72;
|
|
366
|
+
font-variant-numeric: tabular-nums;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.axis {
|
|
370
|
+
display: flex;
|
|
371
|
+
justify-content: space-between;
|
|
372
|
+
padding: 0 10px;
|
|
373
|
+
font-size: 0.68rem;
|
|
374
|
+
opacity: 0.6;
|
|
375
|
+
font-variant-numeric: tabular-nums;
|
|
376
|
+
}
|
|
377
|
+
</style>
|
|
378
|
+
|
|
379
|
+
<div class="card">
|
|
380
|
+
<div class="header">
|
|
381
|
+
<div class="title" data-ref="title">Zeitschaltprogramme (Heute)</div>
|
|
382
|
+
<div class="clock" data-ref="clock">–</div>
|
|
383
|
+
</div>
|
|
384
|
+
|
|
385
|
+
<div class="tracks">${tracksHtml}</div>
|
|
386
|
+
|
|
387
|
+
<div class="axis">
|
|
388
|
+
<span>00:00</span><span>04:00</span><span>08:00</span><span>12:00</span><span>16:00</span><span>20:00</span><span>24:00</span>
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
391
|
+
`;
|
|
392
|
+
this.shadowRoot.appendChild(tpl.content.cloneNode(true));
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
_updateView() {
|
|
396
|
+
const r = this._refs;
|
|
397
|
+
if (!r.title) {
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
const now = new Date();
|
|
402
|
+
const nowMin = now.getHours() * 60 + now.getMinutes();
|
|
403
|
+
const nowPct = (nowMin / 1440) * 100;
|
|
404
|
+
|
|
405
|
+
r.title.textContent = this._settings?.title || 'Zeitschaltprogramme (Heute)';
|
|
406
|
+
r.clock.textContent = `${DAYS_DE[now.getDay()]} · ${this._fmtMin(nowMin)}`;
|
|
407
|
+
|
|
408
|
+
for (const t of TRACKS) {
|
|
409
|
+
const { mode, raw } = this._selectTableValue(t.id, now);
|
|
410
|
+
const modeName = TABLE_MODE_LABELS[mode] || 'Woche';
|
|
411
|
+
r[`meta_${t.id}`].textContent = `(${t.kindLabel} · ${modeName})`;
|
|
412
|
+
|
|
413
|
+
const pairs = this._parseIntervals(raw);
|
|
414
|
+
const segments = this._splitWrapped(pairs);
|
|
415
|
+
const isInBlock = segments.some(([s, e]) => nowMin >= s && nowMin < e);
|
|
416
|
+
|
|
417
|
+
const badge = r[`state_${t.id}`];
|
|
418
|
+
badge.textContent = isInBlock ? t.inBlockText : t.outBlockText;
|
|
419
|
+
badge.className = `pill ${isInBlock ? t.inBlockCls : t.outBlockCls}`;
|
|
420
|
+
|
|
421
|
+
r[`now_${t.id}`].style.left = `${nowPct.toFixed(2)}%`;
|
|
422
|
+
|
|
423
|
+
const container = r[`blocks_${t.id}`];
|
|
424
|
+
while (container.firstChild) {
|
|
425
|
+
container.removeChild(container.firstChild);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
for (const [s, e] of segments) {
|
|
429
|
+
const el = document.createElement('div');
|
|
430
|
+
el.className = 'block';
|
|
431
|
+
el.style.left = `${((s / 1440) * 100).toFixed(2)}%`;
|
|
432
|
+
el.style.width = `${(((e - s) / 1440) * 100).toFixed(2)}%`;
|
|
433
|
+
el.style.backgroundColor = t.color;
|
|
434
|
+
el.title = `${t.kindLabel}: ${this._fmtMin(s)} – ${this._fmtMin(e)}`;
|
|
435
|
+
container.appendChild(el);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
r[`slots_${t.id}`].textContent =
|
|
439
|
+
pairs.length > 0
|
|
440
|
+
? `${t.kindLabel}: ${pairs.map(([s, e]) => `${this._fmtMin(s)}–${this._fmtMin(e)}`).join(' · ')}`
|
|
441
|
+
: `Keine ${t.kindLabel} aktiv`;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
if (!customElements.get('luxtronik-schedule-radar')) {
|
|
447
|
+
customElements.define('luxtronik-schedule-radar', LuxtronikScheduleRadar);
|
|
448
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifestVersion": 1,
|
|
3
|
+
"tag": "luxtronik-schedule-radar",
|
|
4
|
+
"module": "./luxtronik-schedule-radar.js",
|
|
5
|
+
"name": {
|
|
6
|
+
"en": "Luxtronik 24h Schedule Radar",
|
|
7
|
+
"de": "Luxtronik 24h-Zeitschaltuhr-Radar"
|
|
8
|
+
},
|
|
9
|
+
"size": {
|
|
10
|
+
"width": 500,
|
|
11
|
+
"height": 265
|
|
12
|
+
},
|
|
13
|
+
"settings": {
|
|
14
|
+
"type": "panel",
|
|
15
|
+
"items": {
|
|
16
|
+
"instance": {
|
|
17
|
+
"type": "instance",
|
|
18
|
+
"adapter": "luxtronik2-controller",
|
|
19
|
+
"label": {
|
|
20
|
+
"en": "Adapter instance",
|
|
21
|
+
"de": "Adapter-Instanz"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"title": {
|
|
25
|
+
"type": "text",
|
|
26
|
+
"default": "Zeitschaltprogramme (Heute)",
|
|
27
|
+
"label": {
|
|
28
|
+
"en": "Title",
|
|
29
|
+
"de": "Titel"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -17,8 +17,8 @@ const STATE_MAP = {
|
|
|
17
17
|
compressor: 'Information.03_Outputs.VD1out',
|
|
18
18
|
zipActive: 'Information.03_Outputs.Virtual_ZIP_Status',
|
|
19
19
|
hupVoltage: 'Settings.04_HUP.heating_system_circ_pump_voltage_nominal',
|
|
20
|
-
copToday: 'Information.16_Efficiency.cop_total_today',
|
|
21
|
-
jazYear: 'Information.16_Efficiency.cop_total_year',
|
|
20
|
+
copToday: 'Information.16_Efficiency.Total.cop_total_today',
|
|
21
|
+
jazYear: 'Information.16_Efficiency.Total.cop_total_year',
|
|
22
22
|
pvBoost: 'Information.17_PV_Surplus.pv_boost_active',
|
|
23
23
|
};
|
|
24
24
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "luxtronik2-controller",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.3.0": {
|
|
7
|
+
"en": "Fixed COP/JAZ datapoint paths (`Information.16_Efficiency.Total.*`) in `<luxtronik-status-card>` so daily COP and annual JAZ values populate correctly\nAdded shared Web Component base class (`luxtronik-base.js`) and two new `@iobroker/web-components` widgets for Aura, VIS-2, and WebUI:\n`<luxtronik-hydraulics-flow>`: animated hydraulics & energy flow diagram (heating, DHW, defrost reverse flow, ZWE1, dynamic inverter speed)\n`<luxtronik-dhw-tank>`: hot water tank level gauge with hysteresis recharge threshold, one-shot heating trigger, and animated ZIP countdown ring\n\nAdded five additional `@iobroker/web-components` widgets for Aura, VIS-2, and WebUI (completing the 8-widget suite):\n`<luxtronik-heatcurve-tuner>`: interactive live heating curve with hysteresis band, heating limit indicator, live operating point, and parallel offset slider with preview and apply controls\n`<luxtronik-cop-cockpit>`: COP/JAZ efficiency matrix (Total, Heating, Hot Water across Today, 7 Days, Month, Year) with live COP calculation and lifetime totals\n`<luxtronik-health-monitor>`: compressor cycle duration gauge (avg. min/cycle), context-aware active lock/delay/defrost timers, and EEPROM write cycle monitor\n`<luxtronik-schedule-radar>`: 24-hour schedule bars for heating reduction, hot water lock times, and circulation pump windows with a live time marker\n`<luxtronik-diagnostics-feed>`: switchable error log and outage history feed with firmware update banner, changelog preview, and optional Modbus error reset",
|
|
8
|
+
"de": "<luxtronik-status-card>COP/JAZ-Datenpunktpfade (`Information.16_Efficiency.Total.*`) in `` korrigiert, sodass tägliche COP- und JAZ-Werte korrekt gefüllt sind\nGemeinsame Webkomponenten-Basisklasse (`luxtronik-base.js`) und zwei neue `@iobroker /web-component`-Widgets für Aura, VIS-2 und WebUI hinzugefügt:\n`<luxtronik-hydraulics-flow>`: animiertes Hydraulik- und Energieflussdiagramm (Heizen, Warmwasser, Abtauung, ZWE1, dynamischer Umrichter)\n`<luxtronik-dhw-tank>`: Tankfüllstandsanzeige mit Hystereseschwelle, One-Shot-Heizauslöser und animiertem ZIP-Countdown-Ring\n\nFünf weitere `@iobroker /web-components` Widgets für Aura, VIS-2 und WebUI hinzugefügt (ergänzt die 8-Widget-Suite):\n`<luxtronik-heatcurve-tuner>`: interaktive Live-Heizkurve mit Hystereseband, Heizgrenzanzeige, Live-Betriebspunkt und parallelem Offset-Slider mit Vorschau und Anwenden\n`<luxtronik-cop-cockpit>`: COP/JAZ-Effizienzmatrix (Gesamt, Heizung, Warmwasser für heute, 7 Tage, Monat, Jahr) mit Live-COP-Berechnung und Gesamtwerten\n`<luxtronik-health-monitor>`: Kompressorzyklus-Dauer (avg. min/Zyklus), kontextabhängige Stop-/Abtautimer und EEPROM-Schreibzyklusmonitor\n`<luxtronik-schedule-radar>`: 24-Stunden-Zeitbalken für Heizungsreduzierung, Warmwassersperre und Umwälzpumpenfenster mit Live-Zeitanzeige\n`<luxtronik-diagnostics-feed>`: umschaltbares Fehler- und Ausfallprotokoll mit Firmware-Banner, Changelog-Vorschau und optionalem Modbus-Reset",
|
|
9
|
+
"ru": "<luxtronik-status-card>Исправлены пути к точкам данных COP/JAZ (`Information.16_Efficiency.Total.*`) в `, поэтому ежедневные значения COP и годовые значения JAZ заполняются правильно\nДобавлен общий базовый класс веб-компонентов (`luxtronik-base.js`) и два новых виджета «@iobroker /web-components» для Aura, VIS-2 и WebUI:\n`<luxtronik-hydraulics-flow>`: анимированная диаграмма гидравлики и потока энергии (отопление, ГВС, обратный поток размораживания, ZWE1, динамическая частота вращения инвертора)\n`<luxtronik-dhw-tank>`: уровнемер в резервуаре для горячей воды с порогом гистерезиса, триггером нагрева одним выстрелом и анимированным кольцом обратного отсчета ZIP\n\nДобавлено пять дополнительных виджетов «@iobroker /web-components» для Aura, VIS-2 и WebUI (дополнение к набору из 8 виджетов):\n`<luxtronik-heatcurve-tuner>`: интерактивная кривая нагрева в реальном времени с полосой гистерезиса, индикатором предела нагрева, рабочей точкой в реальном времени и ползунком параллельного смещения с элементами управления предварительным просмотром и применением\n`<luxtronik-cop-cockpit>`: Матрица эффективности COP/JAZ (общая эффективность, отопление, горячая вода за сегодня, 7 дней, месяц, год) с расчетом COP в реальном времени и итоговыми показателями срока службы\n`<luxtronik-health-monitor>`: индикатор продолжительности цикла компрессора (среднее значение мин/цикл), контекстно-зависимые таймеры активной блокировки/задержки/размораживания и монитор цикла записи EEPROM\n`<luxtronik-schedule-radar>`: 24-часовые шкалы снижения нагрева, время блокировки горячей воды и окна циркуляционных насосов с индикатором времени в реальном времени\n`<luxtronik-diagnostics-feed>`: переключаемый журнал ошибок и лента истории сбоев с баннером обновления прошивки, предварительным просмотром журнала изменений и опциональным сбросом ошибок Modbus",
|
|
10
|
+
"pt": "<luxtronik-status-card>Caminhos de dados COP/JAZ fixos (`Information.16_Efficiency.Total.*`) em `` para que os valores diários de COP e JAZ anuais\nAdicionamos a classe base compartilhada (`luxtronik-base.js`) e dois novos widgets `@iobroker /web-components` para Aura, VIS-2 e WebUI:\n`<luxtronik-hydraulics-flow>`: diagrama animado de hidráulica e energia (aquecimento, DHW, degelo reverso, ZWE1, inversor dinâmico)\n`<luxtronik-dhw-tank>`: medidor de nível de água quente com limiar de histerese, gatilho de aquecimento único e anel ZIP animado\n\nForam adicionados 5 widgets `@iobroker /web-components` para Aura, VIS-2 e WebUI (completando a suíte de 8 widgets):\n`<luxtronik-heatcurve-tuner>`: curva interativa de aquecimento ao vivo com banda de histerese, limite de aquecimento, ponto de operação e controle paralelo com controles\n`<luxtronik-cop-cockpit>`: matriz de eficiência COP/JAZ (total, aquecimento, água quente hoje, 7 dias, mês, ano) com cálculo de COP ao vivo e totais de vida\n`<luxtronik-health-monitor>`: medidor de duração do ciclo do compressor (média min/ciclo), temporizadores contextuais e monitor de ciclo de gravação EEPROM\n`<luxtronik-schedule-radar>`: barras de 24 horas para redução de aquecimento, travas de água quente e janelas com marcador de tempo real\n`<luxtronik-diagnostics-feed>`: log de erros e histórico de interrupções com banner de atualização de firmware, prévia e reset de erro Modbus opcional",
|
|
11
|
+
"nl": "<luxtronik-status-card>Vaste COP/JAZ-datapuntpaden (`Information.16_Efficiency.Total.*`) in `` zodat de dagelijkse COP- en jaarlijkse JAZ-waarden correct worden ingevuld\nGedeelde basisklasse voor webcomponenten (`luxtronik-base.js`) en twee nieuwe widgets `@iobroker /web-components` toegevoegd voor Aura, VIS-2 en WebUI:\n`<luxtronik-hydraulics-flow>`: geanimeerd stroomschema voor hydrauliek en energie (verwarming, warm water, omgekeerde ontdooiingsstroom, ZWE1, dynamisch toerental van de omvormer)\n`<luxtronik-dhw-tank>`: niveaumeter voor de warmwatertank met oplaaddrempel voor hysterese, verwarmingstrigger met één druk op de knop en geanimeerde aftelring met ritssluiting\n\nVijf extra widgets `@iobroker /web-components` toegevoegd voor Aura, VIS-2 en WebUI (waarmee de 8-widgetsuite is voltooid):\n`<luxtronik-heatcurve-tuner>`: interactieve live-verwarmingscurve met hystereseband, verwarmingsgrensindicator, actief bedieningspunt en parallelle offsetschuifregelaar met voorvertoning en bedieningselementen voor toepassen\n`<luxtronik-cop-cockpit>`: COP/JAZ-efficiëntiematrix (totaal, verwarming, warm water vandaag, 7 dagen, maand, jaar) met actuele COP-berekening en totale levensduur\n`<luxtronik-health-monitor>`: meter voor de duur van de compressorcyclus (gemiddeld min/cyclus), contextbewuste timers voor actieve vergrendeling/vertraging/ontdooiing en EEPROM-schrijfcyclusmonitor\n`<luxtronik-schedule-radar>`: tijdsbalken die 24 uur per dag geopend zijn om de verwarming te verlagen, sluitingstijden voor warm water en ramen van de circulatiepomp met een actuele tijdmarkering\n`<luxtronik-diagnostics-feed>`: omschakelbaar foutenlogboek en feed met uitvalgeschiedenis, met banner voor firmware-updates, preview van het wijzigingslogboek en optionele Modbus-foutreset",
|
|
12
|
+
"fr": "<luxtronik-status-card>Chemins de points de données COP/JAZ fixes (`Information.16_Efficiency.Total.*`) dans ``, donc les valeurs COP et JAZ annuelles sont correctement renseignées\nAjout de la classe de base partagée (luxtronik-base.js) et de deux nouveaux widgets @iobroker /web-components pour Aura, VIS-2 et WebUI :\n`<luxtronik-hydraulics-flow>` : schéma hydraulique et énergétique animé (chauffage, ECS, dégivrage inversé, ZWE1, variateur dynamique)\n`<luxtronik-dhw-tank>` : jauge de niveau du ballon d'eau chaude avec seuil de recharge par hystérésis, déclenchement du chauffage en un coup et compte à rebours animé\n\nAjout de cinq widgets « @iobroker /web-components » supplémentaires pour Aura, VIS-2 et WebUI (complétant la suite de 8 widgets) :\n`<luxtronik-heatcurve-tuner>` : courbe de chauffage interactive en direct avec bande d'hystérésis, indicateur de limite de chauffe, point de fonctionnement en temps réel et curseur de décalage parallèle avec prévisualisation et application\n`<luxtronik-cop-cockpit>` : Matrice d'efficacité COP/JAZ (total, chauffage, eau chaude aujourd'hui, 7 jours, mois, année) avec calcul du COP en direct et totaux à vie\n`<luxtronik-health-monitor>` : indicateur de durée du cycle du compresseur (min/cycle en moyenne), minuterie contextuelle active et moniteur de cycles d'écriture EEPROM\n`<luxtronik-schedule-radar>` : Barres horaires 24 heures sur 24 pour la réduction du chauffage, les temps de blocage de l'eau chaude et les vitres des circulateurs\n`<luxtronik-diagnostics-feed>` : journal des erreurs commutable et historique des pannes avec bannière de mise à jour du firmware, aperçu du changelog et réinitialisation des erreurs Modbus en option",
|
|
13
|
+
"it": "<luxtronik-status-card>Percorsi dati COP/JAZ fissi (`Information.16_Efficiency.Total.*`) in `` per i valori COP giornalieri e JAZ annuali\nAggiunta la classe base condivisa Web Component (`luxtronik-base.js`) e due nuovi widget @iobroker /web-components per Aura, VIS-2 e WebUI:\n`<luxtronik-hydraulics-flow>`: diagramma animato di idraulica ed energia (riscaldamento, ACS, defrost reverse flow, ZWE1, inverter dinamico)\n`<luxtronik-dhw-tank>`: indicatore del livello del serbatoio con soglia di ricarica per isteresi, riscaldamento istantaneo e conto alla rovescia animato\n\nAggiunti altri cinque widget `@iobroker /web-components` per Aura, VIS-2 e WebUI (completando la suite da 8 widget):\n`<luxtronik-heatcurve-tuner>`: curva di riscaldamento interattiva in tempo reale con banda di isteresi, limite di calore, punto operativo live e cursore parallelo con anteprima e comandi\n`<luxtronik-cop-cockpit>`: matrice di efficienza COP/JAZ (totale, riscaldamento, acqua calda oggi, 7 giorni, mese, anno) con calcolo del COP in tempo reale e durata\n`<luxtronik-health-monitor>`: indicatore della durata del ciclo del compressore (min media/ciclo), timer contestuali attivi e monitor del ciclo di scrittura EEPROM\n`<luxtronik-schedule-radar>`: barre orarie 24 ore su 24 per la riduzione del riscaldamento, acqua calda e finestre per pompe di circolazione\n`<luxtronik-diagnostics-feed>`: registro errori e interruzioni commutabile con banner di aggiornamento del firmware, anteprima e reset Modbus opzionale",
|
|
14
|
+
"es": "<luxtronik-status-card>Rutas de puntos de datos COP/JAZ fijas (`Inform.16_Efficiency.Total.*`) en `` para que los valores diarios de COP y JAZ anuales se rellenen correctamente\nSe ha añadido la clase base de componentes web compartida (`luxtronik-base.js) y dos nuevos widgets `@iobroker /web-components` para Aura, VIS-2 y WebUI:\n`<luxtronik-hydraulics-flow>`: diagrama animado de hidráulica y flujo de energía (calefacción, ACS, deshielo, flujo inverso, ZWE1, inversor dinámico)\n`<luxtronik-dhw-tank>`: indicador de nivel de tanque de agua caliente con umbral de recarga por histéresis, disparador de calentamiento de un tiro y anillo animado de cuenta regresiva\n\nSe han añadido cinco widgets `@iobroker /web-components` adicionales para Aura, VIS-2 y WebUI (completando la suite de 8 widgets):\n`<luxtronik-heatcurve-tuner>`: curva de calentamiento en vivo interactiva con banda de histéresis, indicador de límite de calor, punto de operación en vivo y control de desfase paralelo con controles de vista previa y aplicación\n`<luxtronik-cop-cockpit>`: Matriz de eficiencia COP/JAZ (total, calefacción, agua caliente hoy, 7 días, mes, año) con cálculo de COP en vivo y totales de por vida\n`<luxtronik-health-monitor>`: indicador de duración del ciclo del compresor (media min/ciclo), temporizadores de bloqueo, retraso y descongelación activos según el contexto y monitor de ciclo de escritura EEPROM\n`<luxtronik-schedule-radar>`: barras de 24 horas para reducir la calefacción, bloquear el agua caliente y ventanas de la bomba de circulación con un marcador de hora en vivo\n`<luxtronik-diagnostics-feed>`: registro de errores e historial de cortes intercambiables con anuncio de actualización del firmware, vista previa de cambios y restablecimiento de errores de Modbus opcional",
|
|
15
|
+
"pl": "<luxtronik-status-card>Naprawiono ścieżki punktów danych COP/JAZ (`Information.16_Efficiency.Total.*`) w `, tak aby dzienne wartości COP i roczne JAZ były wypełniane poprawnie\nDodano współdzieloną klasę bazową Web Component (`luxtronik-base.js) oraz dwa nowe widżety `@iobroker /web-components` dla Aura, VIS-2 i WebUI:\n`<luxtronik-hydraulics-flow>`: animowana hydraulika i schemat przepływu energii (ogrzewanie, CWU, przepływ wsteczny rozmrażania, ZWE1, dynamiczna prędkość falownika)\n<luxtronik-dhw-tank>`: wskaźnik poziomu zbiornika ciepłej wody z progiem ładowania histerezy, wyzwalaczem nagrzewania za jednym strzałem i animowanym pierścieniem odliczającym ZIP\n\nDodano pięć dodatkowych widżetów „@iobroker /web-components” dla Aura, VIS-2 i WebUI (uzupełniając pakiet 8 widgetów):\n`<luxtronik-heatcurve-tuner>`: interaktywna krzywa ogrzewania na żywo z pasmem histerezy, wskaźnikiem granicy ogrzewania, punktem pracy pod napięciem i równoległym suwakiem przesunięcia z kontrolkami podglądu i zastosowania\n`<luxtronik-cop-cockpit>`: Macierz wydajności COP/JAZ (ogółem, ogrzewanie, ciepła woda w dniu dzisiejszym, 7 dni, miesiąc, rok) z obliczeniami COP na żywo i sumy żywotności\n<luxtronik-health-monitor>`: miernik czasu trwania cyklu sprężarki (śr. min/cykl), aktywne czasy blokady, opóźnienia/rozmrażania z uwzględnieniem kontekstu oraz monitor cyklu zapisu EEPROM\n<luxtronik-schedule-radar>`: 24-godzinne paski harmonogramu redukcji ogrzewania, czasy blokady ciepłej wody i okna pompy cyrkulacyjnej ze znacznikiem czasu pracy\n`<luxtronik-diagnostics-feed>`: przełączalny dziennik błędów i kanał historii awarii z banerem aktualizacji oprogramowania układowego, podglądem dziennika zmian i opcjonalnym resetowaniem błędów Modbus",
|
|
16
|
+
"uk": "<luxtronik-status-card>Виправлені шляхи координат даних COP/JAZ (`Information.16_Efficiency.Total.*`) у ``, тому щоденні значення COP та річні JAZ заповнюються правильно\nДодано спільний базовий клас веб-компонента (`luxtronik-base.js`) та два нових віджети `@iobroker /web-components` для Aura, VIS-2 та WebUI:\n`<luxtronik-hydraulics-flow>`: анімована схема гідравліки та енергетичного потоку (опалення, ГВП, зворотний потік розморожування, ZWE1, динамічна швидкість інвертора)\n`<luxtronik-dhw-tank>`: вимірювач рівня резервуара для гарячої води з порогом зарядки гістерезису, одноразовим спусковим гачком нагріву та анімованим кільцем зворотного відліку ZIP\n\nДодано п'ять додаткових віджетів `@iobroker /web-components` для Aura, VIS-2 та WebUI (доповнення набору 8-віджетів):\n`<luxtronik-heatcurve-tuner>`: інтерактивна крива нагріву в режимі реального часу з смугою гістерезису, індикатором межі нагрівання, робочою точкою в режимі реального часу та повзунком паралельного зміщення з попереднім переглядом та застосуванням елементів керування\n`<luxtronik-cop-cockpit>`: Матриця ефективності COP/JAZ (загальна, опалення, гаряча вода протягом сьогоднішнього дня, 7 днів, місяця, року) з розрахунком COP в реальному часі та підсумками терміну служби\n`<luxtronik-health-monitor>`: індикатор тривалості циклу компресора (середн. хв/цикл), контекстно-орієнтовані таймери активного блокування/затримання/розморожування та монітор циклу запису EEPROM\n`<luxtronik-schedule-radar>`: 24-годинні плани для скорочення опалення, час блокування гарячої води та вікна циркуляційного насоса з індикатором реального часу\n`<luxtronik-diagnostics-feed>`: перемикається журнал помилок та стрічка історії збоїв із банером оновлення мікропрограми, попереднім переглядом журналу змін та додатковим скиданням помилок Modbus",
|
|
17
|
+
"zh-cn": "<luxtronik-status-card>修复了 ``中的 COP/JAZ 数据点路径(`Information.16_Efficiency.Total.*`),因此每日 COP 和年度 JAZ 值可以正确填充\n为 Aura、VIS-2 和 WebUI 添加了共享的 Web 组件基类(`luxtronik-base.js`)和两个新的 @iobroker /web-components 插件:\n`<luxtronik-hydraulics-flow>`:动画液压和能量流程图(加热、DHW、除霜反向流、ZWE1、动态逆变器速度)\n`<luxtronik-dhw-tank>`:带有滞后再充值阈值的热水箱液位计、一键式加热触发器和动画 ZIP 倒计时环\n\n为 Aura、VIS-2 和 WebUI 添加了另外五个 “@iobroker /web-components” 小部件(完善了 8 个小部件套件):\n`<luxtronik-heatcurve-tuner>`:交互式实时加热曲线,带滞后频带、加热极限指示器、实时操作点和带有预览和应用控件的平行偏移滑块\n<luxtronik-cop-cockpit>`:COP/JAZ 效率矩阵(当天、7 天、月、年)的总计、供暖、热水),包含实时 COP 计算和生命周期总计\n<luxtronik-health-monitor>`:压缩机循环持续时间计(平均分钟/周期)、上下文感知的主动锁定/延迟/除霜计时器和 EEPROM 写入周期监视器\n`<luxtronik-schedule-radar>`:24 小时计划栏,用于减少供暖、热水锁定时间和带有实时时间标记的循环泵窗口\n`<luxtronik-diagnostics-feed>`:可切换的错误日志和中断历史记录源,包括固件更新标题、变更日志预览和可选的 Modbus 错误重置"
|
|
18
|
+
},
|
|
6
19
|
"1.2.1": {
|
|
7
20
|
"en": "Fixed `temperature_target_return` being overwritten with `35.0 °C` in SHI Modbus mode when `sync_modbus_holding_1` (`10060`, room thermostat target) is enabled by removing the duplicate Modbus mapping from `src/mapping/info.ts`\nCleaned up SHI holding register mapping in `src/modbusManager.ts` and added an SHI mode check (`10000 === 1`) when reading register `10001` for `heating_flow_out_temperature_target` (`sync_modbus_holding_2`) so its inactive `35.0 °C` default does not overwrite `P0017`",
|
|
8
21
|
"de": "Es wurde behoben, dass `temperature_target_return` im SHI Modbus-Modus mit `35,0 °C` überschrieben wurde, wenn `sync_modbus_holding_1` (`10060`, Raumthermostat-Target) aktiviert war, indem das Modbus-Mapping aus `src/mapping/info.ts` entfernt wurde\nDie HI-Halteregister-Zuordnung in `src/ModbusManager.ts` wurde bereinigt und beim Lesen von `10001` für `heating_flow_out_temperature_target` (`sync_modbus_holding_2`) geprüft, sodass der inaktive Standard `35,0 °C` nicht überschreibt",
|
|
@@ -80,19 +93,6 @@
|
|
|
80
93
|
"pl": "Naprawiono dzienny reset COP w „CopManager.ts”, dzięki czemu wartości ogrzewania i ciepłej wody zresetowały się do `0` po północy aż do rozpoczęcia aktywnego cyklu",
|
|
81
94
|
"uk": "Виправлено щоденне скидання COP в `CopManager.ts`, тому значення опалення та гарячої води скидаються до `0` після півночі, поки не почнеться активний цикл",
|
|
82
95
|
"zh-cn": "修复了 `copManager.ts` 中的每日 COP 重置问题,因此在活动周期开始之前,暖气和热水的值会在午夜之后重置为 “0”"
|
|
83
|
-
},
|
|
84
|
-
"1.0.2": {
|
|
85
|
-
"en": "Fixed `node:` protocol imports (`node:fs`, `node:path`) and repository checker lint issues\nCompleted and synchronized i18n translations across all supported languages\nFixed `jsonConfig` label keys in `generateConfig.ts` to prevent inline language object overrides during build",
|
|
86
|
-
"de": "Probleme mit `Node: `Protokollimporten (`node:fs`, `node:path`) und Repository-Checker-Lint behoben\nFertige und synchronisierte i18n-Übersetzungen in allen Sprachen\n`JSONConfig`-Labelschlüssel in `generateConfig.ts` gefixt, um Sprachüberschreibungen beim Build zu verhindern",
|
|
87
|
-
"ru": "Исправлены проблемы с импортом протоколов «node:» (`node:fs`, `node:path`) и линтом для проверки репозитория\nЗавершенные и синхронизированные переводы i18n на все поддерживаемые языки\nИсправлены ключи надписей JsonConfig в `generateConfig.ts` для предотвращения переопределения встроенных языковых объектов во время сборки",
|
|
88
|
-
"pt": "Corrigidos problemas de importação de protocolos `node: `(`node:fs`, `node:path`) e do repositório\nTraduções i18n concluídas e sincronizadas em todos os idiomas aceitos\nCorrigido o rótulo `jsonConfig` em `generateConfig.ts` para evitar a substituição de objetos na compilação",
|
|
89
|
-
"nl": "Problemen met de import van het protocol van `node: `(`node:fs`, `node:path`) en problemen met de repository checker opgelost\nVoltooide en gesynchroniseerde i18n-vertalingen in alle ondersteunde talen\nLabelsleutels van `JSONConfig` opgelost in `GenerateConfig.ts` om te voorkomen dat tijdens het bouwen inline-taalobjecten worden overschreven",
|
|
90
|
-
"fr": "Correction de problèmes d'import de protocoles « node : » (« node:fs », « node:path ») et de lint dans Repository Checker\nTraductions i18n terminées et synchronisées dans toutes les langues prises en charge\nCorrection des clés de label « JSONConfig » dans « GenerateConfig.ts » pour empêcher le remplacement d'objets en ligne",
|
|
91
|
-
"it": "Risolti i problemi di importazione del protocollo node: (node:fs, node:path) e Repository Checker\nTraduzioni i18n completate e sincronizzate in tutte le lingue supportate\nRisolte le chiavi `JsonConfig` in `GenerateConfig.ts` per evitare l'override degli oggetti in linea",
|
|
92
|
-
"es": "Se corrigieron problemas de lint en `node: `protocol import (`node:fs`, `node:path) y repository checker\nTraducciones i18n completadas y sincronizadas en todos los idiomas admitidos\nSe corrigieron las claves de etiqueta «JsonConfig» en «GenerateConfig.ts» para evitar que los objetos del lenguaje en línea",
|
|
93
|
-
"pl": "Naprawiono problemy z importem protokołu `node: `(`node:fs`, `node:path`) i kontrolera repozytorium\nUkończone i zsynchronizowane tłumaczenia i18n we wszystkich obsługiwanych językach\nNaprawiono klawisze etykiet `JSONConfig` w `GenerateConfig.ts`, aby zapobiec nadpisaniom obiektów w języku wbudowanym podczas kompilacji",
|
|
94
|
-
"uk": "Виправлено імпорт протоколу `node: `(`node:fs`, `node:path`) та проблеми з перевіркою сховища\nЗавершені та синхронізовані переклади i18n на всіх підтримуваних мовах\nВиправлені ключі міток `JsonConfig` у `GenerateConfig.ts` для запобігання перекриттю вбудованих мовних об'єктів під час збирання",
|
|
95
|
-
"zh-cn": "修复了 `node: `协议导入(`node: fs`、`node: path`)和存储库检查器 lint 问题\n已完成并同步所有支持语言的 i18n 翻译\n修复了 generateConfig.ts 中的 `jsonConfig` 标签键,以防止在构建期间覆盖行内语言对象"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -155,7 +155,14 @@
|
|
|
155
155
|
"config": "json"
|
|
156
156
|
},
|
|
157
157
|
"webComponents": [
|
|
158
|
-
"webcomponents/luxtronik-status-card.json"
|
|
158
|
+
"webcomponents/luxtronik-status-card.json",
|
|
159
|
+
"webcomponents/luxtronik-hydraulics-flow.json",
|
|
160
|
+
"webcomponents/luxtronik-dhw-tank.json",
|
|
161
|
+
"webcomponents/luxtronik-heatcurve-tuner.json",
|
|
162
|
+
"webcomponents/luxtronik-cop-cockpit.json",
|
|
163
|
+
"webcomponents/luxtronik-health-monitor.json",
|
|
164
|
+
"webcomponents/luxtronik-schedule-radar.json",
|
|
165
|
+
"webcomponents/luxtronik-diagnostics-feed.json"
|
|
159
166
|
],
|
|
160
167
|
"dependencies": [
|
|
161
168
|
{
|