iobroker.luxtronik2-controller 1.2.1 → 1.3.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 +21 -16
- package/admin/jsonConfig.json +50 -6
- 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 +505 -0
- package/admin/webcomponents/luxtronik-dhw-tank.json +42 -0
- package/admin/webcomponents/luxtronik-diagnostics-feed.js +431 -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/build/mapping/info.js +2 -0
- package/build/mapping/info.js.map +2 -2
- package/build/pvManager.js +31 -17
- package/build/pvManager.js.map +2 -2
- package/io-package.json +39 -29
- package/package.json +2 -2
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <luxtronik-diagnostics-feed>
|
|
3
|
+
* Event-Timeline für Fehlerspeicher, Abschaltungen und Firmware-Update-Benachrichtigungen
|
|
4
|
+
* für `@iobroker/web-components`.
|
|
5
|
+
*/
|
|
6
|
+
import { LuxtronikBaseCard } from './luxtronik-base.js';
|
|
7
|
+
|
|
8
|
+
class LuxtronikDiagnosticsFeed extends LuxtronikBaseCard {
|
|
9
|
+
static get stateMap() {
|
|
10
|
+
return {
|
|
11
|
+
errors: 'Information.06_ErrorLog.Fehlerspeicher',
|
|
12
|
+
outages: 'Information.07_Outages.Abschaltungen',
|
|
13
|
+
hpType: 'Information.12_SystemInfo.heatpump_type',
|
|
14
|
+
firmware: 'Information.12_SystemInfo.firmware',
|
|
15
|
+
fwAvailable: 'Information.12_SystemInfo.firmware_available',
|
|
16
|
+
fwUpdate: 'Information.12_SystemInfo.firmware_update_available',
|
|
17
|
+
fwChangelog: 'Information.12_SystemInfo.firmware_changelog',
|
|
18
|
+
connected: 'info.connection',
|
|
19
|
+
lastUpdate: 'info.lastUpdate',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static get actionMap() {
|
|
24
|
+
return {
|
|
25
|
+
'check-fw': 'Information.12_SystemInfo.check_firmware',
|
|
26
|
+
'reset-error': 'Actions.error_reset',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
this._activeTab = 'errors';
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_parseList(raw) {
|
|
36
|
+
if (!raw) {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
let parsed = raw;
|
|
40
|
+
if (typeof raw === 'string') {
|
|
41
|
+
try {
|
|
42
|
+
parsed = JSON.parse(raw);
|
|
43
|
+
} catch {
|
|
44
|
+
return raw.trim() ? [{ time: '', code: '', text: raw.trim() }] : [];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (!Array.isArray(parsed)) {
|
|
48
|
+
return [];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const TIME_KEYS = new Set(['date', 'time', 'timestamp', 'datum', 'zeit', 'ts']);
|
|
52
|
+
const CODE_KEYS = new Set(['code', 'id', 'nr', 'number', 'errorcode']);
|
|
53
|
+
|
|
54
|
+
return parsed
|
|
55
|
+
.map(item => {
|
|
56
|
+
if (typeof item === 'string') {
|
|
57
|
+
return { time: '', code: '', text: item };
|
|
58
|
+
}
|
|
59
|
+
if (!item || typeof item !== 'object') {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const time =
|
|
64
|
+
item.date ??
|
|
65
|
+
item.time ??
|
|
66
|
+
item.timestamp ??
|
|
67
|
+
item.datum ??
|
|
68
|
+
item.zeit ??
|
|
69
|
+
item.Zeit ??
|
|
70
|
+
item.Datum ??
|
|
71
|
+
'';
|
|
72
|
+
const code = item.code ?? item.id ?? item.Code ?? item.nr ?? '';
|
|
73
|
+
let text =
|
|
74
|
+
item.message ??
|
|
75
|
+
item.text ??
|
|
76
|
+
item.reason ??
|
|
77
|
+
item.description ??
|
|
78
|
+
item.desc ??
|
|
79
|
+
item.name ??
|
|
80
|
+
item.label ??
|
|
81
|
+
item.title ??
|
|
82
|
+
item.error ??
|
|
83
|
+
item.meldung ??
|
|
84
|
+
item.grund ??
|
|
85
|
+
item.Grund ??
|
|
86
|
+
item.Fehler ??
|
|
87
|
+
'';
|
|
88
|
+
|
|
89
|
+
// Fallback: erstes nicht-leeres String-Feld nehmen, das weder Zeit noch Code ist
|
|
90
|
+
if (!String(text || '').trim()) {
|
|
91
|
+
for (const [k, val] of Object.entries(item)) {
|
|
92
|
+
const lk = k.toLowerCase();
|
|
93
|
+
if (!TIME_KEYS.has(lk) && !CODE_KEYS.has(lk) && typeof val === 'string' && val.trim() !== '') {
|
|
94
|
+
text = val;
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
const textStr = String(text || '').trim();
|
|
101
|
+
const codeStr = code !== '' && code !== null && code !== undefined ? String(code) : '';
|
|
102
|
+
const timeStr =
|
|
103
|
+
typeof time === 'number' && time > 1000000000
|
|
104
|
+
? new Date(time > 1e12 ? time : time * 1000).toLocaleString('de-DE')
|
|
105
|
+
: String(time || '').trim();
|
|
106
|
+
|
|
107
|
+
if (!textStr && !codeStr && !timeStr) {
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
return { time: timeStr, code: codeStr, text: textStr || `Code #${codeStr}` };
|
|
111
|
+
})
|
|
112
|
+
.filter(Boolean);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
_renderBase() {
|
|
116
|
+
const tpl = document.createElement('template');
|
|
117
|
+
tpl.innerHTML = `
|
|
118
|
+
<style>
|
|
119
|
+
:host {
|
|
120
|
+
--lux-surface: rgba(127, 127, 127, 0.11);
|
|
121
|
+
--lux-border: rgba(127, 127, 127, 0.24);
|
|
122
|
+
--lux-ok: #22c55e;
|
|
123
|
+
--lux-warn: #f59e0b;
|
|
124
|
+
--lux-bad: #ef4444;
|
|
125
|
+
--lux-info: #3b82f6;
|
|
126
|
+
display: block;
|
|
127
|
+
width: 100%;
|
|
128
|
+
height: 100%;
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
font-family: inherit;
|
|
131
|
+
color: inherit;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.card {
|
|
135
|
+
width: 100%;
|
|
136
|
+
height: 100%;
|
|
137
|
+
box-sizing: border-box;
|
|
138
|
+
display: flex;
|
|
139
|
+
flex-direction: column;
|
|
140
|
+
gap: 8px;
|
|
141
|
+
padding: 12px;
|
|
142
|
+
overflow: hidden;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.header {
|
|
146
|
+
display: flex;
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
align-items: flex-start;
|
|
149
|
+
gap: 8px;
|
|
150
|
+
flex-wrap: wrap;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.title-row { display: flex; align-items: center; gap: 7px; }
|
|
154
|
+
.conn-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lux-bad); flex-shrink: 0; }
|
|
155
|
+
.conn-dot.online { background: var(--lux-ok); }
|
|
156
|
+
.title { font-size: 0.98rem; font-weight: 600; }
|
|
157
|
+
.subtitle { font-size: 0.73rem; opacity: 0.72; margin-top: 2px; }
|
|
158
|
+
|
|
159
|
+
.head-actions { display: flex; gap: 6px; }
|
|
160
|
+
|
|
161
|
+
.btn {
|
|
162
|
+
background: var(--lux-surface);
|
|
163
|
+
color: inherit;
|
|
164
|
+
border: 1px solid var(--lux-border);
|
|
165
|
+
border-radius: 7px;
|
|
166
|
+
padding: 4px 8px;
|
|
167
|
+
font-size: 0.72rem;
|
|
168
|
+
font-weight: 600;
|
|
169
|
+
cursor: pointer;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.btn:hover { border-color: var(--lux-info); background: rgba(59, 130, 246, 0.15); }
|
|
173
|
+
.btn.danger:hover { border-color: var(--lux-bad); background: rgba(239, 68, 68, 0.15); }
|
|
174
|
+
.hidden { display: none !important; }
|
|
175
|
+
|
|
176
|
+
.fw-banner {
|
|
177
|
+
background: rgba(59, 130, 246, 0.14);
|
|
178
|
+
border: 1px solid rgba(59, 130, 246, 0.42);
|
|
179
|
+
border-radius: 9px;
|
|
180
|
+
padding: 7px 10px;
|
|
181
|
+
font-size: 0.76rem;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.fw-banner summary {
|
|
185
|
+
cursor: pointer;
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
color: #60a5fa;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.fw-changelog {
|
|
191
|
+
margin-top: 6px;
|
|
192
|
+
white-space: pre-wrap;
|
|
193
|
+
font-size: 0.72rem;
|
|
194
|
+
opacity: 0.88;
|
|
195
|
+
max-height: 70px;
|
|
196
|
+
overflow: auto;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.tabs {
|
|
200
|
+
display: flex;
|
|
201
|
+
gap: 6px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.tab {
|
|
205
|
+
flex: 1;
|
|
206
|
+
background: var(--lux-surface);
|
|
207
|
+
color: inherit;
|
|
208
|
+
border: 1px solid var(--lux-border);
|
|
209
|
+
border-radius: 8px;
|
|
210
|
+
padding: 5px 8px;
|
|
211
|
+
font-size: 0.76rem;
|
|
212
|
+
font-weight: 600;
|
|
213
|
+
cursor: pointer;
|
|
214
|
+
opacity: 0.75;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.tab.active {
|
|
218
|
+
opacity: 1;
|
|
219
|
+
border-color: var(--lux-info);
|
|
220
|
+
background: rgba(59, 130, 246, 0.15);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.feed {
|
|
224
|
+
flex: 1;
|
|
225
|
+
min-height: 0;
|
|
226
|
+
overflow: auto;
|
|
227
|
+
display: flex;
|
|
228
|
+
flex-direction: column;
|
|
229
|
+
gap: 6px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.item {
|
|
233
|
+
background: var(--lux-surface);
|
|
234
|
+
border: 1px solid var(--lux-border);
|
|
235
|
+
border-left-width: 3px;
|
|
236
|
+
border-radius: 8px;
|
|
237
|
+
padding: 7px 9px;
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-direction: column;
|
|
240
|
+
gap: 2px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.item.type-error { border-left-color: var(--lux-bad); }
|
|
244
|
+
.item.type-outage { border-left-color: var(--lux-warn); }
|
|
245
|
+
|
|
246
|
+
.item-top {
|
|
247
|
+
display: flex;
|
|
248
|
+
justify-content: space-between;
|
|
249
|
+
align-items: center;
|
|
250
|
+
gap: 8px;
|
|
251
|
+
font-size: 0.71rem;
|
|
252
|
+
opacity: 0.72;
|
|
253
|
+
font-variant-numeric: tabular-nums;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.item-code {
|
|
257
|
+
font-weight: 700;
|
|
258
|
+
padding: 1px 5px;
|
|
259
|
+
border-radius: 4px;
|
|
260
|
+
background: rgba(127, 127, 127, 0.22);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.item-text {
|
|
264
|
+
font-size: 0.8rem;
|
|
265
|
+
font-weight: 500;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.empty {
|
|
269
|
+
flex: 1;
|
|
270
|
+
display: flex;
|
|
271
|
+
align-items: center;
|
|
272
|
+
justify-content: center;
|
|
273
|
+
font-size: 0.8rem;
|
|
274
|
+
opacity: 0.65;
|
|
275
|
+
background: var(--lux-surface);
|
|
276
|
+
border: 1px dashed var(--lux-border);
|
|
277
|
+
border-radius: 9px;
|
|
278
|
+
padding: 16px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.footer {
|
|
282
|
+
display: flex;
|
|
283
|
+
justify-content: space-between;
|
|
284
|
+
font-size: 0.71rem;
|
|
285
|
+
opacity: 0.68;
|
|
286
|
+
padding-top: 4px;
|
|
287
|
+
border-top: 1px solid var(--lux-border);
|
|
288
|
+
font-variant-numeric: tabular-nums;
|
|
289
|
+
}
|
|
290
|
+
</style>
|
|
291
|
+
|
|
292
|
+
<div class="card">
|
|
293
|
+
<div class="header">
|
|
294
|
+
<div>
|
|
295
|
+
<div class="title-row">
|
|
296
|
+
<span class="conn-dot" data-ref="connDot"></span>
|
|
297
|
+
<span class="title" data-ref="title">Diagnose & Meldungen</span>
|
|
298
|
+
</div>
|
|
299
|
+
<div class="subtitle" data-ref="sysInfo">–</div>
|
|
300
|
+
</div>
|
|
301
|
+
<div class="head-actions">
|
|
302
|
+
<button class="btn" type="button" data-action="check-fw" title="Nach Firmware-Update suchen">FW prüfen</button>
|
|
303
|
+
<button class="btn danger hidden" type="button" data-action="reset-error" data-ref="resetBtn">Fehler-Reset</button>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
|
|
307
|
+
<details class="fw-banner hidden" data-ref="fwBanner">
|
|
308
|
+
<summary data-ref="fwSummary">Firmware-Update verfügbar</summary>
|
|
309
|
+
<div class="fw-changelog" data-ref="fwChangelog"></div>
|
|
310
|
+
</details>
|
|
311
|
+
|
|
312
|
+
<div class="tabs">
|
|
313
|
+
<button class="tab active" type="button" data-ref="tabErrors">Fehlerspeicher (0)</button>
|
|
314
|
+
<button class="tab" type="button" data-ref="tabOutages">Abschaltungen (0)</button>
|
|
315
|
+
</div>
|
|
316
|
+
|
|
317
|
+
<div class="feed" data-ref="feed"></div>
|
|
318
|
+
|
|
319
|
+
<div class="footer">
|
|
320
|
+
<span data-ref="connText">Getrennt</span>
|
|
321
|
+
<span data-ref="lastUpdateText">Letzter Abruf: –</span>
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
`;
|
|
325
|
+
this.shadowRoot.appendChild(tpl.content.cloneNode(true));
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
_collectRefs() {
|
|
329
|
+
super._collectRefs();
|
|
330
|
+
const r = this._refs;
|
|
331
|
+
if (!r.tabErrors) {
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
r.tabErrors.addEventListener('click', () => {
|
|
335
|
+
this._activeTab = 'errors';
|
|
336
|
+
this._updateView();
|
|
337
|
+
});
|
|
338
|
+
r.tabOutages.addEventListener('click', () => {
|
|
339
|
+
this._activeTab = 'outages';
|
|
340
|
+
this._updateView();
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
_updateView() {
|
|
345
|
+
const r = this._refs;
|
|
346
|
+
if (!r.title) {
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
const v = this._values;
|
|
351
|
+
const online = this._toBool(v.connected);
|
|
352
|
+
const errorList = this._parseList(v.errors);
|
|
353
|
+
const outageList = this._parseList(v.outages);
|
|
354
|
+
|
|
355
|
+
r.title.textContent = this._settings?.title || 'Diagnose & Meldungen';
|
|
356
|
+
r.connDot.classList.toggle('online', online);
|
|
357
|
+
r.connText.textContent = online ? 'Verbunden' : 'Keine Verbindung';
|
|
358
|
+
|
|
359
|
+
const typeStr = v.hpType ? String(v.hpType) : 'Wärmepumpe';
|
|
360
|
+
const fwStr = v.firmware ? `FW ${v.firmware}` : 'FW –';
|
|
361
|
+
r.sysInfo.textContent = `${typeStr} · ${fwStr}`;
|
|
362
|
+
r.resetBtn.classList.toggle('hidden', this._settings?.showResetButton !== true);
|
|
363
|
+
|
|
364
|
+
// Firmware-Update-Banner
|
|
365
|
+
const hasUpdate = this._toBool(v.fwUpdate);
|
|
366
|
+
r.fwBanner.classList.toggle('hidden', !hasUpdate);
|
|
367
|
+
if (hasUpdate) {
|
|
368
|
+
r.fwSummary.textContent = `Neues Firmware-Update verfügbar: ${v.fwAvailable || 'neu'}`;
|
|
369
|
+
r.fwChangelog.textContent = v.fwChangelog ? String(v.fwChangelog) : 'Kein Changelog hinterlegt.';
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Tabs aktualisieren
|
|
373
|
+
r.tabErrors.textContent = `Fehlerspeicher (${errorList.length})`;
|
|
374
|
+
r.tabOutages.textContent = `Abschaltungen (${outageList.length})`;
|
|
375
|
+
r.tabErrors.classList.toggle('active', this._activeTab === 'errors');
|
|
376
|
+
r.tabOutages.classList.toggle('active', this._activeTab === 'outages');
|
|
377
|
+
|
|
378
|
+
// Feed-Einträge sicher über DOM-Nodes aufbauen
|
|
379
|
+
const feed = r.feed;
|
|
380
|
+
while (feed.firstChild) {
|
|
381
|
+
feed.removeChild(feed.firstChild);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
const activeList = this._activeTab === 'errors' ? errorList : outageList;
|
|
385
|
+
const itemCls = this._activeTab === 'errors' ? 'type-error' : 'type-outage';
|
|
386
|
+
|
|
387
|
+
if (activeList.length === 0) {
|
|
388
|
+
const empty = document.createElement('div');
|
|
389
|
+
empty.className = 'empty';
|
|
390
|
+
empty.textContent =
|
|
391
|
+
this._activeTab === 'errors' ? 'Keine Fehler im Speicher' : 'Keine Abschaltungen gespeichert';
|
|
392
|
+
feed.appendChild(empty);
|
|
393
|
+
} else {
|
|
394
|
+
for (const entry of activeList) {
|
|
395
|
+
const row = document.createElement('div');
|
|
396
|
+
row.className = `item ${itemCls}`;
|
|
397
|
+
|
|
398
|
+
const top = document.createElement('div');
|
|
399
|
+
top.className = 'item-top';
|
|
400
|
+
|
|
401
|
+
const timeEl = document.createElement('span');
|
|
402
|
+
timeEl.textContent = entry.time || '–';
|
|
403
|
+
top.appendChild(timeEl);
|
|
404
|
+
|
|
405
|
+
if (entry.code) {
|
|
406
|
+
const codeEl = document.createElement('span');
|
|
407
|
+
codeEl.className = 'item-code';
|
|
408
|
+
codeEl.textContent = `#${entry.code}`;
|
|
409
|
+
top.appendChild(codeEl);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
const textEl = document.createElement('div');
|
|
413
|
+
textEl.className = 'item-text';
|
|
414
|
+
textEl.textContent = entry.text;
|
|
415
|
+
|
|
416
|
+
row.appendChild(top);
|
|
417
|
+
row.appendChild(textEl);
|
|
418
|
+
feed.appendChild(row);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
// Letzter Abruf
|
|
423
|
+
const ts = this._toNum(v.lastUpdate);
|
|
424
|
+
r.lastUpdateText.textContent =
|
|
425
|
+
ts && ts > 0 ? `Abruf: ${new Date(ts).toLocaleTimeString('de-DE')}` : 'Letzter Abruf: –';
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
if (!customElements.get('luxtronik-diagnostics-feed')) {
|
|
430
|
+
customElements.define('luxtronik-diagnostics-feed', LuxtronikDiagnosticsFeed);
|
|
431
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifestVersion": 1,
|
|
3
|
+
"tag": "luxtronik-diagnostics-feed",
|
|
4
|
+
"module": "./luxtronik-diagnostics-feed.js",
|
|
5
|
+
"name": {
|
|
6
|
+
"en": "Luxtronik Diagnostics & Error Feed",
|
|
7
|
+
"de": "Luxtronik Diagnose- & Störungs-Feed"
|
|
8
|
+
},
|
|
9
|
+
"size": {
|
|
10
|
+
"width": 460,
|
|
11
|
+
"height": 310
|
|
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": "Diagnose & Meldungen",
|
|
27
|
+
"label": {
|
|
28
|
+
"en": "Title",
|
|
29
|
+
"de": "Titel"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"showResetButton": {
|
|
33
|
+
"type": "checkbox",
|
|
34
|
+
"default": false,
|
|
35
|
+
"label": {
|
|
36
|
+
"en": "Show Modbus error reset button",
|
|
37
|
+
"de": "Modbus Fehler-Reset-Button anzeigen"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|