iobroker.zigbee2mqtt 2.8.0 → 2.10.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 +12 -1
- package/admin/i18n/de/translations.json +6 -2
- package/admin/i18n/en/translations.json +4 -1
- package/admin/i18n/es/translations.json +5 -1
- package/admin/i18n/fr/translations.json +5 -1
- package/admin/i18n/it/translations.json +5 -1
- package/admin/i18n/nl/translations.json +5 -1
- package/admin/i18n/pl/translations.json +5 -1
- package/admin/i18n/pt/translations.json +5 -1
- package/admin/i18n/ru/translations.json +5 -1
- package/admin/i18n/uk/translations.json +5 -1
- package/admin/i18n/zh-cn/translations.json +5 -1
- package/admin/jsonConfig.json +18 -0
- package/io-package.json +80 -27
- package/lib/check.js +15 -2
- package/lib/exposes.js +18 -15
- package/lib/messages.js +1 -0
- package/lib/states.js +151 -15
- package/lib/utils.js +17 -0
- package/lib/z2mController.js +13 -0
- package/main.js +26 -3
- package/package.json +9 -9
package/lib/states.js
CHANGED
|
@@ -70,9 +70,9 @@ const states = {
|
|
|
70
70
|
write: false,
|
|
71
71
|
read: true,
|
|
72
72
|
type: 'number',
|
|
73
|
+
def: 0,
|
|
73
74
|
min: 0,
|
|
74
75
|
max: 255,
|
|
75
|
-
def: 0,
|
|
76
76
|
},
|
|
77
77
|
|
|
78
78
|
available: {
|
|
@@ -136,8 +136,8 @@ const states = {
|
|
|
136
136
|
write: true,
|
|
137
137
|
read: true,
|
|
138
138
|
type: 'number',
|
|
139
|
-
unit: '%',
|
|
140
139
|
def: 0,
|
|
140
|
+
unit: '%',
|
|
141
141
|
getter: payload => {
|
|
142
142
|
return utils.bulbLevelToAdapterLevel(payload.brightness);
|
|
143
143
|
},
|
|
@@ -221,6 +221,17 @@ const states = {
|
|
|
221
221
|
isOption: true
|
|
222
222
|
},
|
|
223
223
|
|
|
224
|
+
send_payload: {
|
|
225
|
+
id: 'send_payload',
|
|
226
|
+
name: 'Send a raw json payload',
|
|
227
|
+
icon: undefined,
|
|
228
|
+
role: 'json',
|
|
229
|
+
write: true,
|
|
230
|
+
read: false,
|
|
231
|
+
type: 'string',
|
|
232
|
+
def: '{}',
|
|
233
|
+
},
|
|
234
|
+
|
|
224
235
|
//#################################################################
|
|
225
236
|
device_query: { // button to trigger device read
|
|
226
237
|
id: 'device_query',
|
|
@@ -242,15 +253,6 @@ const states = {
|
|
|
242
253
|
read: true,
|
|
243
254
|
type: 'string',
|
|
244
255
|
},
|
|
245
|
-
send_payload: {
|
|
246
|
-
id: 'send_payload',
|
|
247
|
-
name: 'Send to Device',
|
|
248
|
-
icon: undefined,
|
|
249
|
-
role: 'state',
|
|
250
|
-
write: true,
|
|
251
|
-
read: true,
|
|
252
|
-
type: 'string',
|
|
253
|
-
},
|
|
254
256
|
checking: { // press button for checking
|
|
255
257
|
id: 'checking',
|
|
256
258
|
name: 'Start checking process',
|
|
@@ -336,6 +338,7 @@ const states = {
|
|
|
336
338
|
write: false,
|
|
337
339
|
read: true,
|
|
338
340
|
type: 'number',
|
|
341
|
+
def: 0,
|
|
339
342
|
},
|
|
340
343
|
triple_click: {
|
|
341
344
|
id: 'triple_click',
|
|
@@ -438,7 +441,8 @@ const states = {
|
|
|
438
441
|
write: false,
|
|
439
442
|
read: true,
|
|
440
443
|
type: 'number',
|
|
441
|
-
unit: 'kWh'
|
|
444
|
+
unit: 'kWh',
|
|
445
|
+
def: 0,
|
|
442
446
|
},
|
|
443
447
|
battery: {
|
|
444
448
|
id: 'battery',
|
|
@@ -705,6 +709,7 @@ const states = {
|
|
|
705
709
|
write: false,
|
|
706
710
|
read: true,
|
|
707
711
|
type: 'number',
|
|
712
|
+
def: 0,
|
|
708
713
|
unit: '%',
|
|
709
714
|
min: 0,
|
|
710
715
|
max: 100
|
|
@@ -717,6 +722,7 @@ const states = {
|
|
|
717
722
|
write: false,
|
|
718
723
|
read: true,
|
|
719
724
|
type: 'number',
|
|
725
|
+
def: 0,
|
|
720
726
|
unit: 'hPa',
|
|
721
727
|
min: 0,
|
|
722
728
|
max: 10000
|
|
@@ -730,6 +736,7 @@ const states = {
|
|
|
730
736
|
write: false,
|
|
731
737
|
read: true,
|
|
732
738
|
type: 'number',
|
|
739
|
+
def: 0,
|
|
733
740
|
unit: 'lux'
|
|
734
741
|
},
|
|
735
742
|
illuminance_raw: {
|
|
@@ -741,6 +748,7 @@ const states = {
|
|
|
741
748
|
write: false,
|
|
742
749
|
read: true,
|
|
743
750
|
type: 'number',
|
|
751
|
+
def: 0,
|
|
744
752
|
unit: ''
|
|
745
753
|
},
|
|
746
754
|
occupancy: {
|
|
@@ -775,6 +783,7 @@ const states = {
|
|
|
775
783
|
write: true,
|
|
776
784
|
read: true,
|
|
777
785
|
type: 'number',
|
|
786
|
+
def: 0,
|
|
778
787
|
epname: 'ep2', // philips hue sml001
|
|
779
788
|
},
|
|
780
789
|
no_motion: {
|
|
@@ -786,6 +795,7 @@ const states = {
|
|
|
786
795
|
write: false,
|
|
787
796
|
read: true,
|
|
788
797
|
type: 'number',
|
|
798
|
+
def: 0,
|
|
789
799
|
unit: 'seconds',
|
|
790
800
|
prepublish: (devId, value, callback, options) => {
|
|
791
801
|
if (value) {
|
|
@@ -966,6 +976,7 @@ const states = {
|
|
|
966
976
|
write: true,
|
|
967
977
|
read: true,
|
|
968
978
|
type: 'number',
|
|
979
|
+
def: 0,
|
|
969
980
|
setter: (value) => {
|
|
970
981
|
return { strobe: true, duration: value };
|
|
971
982
|
},
|
|
@@ -979,6 +990,7 @@ const states = {
|
|
|
979
990
|
write: true,
|
|
980
991
|
read: true,
|
|
981
992
|
type: 'number',
|
|
993
|
+
def: 0,
|
|
982
994
|
setter: (value) => {
|
|
983
995
|
return { mode: 'stop', strobe: true, duration: value };
|
|
984
996
|
},
|
|
@@ -992,6 +1004,7 @@ const states = {
|
|
|
992
1004
|
write: true,
|
|
993
1005
|
read: true,
|
|
994
1006
|
type: 'number',
|
|
1007
|
+
def: 0,
|
|
995
1008
|
setter: (value) => {
|
|
996
1009
|
return { strobe: false, duration: value };
|
|
997
1010
|
},
|
|
@@ -1053,6 +1066,7 @@ const states = {
|
|
|
1053
1066
|
write: false,
|
|
1054
1067
|
read: true,
|
|
1055
1068
|
type: 'number',
|
|
1069
|
+
def: 0,
|
|
1056
1070
|
getter: payload => (payload.action === 'tap') ? payload.side : undefined,
|
|
1057
1071
|
},
|
|
1058
1072
|
slide: {
|
|
@@ -1076,6 +1090,7 @@ const states = {
|
|
|
1076
1090
|
write: false,
|
|
1077
1091
|
read: true,
|
|
1078
1092
|
type: 'number',
|
|
1093
|
+
def: 0,
|
|
1079
1094
|
getter: payload => (payload.action === 'slide') ? payload.side : undefined,
|
|
1080
1095
|
},
|
|
1081
1096
|
flip180: {
|
|
@@ -1099,6 +1114,7 @@ const states = {
|
|
|
1099
1114
|
write: false,
|
|
1100
1115
|
read: true,
|
|
1101
1116
|
type: 'number',
|
|
1117
|
+
def: 0,
|
|
1102
1118
|
getter: payload => (payload.action === 'flip180') ? payload.side : undefined,
|
|
1103
1119
|
},
|
|
1104
1120
|
flip90: {
|
|
@@ -1122,6 +1138,7 @@ const states = {
|
|
|
1122
1138
|
write: false,
|
|
1123
1139
|
read: true,
|
|
1124
1140
|
type: 'number',
|
|
1141
|
+
def: 0,
|
|
1125
1142
|
getter: payload => (payload.action === 'flip90') ? payload.from_side : undefined,
|
|
1126
1143
|
},
|
|
1127
1144
|
flip90_to: {
|
|
@@ -1133,6 +1150,7 @@ const states = {
|
|
|
1133
1150
|
write: false,
|
|
1134
1151
|
read: true,
|
|
1135
1152
|
type: 'number',
|
|
1153
|
+
def: 0,
|
|
1136
1154
|
getter: payload => (payload.action === 'flip90') ? payload.to_side : undefined,
|
|
1137
1155
|
},
|
|
1138
1156
|
rotate_left: {
|
|
@@ -1180,6 +1198,7 @@ const states = {
|
|
|
1180
1198
|
write: false,
|
|
1181
1199
|
read: true,
|
|
1182
1200
|
type: 'number',
|
|
1201
|
+
def: 0,
|
|
1183
1202
|
},
|
|
1184
1203
|
action_play_pause: {
|
|
1185
1204
|
id: 'button_play_pause',
|
|
@@ -1202,6 +1221,7 @@ const states = {
|
|
|
1202
1221
|
write: false,
|
|
1203
1222
|
read: true,
|
|
1204
1223
|
type: 'number',
|
|
1224
|
+
def: 0,
|
|
1205
1225
|
unit: 'W'
|
|
1206
1226
|
},
|
|
1207
1227
|
plug_voltage: {
|
|
@@ -1212,6 +1232,7 @@ const states = {
|
|
|
1212
1232
|
write: false,
|
|
1213
1233
|
read: true,
|
|
1214
1234
|
type: 'number',
|
|
1235
|
+
def: 0,
|
|
1215
1236
|
unit: 'V'
|
|
1216
1237
|
},
|
|
1217
1238
|
load_current: {
|
|
@@ -1223,7 +1244,8 @@ const states = {
|
|
|
1223
1244
|
write: false,
|
|
1224
1245
|
read: true,
|
|
1225
1246
|
type: 'number',
|
|
1226
|
-
unit: 'A'
|
|
1247
|
+
unit: 'A',
|
|
1248
|
+
def: 0
|
|
1227
1249
|
},
|
|
1228
1250
|
plug_consumption: {
|
|
1229
1251
|
id: 'consumption',
|
|
@@ -1233,6 +1255,7 @@ const states = {
|
|
|
1233
1255
|
write: false,
|
|
1234
1256
|
read: true,
|
|
1235
1257
|
type: 'number',
|
|
1258
|
+
def: 0
|
|
1236
1259
|
},
|
|
1237
1260
|
plug_temperature: {
|
|
1238
1261
|
id: 'temperature',
|
|
@@ -1242,6 +1265,7 @@ const states = {
|
|
|
1242
1265
|
write: false,
|
|
1243
1266
|
read: true,
|
|
1244
1267
|
type: 'number',
|
|
1268
|
+
def: 0
|
|
1245
1269
|
},
|
|
1246
1270
|
plug_consumer_connected: {
|
|
1247
1271
|
id: 'consumer_connected',
|
|
@@ -1260,7 +1284,8 @@ const states = {
|
|
|
1260
1284
|
write: false,
|
|
1261
1285
|
read: true,
|
|
1262
1286
|
type: 'number',
|
|
1263
|
-
unit: 'W'
|
|
1287
|
+
unit: 'W',
|
|
1288
|
+
def: 0
|
|
1264
1289
|
},
|
|
1265
1290
|
plug_power_outage_memory: {
|
|
1266
1291
|
id: 'power_outage_memory',
|
|
@@ -1300,6 +1325,7 @@ const states = {
|
|
|
1300
1325
|
unit: '',
|
|
1301
1326
|
min: 0,
|
|
1302
1327
|
max: 100,
|
|
1328
|
+
def: 0,
|
|
1303
1329
|
getter: payload => {
|
|
1304
1330
|
return utils.bulbLevelToAdapterLevel(payload.brightness);
|
|
1305
1331
|
},
|
|
@@ -1314,6 +1340,7 @@ const states = {
|
|
|
1314
1340
|
write: true,
|
|
1315
1341
|
read: true,
|
|
1316
1342
|
type: 'number',
|
|
1343
|
+
def: 0,
|
|
1317
1344
|
setter: (value) => {
|
|
1318
1345
|
return utils.toMired(value);
|
|
1319
1346
|
},
|
|
@@ -1408,6 +1435,7 @@ const states = {
|
|
|
1408
1435
|
write: true,
|
|
1409
1436
|
read: true,
|
|
1410
1437
|
type: 'number',
|
|
1438
|
+
def: 0,
|
|
1411
1439
|
unit: '°C',
|
|
1412
1440
|
isOption: true,
|
|
1413
1441
|
},
|
|
@@ -1420,6 +1448,7 @@ const states = {
|
|
|
1420
1448
|
write: true,
|
|
1421
1449
|
read: true,
|
|
1422
1450
|
type: 'number',
|
|
1451
|
+
def: 0,
|
|
1423
1452
|
unit: '%',
|
|
1424
1453
|
isOption: true,
|
|
1425
1454
|
},
|
|
@@ -1432,6 +1461,7 @@ const states = {
|
|
|
1432
1461
|
write: true,
|
|
1433
1462
|
read: true,
|
|
1434
1463
|
type: 'number',
|
|
1464
|
+
def: 0,
|
|
1435
1465
|
unit: '%',
|
|
1436
1466
|
isOption: true,
|
|
1437
1467
|
},
|
|
@@ -1549,6 +1579,7 @@ const states = {
|
|
|
1549
1579
|
write: false,
|
|
1550
1580
|
read: true,
|
|
1551
1581
|
type: 'number',
|
|
1582
|
+
def: 0,
|
|
1552
1583
|
},
|
|
1553
1584
|
rwl_duration: {
|
|
1554
1585
|
id: 'press_duration',
|
|
@@ -1559,6 +1590,7 @@ const states = {
|
|
|
1559
1590
|
write: false,
|
|
1560
1591
|
read: true,
|
|
1561
1592
|
type: 'number',
|
|
1593
|
+
def: 0,
|
|
1562
1594
|
},
|
|
1563
1595
|
rwl_multiple_press_timeout: {
|
|
1564
1596
|
id: 'multiple_press_timeout',
|
|
@@ -1569,6 +1601,7 @@ const states = {
|
|
|
1569
1601
|
write: true,
|
|
1570
1602
|
read: true,
|
|
1571
1603
|
type: 'number',
|
|
1604
|
+
def: 0,
|
|
1572
1605
|
unit: 'sec',
|
|
1573
1606
|
isOption: true,
|
|
1574
1607
|
},
|
|
@@ -1582,6 +1615,7 @@ const states = {
|
|
|
1582
1615
|
write: true,
|
|
1583
1616
|
read: true,
|
|
1584
1617
|
type: 'number',
|
|
1618
|
+
def: 0,
|
|
1585
1619
|
min: 0,
|
|
1586
1620
|
max: 2,
|
|
1587
1621
|
epname: 'ep2',
|
|
@@ -1609,6 +1643,7 @@ const states = {
|
|
|
1609
1643
|
write: true,
|
|
1610
1644
|
read: false,
|
|
1611
1645
|
type: 'number',
|
|
1646
|
+
def: 0,
|
|
1612
1647
|
unit: 'sec',
|
|
1613
1648
|
isOption: true,
|
|
1614
1649
|
},
|
|
@@ -1631,6 +1666,7 @@ const states = {
|
|
|
1631
1666
|
write: false,
|
|
1632
1667
|
read: true,
|
|
1633
1668
|
type: 'number',
|
|
1669
|
+
def: 0,
|
|
1634
1670
|
},
|
|
1635
1671
|
DNCKAT_state_1: {
|
|
1636
1672
|
id: 'state_1',
|
|
@@ -1775,6 +1811,7 @@ const states = {
|
|
|
1775
1811
|
write: false,
|
|
1776
1812
|
read: true,
|
|
1777
1813
|
type: 'number',
|
|
1814
|
+
def: 0,
|
|
1778
1815
|
},
|
|
1779
1816
|
tilt_angle_x: {
|
|
1780
1817
|
id: 'tilt_angle_x',
|
|
@@ -1785,6 +1822,7 @@ const states = {
|
|
|
1785
1822
|
write: false,
|
|
1786
1823
|
read: true,
|
|
1787
1824
|
type: 'number',
|
|
1825
|
+
def: 0,
|
|
1788
1826
|
},
|
|
1789
1827
|
tilt_angle_y: {
|
|
1790
1828
|
id: 'tilt_angle_y',
|
|
@@ -1795,6 +1833,7 @@ const states = {
|
|
|
1795
1833
|
write: false,
|
|
1796
1834
|
read: true,
|
|
1797
1835
|
type: 'number',
|
|
1836
|
+
def: 0,
|
|
1798
1837
|
},
|
|
1799
1838
|
tilt_angle_z: {
|
|
1800
1839
|
id: 'tilt_angle_z',
|
|
@@ -1805,6 +1844,7 @@ const states = {
|
|
|
1805
1844
|
write: false,
|
|
1806
1845
|
read: true,
|
|
1807
1846
|
type: 'number',
|
|
1847
|
+
def: 0,
|
|
1808
1848
|
},
|
|
1809
1849
|
tilt_angle_x_abs: {
|
|
1810
1850
|
id: 'tilt_angle_x_abs',
|
|
@@ -1815,6 +1855,7 @@ const states = {
|
|
|
1815
1855
|
write: false,
|
|
1816
1856
|
read: true,
|
|
1817
1857
|
type: 'number',
|
|
1858
|
+
def: 0,
|
|
1818
1859
|
},
|
|
1819
1860
|
tilt_angle_y_abs: {
|
|
1820
1861
|
id: 'tilt_angle_y_abs',
|
|
@@ -1825,6 +1866,7 @@ const states = {
|
|
|
1825
1866
|
write: false,
|
|
1826
1867
|
read: true,
|
|
1827
1868
|
type: 'number',
|
|
1869
|
+
def: 0,
|
|
1828
1870
|
},
|
|
1829
1871
|
E1524_toggle: {
|
|
1830
1872
|
id: 'toggle',
|
|
@@ -2044,6 +2086,7 @@ const states = {
|
|
|
2044
2086
|
write: false,
|
|
2045
2087
|
read: true,
|
|
2046
2088
|
type: 'number',
|
|
2089
|
+
def: 0,
|
|
2047
2090
|
getter: payload => (payload.action === 'color_temp') ? payload.action_color_temperature : undefined,
|
|
2048
2091
|
},
|
|
2049
2092
|
tint404011_color_read: {
|
|
@@ -2242,6 +2285,7 @@ const states = {
|
|
|
2242
2285
|
write: false,
|
|
2243
2286
|
read: true,
|
|
2244
2287
|
type: 'number',
|
|
2288
|
+
def: 0,
|
|
2245
2289
|
unit: '°C',
|
|
2246
2290
|
},
|
|
2247
2291
|
hvacThermostat_local_temp_calibration: {
|
|
@@ -2253,8 +2297,8 @@ const states = {
|
|
|
2253
2297
|
write: true,
|
|
2254
2298
|
read: true,
|
|
2255
2299
|
type: 'number',
|
|
2300
|
+
def: 0,
|
|
2256
2301
|
unit: '°C',
|
|
2257
|
-
def: 0
|
|
2258
2302
|
},
|
|
2259
2303
|
hvacThermostat_remote_sensing: {
|
|
2260
2304
|
id: 'remote_sensing',
|
|
@@ -2266,6 +2310,7 @@ const states = {
|
|
|
2266
2310
|
min: 0,
|
|
2267
2311
|
max: 7,
|
|
2268
2312
|
type: 'number',
|
|
2313
|
+
def: 0,
|
|
2269
2314
|
},
|
|
2270
2315
|
hvacThermostat_control_sequence_of_operation_write: {
|
|
2271
2316
|
id: 'control_sequence_of_operation',
|
|
@@ -2275,6 +2320,7 @@ const states = {
|
|
|
2275
2320
|
write: true,
|
|
2276
2321
|
read: true,
|
|
2277
2322
|
// type: 'number',
|
|
2323
|
+
def: 0,
|
|
2278
2324
|
},
|
|
2279
2325
|
hvacThermostat_setpoint_raise_lower: {
|
|
2280
2326
|
id: 'setpoint_raise_lower',
|
|
@@ -2285,6 +2331,7 @@ const states = {
|
|
|
2285
2331
|
write: true,
|
|
2286
2332
|
read: true,
|
|
2287
2333
|
type: 'number',
|
|
2334
|
+
def: 0,
|
|
2288
2335
|
unit: '°C',
|
|
2289
2336
|
},
|
|
2290
2337
|
hvacThermostat_occupancy: {
|
|
@@ -2310,6 +2357,7 @@ const states = {
|
|
|
2310
2357
|
write: true,
|
|
2311
2358
|
read: true,
|
|
2312
2359
|
type: 'number',
|
|
2360
|
+
def: 0,
|
|
2313
2361
|
unit: '°C',
|
|
2314
2362
|
},
|
|
2315
2363
|
hvacThermostat_unoccupied_heating_setpoint: {
|
|
@@ -2321,6 +2369,7 @@ const states = {
|
|
|
2321
2369
|
write: true,
|
|
2322
2370
|
read: true,
|
|
2323
2371
|
type: 'number',
|
|
2372
|
+
def: 0,
|
|
2324
2373
|
unit: '°C',
|
|
2325
2374
|
},
|
|
2326
2375
|
hvacThermostat_weeklySchedule: {
|
|
@@ -2332,6 +2381,7 @@ const states = {
|
|
|
2332
2381
|
write: false,
|
|
2333
2382
|
read: true,
|
|
2334
2383
|
type: 'number',
|
|
2384
|
+
def: 0,
|
|
2335
2385
|
},
|
|
2336
2386
|
hvacThermostat_clear_weeklySchedule: {
|
|
2337
2387
|
id: 'clear_weekly_schedule',
|
|
@@ -2342,6 +2392,7 @@ const states = {
|
|
|
2342
2392
|
write: false,
|
|
2343
2393
|
read: true,
|
|
2344
2394
|
type: 'number',
|
|
2395
|
+
def: 0,
|
|
2345
2396
|
},
|
|
2346
2397
|
hvacThermostat_weekly_schedule_rsp: {
|
|
2347
2398
|
id: 'weekly_schedule_rsp',
|
|
@@ -2352,6 +2403,7 @@ const states = {
|
|
|
2352
2403
|
write: false,
|
|
2353
2404
|
read: true,
|
|
2354
2405
|
type: 'number',
|
|
2406
|
+
def: 0,
|
|
2355
2407
|
},
|
|
2356
2408
|
hvacThermostat_relay_status_log: {
|
|
2357
2409
|
id: 'relay_status_log',
|
|
@@ -2382,6 +2434,7 @@ const states = {
|
|
|
2382
2434
|
write: true,
|
|
2383
2435
|
read: true,
|
|
2384
2436
|
type: 'number',
|
|
2437
|
+
def: 0,
|
|
2385
2438
|
unit: '°C',
|
|
2386
2439
|
},
|
|
2387
2440
|
hvacThermostat_setpoint_change_source: {
|
|
@@ -2393,6 +2446,7 @@ const states = {
|
|
|
2393
2446
|
write: false,
|
|
2394
2447
|
read: true,
|
|
2395
2448
|
type: 'number',
|
|
2449
|
+
def: 0
|
|
2396
2450
|
},
|
|
2397
2451
|
hvacThermostat_setpoint_change_source_timestamp: {
|
|
2398
2452
|
id: 'setpoint_change_source_timestamp',
|
|
@@ -2403,6 +2457,7 @@ const states = {
|
|
|
2403
2457
|
write: false,
|
|
2404
2458
|
read: true,
|
|
2405
2459
|
type: 'number',
|
|
2460
|
+
def: 0
|
|
2406
2461
|
},
|
|
2407
2462
|
hvacThermostat_control_sequence_of_operation: {
|
|
2408
2463
|
id: 'control_sequence_of_operation',
|
|
@@ -2413,6 +2468,7 @@ const states = {
|
|
|
2413
2468
|
write: false,
|
|
2414
2469
|
read: true,
|
|
2415
2470
|
type: 'number',
|
|
2471
|
+
def: 0
|
|
2416
2472
|
},
|
|
2417
2473
|
hvacThermostat_system_mode: {
|
|
2418
2474
|
id: 'system_mode',
|
|
@@ -2423,6 +2479,7 @@ const states = {
|
|
|
2423
2479
|
write: false,
|
|
2424
2480
|
read: true,
|
|
2425
2481
|
type: 'number',
|
|
2482
|
+
def: 0,
|
|
2426
2483
|
},
|
|
2427
2484
|
hvacThermostat_running_mode: {
|
|
2428
2485
|
id: 'running_mode',
|
|
@@ -2433,6 +2490,7 @@ const states = {
|
|
|
2433
2490
|
write: false,
|
|
2434
2491
|
read: true,
|
|
2435
2492
|
type: 'number',
|
|
2493
|
+
def: 0,
|
|
2436
2494
|
},
|
|
2437
2495
|
hvacThermostat_running_state: {
|
|
2438
2496
|
id: 'running_state',
|
|
@@ -2443,6 +2501,7 @@ const states = {
|
|
|
2443
2501
|
write: false,
|
|
2444
2502
|
read: true,
|
|
2445
2503
|
type: 'number',
|
|
2504
|
+
def: 0,
|
|
2446
2505
|
},
|
|
2447
2506
|
// General hvac defined valve position, not scaled to match Hardware
|
|
2448
2507
|
hvacThermostat_pi_heating_demand: {
|
|
@@ -2454,6 +2513,7 @@ const states = {
|
|
|
2454
2513
|
write: false,
|
|
2455
2514
|
read: true,
|
|
2456
2515
|
type: 'number',
|
|
2516
|
+
def: 0,
|
|
2457
2517
|
},
|
|
2458
2518
|
|
|
2459
2519
|
// Eurotronic Spirit Zigbee specific states
|
|
@@ -2467,6 +2527,7 @@ const states = {
|
|
|
2467
2527
|
write: false,
|
|
2468
2528
|
read: true,
|
|
2469
2529
|
type: 'number',
|
|
2530
|
+
def: 0,
|
|
2470
2531
|
unit: '%',
|
|
2471
2532
|
},
|
|
2472
2533
|
SPZB0001_valve_position: { //0x4001
|
|
@@ -2479,6 +2540,7 @@ const states = {
|
|
|
2479
2540
|
write: true,
|
|
2480
2541
|
read: true,
|
|
2481
2542
|
type: 'number',
|
|
2543
|
+
def: 0,
|
|
2482
2544
|
min: 0,
|
|
2483
2545
|
max: 100,
|
|
2484
2546
|
unit: '%',
|
|
@@ -2494,6 +2556,7 @@ const states = {
|
|
|
2494
2556
|
write: true,
|
|
2495
2557
|
read: true,
|
|
2496
2558
|
type: 'number',
|
|
2559
|
+
def: 0,
|
|
2497
2560
|
unit: '°C',
|
|
2498
2561
|
min: 5,
|
|
2499
2562
|
max: 30,
|
|
@@ -2509,6 +2572,7 @@ const states = {
|
|
|
2509
2572
|
write: true,
|
|
2510
2573
|
read: true,
|
|
2511
2574
|
type: 'number',
|
|
2575
|
+
def: 0,
|
|
2512
2576
|
},
|
|
2513
2577
|
SPBZ0001_system_mode: { //0x4008
|
|
2514
2578
|
// for compatibility only, bits accessible as own states via eurotronic_host_flags
|
|
@@ -2526,6 +2590,7 @@ const states = {
|
|
|
2526
2590
|
write: true,
|
|
2527
2591
|
read: true,
|
|
2528
2592
|
type: 'number',
|
|
2593
|
+
def: 0,
|
|
2529
2594
|
},
|
|
2530
2595
|
SPBZ0001_error_status: { //0x4002
|
|
2531
2596
|
id: 'spz_error_status',
|
|
@@ -2536,6 +2601,7 @@ const states = {
|
|
|
2536
2601
|
write: false,
|
|
2537
2602
|
read: true,
|
|
2538
2603
|
type: 'number',
|
|
2604
|
+
def: 0,
|
|
2539
2605
|
},
|
|
2540
2606
|
SPBZ0001_window_open: {
|
|
2541
2607
|
id: 'window_open',
|
|
@@ -2631,6 +2697,7 @@ const states = {
|
|
|
2631
2697
|
write: false,
|
|
2632
2698
|
read: true,
|
|
2633
2699
|
type: 'number',
|
|
2700
|
+
def: 0,
|
|
2634
2701
|
},
|
|
2635
2702
|
danfoss_testrun_day_of_week: {
|
|
2636
2703
|
id: 'testrun_day_of_week',
|
|
@@ -2641,6 +2708,7 @@ const states = {
|
|
|
2641
2708
|
write: true,
|
|
2642
2709
|
read: true,
|
|
2643
2710
|
type: 'number',
|
|
2711
|
+
def: 0,
|
|
2644
2712
|
min: 0,
|
|
2645
2713
|
max: 7,
|
|
2646
2714
|
},
|
|
@@ -2653,6 +2721,7 @@ const states = {
|
|
|
2653
2721
|
write: true,
|
|
2654
2722
|
read: true,
|
|
2655
2723
|
type: 'number',
|
|
2724
|
+
def: 0,
|
|
2656
2725
|
},
|
|
2657
2726
|
danfoss_mounted_direction: {
|
|
2658
2727
|
id: 'thermostat_orientation',
|
|
@@ -2696,6 +2765,7 @@ const states = {
|
|
|
2696
2765
|
min: 1,
|
|
2697
2766
|
max: 10,
|
|
2698
2767
|
type: 'number',
|
|
2768
|
+
def: 0,
|
|
2699
2769
|
},
|
|
2700
2770
|
danfoss_heat_available: {
|
|
2701
2771
|
id: 'heat_available',
|
|
@@ -2728,6 +2798,7 @@ const states = {
|
|
|
2728
2798
|
min: 0,
|
|
2729
2799
|
max: 1,
|
|
2730
2800
|
type: 'number',
|
|
2801
|
+
def: 0,
|
|
2731
2802
|
},
|
|
2732
2803
|
thermostat_keypad_lockout: {
|
|
2733
2804
|
id: 'keypad_lockout',
|
|
@@ -2738,6 +2809,7 @@ const states = {
|
|
|
2738
2809
|
write: true,
|
|
2739
2810
|
read: true,
|
|
2740
2811
|
type: 'number',
|
|
2812
|
+
def: 0,
|
|
2741
2813
|
|
|
2742
2814
|
},
|
|
2743
2815
|
natgas_detected: {
|
|
@@ -2760,6 +2832,7 @@ const states = {
|
|
|
2760
2832
|
write: false,
|
|
2761
2833
|
read: true,
|
|
2762
2834
|
type: 'number',
|
|
2835
|
+
def: 0,
|
|
2763
2836
|
},
|
|
2764
2837
|
natgas_sensitivity: {
|
|
2765
2838
|
id: 'gas_sensitivity',
|
|
@@ -2780,6 +2853,7 @@ const states = {
|
|
|
2780
2853
|
write: false,
|
|
2781
2854
|
read: true,
|
|
2782
2855
|
type: 'number',
|
|
2856
|
+
def: 0,
|
|
2783
2857
|
},
|
|
2784
2858
|
lumi_lock_failed_times: {
|
|
2785
2859
|
id: 'repeat',
|
|
@@ -2790,6 +2864,7 @@ const states = {
|
|
|
2790
2864
|
write: false,
|
|
2791
2865
|
read: true,
|
|
2792
2866
|
type: 'number',
|
|
2867
|
+
def: 0,
|
|
2793
2868
|
},
|
|
2794
2869
|
lumi_lock_action: {
|
|
2795
2870
|
id: 'action',
|
|
@@ -2810,6 +2885,7 @@ const states = {
|
|
|
2810
2885
|
write: false,
|
|
2811
2886
|
read: true,
|
|
2812
2887
|
type: 'number',
|
|
2888
|
+
def: 0,
|
|
2813
2889
|
getter: payload => (payload.inserted === 'unknown') ? -1 : (payload.inserted === undefined ? null : parseInt(payload.inserted, 10)),
|
|
2814
2890
|
},
|
|
2815
2891
|
forgotten: {
|
|
@@ -2821,6 +2897,7 @@ const states = {
|
|
|
2821
2897
|
write: false,
|
|
2822
2898
|
read: true,
|
|
2823
2899
|
type: 'number',
|
|
2900
|
+
def: 0,
|
|
2824
2901
|
getter: payload => (payload.forgotten === undefined ? null : parseInt(payload.forgotten)),
|
|
2825
2902
|
},
|
|
2826
2903
|
key_error: {
|
|
@@ -2938,6 +3015,7 @@ const states = {
|
|
|
2938
3015
|
write: false,
|
|
2939
3016
|
read: true,
|
|
2940
3017
|
type: 'number',
|
|
3018
|
+
def: 0,
|
|
2941
3019
|
unit: '°C',
|
|
2942
3020
|
},
|
|
2943
3021
|
zigup_exttemp: {
|
|
@@ -2949,6 +3027,7 @@ const states = {
|
|
|
2949
3027
|
write: false,
|
|
2950
3028
|
read: true,
|
|
2951
3029
|
type: 'number',
|
|
3030
|
+
def: 0,
|
|
2952
3031
|
unit: '°C',
|
|
2953
3032
|
},
|
|
2954
3033
|
zigup_exthumi: {
|
|
@@ -2960,6 +3039,7 @@ const states = {
|
|
|
2960
3039
|
write: false,
|
|
2961
3040
|
read: true,
|
|
2962
3041
|
type: 'number',
|
|
3042
|
+
def: 0,
|
|
2963
3043
|
unit: '%',
|
|
2964
3044
|
},
|
|
2965
3045
|
zigup_s0counts: {
|
|
@@ -2971,6 +3051,7 @@ const states = {
|
|
|
2971
3051
|
write: false,
|
|
2972
3052
|
read: true,
|
|
2973
3053
|
type: 'number',
|
|
3054
|
+
def: 0,
|
|
2974
3055
|
},
|
|
2975
3056
|
zigup_adc_volt: {
|
|
2976
3057
|
id: 'adc_volt',
|
|
@@ -2981,6 +3062,7 @@ const states = {
|
|
|
2981
3062
|
write: false,
|
|
2982
3063
|
read: true,
|
|
2983
3064
|
type: 'number',
|
|
3065
|
+
def: 0,
|
|
2984
3066
|
},
|
|
2985
3067
|
zigup_diginput: {
|
|
2986
3068
|
id: 'dig_input',
|
|
@@ -2991,6 +3073,7 @@ const states = {
|
|
|
2991
3073
|
write: false,
|
|
2992
3074
|
read: true,
|
|
2993
3075
|
type: 'number',
|
|
3076
|
+
def: 0,
|
|
2994
3077
|
},
|
|
2995
3078
|
zigup_reason: {
|
|
2996
3079
|
id: 'reason',
|
|
@@ -3021,6 +3104,7 @@ const states = {
|
|
|
3021
3104
|
write: true,
|
|
3022
3105
|
read: true,
|
|
3023
3106
|
type: 'number',
|
|
3107
|
+
def: 0,
|
|
3024
3108
|
min: 0,
|
|
3025
3109
|
max: 100,
|
|
3026
3110
|
unit: '%',
|
|
@@ -3111,6 +3195,7 @@ const states = {
|
|
|
3111
3195
|
write: true,
|
|
3112
3196
|
read: true,
|
|
3113
3197
|
type: 'number',
|
|
3198
|
+
def: 0,
|
|
3114
3199
|
min: 0,
|
|
3115
3200
|
max: 100,
|
|
3116
3201
|
unit: '%',
|
|
@@ -3943,6 +4028,7 @@ const states = {
|
|
|
3943
4028
|
write: true,
|
|
3944
4029
|
read: true,
|
|
3945
4030
|
type: 'number',
|
|
4031
|
+
def: 0,
|
|
3946
4032
|
unit: '',
|
|
3947
4033
|
min: 0,
|
|
3948
4034
|
max: 100,
|
|
@@ -3983,6 +4069,7 @@ const states = {
|
|
|
3983
4069
|
write: true,
|
|
3984
4070
|
read: true,
|
|
3985
4071
|
type: 'number',
|
|
4072
|
+
def: 0,
|
|
3986
4073
|
setterOpt: (value, options) => {
|
|
3987
4074
|
const hasTransitionTime = options && options.hasOwnProperty('transition_time');
|
|
3988
4075
|
const transitionTime = hasTransitionTime ? options.transition_time : 0;
|
|
@@ -3999,6 +4086,7 @@ const states = {
|
|
|
3999
4086
|
write: true,
|
|
4000
4087
|
read: true,
|
|
4001
4088
|
type: 'number',
|
|
4089
|
+
def: 0,
|
|
4002
4090
|
unit: '',
|
|
4003
4091
|
min: 0,
|
|
4004
4092
|
max: 100,
|
|
@@ -4039,6 +4127,7 @@ const states = {
|
|
|
4039
4127
|
write: true,
|
|
4040
4128
|
read: true,
|
|
4041
4129
|
type: 'number',
|
|
4130
|
+
def: 0,
|
|
4042
4131
|
setterOpt: (value, options) => {
|
|
4043
4132
|
const hasTransitionTime = options && options.hasOwnProperty('transition_time');
|
|
4044
4133
|
const transitionTime = hasTransitionTime ? options.transition_time : 0;
|
|
@@ -4070,6 +4159,7 @@ const states = {
|
|
|
4070
4159
|
write: true,
|
|
4071
4160
|
read: true,
|
|
4072
4161
|
type: 'number',
|
|
4162
|
+
def: 0,
|
|
4073
4163
|
unit: '',
|
|
4074
4164
|
min: 0,
|
|
4075
4165
|
max: 100,
|
|
@@ -4097,6 +4187,7 @@ const states = {
|
|
|
4097
4187
|
write: true,
|
|
4098
4188
|
read: true,
|
|
4099
4189
|
type: 'number',
|
|
4190
|
+
def: 0,
|
|
4100
4191
|
setterOpt: (value, options) => {
|
|
4101
4192
|
const hasTransitionTime = options && options.hasOwnProperty('transition_time');
|
|
4102
4193
|
const transitionTime = hasTransitionTime ? options.transition_time : 0;
|
|
@@ -4185,6 +4276,7 @@ const states = {
|
|
|
4185
4276
|
write: true,
|
|
4186
4277
|
read: true,
|
|
4187
4278
|
type: 'number',
|
|
4279
|
+
def: 0,
|
|
4188
4280
|
unit: '°C',
|
|
4189
4281
|
min: 0,
|
|
4190
4282
|
max: 70,
|
|
@@ -4243,6 +4335,7 @@ const states = {
|
|
|
4243
4335
|
write: true,
|
|
4244
4336
|
read: true,
|
|
4245
4337
|
type: 'number',
|
|
4338
|
+
def: 0,
|
|
4246
4339
|
unit: '°C',
|
|
4247
4340
|
min: 0,
|
|
4248
4341
|
max: 70,
|
|
@@ -4256,6 +4349,7 @@ const states = {
|
|
|
4256
4349
|
write: true,
|
|
4257
4350
|
read: true,
|
|
4258
4351
|
type: 'number',
|
|
4352
|
+
def: 0,
|
|
4259
4353
|
unit: '°C',
|
|
4260
4354
|
min: 0,
|
|
4261
4355
|
max: 70,
|
|
@@ -4269,6 +4363,7 @@ const states = {
|
|
|
4269
4363
|
write: true,
|
|
4270
4364
|
read: true,
|
|
4271
4365
|
type: 'number',
|
|
4366
|
+
def: 0,
|
|
4272
4367
|
unit: 'sec',
|
|
4273
4368
|
min: 0,
|
|
4274
4369
|
max: 600,
|
|
@@ -4282,6 +4377,7 @@ const states = {
|
|
|
4282
4377
|
write: true,
|
|
4283
4378
|
read: true,
|
|
4284
4379
|
type: 'number',
|
|
4380
|
+
def: 0,
|
|
4285
4381
|
unit: '°C',
|
|
4286
4382
|
min: 0,
|
|
4287
4383
|
max: 70,
|
|
@@ -4295,6 +4391,7 @@ const states = {
|
|
|
4295
4391
|
write: true,
|
|
4296
4392
|
read: true,
|
|
4297
4393
|
type: 'number',
|
|
4394
|
+
def: 0,
|
|
4298
4395
|
unit: '°C',
|
|
4299
4396
|
min: 0,
|
|
4300
4397
|
max: 70,
|
|
@@ -4375,6 +4472,7 @@ const states = {
|
|
|
4375
4472
|
write: false,
|
|
4376
4473
|
read: true,
|
|
4377
4474
|
type: 'number',
|
|
4475
|
+
def: 0,
|
|
4378
4476
|
min: 0,
|
|
4379
4477
|
max: 100,
|
|
4380
4478
|
unit: '%',
|
|
@@ -4389,6 +4487,7 @@ const states = {
|
|
|
4389
4487
|
write: false,
|
|
4390
4488
|
read: true,
|
|
4391
4489
|
type: 'number',
|
|
4490
|
+
def: 0,
|
|
4392
4491
|
getter: payload => (payload.click === 'off') ? 0 : (payload.click === 'on') ? 1 : parseInt(payload.click) + 1,
|
|
4393
4492
|
},
|
|
4394
4493
|
icasa_click: {
|
|
@@ -4422,6 +4521,7 @@ const states = {
|
|
|
4422
4521
|
write: false,
|
|
4423
4522
|
read: true,
|
|
4424
4523
|
type: 'number',
|
|
4524
|
+
def: 0,
|
|
4425
4525
|
getter: payload => payload.brightness,
|
|
4426
4526
|
},
|
|
4427
4527
|
top_state: {
|
|
@@ -4460,6 +4560,7 @@ const states = {
|
|
|
4460
4560
|
write: false,
|
|
4461
4561
|
read: true,
|
|
4462
4562
|
type: 'number',
|
|
4563
|
+
def: 0,
|
|
4463
4564
|
unit: ''
|
|
4464
4565
|
},
|
|
4465
4566
|
eco2: {
|
|
@@ -4470,6 +4571,7 @@ const states = {
|
|
|
4470
4571
|
write: false,
|
|
4471
4572
|
read: true,
|
|
4472
4573
|
type: 'number',
|
|
4574
|
+
def: 0,
|
|
4473
4575
|
unit: ''
|
|
4474
4576
|
},
|
|
4475
4577
|
ts0042_right_click: {
|
|
@@ -4948,6 +5050,7 @@ const states = {
|
|
|
4948
5050
|
write: false,
|
|
4949
5051
|
read: true,
|
|
4950
5052
|
type: 'number',
|
|
5053
|
+
def: 0,
|
|
4951
5054
|
unit: 'kWh'
|
|
4952
5055
|
},
|
|
4953
5056
|
alarm: {
|
|
@@ -5267,6 +5370,7 @@ const states = {
|
|
|
5267
5370
|
write: false,
|
|
5268
5371
|
read: true,
|
|
5269
5372
|
type: 'number',
|
|
5373
|
+
def: 0,
|
|
5270
5374
|
unit: ''
|
|
5271
5375
|
},
|
|
5272
5376
|
radiation_dose_per_hour: {
|
|
@@ -5277,6 +5381,7 @@ const states = {
|
|
|
5277
5381
|
write: false,
|
|
5278
5382
|
read: true,
|
|
5279
5383
|
type: 'number',
|
|
5384
|
+
def: 0,
|
|
5280
5385
|
unit: ''
|
|
5281
5386
|
},
|
|
5282
5387
|
action_onoff: {
|
|
@@ -5298,6 +5403,7 @@ const states = {
|
|
|
5298
5403
|
write: true,
|
|
5299
5404
|
read: true,
|
|
5300
5405
|
type: 'number',
|
|
5406
|
+
def: 0,
|
|
5301
5407
|
unit: ''
|
|
5302
5408
|
},
|
|
5303
5409
|
geiger_led_feedback: {
|
|
@@ -5328,6 +5434,7 @@ const states = {
|
|
|
5328
5434
|
write: true,
|
|
5329
5435
|
read: true,
|
|
5330
5436
|
type: 'number',
|
|
5437
|
+
def: 0,
|
|
5331
5438
|
unit: ''
|
|
5332
5439
|
},
|
|
5333
5440
|
geiger_sensors_type: {
|
|
@@ -5349,6 +5456,7 @@ const states = {
|
|
|
5349
5456
|
write: true,
|
|
5350
5457
|
read: true,
|
|
5351
5458
|
type: 'number',
|
|
5459
|
+
def: 0,
|
|
5352
5460
|
unit: ''
|
|
5353
5461
|
},
|
|
5354
5462
|
scene: {
|
|
@@ -5371,6 +5479,7 @@ const states = {
|
|
|
5371
5479
|
write: true,
|
|
5372
5480
|
read: false,
|
|
5373
5481
|
type: 'number',
|
|
5482
|
+
def: 0,
|
|
5374
5483
|
min: -50,
|
|
5375
5484
|
max: 50
|
|
5376
5485
|
},
|
|
@@ -5433,6 +5542,7 @@ const states = {
|
|
|
5433
5542
|
write: false,
|
|
5434
5543
|
read: true,
|
|
5435
5544
|
type: 'number',
|
|
5545
|
+
def: 0,
|
|
5436
5546
|
unit: '',
|
|
5437
5547
|
getter: payload => (payload.action === 'brightness_step_up') ? payload.action_step_size : undefined,
|
|
5438
5548
|
},
|
|
@@ -5445,6 +5555,7 @@ const states = {
|
|
|
5445
5555
|
write: false,
|
|
5446
5556
|
read: true,
|
|
5447
5557
|
type: 'number',
|
|
5558
|
+
def: 0,
|
|
5448
5559
|
unit: '',
|
|
5449
5560
|
getter: payload => (payload.action === 'brightness_step_down') ? payload.action_step_size : undefined,
|
|
5450
5561
|
},
|
|
@@ -5482,6 +5593,7 @@ const states = {
|
|
|
5482
5593
|
write: false,
|
|
5483
5594
|
read: true,
|
|
5484
5595
|
type: 'number',
|
|
5596
|
+
def: 0,
|
|
5485
5597
|
unit: '',
|
|
5486
5598
|
getter: payload => (payload.action === 'color_temperature_move') ? payload.action_color_temperature : undefined,
|
|
5487
5599
|
},
|
|
@@ -5537,6 +5649,7 @@ const states = {
|
|
|
5537
5649
|
write: false,
|
|
5538
5650
|
read: true,
|
|
5539
5651
|
type: 'number',
|
|
5652
|
+
def: 0,
|
|
5540
5653
|
unit: '',
|
|
5541
5654
|
getter: payload => (payload.action === 'brightness_move_up') ? payload.action_rate : undefined,
|
|
5542
5655
|
},
|
|
@@ -5562,6 +5675,7 @@ const states = {
|
|
|
5562
5675
|
write: false,
|
|
5563
5676
|
read: true,
|
|
5564
5677
|
type: 'number',
|
|
5678
|
+
def: 0,
|
|
5565
5679
|
unit: '',
|
|
5566
5680
|
getter: payload => (payload.action === 'brightness_move_down') ? payload.action_rate : undefined,
|
|
5567
5681
|
},
|
|
@@ -5586,6 +5700,7 @@ const states = {
|
|
|
5586
5700
|
write: false,
|
|
5587
5701
|
read: true,
|
|
5588
5702
|
type: 'number',
|
|
5703
|
+
def: 0,
|
|
5589
5704
|
unit: '',
|
|
5590
5705
|
getter: payload => (payload.action === 'enhanced_move_to_hue_and_saturation') ? payload.action_enhanced_hue : undefined,
|
|
5591
5706
|
},
|
|
@@ -5598,6 +5713,7 @@ const states = {
|
|
|
5598
5713
|
write: false,
|
|
5599
5714
|
read: true,
|
|
5600
5715
|
type: 'number',
|
|
5716
|
+
def: 0,
|
|
5601
5717
|
unit: '',
|
|
5602
5718
|
getter: payload => (payload.action === 'enhanced_move_to_hue_and_saturation') ? payload.action_hue : undefined,
|
|
5603
5719
|
},
|
|
@@ -5610,6 +5726,7 @@ const states = {
|
|
|
5610
5726
|
write: false,
|
|
5611
5727
|
read: true,
|
|
5612
5728
|
type: 'number',
|
|
5729
|
+
def: 0,
|
|
5613
5730
|
unit: '',
|
|
5614
5731
|
getter: payload => (payload.action === 'enhanced_move_to_hue_and_saturation') ? payload.action_saturation : undefined,
|
|
5615
5732
|
},
|
|
@@ -5622,6 +5739,7 @@ const states = {
|
|
|
5622
5739
|
write: false,
|
|
5623
5740
|
read: true,
|
|
5624
5741
|
type: 'number',
|
|
5742
|
+
def: 0,
|
|
5625
5743
|
unit: ''
|
|
5626
5744
|
},
|
|
5627
5745
|
selftest: {
|
|
@@ -5651,6 +5769,7 @@ const states = {
|
|
|
5651
5769
|
write: false,
|
|
5652
5770
|
read: true,
|
|
5653
5771
|
type: 'number',
|
|
5772
|
+
def: 0,
|
|
5654
5773
|
unit: '%',
|
|
5655
5774
|
},
|
|
5656
5775
|
gira_pressed_up: {
|
|
@@ -5780,6 +5899,7 @@ const states = {
|
|
|
5780
5899
|
write: true,
|
|
5781
5900
|
read: true,
|
|
5782
5901
|
type: 'boolean',
|
|
5902
|
+
def: false,
|
|
5783
5903
|
getter: payload => (payload.child_lock === 'LOCKED'),
|
|
5784
5904
|
setter: (value) => (value) ? 'LOCKED' : 'UNLOCKED',
|
|
5785
5905
|
},
|
|
@@ -5792,6 +5912,7 @@ const states = {
|
|
|
5792
5912
|
write: true,
|
|
5793
5913
|
read: true,
|
|
5794
5914
|
type: 'number',
|
|
5915
|
+
def: 0,
|
|
5795
5916
|
unit: '%'
|
|
5796
5917
|
},
|
|
5797
5918
|
hy_sensor_type: {
|
|
@@ -5814,6 +5935,7 @@ const states = {
|
|
|
5814
5935
|
write: false,
|
|
5815
5936
|
read: true,
|
|
5816
5937
|
type: 'number',
|
|
5938
|
+
def: 0,
|
|
5817
5939
|
unit: '°C',
|
|
5818
5940
|
},
|
|
5819
5941
|
alarm_info: {
|
|
@@ -5835,6 +5957,7 @@ const states = {
|
|
|
5835
5957
|
write: false,
|
|
5836
5958
|
read: true,
|
|
5837
5959
|
type: 'number',
|
|
5960
|
+
def: 0,
|
|
5838
5961
|
unit: 'ppm',
|
|
5839
5962
|
},
|
|
5840
5963
|
airsense_led_feedback: {
|
|
@@ -5865,6 +5988,7 @@ const states = {
|
|
|
5865
5988
|
write: true,
|
|
5866
5989
|
read: true,
|
|
5867
5990
|
type: 'number',
|
|
5991
|
+
def: 0,
|
|
5868
5992
|
unit: ''
|
|
5869
5993
|
},
|
|
5870
5994
|
airsense_threshold2: {
|
|
@@ -5875,6 +5999,7 @@ const states = {
|
|
|
5875
5999
|
write: true,
|
|
5876
6000
|
read: true,
|
|
5877
6001
|
type: 'number',
|
|
6002
|
+
def: 0,
|
|
5878
6003
|
unit: ''
|
|
5879
6004
|
},
|
|
5880
6005
|
|
|
@@ -5948,6 +6073,7 @@ const states = {
|
|
|
5948
6073
|
inOptions: true,
|
|
5949
6074
|
read: false,
|
|
5950
6075
|
type: 'number',
|
|
6076
|
+
def: 0,
|
|
5951
6077
|
min: 1,
|
|
5952
6078
|
max: 64,
|
|
5953
6079
|
unit: '',
|
|
@@ -6078,6 +6204,7 @@ const states = {
|
|
|
6078
6204
|
icon: undefined,
|
|
6079
6205
|
role: 'channel',
|
|
6080
6206
|
type: 'number',
|
|
6207
|
+
def: 0,
|
|
6081
6208
|
write: false,
|
|
6082
6209
|
read: true,
|
|
6083
6210
|
getter: (payload) => {
|
|
@@ -6115,6 +6242,7 @@ const states = {
|
|
|
6115
6242
|
icon: undefined,
|
|
6116
6243
|
role: 'channel',
|
|
6117
6244
|
type: 'number',
|
|
6245
|
+
def: 0,
|
|
6118
6246
|
write: false,
|
|
6119
6247
|
read: true,
|
|
6120
6248
|
getter: (payload) => {
|
|
@@ -6152,6 +6280,7 @@ const states = {
|
|
|
6152
6280
|
icon: undefined,
|
|
6153
6281
|
role: 'channel',
|
|
6154
6282
|
type: 'number',
|
|
6283
|
+
def: 0,
|
|
6155
6284
|
write: false,
|
|
6156
6285
|
read: true,
|
|
6157
6286
|
getter: (payload) => {
|
|
@@ -6189,6 +6318,7 @@ const states = {
|
|
|
6189
6318
|
icon: undefined,
|
|
6190
6319
|
role: 'channel',
|
|
6191
6320
|
type: 'number',
|
|
6321
|
+
def: 0,
|
|
6192
6322
|
write: false,
|
|
6193
6323
|
read: true,
|
|
6194
6324
|
getter: (payload) => {
|
|
@@ -6226,6 +6356,7 @@ const states = {
|
|
|
6226
6356
|
icon: undefined,
|
|
6227
6357
|
role: 'channel',
|
|
6228
6358
|
type: 'number',
|
|
6359
|
+
def: 0,
|
|
6229
6360
|
write: false,
|
|
6230
6361
|
read: true,
|
|
6231
6362
|
getter: (payload) => {
|
|
@@ -6263,6 +6394,7 @@ const states = {
|
|
|
6263
6394
|
icon: undefined,
|
|
6264
6395
|
role: 'channel',
|
|
6265
6396
|
type: 'number',
|
|
6397
|
+
def: 0,
|
|
6266
6398
|
write: false,
|
|
6267
6399
|
read: true,
|
|
6268
6400
|
getter: (payload) => {
|
|
@@ -6300,6 +6432,7 @@ const states = {
|
|
|
6300
6432
|
icon: undefined,
|
|
6301
6433
|
role: 'channel',
|
|
6302
6434
|
type: 'number',
|
|
6435
|
+
def: 0,
|
|
6303
6436
|
write: false,
|
|
6304
6437
|
read: true,
|
|
6305
6438
|
getter: (payload) => {
|
|
@@ -6337,6 +6470,7 @@ const states = {
|
|
|
6337
6470
|
icon: undefined,
|
|
6338
6471
|
role: 'channel',
|
|
6339
6472
|
type: 'number',
|
|
6473
|
+
def: 0,
|
|
6340
6474
|
write: false,
|
|
6341
6475
|
read: true,
|
|
6342
6476
|
getter: (payload) => {
|
|
@@ -6478,6 +6612,7 @@ const states = {
|
|
|
6478
6612
|
write: true,
|
|
6479
6613
|
read: true,
|
|
6480
6614
|
type: 'number',
|
|
6615
|
+
def: 0,
|
|
6481
6616
|
},
|
|
6482
6617
|
ptvo_interval: {
|
|
6483
6618
|
id: 'interval',
|
|
@@ -6488,6 +6623,7 @@ const states = {
|
|
|
6488
6623
|
write: true,
|
|
6489
6624
|
read: true,
|
|
6490
6625
|
type: 'number',
|
|
6626
|
+
def: 0,
|
|
6491
6627
|
},
|
|
6492
6628
|
};
|
|
6493
6629
|
|