iobroker.luxtronik2-controller 0.5.3 → 0.6.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.
@@ -23,6 +23,10 @@ __export(stateMapping_exports, {
23
23
  getLuxIdByKey: () => getLuxIdByKey
24
24
  });
25
25
  module.exports = __toCommonJS(stateMapping_exports);
26
+ const switchStates = {
27
+ en: { 0: "Off", 1: "On" },
28
+ de: { 0: "Aus", 1: "Ein" }
29
+ };
26
30
  const STATE_MAPPING = {
27
31
  // ==========================================
28
32
  // Information & Values (Read-only)
@@ -202,7 +206,7 @@ const STATE_MAPPING = {
202
206
  name: "Defrost end switch ASD",
203
207
  role: "value",
204
208
  type: "number",
205
- states: { 0: "Off", 1: "On" },
209
+ states: switchStates,
206
210
  luxWriteId: "29",
207
211
  dataSource: "raw_value"
208
212
  },
@@ -211,7 +215,7 @@ const STATE_MAPPING = {
211
215
  name: "Utility block EVU",
212
216
  role: "value",
213
217
  type: "number",
214
- states: { 0: "Off", 1: "On" },
218
+ states: switchStates,
215
219
  luxWriteId: "31",
216
220
  dataSource: "raw_value"
217
221
  },
@@ -220,7 +224,7 @@ const STATE_MAPPING = {
220
224
  name: "High pressure switch HD",
221
225
  role: "value",
222
226
  type: "number",
223
- states: { 0: "Off", 1: "On" },
227
+ states: switchStates,
224
228
  luxWriteId: "32",
225
229
  dataSource: "raw_value"
226
230
  },
@@ -229,7 +233,7 @@ const STATE_MAPPING = {
229
233
  name: "Motor protection MOT",
230
234
  role: "value",
231
235
  type: "number",
232
- states: { 0: "Off", 1: "On" },
236
+ states: switchStates,
233
237
  luxWriteId: "33",
234
238
  dataSource: "raw_value"
235
239
  },
@@ -238,7 +242,7 @@ const STATE_MAPPING = {
238
242
  name: "Low pressure switch ND",
239
243
  role: "value",
240
244
  type: "number",
241
- states: { 0: "Off", 1: "On" },
245
+ states: switchStates,
242
246
  luxWriteId: "34",
243
247
  dataSource: "raw_value"
244
248
  },
@@ -277,7 +281,7 @@ const STATE_MAPPING = {
277
281
  name: "Domestic hot water thermostat BWT",
278
282
  role: "value",
279
283
  type: "number",
280
- states: { 0: "Off", 1: "On" },
284
+ states: switchStates,
281
285
  luxWriteId: "30",
282
286
  dataSource: "raw_value"
283
287
  },
@@ -287,7 +291,7 @@ const STATE_MAPPING = {
287
291
  name: "Defrost valve AV",
288
292
  role: "value",
289
293
  type: "number",
290
- states: { 0: "Off", 1: "On" },
294
+ states: switchStates,
291
295
  luxWriteId: "37",
292
296
  dataSource: "raw_value"
293
297
  },
@@ -296,7 +300,7 @@ const STATE_MAPPING = {
296
300
  name: "Hot water circulation pump BUP",
297
301
  role: "value",
298
302
  type: "number",
299
- states: { 0: "Off", 1: "On" },
303
+ states: switchStates,
300
304
  luxWriteId: "38",
301
305
  dataSource: "raw_value"
302
306
  },
@@ -305,7 +309,7 @@ const STATE_MAPPING = {
305
309
  name: "Heating circulation pump HUP",
306
310
  role: "value",
307
311
  type: "number",
308
- states: { 0: "Off", 1: "On" },
312
+ states: switchStates,
309
313
  luxWriteId: "39",
310
314
  dataSource: "raw_value",
311
315
  required: true
@@ -315,7 +319,7 @@ const STATE_MAPPING = {
315
319
  name: "Fan VEN",
316
320
  role: "value",
317
321
  type: "number",
318
- states: { 0: "Off", 1: "On" },
322
+ states: switchStates,
319
323
  luxWriteId: "42",
320
324
  dataSource: "raw_value"
321
325
  },
@@ -324,7 +328,7 @@ const STATE_MAPPING = {
324
328
  name: "Compressor 1 VD1",
325
329
  role: "value",
326
330
  type: "number",
327
- states: { 0: "Off", 1: "On" },
331
+ states: switchStates,
328
332
  luxWriteId: "44",
329
333
  dataSource: "raw_value",
330
334
  required: true
@@ -334,7 +338,7 @@ const STATE_MAPPING = {
334
338
  name: "Circulation pump ZIP",
335
339
  role: "value",
336
340
  type: "number",
337
- states: { 0: "Off", 1: "On" },
341
+ states: switchStates,
338
342
  luxWriteId: "46",
339
343
  dataSource: "raw_value",
340
344
  required: true
@@ -344,7 +348,7 @@ const STATE_MAPPING = {
344
348
  name: "Auxiliary circulation pump ZUP",
345
349
  role: "value",
346
350
  type: "number",
347
- states: { 0: "Off", 1: "On" },
351
+ states: switchStates,
348
352
  luxWriteId: "47",
349
353
  dataSource: "raw_value"
350
354
  },
@@ -353,7 +357,7 @@ const STATE_MAPPING = {
353
357
  name: "Second heat generator 1 ZW1",
354
358
  role: "value",
355
359
  type: "number",
356
- states: { 0: "Off", 1: "On" },
360
+ states: switchStates,
357
361
  luxWriteId: "48",
358
362
  dataSource: "raw_value"
359
363
  },
@@ -382,7 +386,7 @@ const STATE_MAPPING = {
382
386
  name: "Status defrost valve",
383
387
  role: "value",
384
388
  type: "number",
385
- states: { 0: "Off", 1: "On" },
389
+ states: switchStates,
386
390
  luxWriteId: "37",
387
391
  dataSource: "raw_value"
388
392
  },
@@ -391,7 +395,7 @@ const STATE_MAPPING = {
391
395
  name: "Status switching valve hot water",
392
396
  role: "value",
393
397
  type: "number",
394
- states: { 0: "Off", 1: "On" },
398
+ states: switchStates,
395
399
  luxWriteId: "38",
396
400
  dataSource: "raw_value"
397
401
  },
@@ -400,7 +404,7 @@ const STATE_MAPPING = {
400
404
  name: "Heating circulation pump",
401
405
  role: "value",
402
406
  type: "number",
403
- states: { 0: "Off", 1: "On" },
407
+ states: switchStates,
404
408
  luxWriteId: "39",
405
409
  dataSource: "raw_value"
406
410
  },
@@ -409,7 +413,7 @@ const STATE_MAPPING = {
409
413
  name: "Motor heat source",
410
414
  role: "value",
411
415
  type: "number",
412
- states: { 0: "Off", 1: "On" },
416
+ states: switchStates,
413
417
  luxWriteId: "43",
414
418
  dataSource: "raw_value"
415
419
  },
@@ -418,7 +422,7 @@ const STATE_MAPPING = {
418
422
  name: "Status compressor 1 run feedback",
419
423
  role: "value",
420
424
  type: "number",
421
- states: { 0: "Off", 1: "On" },
425
+ states: switchStates,
422
426
  luxWriteId: "44",
423
427
  dataSource: "raw_value"
424
428
  },
@@ -427,7 +431,7 @@ const STATE_MAPPING = {
427
431
  name: "Hot water circulation pump external",
428
432
  role: "value",
429
433
  type: "number",
430
- states: { 0: "Off", 1: "On" },
434
+ states: switchStates,
431
435
  luxWriteId: "46",
432
436
  dataSource: "raw_value"
433
437
  },
@@ -605,14 +609,26 @@ const STATE_MAPPING = {
605
609
  role: "value",
606
610
  type: "number",
607
611
  states: {
608
- 0: "Heating",
609
- 1: "Hot water",
610
- 2: "Swimming pool",
611
- 3: "Utility block",
612
- 4: "Defrosting",
613
- 5: "Idle",
614
- 6: "External heat source",
615
- 7: "Cooling"
612
+ en: {
613
+ 0: "Heating",
614
+ 1: "Hot water",
615
+ 2: "Swimming pool",
616
+ 3: "Utility block",
617
+ 4: "Defrosting",
618
+ 5: "Idle",
619
+ 6: "Ext. heat source",
620
+ 7: "Cooling"
621
+ },
622
+ de: {
623
+ 0: "Heizung",
624
+ 1: "Warmwasser",
625
+ 2: "Schwimmbad",
626
+ 3: "EVU-Sperre",
627
+ 4: "Abtauen",
628
+ 5: "Leerlauf",
629
+ 6: "Zweiter W\xE4rmeerzeuger",
630
+ 7: "K\xFChlung"
631
+ }
616
632
  },
617
633
  luxWriteId: "80",
618
634
  dataSource: "raw_value",
@@ -630,7 +646,10 @@ const STATE_MAPPING = {
630
646
  name: "Operating state heating",
631
647
  role: "value",
632
648
  type: "number",
633
- states: { 0: "Reduced", 1: "Normal", 2: "Heating limit", 3: "Off", 4: "Frost protection" },
649
+ states: {
650
+ en: { 0: "Reduced", 1: "Normal", 2: "Heating limit", 3: "Off", 4: "Frost protection" },
651
+ de: { 0: "Abgesenkt", 1: "Normal", 2: "Heizgrenze", 3: "Aus", 4: "Frostschutz" }
652
+ },
634
653
  luxWriteId: "125",
635
654
  dataSource: "raw_value"
636
655
  },
@@ -655,9 +674,8 @@ const STATE_MAPPING = {
655
674
  role: "value",
656
675
  type: "number",
657
676
  states: {
658
- 1: "One compressor allowed",
659
- 2: "Two compressors allowed",
660
- 3: "Additional heat generator allowed"
677
+ en: { 1: "One compressor allowed", 2: "Two compressors allowed", 3: "Additional heat generator allowed" },
678
+ de: { 1: "Ein Verdichter erlaubt", 2: "Zwei Verdichter erlaubt", 3: "Zusatzw\xE4rmeerzeuger erlaubt" }
661
679
  },
662
680
  luxWriteId: "79",
663
681
  dataSource: "raw_value"
@@ -1036,7 +1054,10 @@ const STATE_MAPPING = {
1036
1054
  type: "number",
1037
1055
  write: true,
1038
1056
  luxWriteId: "108",
1039
- states: { 0: "Off", 1: "Automatic" },
1057
+ states: {
1058
+ en: { 0: "Off", 1: "Automatic" },
1059
+ de: { 0: "Aus", 1: "Automatik" }
1060
+ },
1040
1061
  dataSource: "raw_parameter"
1041
1062
  },
1042
1063
  cooling_release_temp: {
@@ -1104,7 +1125,10 @@ const STATE_MAPPING = {
1104
1125
  role: "level.mode.thermostat",
1105
1126
  type: "number",
1106
1127
  write: true,
1107
- states: { 0: "Automatic", 1: "Second heat generator", 2: "Party", 3: "Holidays", 4: "Off" },
1128
+ states: {
1129
+ en: { 0: "Automatic", 1: "Second heat generator", 2: "Party", 3: "Holidays", 4: "Off" },
1130
+ de: { 0: "Automatik", 1: "Zweiter Erzeuger", 2: "Party", 3: "Urlaub", 4: "Aus" }
1131
+ },
1108
1132
  luxWriteId: "3",
1109
1133
  dataSource: "raw_parameter"
1110
1134
  },
@@ -1114,7 +1138,10 @@ const STATE_MAPPING = {
1114
1138
  role: "level.mode.thermostat",
1115
1139
  type: "number",
1116
1140
  write: true,
1117
- states: { 0: "Automatic", 1: "Second heat generator", 2: "Party", 3: "Holidays", 4: "Off" },
1141
+ states: {
1142
+ en: { 0: "Automatic", 1: "Second heat generator", 2: "Party", 3: "Holidays", 4: "Off" },
1143
+ de: { 0: "Automatik", 1: "Zweiter Erzeuger", 2: "Party", 3: "Urlaub", 4: "Aus" }
1144
+ },
1118
1145
  luxWriteId: "4",
1119
1146
  dataSource: "raw_parameter"
1120
1147
  },
@@ -1489,17 +1516,23 @@ const STATE_MAPPING = {
1489
1516
  write: true,
1490
1517
  luxWriteId: "222",
1491
1518
  dataSource: "raw_parameter",
1492
- states: { 0: "Week (Mo-Su)", 1: "5+2 (Mo-Fr, Sa-Su)", 2: "Days (Mo, Tu, ...)" }
1519
+ states: {
1520
+ en: { 0: "Week (Mo-Su)", 1: "5+2 (Mo-Fr, Sa-Su)", 2: "Days (Mo, Tu, ...)" },
1521
+ de: { 0: "Woche (Mo-So)", 1: "5+2 (Mo-Fr, Sa-So)", 2: "Tage (Mo, Di, ...)" }
1522
+ }
1493
1523
  },
1494
1524
  hotWaterCircPumpTimerTableSelected: {
1495
1525
  folder: "Settings.07_Tables",
1496
1526
  name: "Currently selected circulation timer table",
1497
1527
  role: "level",
1498
1528
  type: "number",
1499
- luxWriteId: "506",
1500
1529
  write: true,
1530
+ luxWriteId: "506",
1501
1531
  dataSource: "raw_parameter",
1502
- states: { 0: "Week (Mo-Su)", 1: "5+2 (Mo-Fr, Sa-Su)", 2: "Days (Mo, Tu, ...)" },
1532
+ states: {
1533
+ en: { 0: "Week (Mo-Su)", 1: "5+2 (Mo-Fr, Sa-Su)", 2: "Days (Mo, Tu, ...)" },
1534
+ de: { 0: "Woche (Mo-So)", 1: "5+2 (Mo-Fr, Sa-So)", 2: "Tage (Mo, Di, ...)" }
1535
+ },
1503
1536
  required: true
1504
1537
  },
1505
1538
  hotWaterOperationTimerTableSelected: {
@@ -1507,10 +1540,13 @@ const STATE_MAPPING = {
1507
1540
  name: "Currently selected hot water timer table",
1508
1541
  role: "level",
1509
1542
  type: "number",
1510
- luxWriteId: "405",
1511
1543
  write: true,
1544
+ luxWriteId: "405",
1512
1545
  dataSource: "raw_parameter",
1513
- states: { 0: "Week (Mo-Su)", 1: "5+2 (Mo-Fr, Sa-Su)", 2: "Days (Mo, Tu, ...)" },
1546
+ states: {
1547
+ en: { 0: "Week (Mo-Su)", 1: "5+2 (Mo-Fr, Sa-Su)", 2: "Days (Mo, Tu, ...)" },
1548
+ de: { 0: "Woche (Mo-So)", 1: "5+2 (Mo-Fr, Sa-So)", 2: "Tage (Mo, Di, ...)" }
1549
+ },
1514
1550
  required: true
1515
1551
  },
1516
1552
  // =========================================================