iobroker.digitalstrom 2.3.0 → 3.0.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/lib/constants.js DELETED
@@ -1,1202 +0,0 @@
1
- module.exports = {
2
-
3
- availableEvents: {
4
- 'buttonClick': true, //
5
- 'buttonDeviceAction': false, //true,
6
- 'deviceSensorEvent': false, //true, //
7
- 'deviceBinaryInputEvent': true, // Never seen
8
- 'deviceActionEvent': false,
9
- 'deviceEventEvent': false, //true,
10
- 'callScene': true, // DONE
11
- 'callSceneBus': false,
12
- 'undoScene': true, // DONE
13
- 'stateChange': true, // DONE
14
- 'addonStateChange': true, // DONE
15
- 'sunshine': false, // true,
16
- 'frostprotection': false, //true,
17
- 'heating_mode_switch': false, //true,
18
- 'building_service': false,
19
- 'action_execute': false,
20
- 'highlevelevent': false, //true,
21
- 'model_ready': false, // true, // real startup done, reinit!!
22
- 'running': false, // startup
23
- 'blink': false, // irrelevant
24
- 'deviceSensorValue': true, // DONE
25
- 'deviceStateEvent': false, //true,
26
- 'zoneSensorValue': true, // DONE
27
- 'executionDenied': false, //true,
28
- 'operation_lock': false, //true,
29
- 'cluster_config_lock': false, //true,
30
- 'devices_first_seen': false, //true,
31
- 'scene_name_changed': false, //true,
32
- 'dsMeter_ready': false, //true, // reinit!
33
- 'system_trigger': false, //true,
34
- 'heating-controller.operation-mode': false //true // OpenHab
35
- },
36
-
37
- outputModeToRoleMap: {
38
- 0: 'value', // No output or output disabled
39
- 16: 'switch', // Switched
40
- 17: 'level', // RMS (root mean square) dimmer
41
- 18: 'level', // RMS dimmer with characteristic curve
42
- 19: 'level', // Phase control dimmer
43
- 20: 'level', // Phase control dimmer with characteristic curve
44
- 21: 'level', // Reverse phase control dimmer
45
- 22: 'level', // Reverse phase control dimmer with characteristic curve
46
- 23: 'level', // PWM (pulse width modulation)
47
- 24: 'level', // PWM with characteristic curve
48
- 33: 'level', // Positioning control
49
- 39: 'level', // Relay with switched mode scene table configuration
50
- 40: 'level', // Relay with wiped mode scene table configuration
51
- 41: 'level', // Relay with saving mode scene table configuration
52
- 42: 'level' // Positioning control for uncalibrated shutter
53
- },
54
-
55
- sensorUnitRoleMap: {
56
- 66: {name: 'Temperature', type: 'number', role: 'value.temperature', unit: '°C'}, // Temperature, Kelvin (K)
57
- 68: {name: 'Relative Humidity', type: 'number', role: 'value.humidity', unit: '%'}, // Relative Humidity, Percent (%)
58
- 67: {name: 'Brightness', type: 'number', role: 'value.brightness', unit: 'Lx'}, // Brightness, Lux (Lx)
59
- 25: {name: 'Sound Pressure Level', type: 'number', role: 'value', unit: 'dB'}, // Sound Pressure Level, dB
60
- 4: {name: 'Active Power', type: 'number', role: 'value', unit: 'W'}, // Active Power, Watt (W)
61
- 65: {name: 'Apparent Power', type: 'number', role: 'value', unit: 'VA'}, // Apparent Power, Volt-Ampere (VA)
62
- 5: {name: 'Output Current', type: 'number', role: 'value.current', unit: 'mA'}, // Output Current, Ampere (mA)
63
- 64: {name: 'Output Current (High Range)', type: 'number', role: 'value.current', unit: 'mA'}, // Output Current (High Range), Ampere (mA)
64
- 6: {name: 'Energy Meter', type: 'number', role: 'value.power.consumption', unit: 'kWh'}, // Energy Meter, Watthours (kWh)
65
- 69: {name: 'Generated Active Power', type: 'number', role: 'value', unit: 'W'}, // Generated Active Power, Watt (W)
66
- 70: {name: 'Generated Energy Meter', type: 'number', role: 'value', unit: 'kWh'}, // Generated Energy Meter, Watthours (kWh)
67
- 71: {name: 'Water Quantity', type: 'number', role: 'value', unit: 'l'}, // Water Quantity, Liter (l)
68
- 72: {name: 'Water Flow Rate', type: 'number', role: 'value', unit: 'l/s'}, // Water Flow Rate, Liter/Second (l/s)
69
- 73: {name: 'Length', type: 'number', role: 'value', unit: 'm'}, // Length, Meter (m)
70
- 74: {name: 'Mass', type: 'number', role: 'value', unit: 'g'}, // Mass, Gram (g)
71
- 75: {name: 'Time', type: 'number', role: 'value', unit: 's'}, // Time, Second (s)
72
- 9: {name: 'Room Temperature', type: 'number', role: 'value.temperature', unit: '°C'}, // Room Temperature, Kelvin (K)
73
- 13: {name: 'Room Relative Humidity', type: 'number', role: 'value.humidity', unit: '%'}, // Room Relative Humidity, Percent (%)
74
- 11: {name: 'Room Brightness', type: 'number', role: 'value.brightness', unit: 'Lx'}, // Room Brightness, Lux (Lx)
75
- 21: {name: 'Room Carbon Dioxide CO2 Concentration', type: 'number', role: 'value.co2', unit: 'ppm'}, // Room Carbon Dioxide CO2 Concentration, ppm
76
- 22: {name: 'Room Carbon Monoxide CO Concentration', type: 'number', role: 'value.co2', unit: 'ppm'}, // Room Carbon Monoxide CO Concentration, ppm
77
- 50: {name: 'Room Temperature Set Point', type: 'number', role: 'level.temperature', unit: '°C'}, // Room Temperature Set Point, Kelvin (K)
78
- 51: {name: 'Room Temperature Control Variable', type: 'number', role: 'level', unit: '%'}, // Room Temperature Control Variable, Percent (%)
79
- 10: {name: 'Outdoor Temperature', type: 'number', role: 'value.temperature', unit: '°C'}, // Outdoor Temperature, Kelvin (K)
80
- 14: {name: 'Outdoor Relative Humidity', type: 'number', role: 'value.humidity', unit: '°C'}, // Outdoor Relative Humidity, Percent (%)
81
- 12: {name: 'Outdoor Brightness', type: 'number', role: 'value.brightness', unit: 'Lx'}, // Outdoor Brightness, Lux (Lx)
82
- 15: {name: 'Air pressure', type: 'number', role: 'value.pressure', unit: 'hPa'}, // Air pressure, Pascal (hPa)
83
- 16: {name: 'Wind gust speed', type: 'number', role: 'value.speed.wind.gust', unit: 'm/s'}, // Wind gust speed, m/s
84
- 17: {name: 'Wind gust direction', type: 'number', role: 'value.direction.wind', unit: '°'}, // Wind gust direction, degrees
85
- 18: {name: 'Wind speed (average)', type: 'number', role: 'value.speed.wind', unit: 'm/s'}, // Wind speed (average), m/s
86
- 19: {name: 'Wind direction', type: 'number', role: 'value.direction.wind', unit: '°'}, // Wind direction, degrees
87
- 20: {name: 'Precipitation intensity of last hour', type: 'number', role: 'value.precipitation.hour', unit: 'mm/m2'}, // Precipitation intensity of last hour, mm/m2
88
- 76: {name: 'Sun Azimuth', type: 'number', role: 'value.sun.azimuth', unit: '°'}, // Sun azimuth, degrees
89
- 77: {name: 'Sun Elevation', type: 'number', role: 'value.sun.elevation', unit: '°'}, // Sun Elevation, degrees
90
- 60: {
91
- name: 'Apartment Ventilation Status',
92
- role: 'sensor',
93
- type: 'number',
94
- states: {0: 'OK', 1: 'Reserved', 2: 'Malfunction', 4: 'Service', 6: 'Malfunction+Service'}
95
- }, // Apartment Ventilation
96
- 255: {name: 'Unknown', type: 'number', role: 'value', unit: ''}, // Unknown
97
- },
98
-
99
- outputChannelUnitRoleMap: {
100
- brightness: {
101
- name: 'Light Brightness',
102
- role: 'level.brightness',
103
- unit: '%',
104
- type: 'number',
105
- min: 0,
106
- max: 100,
107
- native: {
108
- nativeMax: 255,
109
- channelIndex: 0
110
- }
111
- }, // 01 Light Brightness
112
- hue: {
113
- name: 'Colored Light Hue',
114
- role: 'level.color.hue',
115
- unit: '°',
116
- type: 'number',
117
- min: 0,
118
- max: 360,
119
- native: {
120
- nativeMax: 65535
121
- }
122
- }, // 02 Colored Light Hue
123
- saturation: {
124
- name: 'Colored Light Saturation',
125
- role: 'level.color.saturation',
126
- unit: '%',
127
- type: 'number',
128
- min: 0,
129
- max: 100,
130
- native: {
131
- nativeMax: 255
132
- }
133
- }, // 03 Colored Light Saturation
134
- colortemp: {
135
- name: 'Color Temperature',
136
- role: 'level.color.temperature',
137
- unit: 'mired',
138
- type: 'number',
139
- min: 100,
140
- max: 1000,
141
- native: {
142
- nativeMax: 65535
143
- }
144
- }, // 04 Color Temperature
145
- x: {
146
- name: 'Light CIE Color Model x',
147
- role: 'level',
148
- unit: '',
149
- type: 'number',
150
- min: 0,
151
- max: 10000,
152
- native: {
153
- nativeMax: 65535
154
- }
155
- }, // 05 Light CIE Color Model x
156
- y: {
157
- name: 'Light CIE Color Model y',
158
- role: 'level',
159
- unit: '',
160
- type: 'number',
161
- min: 0,
162
- max: 10000,
163
- native: {
164
- nativeMax: 65535
165
- }
166
- }, // 06 Light CIE Color Model y
167
- shadePositionOutside: {
168
- name: 'Shade Position Outside (blinds)',
169
- role: 'level.curtain',
170
- unit: '%',
171
- type: 'number',
172
- min: 0,
173
- max: 100,
174
- native: {
175
- nativeMax: 65535,
176
- channelIndex: 2
177
- }
178
- }, // 07 Shade Position Outside (blinds)
179
- shadePositionIndoor: {
180
- name: 'Shade Position Outside (curtains)',
181
- role: 'level.curtain',
182
- unit: '%',
183
- type: 'number',
184
- min: 0,
185
- max: 100,
186
- native: {
187
- nativeMax: 65535,
188
- channelIndex: 2
189
- }
190
- }, // 08 Shade Position Outside (curtains)
191
- shadeOpeningAngleOutside: {
192
- name: 'Shade Opening Angle Outside (blinds)',
193
- role: 'level.tilt',
194
- unit: '%',
195
- type: 'number',
196
- min: 0,
197
- max: 100,
198
- native: {
199
- nativeMax: 255,
200
- channelIndex: 4
201
- }
202
- }, // 09 Shade Opening Angle Outside (blinds)
203
- shadeOpeningAngleIndoor: {
204
- name: 'Shade Opening Angle Indoor (curtains)',
205
- role: 'level.tilt',
206
- unit: '%',
207
- type: 'number',
208
- min: 0,
209
- max: 100,
210
- native: {
211
- nativeMax: 255,
212
- channelIndex: 4
213
- }
214
- }, // 10 Shade Opening Angle Indoor (curtains)
215
- transparency: {
216
- name: 'Transparency',
217
- role: 'level',
218
- type: 'number',
219
- unit: '%',
220
- min: 0,
221
- max: 100,
222
- native: {
223
- nativeMax: 255
224
- }
225
- }, // 11 Transparency (e.g. smart glass)
226
- airFlowIntensity: {
227
- name: 'Air Flow Intensity',
228
- role: 'level',
229
- type: 'number',
230
- unit: '%',
231
- min: 0,
232
- max: 100,
233
- native: {
234
- nativeMax: 255
235
- }
236
- }, // 12 Air Flow Intensity
237
- airFlowDirection: {
238
- name: 'Air Flow Direction',
239
- role: 'level',
240
- type: 'number',
241
- min: 0,
242
- max: 2,
243
- states: {0: 'in+out', 1: 'supply (in)', 2: 'exhaust (out)'},
244
- native: {}
245
- }, // 13 Air Flow Direction
246
- airFlapPosition: {
247
- name: 'Flap Opening Angle',
248
- role: 'level',
249
- unit: '%',
250
- type: 'number',
251
- min: 0,
252
- max: 100,
253
- native: {
254
- nativeMax: 255
255
- }
256
- }, // 14 Flap Opening Angle
257
- airLouverPosition: {
258
- name: 'Ventilation Louver Position',
259
- role: 'level',
260
- type: 'number',
261
- unit: '%',
262
- min: 0,
263
- max: 100,
264
- native: {
265
- nativeMax: 255
266
- }
267
- }, // 15 Ventilation Louver Position
268
- heatingPower: {
269
- name: 'Heating Power',
270
- role: 'level',
271
- type: 'number',
272
- unit: '',
273
- min: 0,
274
- max: 100,
275
- native: {
276
- nativeMax: 255
277
- }
278
- }, // 16 Heating Power
279
- coolingCapacity: {
280
- name: 'Cooling Capacity',
281
- role: 'level',
282
- type: 'number',
283
- unit: '%',
284
- min: 0,
285
- max: 100,
286
- native: {
287
- nativeMax: 255
288
- }
289
- }, // 17 Cooling Capacity
290
- audioVolume: {
291
- name: 'Audio Volume',
292
- role: 'level.volume',
293
- type: 'number',
294
- unit: '%',
295
- min: 0,
296
- max: 100,
297
- native: {
298
- nativeMax: 255
299
- }
300
- }, // 18 Audio Volume (loudness)
301
- powerState: {
302
- name: 'Power State',
303
- role: 'level',
304
- type: 'number',
305
- unit: '',
306
- min: 0,
307
- max: 2,
308
- states: {0: 'Off', 1: 'Power Save', 2: 'On'},
309
- native: {}
310
- }, // 19 Power State
311
- airLouverAuto: {
312
- name: 'Ventilation swing mode',
313
- role: 'switch',
314
- type: 'boolean',
315
- unit: '',
316
- native: {}
317
- }, // 20 Ventilation swing mode
318
- airFlowAuto: {
319
- name: 'Ventilation auto intensity',
320
- role: 'switch',
321
- type: 'boolean',
322
- unit: '',
323
- native: {}
324
- }, // 21 Ventilation auto intensity
325
- waterTemperature: {
326
- name: 'Water Temperature',
327
- role: 'level.temperature',
328
- type: 'number',
329
- unit: '°C',
330
- min: 0,
331
- max: 150,
332
- native: {}
333
- }, // 22 Water Temperature
334
- waterFlow: {
335
- name: 'Water Flow Rate',
336
- role: 'level',
337
- type: 'number',
338
- unit: '%',
339
- min: 0,
340
- max: 100,
341
- native: {}
342
- }, // 23 Water Flow Rate
343
- powerLevel: {
344
- name: 'Power Level',
345
- role: 'level',
346
- type: 'number',
347
- unit: '%',
348
- min: 0,
349
- max: 100,
350
- native: {}
351
- } // 24 Power Level
352
- },
353
-
354
- sensorValuesRoleMapOutdoor: {
355
- temperature: {
356
- name: 'Temperature',
357
- role: 'value.temperature',
358
- unit: '°C',
359
- type: 'number',
360
- native: {
361
- sensorType: 10
362
- }
363
- }, // Temperature, Kelvin (K)
364
- humidity: {
365
- name: 'Relative Humidity',
366
- role: 'value.humidity',
367
- unit: '%',
368
- type: 'number',
369
- native: {
370
- sensorType: 14
371
- }
372
- }, // Relative Humidity, Percent (%)
373
- brightness: {
374
- name: 'Brightness',
375
- role: 'value.brightness',
376
- unit: 'Lx',
377
- type: 'number',
378
- native: {
379
- sensorType: 12
380
- }
381
- }, // Brightness, Lux (Lx)
382
- precipitation: {
383
- name: 'Precipitation intensity of last hour',
384
- role: 'value.precipitation.hour',
385
- type: 'number',
386
- unit: 'mm/m2',
387
- native: {
388
- sensorType: 20
389
- }
390
- }, // Precipitation intensity of last hour, mm/m2
391
- airpressure: {
392
- name: 'Air pressure',
393
- role: 'value.pressure',
394
- type: 'number',
395
- unit: 'hPa',
396
- native: {
397
- sensorType: 15
398
- }
399
- }, // Air pressure, Pascal (hPa)
400
- windspeed: {
401
- name: 'Wind speed',
402
- role: 'value.speed.wind',
403
- type: 'number',
404
- unit: 'm/s',
405
- native: {
406
- sensorType: 18
407
- }
408
- }, // Wind speed, m/s
409
- winddirection: {
410
- name: 'Wind direction',
411
- type: 'number',
412
- role: 'value.direction.wind',
413
- unit: '°',
414
- native: {
415
- sensorType: 19
416
- }
417
- }, // Wind direction, degrees
418
- windgust: {
419
- name: 'Wind gust speed?',
420
- type: 'number',
421
- role: 'value.speed.wind.gust',
422
- unit: 'm/s',
423
- native: {
424
- sensorType: 16
425
- }
426
- }, // Wind gust speed, m/s
427
- gustspeed: {
428
- name: 'Wind gust speed',
429
- type: 'number',
430
- role: 'value.speed.wind.gust',
431
- unit: 'm/s',
432
- native: {
433
- sensorType: 16
434
- }
435
- }, // Wind gust speed, m/s
436
- gustdirection: {
437
- name: 'Wind gust direction',
438
- type: 'number',
439
- role: 'value.direction.wind',
440
- unit: '°',
441
- native: {
442
- sensorType: 17
443
- }
444
- }, // Wind gust direction, degrees
445
- sunazimuth: {
446
- name: 'Sun Azimuth',
447
- type: 'number',
448
- role: 'value.sun.azimuth',
449
- unit: '°',
450
- native: {
451
- sensorType: 76
452
- }
453
- }, // Wind gust direction, degrees
454
- sunelevation: {
455
- name: 'Sun Elevation',
456
- type: 'number',
457
- role: 'value.sun.elevation',
458
- unit: '°',
459
- native: {
460
- sensorType: 77
461
- }
462
- } // Wind gust direction, degrees
463
- },
464
-
465
- sensorValuesRoleMapZone: {
466
- TemperatureValue: {
467
- name: 'Temperature',
468
- role: 'value.temperature',
469
- unit: '°C',
470
- type: 'number',
471
- native: {
472
- sensorType: 9
473
- }
474
- }, // Temperature, Kelvin (K)
475
- HumidityValue: {
476
- name: 'Relative Humidity',
477
- role: 'value.humidity',
478
- unit: '%',
479
- type: 'number',
480
- native: {
481
- sensorType: 13
482
- }
483
- }, // Relative Humidity, Percent (%)
484
- CO2ConcentrationValue: {
485
- name: 'CO2 Concentration',
486
- role: 'value.co2',
487
- unit: 'ppm',
488
- type: 'number',
489
- native: {
490
- sensorType: 21
491
- }
492
- }, // CO2 Concentration, ppm
493
- BrightnessValue: {
494
- name: 'Brightness',
495
- role: 'value.brightness',
496
- unit: 'Lx',
497
- type: 'number',
498
- native: {
499
- sensorType: 11
500
- }
501
- }, // Brightness, Lux (Lx)
502
- ControlValue: {
503
- name: 'Room Temperature Control Variable',
504
- role: 'level',
505
- unit: '%',
506
- type: 'number',
507
- read: true,
508
- write: false,
509
- native: {
510
- sensorType: 51
511
- }
512
- }, // Room Temperature Control Variable, Percent (%)
513
- NominalValue: {
514
- name: 'Room Temperature Nominal Variable',
515
- role: 'value.temperature',
516
- unit: '°C',
517
- type: 'number',
518
- native: {
519
- sensorType: 50 // ???
520
- }
521
- } // Nominal Temperature, Kelvin (K)
522
- },
523
-
524
- binaryInputTypeNames: {
525
- 1: 'Presence', // Presence detector
526
- 2: 'Brightness',
527
- 3: 'Presence in darkness', // Presence detector with activated in- ternal twilight sensor
528
- 4: 'Twilight', // Twilight sensor
529
- 5: 'Motion', // Motion detector
530
- 6: 'Motion in darkness', // Motion detector with activated internal twilight sensor
531
- 7: 'Smoke', // Smoke Detector
532
- 8: 'Wind strength above limit', // Wind monitor with user-adjusted wind strength threshold
533
- 9: 'Rain', // Rain monitor
534
- 10: 'Sun radiation', // Sun light above threshold
535
- 11: 'Temperature below limit', // Room thermostat with used-adjusted temperature threshold
536
- 12: 'Battery status is low', // electric battery is running out of power
537
- 13: 'Window is open', // Window contact
538
- 14: 'Door is open', // Door contact
539
- 15: 'Window is tilted', // Window handle; window is tilted in- stead of fully opened
540
- 16: 'Garage door is open', // Garage door contact
541
- 17: 'Sun protection', // Protect against too much sun light
542
- 18: 'Frost', // Frost detector
543
- 19: 'Heating system enabled', // Heating system activated
544
- 20: 'Change-over signal', // Change-over signal between warm water (active) or cold water (inactive)
545
- 21: 'Initialization status', // On power-up or startup not all func- tions may be ready (yet)
546
- 22: 'Malfunction', // Connected device is broken and re- quires maintenance. Operation may have seized.
547
- 23: 'Service' // Connected device requires mainte- nance. Normal operation still possi- ble.
548
- },
549
-
550
- zoneSceneCommands: {
551
- 1: 'Area 1 Off', // Set output value to Preset Area 1 Off (Default: Off)
552
- 6: 'Area 1 On', // Set output value to Preset Area 1 On (Default: On)
553
- 43: 'Area 1 Increment', // Initial command to increment output value
554
- 42: 'Area 1 Decrement', // Initial command to decrement output value
555
- 52: 'Area 1 Stop', // Stop output value change at current position
556
-
557
- 2: 'Area 2 Off', // Set output value to Area 2 Off (Default: Off)
558
- 7: 'Area 2 On', // Set output value to Area 2 On (Default: On)
559
- 45: 'Area 2 Increment', // Initial command to increment output value
560
- 44: 'Area 2 Decrement', // Initial command to decrement output value
561
- 53: 'Area 2 Stop', // Stop output value change at current position
562
-
563
- 3: 'Area 3 Off', // Set output value to Area 3 Off (Default: Off)
564
- 8: 'Area 3 On', // Set output value to Area 3 On (Default: On)
565
- 47: 'Area 3 Increment', // Initial command to increment output value
566
- 46: 'Area 3 Decrement', // Initial command to decrement output value
567
- 54: 'Area 3 Stop', // Stop output value change at current position
568
-
569
- 4: 'Area 4 Off', // Set output value to Area 4 Off (Default: Off)
570
- 9: 'Area 4 On', // Set output value to Area 4 On (Default: On)
571
- 49: 'Area 4 Increment', // Initial command to increment output value
572
- 48: 'Area 4 Decrement', // Initial command to decrement output value
573
- 55: 'Area 4 Stop', // Stop output value change at current position
574
-
575
- 10: 'Area Stepping Continue', // Next step to increment or decrement
576
-
577
- // local pushbutton
578
- 51: 'Local On', // Local on
579
- 50: 'Local Off', // Local off
580
-
581
- // special scenes
582
- 13: 'Minimum', // Minimum output value
583
- 14: 'Maximum', // Maximum output value
584
- 15: 'Stop', // Stop output value change at current position
585
- 40: 'Auto-Off', // Slowly fade down to off value
586
- 41: 'Impulse', // Short impulse on the output
587
- 56: 'Sun Protection', // Sun Protection
588
-
589
- // stepping
590
- 12: 'Increment', // Increment output value
591
- 11: 'Decrement', // Decrement output value
592
-
593
- // presets
594
- 0: 'Preset 0 (Default: Off)', // Set output value to Preset 0 (Default: Off)
595
- 5: 'Preset 1 (Default: On)', // Set output value to Preset 1 (Default: On)
596
- 17: 'Preset 2', // Set output value to Preset 2
597
- 18: 'Preset 3', // Set output value to Preset 3
598
- 19: 'Preset 4', // Set output value to Preset 4
599
-
600
- 32: 'Preset 10 (Default: Off)', // Set output value to Preset 10 (Default: Off)
601
- 33: 'Preset 11 (Default: On)', // Set output value to Preset 11 (Default: On)
602
- 20: 'Preset 12', // Set output value to Preset 12
603
- 21: 'Preset 13', // Set output value to Preset 13
604
- 22: 'Preset 24', // Set output value to Preset 14
605
-
606
- 34: 'Preset 20 (Default: Off)', // Set output value to Preset 20 (Default: Off)
607
- 35: 'Preset 21 (Default: On)', // Set output value to Preset 21 (Default: On)
608
- 23: 'Preset 22', // Set output value to Preset 22
609
- 24: 'Preset 23', // Set output value to Preset 23
610
- 25: 'Preset 24', // Set output value to Preset 24
611
-
612
- 36: 'Preset 30 (Default: Off)', // Set output value to Preset 30 (Default: Off)
613
- 37: 'Preset 31 (Default: On)', // Set output value to Preset 31 (Default: On)
614
- 26: 'Preset 32', // Set output value to Preset 32
615
- 27: 'Preset 33', // Set output value to Preset 33
616
- 28: 'Preset 34', // Set output value to Preset 34
617
-
618
- 38: 'Preset 40 (Default: Off)', // Set output value to Preset 40 (Default: Off)
619
- 39: 'Preset 41 (Default: On)', // Set output value to Preset 41 (Default: On)
620
- 29: 'Preset 42', // Set output value to Preset 42
621
- 30: 'Preset 43', // Set output value to Preset 43
622
- 31: 'Preset 44', // Set output value to Preset 44
623
- },
624
-
625
- groupTypes: {
626
- 0: 'Broadcast',
627
- 1: 'Light/Yellow',
628
- 2: 'Shading/Gray',
629
- 3: 'Heating/Blue',
630
- 4: 'Audio/Cyan',
631
- 5: 'Video/Magenta',
632
- 6: 'Reserved1',
633
- 7: 'Reserved2',
634
- 8: 'Joker/Black',
635
- 9: 'Cooling/Blue',
636
- 10: 'Ventilation/Blue',
637
- 11: 'Window/Blue',
638
- 12: 'Air recirculation/Blue',
639
- 48: 'Temperature Control/Blue',
640
- 64: 'Apartment Ventilation',
641
- },
642
-
643
- temperatureControlScenes: {
644
- 0: 'Heating Off',
645
- 1: 'Heating Comfort',
646
- 2: 'Heating Economy',
647
- 3: 'Heating Not Used',
648
- 4: 'Heating Night',
649
- 5: 'Heating Holiday',
650
- 6: 'Cooling Comfort',
651
- 7: 'Cooling Off',
652
- 8: 'Cooling Economy',
653
- 9: 'Cooling Not Used',
654
- 10: 'Cooling Night',
655
- 11: 'Cooling Holiday'
656
- },
657
-
658
- ventilationControlScenes: {
659
- 0: 'Off',
660
- 5: 'Level 1',
661
- 17: 'Level 2',
662
- 18: 'Level 3',
663
- 19: 'Level 4',
664
- 33: 'Automatic (air flow intensity)',
665
- 35: 'Auto (louver swing mode)',
666
- 36: 'Boost',
667
- 37: 'Noise Reduction (calm)'
668
- },
669
-
670
- apartmentScenes: {
671
- 68: 'Deep Off',
672
- 66: 'Energy overload',
673
- 67: 'Standby',
674
- 75: 'Zone active',
675
- 64: 'Auto Standby',
676
- 72: 'Absent',
677
- 71: 'Present',
678
- 69: 'Sleeping',
679
- 70: 'Wakeup',
680
- 73: 'Door Bell',
681
- 65: 'Panic',
682
- 76: 'Fire',
683
- 74: 'Alarm-1',
684
- 83: 'Alarm-2',
685
- 84: 'Alarm-3',
686
- 85: 'Alarm-4',
687
- 86: 'Wind',
688
- 87: 'No-Wind',
689
- 88: 'Rain',
690
- 89: 'No-Rain',
691
- 90: 'Hail',
692
- 91: 'No-Hail'
693
- },
694
-
695
- shadeSceneValueMap: {
696
- // not in list === don't care
697
- // do not set value, just get it
698
- // LP === Ignore Local Priority when set - means wins 100%.
699
- 0: 0, // Preset 0
700
- 1: 0, // LP Area 1 Off
701
- 2: 0, // LP Area 2 Off
702
- 3: 0, // LP Area 3 Off
703
- 4: 0, // LP Area 4 Off
704
- 5: 65535, // Preset 1
705
- 6: 65535, // LP Area 1 On
706
- 7: 65535, // LP Area 2 On
707
- 8: 65535, // LP Area 3 On
708
- 9: 65535, // LP Area 4 On
709
- 10: null, //0, // LP Area Stepping Continue
710
- 11: null, //0, // Decrement ??
711
- 12: null, //0, // Increment ??
712
- 13: 0, // LP Minimum
713
- 14: 65535, // LP Maximum
714
- 15: null, //0, // LP Stop ??
715
- 17: 65535, // Preset 2
716
- 18: 32768, // Preset 3
717
- 19: 16384, // Preset 4
718
- 20: 65535, // Preset 12
719
- 21: 32768, // Preset 13
720
- 22: 16384, // Preset 14
721
- 23: 65535, // Preset 22
722
- 24: 32768, // Preset 23
723
- 25: 16384, // Preset 24
724
- 26: 65535, // Preset 32
725
- 27: 32768, // Preset 33
726
- 28: 16384, // Preset 34
727
- 29: 65535, // Preset 42
728
- 30: 32768, // Preset 43
729
- 31: 16384, // Preset 44
730
- 32: 0, // Preset 10
731
- 33: 65535, // Preset 11
732
- 34: 0, // Preset 20
733
- 35: 65535, // Preset 21
734
- 36: 0, // Preset 30
735
- 37: 65535, // Preset 31
736
- 38: 0, // Preset 40
737
- 39: 65535, // Preset 41
738
- 40: 0, // Auto-Off
739
- 42: 0, // LP Area 1 Decrement
740
- 43: 0, // LP Area 1 Increment
741
- 44: 0, // LP Area 2 Decrement
742
- 45: 0, // LP Area 2 Increment
743
- 46: 0, // LP Area 3 Decrement
744
- 47: 0, // LP Area 3 Increment
745
- 48: 0, // LP Area 4 Decrement
746
- 49: 0, // LP Area 4 Increment
747
- 50: 0, // LP Device Off
748
- 51: 65535, // LP Device On
749
- 52: 0, // LP Area 1 Stop
750
- 53: 0, // LP Area 2 Stop
751
- 54: 0, // LP Area 3 Stop
752
- 55: 0, // LP Area 4 Stop
753
- 64: 0, // LP reserved
754
- 65: 65535, // LP Panic
755
- 67: 0, // LP Standby
756
- 68: 0, // LP Deep Off
757
- 69: 0, // LP Sleeping
758
- 72: 0, // LP Absent
759
- 76: 65535, // LP Fire
760
- 77: 65535, // LP Smoke
761
- 90: 65535 // LP Hail
762
- },
763
-
764
- lightSceneValueMap: {
765
- // not in list === don't care
766
- // do not set value, just get it
767
- // LP === Ignore Local Priority when set - means wins 100%.
768
- 0: 0, // Preset 0
769
- 1: 0, // LP Area 1 Off
770
- 2: 0, // LP Area 2 Off
771
- 3: 0, // LP Area 3 Off
772
- 4: 0, // LP Area 4 Off
773
- 5: 255, // Preset 1
774
- 6: 255, // LP Area 1 On
775
- 7: 255, // LP Area 2 On
776
- 8: 255, // LP Area 3 On
777
- 9: 255, // LP Area 4 On
778
- 10: null, //0, // LP Area Stepping Continue
779
- 11: null, //0, // Decrement ??
780
- 12: null, //0, // Increment ??
781
- 13: 0, // LP Minimum
782
- 14: 255, // LP Maximum
783
- 15: null, //0, // LP Stop ??
784
- 17: 192, // Preset 2
785
- 18: 128, // Preset 3
786
- 19: 64, // Preset 4
787
- 20: 192, // Preset 12
788
- 21: 128, // Preset 13
789
- 22: 64, // Preset 14
790
- 23: 192, // Preset 22
791
- 24: 128, // Preset 23
792
- 25: 64, // Preset 24
793
- 26: 192, // Preset 32
794
- 27: 128, // Preset 33
795
- 28: 64, // Preset 34
796
- 29: 192, // Preset 42
797
- 30: 128, // Preset 43
798
- 31: 64, // Preset 44
799
- 32: 0, // Preset 10
800
- 33: 255, // Preset 11
801
- 34: 0, // Preset 20
802
- 35: 255, // Preset 21
803
- 36: 0, // Preset 30
804
- 37: 255, // Preset 31
805
- 38: 0, // Preset 40
806
- 39: 255, // Preset 41
807
- 40: 0, // Auto-Off
808
- 42: 0, // LP Area 1 Decrement
809
- 43: 0, // LP Area 1 Increment
810
- 44: 0, // LP Area 2 Decrement
811
- 45: 0, // LP Area 2 Increment
812
- 46: 0, // LP Area 3 Decrement
813
- 47: 0, // LP Area 3 Increment
814
- 48: 0, // LP Area 4 Decrement
815
- 49: 0, // LP Area 4 Increment
816
- 50: 0, // LP Device Off
817
- 51: 255, // LP Device On
818
- 52: 0, // LP Area 1 Stop
819
- 53: 0, // LP Area 2 Stop
820
- 54: 0, // LP Area 3 Stop
821
- 55: 0, // LP Area 4 Stop
822
- 64: 0, // LP reserved
823
- 65: 255, // LP Panic
824
- 67: 0, // LP Standby
825
- 68: 0, // LP Deep Off
826
- 69: 0, // LP Sleeping
827
- 72: 0, // LP Absent
828
- 76: 255 // LP Fire
829
- },
830
-
831
- zoneStateRoleMap: {
832
- light: {
833
- name: 'light',
834
- role: 'indicator',
835
- type: 'boolean',
836
- read: true,
837
- write: false,
838
- native: {
839
- valueTrue: 'active',
840
- valueFalse: 'inactive'
841
- }
842
- },
843
- heating: {
844
- name: 'heating',
845
- role: 'indicator',
846
- type: 'boolean',
847
- read: true,
848
- write: false,
849
- native: {
850
- valueTrue: 'active',
851
- valueFalse: 'inactive'
852
- }
853
- },
854
- motion: {
855
- name: 'motion',
856
- role: 'indicator',
857
- type: 'boolean',
858
- read: true,
859
- write: false,
860
- native: {
861
- valueTrue: 'active',
862
- valueFalse: 'inactive'
863
- }
864
- },
865
- presence: {
866
- name: 'presence',
867
- role: 'indicator',
868
- type: 'boolean',
869
- read: true,
870
- write: false,
871
- native: {
872
- valueTrue: 'active',
873
- valueFalse: 'inactive'
874
- }
875
- }
876
- },
877
-
878
- apartmentStateRoleMap: {
879
- presence: {
880
- name: 'presence',
881
- role: 'indicator',
882
- type: 'boolean',
883
- read: true,
884
- write: false,
885
- native: {
886
- valueTrue: 'present',
887
- valueFalse: 'absent'
888
- }
889
- },
890
- hibernation: {
891
- name: 'hibernation',
892
- role: 'indicator',
893
- type: 'boolean',
894
- read: true,
895
- write: false,
896
- native: {
897
- valueTrue: 'sleeping',
898
- valueFalse: 'awake'
899
- }
900
- },
901
- daynight_indoors: {
902
- name: 'daynight_indoors',
903
- role: 'indicator',
904
- type: 'boolean',
905
- read: true,
906
- write: false,
907
- native: {
908
- valueTrue: 'true',
909
- valueFalse: 'false'
910
- }
911
- },
912
- daynight: {
913
- name: 'daynight',
914
- role: 'indicator',
915
- type: 'boolean',
916
- read: true,
917
- write: false,
918
- native: {
919
- valueTrue: 'true',
920
- valueFalse: 'false'
921
- }
922
- },
923
- twilight: {
924
- name: 'twilight',
925
- role: 'indicator',
926
- type: 'boolean',
927
- read: true,
928
- write: false,
929
- native: {
930
- valueTrue: 'true',
931
- valueFalse: 'false'
932
- }
933
- },
934
- daylight: {
935
- name: 'daylight',
936
- role: 'indicator',
937
- type: 'boolean',
938
- read: true,
939
- write: false,
940
- native: {
941
- valueTrue: 'true',
942
- valueFalse: 'false'
943
- }
944
- },
945
- daynight_state: {
946
- name: 'daynight',
947
- role: 'indicator',
948
- type: 'boolean',
949
- native: {
950
- valueTrue: 'true',
951
- valueFalse: 'false'
952
- }
953
- },
954
- twilight_state: {
955
- name: 'twilight',
956
- role: 'indicator',
957
- type: 'boolean',
958
- native: {
959
- valueTrue: 'true',
960
- valueFalse: 'false'
961
- }
962
- },
963
- daylight_state: {
964
- name: 'daylight',
965
- role: 'indicator',
966
- type: 'boolean',
967
- native: {
968
- valueTrue: 'true',
969
- valueFalse: 'false'
970
- }
971
- },
972
- daynight_indoors_state: {
973
- name: 'daynight_indoors',
974
- role: 'indicator',
975
- type: 'boolean',
976
- native: {
977
- valueTrue: 'true',
978
- valueFalse: 'false'
979
- }
980
- },
981
- holiday: {
982
- name: 'holiday',
983
- role: 'indicator',
984
- type: 'boolean',
985
- read: true,
986
- write: false,
987
- native: {
988
- valueTrue: 'on',
989
- valueFalse: 'off'
990
- }
991
- },
992
- alarm: {
993
- name: 'alarm',
994
- role: 'indicator',
995
- type: 'boolean',
996
- read: true,
997
- write: false,
998
- native: {
999
- valueTrue: 'active',
1000
- valueFalse: 'inactive'
1001
- }
1002
- },
1003
- alarm2: {
1004
- name: 'alarm2',
1005
- role: 'indicator',
1006
- type: 'boolean',
1007
- read: true,
1008
- write: false,
1009
- native: {
1010
- valueTrue: 'active',
1011
- valueFalse: 'inactive'
1012
- }
1013
- },
1014
- alarm3: {
1015
- name: 'alarm3',
1016
- role: 'indicator',
1017
- type: 'boolean',
1018
- read: true,
1019
- write: false,
1020
- native: {
1021
- valueTrue: 'active',
1022
- valueFalse: 'inactive'
1023
- }
1024
- },
1025
- alarm4: {
1026
- name: 'alarm4',
1027
- role: 'indicator',
1028
- type: 'boolean',
1029
- read: true,
1030
- write: false,
1031
- native: {
1032
- valueTrue: 'active',
1033
- valueFalse: 'inactive'
1034
- }
1035
- },
1036
- panic: {
1037
- name: 'panic',
1038
- role: 'indicator',
1039
- type: 'boolean',
1040
- read: true,
1041
- write: false,
1042
- native: {
1043
- valueTrue: 'active',
1044
- valueFalse: 'inactive'
1045
- }
1046
- },
1047
- fireMuteEnabled: {
1048
- name: 'fireMuteEnabled',
1049
- role: 'indicator',
1050
- type: 'boolean',
1051
- read: true,
1052
- write: false,
1053
- native: {
1054
- valueTrue: 'active',
1055
- valueFalse: 'inactive'
1056
- }
1057
- },
1058
- fire: {
1059
- name: 'fire',
1060
- role: 'indicator',
1061
- type: 'boolean',
1062
- read: true,
1063
- write: false,
1064
- native: {
1065
- valueTrue: 'active',
1066
- valueFalse: 'inactive'
1067
- }
1068
- },
1069
- wind: {
1070
- name: 'wind',
1071
- role: 'indicator',
1072
- type: 'boolean',
1073
- read: true,
1074
- write: false,
1075
- native: {
1076
- valueTrue: 'active',
1077
- valueFalse: 'inactive'
1078
- }
1079
- },
1080
- rain: {
1081
- name: 'rain',
1082
- role: 'indicator',
1083
- type: 'boolean',
1084
- read: true,
1085
- write: false,
1086
- native: {
1087
- valueTrue: 'active',
1088
- valueFalse: 'inactive'
1089
- }
1090
- },
1091
- hail: {
1092
- name: 'hail',
1093
- role: 'indicator',
1094
- type: 'boolean',
1095
- read: true,
1096
- write: false,
1097
- native: {
1098
- valueTrue: 'active',
1099
- valueFalse: 'inactive'
1100
- }
1101
- },
1102
- frost: {
1103
- name: 'frost',
1104
- role: 'indicator',
1105
- type: 'boolean',
1106
- read: true,
1107
- write: false,
1108
- native: {
1109
- valueTrue: 'active',
1110
- valueFalse: 'inactive'
1111
- }
1112
- },
1113
- sunlight_east: {
1114
- name: 'sunlight east',
1115
- role: 'indicator',
1116
- type: 'string',
1117
- read: true,
1118
- write: false,
1119
- native: {
1120
- valueTrue: 'active',
1121
- valueFalse: 'inactive'
1122
- }
1123
- },
1124
- sunlight_nord: {
1125
- name: 'sunlight nord',
1126
- role: 'indicator',
1127
- type: 'string',
1128
- read: true,
1129
- write: false,
1130
- native: {
1131
- valueTrue: 'active',
1132
- valueFalse: 'inactive'
1133
- }
1134
- },
1135
- sunlight_south: {
1136
- name: 'sunlight south',
1137
- role: 'indicator',
1138
- type: 'string',
1139
- read: true,
1140
- write: false,
1141
- native: {
1142
- valueTrue: 'active',
1143
- valueFalse: 'inactive'
1144
- }
1145
- },
1146
- sunlight_west: {
1147
- name: 'sunlight west',
1148
- role: 'indicator',
1149
- type: 'string',
1150
- read: true,
1151
- write: false,
1152
- native: {
1153
- valueTrue: 'active',
1154
- valueFalse: 'inactive'
1155
- }
1156
- },
1157
- building_service: {
1158
- name: 'building_service',
1159
- role: 'indicator',
1160
- type: 'boolean',
1161
- read: true,
1162
- write: false,
1163
- native: {
1164
- valueTrue: 'active',
1165
- valueFalse: 'inactive'
1166
- }
1167
- },
1168
- heating_system: {
1169
- name: 'heating_system',
1170
- role: 'indicator',
1171
- type: 'boolean',
1172
- read: true,
1173
- write: false,
1174
- native: {
1175
- valueTrue: 'active',
1176
- valueFalse: 'inactive'
1177
- }
1178
- },
1179
- heating_system_mode: {
1180
- name: 'heating_system_mode',
1181
- role: 'indicator',
1182
- type: 'boolean',
1183
- read: true,
1184
- write: false,
1185
- native: {
1186
- valueTrue: 'active',
1187
- valueFalse: 'inactive'
1188
- }
1189
- },
1190
- heating_water_system: {
1191
- name: 'heating_water_system',
1192
- role: 'indicator',
1193
- type: 'number',
1194
- read: true,
1195
- write: false,
1196
- native: {
1197
- valueTrue: 'active',
1198
- valueFalse: 'inactive'
1199
- }
1200
- }
1201
- }
1202
- };