iobroker.zigbee2mqtt 2.9.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 +7 -0
- 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 +67 -14
- package/lib/check.js +15 -2
- package/lib/exposes.js +17 -15
- package/lib/messages.js +1 -0
- package/lib/states.js +140 -6
- package/lib/utils.js +17 -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
|
},
|
|
@@ -338,6 +338,7 @@ const states = {
|
|
|
338
338
|
write: false,
|
|
339
339
|
read: true,
|
|
340
340
|
type: 'number',
|
|
341
|
+
def: 0,
|
|
341
342
|
},
|
|
342
343
|
triple_click: {
|
|
343
344
|
id: 'triple_click',
|
|
@@ -440,7 +441,8 @@ const states = {
|
|
|
440
441
|
write: false,
|
|
441
442
|
read: true,
|
|
442
443
|
type: 'number',
|
|
443
|
-
unit: 'kWh'
|
|
444
|
+
unit: 'kWh',
|
|
445
|
+
def: 0,
|
|
444
446
|
},
|
|
445
447
|
battery: {
|
|
446
448
|
id: 'battery',
|
|
@@ -707,6 +709,7 @@ const states = {
|
|
|
707
709
|
write: false,
|
|
708
710
|
read: true,
|
|
709
711
|
type: 'number',
|
|
712
|
+
def: 0,
|
|
710
713
|
unit: '%',
|
|
711
714
|
min: 0,
|
|
712
715
|
max: 100
|
|
@@ -719,6 +722,7 @@ const states = {
|
|
|
719
722
|
write: false,
|
|
720
723
|
read: true,
|
|
721
724
|
type: 'number',
|
|
725
|
+
def: 0,
|
|
722
726
|
unit: 'hPa',
|
|
723
727
|
min: 0,
|
|
724
728
|
max: 10000
|
|
@@ -732,6 +736,7 @@ const states = {
|
|
|
732
736
|
write: false,
|
|
733
737
|
read: true,
|
|
734
738
|
type: 'number',
|
|
739
|
+
def: 0,
|
|
735
740
|
unit: 'lux'
|
|
736
741
|
},
|
|
737
742
|
illuminance_raw: {
|
|
@@ -743,6 +748,7 @@ const states = {
|
|
|
743
748
|
write: false,
|
|
744
749
|
read: true,
|
|
745
750
|
type: 'number',
|
|
751
|
+
def: 0,
|
|
746
752
|
unit: ''
|
|
747
753
|
},
|
|
748
754
|
occupancy: {
|
|
@@ -777,6 +783,7 @@ const states = {
|
|
|
777
783
|
write: true,
|
|
778
784
|
read: true,
|
|
779
785
|
type: 'number',
|
|
786
|
+
def: 0,
|
|
780
787
|
epname: 'ep2', // philips hue sml001
|
|
781
788
|
},
|
|
782
789
|
no_motion: {
|
|
@@ -788,6 +795,7 @@ const states = {
|
|
|
788
795
|
write: false,
|
|
789
796
|
read: true,
|
|
790
797
|
type: 'number',
|
|
798
|
+
def: 0,
|
|
791
799
|
unit: 'seconds',
|
|
792
800
|
prepublish: (devId, value, callback, options) => {
|
|
793
801
|
if (value) {
|
|
@@ -968,6 +976,7 @@ const states = {
|
|
|
968
976
|
write: true,
|
|
969
977
|
read: true,
|
|
970
978
|
type: 'number',
|
|
979
|
+
def: 0,
|
|
971
980
|
setter: (value) => {
|
|
972
981
|
return { strobe: true, duration: value };
|
|
973
982
|
},
|
|
@@ -981,6 +990,7 @@ const states = {
|
|
|
981
990
|
write: true,
|
|
982
991
|
read: true,
|
|
983
992
|
type: 'number',
|
|
993
|
+
def: 0,
|
|
984
994
|
setter: (value) => {
|
|
985
995
|
return { mode: 'stop', strobe: true, duration: value };
|
|
986
996
|
},
|
|
@@ -994,6 +1004,7 @@ const states = {
|
|
|
994
1004
|
write: true,
|
|
995
1005
|
read: true,
|
|
996
1006
|
type: 'number',
|
|
1007
|
+
def: 0,
|
|
997
1008
|
setter: (value) => {
|
|
998
1009
|
return { strobe: false, duration: value };
|
|
999
1010
|
},
|
|
@@ -1055,6 +1066,7 @@ const states = {
|
|
|
1055
1066
|
write: false,
|
|
1056
1067
|
read: true,
|
|
1057
1068
|
type: 'number',
|
|
1069
|
+
def: 0,
|
|
1058
1070
|
getter: payload => (payload.action === 'tap') ? payload.side : undefined,
|
|
1059
1071
|
},
|
|
1060
1072
|
slide: {
|
|
@@ -1078,6 +1090,7 @@ const states = {
|
|
|
1078
1090
|
write: false,
|
|
1079
1091
|
read: true,
|
|
1080
1092
|
type: 'number',
|
|
1093
|
+
def: 0,
|
|
1081
1094
|
getter: payload => (payload.action === 'slide') ? payload.side : undefined,
|
|
1082
1095
|
},
|
|
1083
1096
|
flip180: {
|
|
@@ -1101,6 +1114,7 @@ const states = {
|
|
|
1101
1114
|
write: false,
|
|
1102
1115
|
read: true,
|
|
1103
1116
|
type: 'number',
|
|
1117
|
+
def: 0,
|
|
1104
1118
|
getter: payload => (payload.action === 'flip180') ? payload.side : undefined,
|
|
1105
1119
|
},
|
|
1106
1120
|
flip90: {
|
|
@@ -1124,6 +1138,7 @@ const states = {
|
|
|
1124
1138
|
write: false,
|
|
1125
1139
|
read: true,
|
|
1126
1140
|
type: 'number',
|
|
1141
|
+
def: 0,
|
|
1127
1142
|
getter: payload => (payload.action === 'flip90') ? payload.from_side : undefined,
|
|
1128
1143
|
},
|
|
1129
1144
|
flip90_to: {
|
|
@@ -1135,6 +1150,7 @@ const states = {
|
|
|
1135
1150
|
write: false,
|
|
1136
1151
|
read: true,
|
|
1137
1152
|
type: 'number',
|
|
1153
|
+
def: 0,
|
|
1138
1154
|
getter: payload => (payload.action === 'flip90') ? payload.to_side : undefined,
|
|
1139
1155
|
},
|
|
1140
1156
|
rotate_left: {
|
|
@@ -1182,6 +1198,7 @@ const states = {
|
|
|
1182
1198
|
write: false,
|
|
1183
1199
|
read: true,
|
|
1184
1200
|
type: 'number',
|
|
1201
|
+
def: 0,
|
|
1185
1202
|
},
|
|
1186
1203
|
action_play_pause: {
|
|
1187
1204
|
id: 'button_play_pause',
|
|
@@ -1204,6 +1221,7 @@ const states = {
|
|
|
1204
1221
|
write: false,
|
|
1205
1222
|
read: true,
|
|
1206
1223
|
type: 'number',
|
|
1224
|
+
def: 0,
|
|
1207
1225
|
unit: 'W'
|
|
1208
1226
|
},
|
|
1209
1227
|
plug_voltage: {
|
|
@@ -1214,6 +1232,7 @@ const states = {
|
|
|
1214
1232
|
write: false,
|
|
1215
1233
|
read: true,
|
|
1216
1234
|
type: 'number',
|
|
1235
|
+
def: 0,
|
|
1217
1236
|
unit: 'V'
|
|
1218
1237
|
},
|
|
1219
1238
|
load_current: {
|
|
@@ -1225,7 +1244,8 @@ const states = {
|
|
|
1225
1244
|
write: false,
|
|
1226
1245
|
read: true,
|
|
1227
1246
|
type: 'number',
|
|
1228
|
-
unit: 'A'
|
|
1247
|
+
unit: 'A',
|
|
1248
|
+
def: 0
|
|
1229
1249
|
},
|
|
1230
1250
|
plug_consumption: {
|
|
1231
1251
|
id: 'consumption',
|
|
@@ -1235,6 +1255,7 @@ const states = {
|
|
|
1235
1255
|
write: false,
|
|
1236
1256
|
read: true,
|
|
1237
1257
|
type: 'number',
|
|
1258
|
+
def: 0
|
|
1238
1259
|
},
|
|
1239
1260
|
plug_temperature: {
|
|
1240
1261
|
id: 'temperature',
|
|
@@ -1244,6 +1265,7 @@ const states = {
|
|
|
1244
1265
|
write: false,
|
|
1245
1266
|
read: true,
|
|
1246
1267
|
type: 'number',
|
|
1268
|
+
def: 0
|
|
1247
1269
|
},
|
|
1248
1270
|
plug_consumer_connected: {
|
|
1249
1271
|
id: 'consumer_connected',
|
|
@@ -1262,7 +1284,8 @@ const states = {
|
|
|
1262
1284
|
write: false,
|
|
1263
1285
|
read: true,
|
|
1264
1286
|
type: 'number',
|
|
1265
|
-
unit: 'W'
|
|
1287
|
+
unit: 'W',
|
|
1288
|
+
def: 0
|
|
1266
1289
|
},
|
|
1267
1290
|
plug_power_outage_memory: {
|
|
1268
1291
|
id: 'power_outage_memory',
|
|
@@ -1302,6 +1325,7 @@ const states = {
|
|
|
1302
1325
|
unit: '',
|
|
1303
1326
|
min: 0,
|
|
1304
1327
|
max: 100,
|
|
1328
|
+
def: 0,
|
|
1305
1329
|
getter: payload => {
|
|
1306
1330
|
return utils.bulbLevelToAdapterLevel(payload.brightness);
|
|
1307
1331
|
},
|
|
@@ -1316,6 +1340,7 @@ const states = {
|
|
|
1316
1340
|
write: true,
|
|
1317
1341
|
read: true,
|
|
1318
1342
|
type: 'number',
|
|
1343
|
+
def: 0,
|
|
1319
1344
|
setter: (value) => {
|
|
1320
1345
|
return utils.toMired(value);
|
|
1321
1346
|
},
|
|
@@ -1410,6 +1435,7 @@ const states = {
|
|
|
1410
1435
|
write: true,
|
|
1411
1436
|
read: true,
|
|
1412
1437
|
type: 'number',
|
|
1438
|
+
def: 0,
|
|
1413
1439
|
unit: '°C',
|
|
1414
1440
|
isOption: true,
|
|
1415
1441
|
},
|
|
@@ -1422,6 +1448,7 @@ const states = {
|
|
|
1422
1448
|
write: true,
|
|
1423
1449
|
read: true,
|
|
1424
1450
|
type: 'number',
|
|
1451
|
+
def: 0,
|
|
1425
1452
|
unit: '%',
|
|
1426
1453
|
isOption: true,
|
|
1427
1454
|
},
|
|
@@ -1434,6 +1461,7 @@ const states = {
|
|
|
1434
1461
|
write: true,
|
|
1435
1462
|
read: true,
|
|
1436
1463
|
type: 'number',
|
|
1464
|
+
def: 0,
|
|
1437
1465
|
unit: '%',
|
|
1438
1466
|
isOption: true,
|
|
1439
1467
|
},
|
|
@@ -1551,6 +1579,7 @@ const states = {
|
|
|
1551
1579
|
write: false,
|
|
1552
1580
|
read: true,
|
|
1553
1581
|
type: 'number',
|
|
1582
|
+
def: 0,
|
|
1554
1583
|
},
|
|
1555
1584
|
rwl_duration: {
|
|
1556
1585
|
id: 'press_duration',
|
|
@@ -1561,6 +1590,7 @@ const states = {
|
|
|
1561
1590
|
write: false,
|
|
1562
1591
|
read: true,
|
|
1563
1592
|
type: 'number',
|
|
1593
|
+
def: 0,
|
|
1564
1594
|
},
|
|
1565
1595
|
rwl_multiple_press_timeout: {
|
|
1566
1596
|
id: 'multiple_press_timeout',
|
|
@@ -1571,6 +1601,7 @@ const states = {
|
|
|
1571
1601
|
write: true,
|
|
1572
1602
|
read: true,
|
|
1573
1603
|
type: 'number',
|
|
1604
|
+
def: 0,
|
|
1574
1605
|
unit: 'sec',
|
|
1575
1606
|
isOption: true,
|
|
1576
1607
|
},
|
|
@@ -1584,6 +1615,7 @@ const states = {
|
|
|
1584
1615
|
write: true,
|
|
1585
1616
|
read: true,
|
|
1586
1617
|
type: 'number',
|
|
1618
|
+
def: 0,
|
|
1587
1619
|
min: 0,
|
|
1588
1620
|
max: 2,
|
|
1589
1621
|
epname: 'ep2',
|
|
@@ -1611,6 +1643,7 @@ const states = {
|
|
|
1611
1643
|
write: true,
|
|
1612
1644
|
read: false,
|
|
1613
1645
|
type: 'number',
|
|
1646
|
+
def: 0,
|
|
1614
1647
|
unit: 'sec',
|
|
1615
1648
|
isOption: true,
|
|
1616
1649
|
},
|
|
@@ -1633,6 +1666,7 @@ const states = {
|
|
|
1633
1666
|
write: false,
|
|
1634
1667
|
read: true,
|
|
1635
1668
|
type: 'number',
|
|
1669
|
+
def: 0,
|
|
1636
1670
|
},
|
|
1637
1671
|
DNCKAT_state_1: {
|
|
1638
1672
|
id: 'state_1',
|
|
@@ -1777,6 +1811,7 @@ const states = {
|
|
|
1777
1811
|
write: false,
|
|
1778
1812
|
read: true,
|
|
1779
1813
|
type: 'number',
|
|
1814
|
+
def: 0,
|
|
1780
1815
|
},
|
|
1781
1816
|
tilt_angle_x: {
|
|
1782
1817
|
id: 'tilt_angle_x',
|
|
@@ -1787,6 +1822,7 @@ const states = {
|
|
|
1787
1822
|
write: false,
|
|
1788
1823
|
read: true,
|
|
1789
1824
|
type: 'number',
|
|
1825
|
+
def: 0,
|
|
1790
1826
|
},
|
|
1791
1827
|
tilt_angle_y: {
|
|
1792
1828
|
id: 'tilt_angle_y',
|
|
@@ -1797,6 +1833,7 @@ const states = {
|
|
|
1797
1833
|
write: false,
|
|
1798
1834
|
read: true,
|
|
1799
1835
|
type: 'number',
|
|
1836
|
+
def: 0,
|
|
1800
1837
|
},
|
|
1801
1838
|
tilt_angle_z: {
|
|
1802
1839
|
id: 'tilt_angle_z',
|
|
@@ -1807,6 +1844,7 @@ const states = {
|
|
|
1807
1844
|
write: false,
|
|
1808
1845
|
read: true,
|
|
1809
1846
|
type: 'number',
|
|
1847
|
+
def: 0,
|
|
1810
1848
|
},
|
|
1811
1849
|
tilt_angle_x_abs: {
|
|
1812
1850
|
id: 'tilt_angle_x_abs',
|
|
@@ -1817,6 +1855,7 @@ const states = {
|
|
|
1817
1855
|
write: false,
|
|
1818
1856
|
read: true,
|
|
1819
1857
|
type: 'number',
|
|
1858
|
+
def: 0,
|
|
1820
1859
|
},
|
|
1821
1860
|
tilt_angle_y_abs: {
|
|
1822
1861
|
id: 'tilt_angle_y_abs',
|
|
@@ -1827,6 +1866,7 @@ const states = {
|
|
|
1827
1866
|
write: false,
|
|
1828
1867
|
read: true,
|
|
1829
1868
|
type: 'number',
|
|
1869
|
+
def: 0,
|
|
1830
1870
|
},
|
|
1831
1871
|
E1524_toggle: {
|
|
1832
1872
|
id: 'toggle',
|
|
@@ -2046,6 +2086,7 @@ const states = {
|
|
|
2046
2086
|
write: false,
|
|
2047
2087
|
read: true,
|
|
2048
2088
|
type: 'number',
|
|
2089
|
+
def: 0,
|
|
2049
2090
|
getter: payload => (payload.action === 'color_temp') ? payload.action_color_temperature : undefined,
|
|
2050
2091
|
},
|
|
2051
2092
|
tint404011_color_read: {
|
|
@@ -2244,6 +2285,7 @@ const states = {
|
|
|
2244
2285
|
write: false,
|
|
2245
2286
|
read: true,
|
|
2246
2287
|
type: 'number',
|
|
2288
|
+
def: 0,
|
|
2247
2289
|
unit: '°C',
|
|
2248
2290
|
},
|
|
2249
2291
|
hvacThermostat_local_temp_calibration: {
|
|
@@ -2255,8 +2297,8 @@ const states = {
|
|
|
2255
2297
|
write: true,
|
|
2256
2298
|
read: true,
|
|
2257
2299
|
type: 'number',
|
|
2300
|
+
def: 0,
|
|
2258
2301
|
unit: '°C',
|
|
2259
|
-
def: 0
|
|
2260
2302
|
},
|
|
2261
2303
|
hvacThermostat_remote_sensing: {
|
|
2262
2304
|
id: 'remote_sensing',
|
|
@@ -2268,6 +2310,7 @@ const states = {
|
|
|
2268
2310
|
min: 0,
|
|
2269
2311
|
max: 7,
|
|
2270
2312
|
type: 'number',
|
|
2313
|
+
def: 0,
|
|
2271
2314
|
},
|
|
2272
2315
|
hvacThermostat_control_sequence_of_operation_write: {
|
|
2273
2316
|
id: 'control_sequence_of_operation',
|
|
@@ -2277,6 +2320,7 @@ const states = {
|
|
|
2277
2320
|
write: true,
|
|
2278
2321
|
read: true,
|
|
2279
2322
|
// type: 'number',
|
|
2323
|
+
def: 0,
|
|
2280
2324
|
},
|
|
2281
2325
|
hvacThermostat_setpoint_raise_lower: {
|
|
2282
2326
|
id: 'setpoint_raise_lower',
|
|
@@ -2287,6 +2331,7 @@ const states = {
|
|
|
2287
2331
|
write: true,
|
|
2288
2332
|
read: true,
|
|
2289
2333
|
type: 'number',
|
|
2334
|
+
def: 0,
|
|
2290
2335
|
unit: '°C',
|
|
2291
2336
|
},
|
|
2292
2337
|
hvacThermostat_occupancy: {
|
|
@@ -2312,6 +2357,7 @@ const states = {
|
|
|
2312
2357
|
write: true,
|
|
2313
2358
|
read: true,
|
|
2314
2359
|
type: 'number',
|
|
2360
|
+
def: 0,
|
|
2315
2361
|
unit: '°C',
|
|
2316
2362
|
},
|
|
2317
2363
|
hvacThermostat_unoccupied_heating_setpoint: {
|
|
@@ -2323,6 +2369,7 @@ const states = {
|
|
|
2323
2369
|
write: true,
|
|
2324
2370
|
read: true,
|
|
2325
2371
|
type: 'number',
|
|
2372
|
+
def: 0,
|
|
2326
2373
|
unit: '°C',
|
|
2327
2374
|
},
|
|
2328
2375
|
hvacThermostat_weeklySchedule: {
|
|
@@ -2334,6 +2381,7 @@ const states = {
|
|
|
2334
2381
|
write: false,
|
|
2335
2382
|
read: true,
|
|
2336
2383
|
type: 'number',
|
|
2384
|
+
def: 0,
|
|
2337
2385
|
},
|
|
2338
2386
|
hvacThermostat_clear_weeklySchedule: {
|
|
2339
2387
|
id: 'clear_weekly_schedule',
|
|
@@ -2344,6 +2392,7 @@ const states = {
|
|
|
2344
2392
|
write: false,
|
|
2345
2393
|
read: true,
|
|
2346
2394
|
type: 'number',
|
|
2395
|
+
def: 0,
|
|
2347
2396
|
},
|
|
2348
2397
|
hvacThermostat_weekly_schedule_rsp: {
|
|
2349
2398
|
id: 'weekly_schedule_rsp',
|
|
@@ -2354,6 +2403,7 @@ const states = {
|
|
|
2354
2403
|
write: false,
|
|
2355
2404
|
read: true,
|
|
2356
2405
|
type: 'number',
|
|
2406
|
+
def: 0,
|
|
2357
2407
|
},
|
|
2358
2408
|
hvacThermostat_relay_status_log: {
|
|
2359
2409
|
id: 'relay_status_log',
|
|
@@ -2384,6 +2434,7 @@ const states = {
|
|
|
2384
2434
|
write: true,
|
|
2385
2435
|
read: true,
|
|
2386
2436
|
type: 'number',
|
|
2437
|
+
def: 0,
|
|
2387
2438
|
unit: '°C',
|
|
2388
2439
|
},
|
|
2389
2440
|
hvacThermostat_setpoint_change_source: {
|
|
@@ -2395,6 +2446,7 @@ const states = {
|
|
|
2395
2446
|
write: false,
|
|
2396
2447
|
read: true,
|
|
2397
2448
|
type: 'number',
|
|
2449
|
+
def: 0
|
|
2398
2450
|
},
|
|
2399
2451
|
hvacThermostat_setpoint_change_source_timestamp: {
|
|
2400
2452
|
id: 'setpoint_change_source_timestamp',
|
|
@@ -2405,6 +2457,7 @@ const states = {
|
|
|
2405
2457
|
write: false,
|
|
2406
2458
|
read: true,
|
|
2407
2459
|
type: 'number',
|
|
2460
|
+
def: 0
|
|
2408
2461
|
},
|
|
2409
2462
|
hvacThermostat_control_sequence_of_operation: {
|
|
2410
2463
|
id: 'control_sequence_of_operation',
|
|
@@ -2415,6 +2468,7 @@ const states = {
|
|
|
2415
2468
|
write: false,
|
|
2416
2469
|
read: true,
|
|
2417
2470
|
type: 'number',
|
|
2471
|
+
def: 0
|
|
2418
2472
|
},
|
|
2419
2473
|
hvacThermostat_system_mode: {
|
|
2420
2474
|
id: 'system_mode',
|
|
@@ -2425,6 +2479,7 @@ const states = {
|
|
|
2425
2479
|
write: false,
|
|
2426
2480
|
read: true,
|
|
2427
2481
|
type: 'number',
|
|
2482
|
+
def: 0,
|
|
2428
2483
|
},
|
|
2429
2484
|
hvacThermostat_running_mode: {
|
|
2430
2485
|
id: 'running_mode',
|
|
@@ -2435,6 +2490,7 @@ const states = {
|
|
|
2435
2490
|
write: false,
|
|
2436
2491
|
read: true,
|
|
2437
2492
|
type: 'number',
|
|
2493
|
+
def: 0,
|
|
2438
2494
|
},
|
|
2439
2495
|
hvacThermostat_running_state: {
|
|
2440
2496
|
id: 'running_state',
|
|
@@ -2445,6 +2501,7 @@ const states = {
|
|
|
2445
2501
|
write: false,
|
|
2446
2502
|
read: true,
|
|
2447
2503
|
type: 'number',
|
|
2504
|
+
def: 0,
|
|
2448
2505
|
},
|
|
2449
2506
|
// General hvac defined valve position, not scaled to match Hardware
|
|
2450
2507
|
hvacThermostat_pi_heating_demand: {
|
|
@@ -2456,6 +2513,7 @@ const states = {
|
|
|
2456
2513
|
write: false,
|
|
2457
2514
|
read: true,
|
|
2458
2515
|
type: 'number',
|
|
2516
|
+
def: 0,
|
|
2459
2517
|
},
|
|
2460
2518
|
|
|
2461
2519
|
// Eurotronic Spirit Zigbee specific states
|
|
@@ -2469,6 +2527,7 @@ const states = {
|
|
|
2469
2527
|
write: false,
|
|
2470
2528
|
read: true,
|
|
2471
2529
|
type: 'number',
|
|
2530
|
+
def: 0,
|
|
2472
2531
|
unit: '%',
|
|
2473
2532
|
},
|
|
2474
2533
|
SPZB0001_valve_position: { //0x4001
|
|
@@ -2481,6 +2540,7 @@ const states = {
|
|
|
2481
2540
|
write: true,
|
|
2482
2541
|
read: true,
|
|
2483
2542
|
type: 'number',
|
|
2543
|
+
def: 0,
|
|
2484
2544
|
min: 0,
|
|
2485
2545
|
max: 100,
|
|
2486
2546
|
unit: '%',
|
|
@@ -2496,6 +2556,7 @@ const states = {
|
|
|
2496
2556
|
write: true,
|
|
2497
2557
|
read: true,
|
|
2498
2558
|
type: 'number',
|
|
2559
|
+
def: 0,
|
|
2499
2560
|
unit: '°C',
|
|
2500
2561
|
min: 5,
|
|
2501
2562
|
max: 30,
|
|
@@ -2511,6 +2572,7 @@ const states = {
|
|
|
2511
2572
|
write: true,
|
|
2512
2573
|
read: true,
|
|
2513
2574
|
type: 'number',
|
|
2575
|
+
def: 0,
|
|
2514
2576
|
},
|
|
2515
2577
|
SPBZ0001_system_mode: { //0x4008
|
|
2516
2578
|
// for compatibility only, bits accessible as own states via eurotronic_host_flags
|
|
@@ -2528,6 +2590,7 @@ const states = {
|
|
|
2528
2590
|
write: true,
|
|
2529
2591
|
read: true,
|
|
2530
2592
|
type: 'number',
|
|
2593
|
+
def: 0,
|
|
2531
2594
|
},
|
|
2532
2595
|
SPBZ0001_error_status: { //0x4002
|
|
2533
2596
|
id: 'spz_error_status',
|
|
@@ -2538,6 +2601,7 @@ const states = {
|
|
|
2538
2601
|
write: false,
|
|
2539
2602
|
read: true,
|
|
2540
2603
|
type: 'number',
|
|
2604
|
+
def: 0,
|
|
2541
2605
|
},
|
|
2542
2606
|
SPBZ0001_window_open: {
|
|
2543
2607
|
id: 'window_open',
|
|
@@ -2633,6 +2697,7 @@ const states = {
|
|
|
2633
2697
|
write: false,
|
|
2634
2698
|
read: true,
|
|
2635
2699
|
type: 'number',
|
|
2700
|
+
def: 0,
|
|
2636
2701
|
},
|
|
2637
2702
|
danfoss_testrun_day_of_week: {
|
|
2638
2703
|
id: 'testrun_day_of_week',
|
|
@@ -2643,6 +2708,7 @@ const states = {
|
|
|
2643
2708
|
write: true,
|
|
2644
2709
|
read: true,
|
|
2645
2710
|
type: 'number',
|
|
2711
|
+
def: 0,
|
|
2646
2712
|
min: 0,
|
|
2647
2713
|
max: 7,
|
|
2648
2714
|
},
|
|
@@ -2655,6 +2721,7 @@ const states = {
|
|
|
2655
2721
|
write: true,
|
|
2656
2722
|
read: true,
|
|
2657
2723
|
type: 'number',
|
|
2724
|
+
def: 0,
|
|
2658
2725
|
},
|
|
2659
2726
|
danfoss_mounted_direction: {
|
|
2660
2727
|
id: 'thermostat_orientation',
|
|
@@ -2698,6 +2765,7 @@ const states = {
|
|
|
2698
2765
|
min: 1,
|
|
2699
2766
|
max: 10,
|
|
2700
2767
|
type: 'number',
|
|
2768
|
+
def: 0,
|
|
2701
2769
|
},
|
|
2702
2770
|
danfoss_heat_available: {
|
|
2703
2771
|
id: 'heat_available',
|
|
@@ -2730,6 +2798,7 @@ const states = {
|
|
|
2730
2798
|
min: 0,
|
|
2731
2799
|
max: 1,
|
|
2732
2800
|
type: 'number',
|
|
2801
|
+
def: 0,
|
|
2733
2802
|
},
|
|
2734
2803
|
thermostat_keypad_lockout: {
|
|
2735
2804
|
id: 'keypad_lockout',
|
|
@@ -2740,6 +2809,7 @@ const states = {
|
|
|
2740
2809
|
write: true,
|
|
2741
2810
|
read: true,
|
|
2742
2811
|
type: 'number',
|
|
2812
|
+
def: 0,
|
|
2743
2813
|
|
|
2744
2814
|
},
|
|
2745
2815
|
natgas_detected: {
|
|
@@ -2762,6 +2832,7 @@ const states = {
|
|
|
2762
2832
|
write: false,
|
|
2763
2833
|
read: true,
|
|
2764
2834
|
type: 'number',
|
|
2835
|
+
def: 0,
|
|
2765
2836
|
},
|
|
2766
2837
|
natgas_sensitivity: {
|
|
2767
2838
|
id: 'gas_sensitivity',
|
|
@@ -2782,6 +2853,7 @@ const states = {
|
|
|
2782
2853
|
write: false,
|
|
2783
2854
|
read: true,
|
|
2784
2855
|
type: 'number',
|
|
2856
|
+
def: 0,
|
|
2785
2857
|
},
|
|
2786
2858
|
lumi_lock_failed_times: {
|
|
2787
2859
|
id: 'repeat',
|
|
@@ -2792,6 +2864,7 @@ const states = {
|
|
|
2792
2864
|
write: false,
|
|
2793
2865
|
read: true,
|
|
2794
2866
|
type: 'number',
|
|
2867
|
+
def: 0,
|
|
2795
2868
|
},
|
|
2796
2869
|
lumi_lock_action: {
|
|
2797
2870
|
id: 'action',
|
|
@@ -2812,6 +2885,7 @@ const states = {
|
|
|
2812
2885
|
write: false,
|
|
2813
2886
|
read: true,
|
|
2814
2887
|
type: 'number',
|
|
2888
|
+
def: 0,
|
|
2815
2889
|
getter: payload => (payload.inserted === 'unknown') ? -1 : (payload.inserted === undefined ? null : parseInt(payload.inserted, 10)),
|
|
2816
2890
|
},
|
|
2817
2891
|
forgotten: {
|
|
@@ -2823,6 +2897,7 @@ const states = {
|
|
|
2823
2897
|
write: false,
|
|
2824
2898
|
read: true,
|
|
2825
2899
|
type: 'number',
|
|
2900
|
+
def: 0,
|
|
2826
2901
|
getter: payload => (payload.forgotten === undefined ? null : parseInt(payload.forgotten)),
|
|
2827
2902
|
},
|
|
2828
2903
|
key_error: {
|
|
@@ -2940,6 +3015,7 @@ const states = {
|
|
|
2940
3015
|
write: false,
|
|
2941
3016
|
read: true,
|
|
2942
3017
|
type: 'number',
|
|
3018
|
+
def: 0,
|
|
2943
3019
|
unit: '°C',
|
|
2944
3020
|
},
|
|
2945
3021
|
zigup_exttemp: {
|
|
@@ -2951,6 +3027,7 @@ const states = {
|
|
|
2951
3027
|
write: false,
|
|
2952
3028
|
read: true,
|
|
2953
3029
|
type: 'number',
|
|
3030
|
+
def: 0,
|
|
2954
3031
|
unit: '°C',
|
|
2955
3032
|
},
|
|
2956
3033
|
zigup_exthumi: {
|
|
@@ -2962,6 +3039,7 @@ const states = {
|
|
|
2962
3039
|
write: false,
|
|
2963
3040
|
read: true,
|
|
2964
3041
|
type: 'number',
|
|
3042
|
+
def: 0,
|
|
2965
3043
|
unit: '%',
|
|
2966
3044
|
},
|
|
2967
3045
|
zigup_s0counts: {
|
|
@@ -2973,6 +3051,7 @@ const states = {
|
|
|
2973
3051
|
write: false,
|
|
2974
3052
|
read: true,
|
|
2975
3053
|
type: 'number',
|
|
3054
|
+
def: 0,
|
|
2976
3055
|
},
|
|
2977
3056
|
zigup_adc_volt: {
|
|
2978
3057
|
id: 'adc_volt',
|
|
@@ -2983,6 +3062,7 @@ const states = {
|
|
|
2983
3062
|
write: false,
|
|
2984
3063
|
read: true,
|
|
2985
3064
|
type: 'number',
|
|
3065
|
+
def: 0,
|
|
2986
3066
|
},
|
|
2987
3067
|
zigup_diginput: {
|
|
2988
3068
|
id: 'dig_input',
|
|
@@ -2993,6 +3073,7 @@ const states = {
|
|
|
2993
3073
|
write: false,
|
|
2994
3074
|
read: true,
|
|
2995
3075
|
type: 'number',
|
|
3076
|
+
def: 0,
|
|
2996
3077
|
},
|
|
2997
3078
|
zigup_reason: {
|
|
2998
3079
|
id: 'reason',
|
|
@@ -3023,6 +3104,7 @@ const states = {
|
|
|
3023
3104
|
write: true,
|
|
3024
3105
|
read: true,
|
|
3025
3106
|
type: 'number',
|
|
3107
|
+
def: 0,
|
|
3026
3108
|
min: 0,
|
|
3027
3109
|
max: 100,
|
|
3028
3110
|
unit: '%',
|
|
@@ -3113,6 +3195,7 @@ const states = {
|
|
|
3113
3195
|
write: true,
|
|
3114
3196
|
read: true,
|
|
3115
3197
|
type: 'number',
|
|
3198
|
+
def: 0,
|
|
3116
3199
|
min: 0,
|
|
3117
3200
|
max: 100,
|
|
3118
3201
|
unit: '%',
|
|
@@ -3945,6 +4028,7 @@ const states = {
|
|
|
3945
4028
|
write: true,
|
|
3946
4029
|
read: true,
|
|
3947
4030
|
type: 'number',
|
|
4031
|
+
def: 0,
|
|
3948
4032
|
unit: '',
|
|
3949
4033
|
min: 0,
|
|
3950
4034
|
max: 100,
|
|
@@ -3985,6 +4069,7 @@ const states = {
|
|
|
3985
4069
|
write: true,
|
|
3986
4070
|
read: true,
|
|
3987
4071
|
type: 'number',
|
|
4072
|
+
def: 0,
|
|
3988
4073
|
setterOpt: (value, options) => {
|
|
3989
4074
|
const hasTransitionTime = options && options.hasOwnProperty('transition_time');
|
|
3990
4075
|
const transitionTime = hasTransitionTime ? options.transition_time : 0;
|
|
@@ -4001,6 +4086,7 @@ const states = {
|
|
|
4001
4086
|
write: true,
|
|
4002
4087
|
read: true,
|
|
4003
4088
|
type: 'number',
|
|
4089
|
+
def: 0,
|
|
4004
4090
|
unit: '',
|
|
4005
4091
|
min: 0,
|
|
4006
4092
|
max: 100,
|
|
@@ -4041,6 +4127,7 @@ const states = {
|
|
|
4041
4127
|
write: true,
|
|
4042
4128
|
read: true,
|
|
4043
4129
|
type: 'number',
|
|
4130
|
+
def: 0,
|
|
4044
4131
|
setterOpt: (value, options) => {
|
|
4045
4132
|
const hasTransitionTime = options && options.hasOwnProperty('transition_time');
|
|
4046
4133
|
const transitionTime = hasTransitionTime ? options.transition_time : 0;
|
|
@@ -4072,6 +4159,7 @@ const states = {
|
|
|
4072
4159
|
write: true,
|
|
4073
4160
|
read: true,
|
|
4074
4161
|
type: 'number',
|
|
4162
|
+
def: 0,
|
|
4075
4163
|
unit: '',
|
|
4076
4164
|
min: 0,
|
|
4077
4165
|
max: 100,
|
|
@@ -4099,6 +4187,7 @@ const states = {
|
|
|
4099
4187
|
write: true,
|
|
4100
4188
|
read: true,
|
|
4101
4189
|
type: 'number',
|
|
4190
|
+
def: 0,
|
|
4102
4191
|
setterOpt: (value, options) => {
|
|
4103
4192
|
const hasTransitionTime = options && options.hasOwnProperty('transition_time');
|
|
4104
4193
|
const transitionTime = hasTransitionTime ? options.transition_time : 0;
|
|
@@ -4187,6 +4276,7 @@ const states = {
|
|
|
4187
4276
|
write: true,
|
|
4188
4277
|
read: true,
|
|
4189
4278
|
type: 'number',
|
|
4279
|
+
def: 0,
|
|
4190
4280
|
unit: '°C',
|
|
4191
4281
|
min: 0,
|
|
4192
4282
|
max: 70,
|
|
@@ -4245,6 +4335,7 @@ const states = {
|
|
|
4245
4335
|
write: true,
|
|
4246
4336
|
read: true,
|
|
4247
4337
|
type: 'number',
|
|
4338
|
+
def: 0,
|
|
4248
4339
|
unit: '°C',
|
|
4249
4340
|
min: 0,
|
|
4250
4341
|
max: 70,
|
|
@@ -4258,6 +4349,7 @@ const states = {
|
|
|
4258
4349
|
write: true,
|
|
4259
4350
|
read: true,
|
|
4260
4351
|
type: 'number',
|
|
4352
|
+
def: 0,
|
|
4261
4353
|
unit: '°C',
|
|
4262
4354
|
min: 0,
|
|
4263
4355
|
max: 70,
|
|
@@ -4271,6 +4363,7 @@ const states = {
|
|
|
4271
4363
|
write: true,
|
|
4272
4364
|
read: true,
|
|
4273
4365
|
type: 'number',
|
|
4366
|
+
def: 0,
|
|
4274
4367
|
unit: 'sec',
|
|
4275
4368
|
min: 0,
|
|
4276
4369
|
max: 600,
|
|
@@ -4284,6 +4377,7 @@ const states = {
|
|
|
4284
4377
|
write: true,
|
|
4285
4378
|
read: true,
|
|
4286
4379
|
type: 'number',
|
|
4380
|
+
def: 0,
|
|
4287
4381
|
unit: '°C',
|
|
4288
4382
|
min: 0,
|
|
4289
4383
|
max: 70,
|
|
@@ -4297,6 +4391,7 @@ const states = {
|
|
|
4297
4391
|
write: true,
|
|
4298
4392
|
read: true,
|
|
4299
4393
|
type: 'number',
|
|
4394
|
+
def: 0,
|
|
4300
4395
|
unit: '°C',
|
|
4301
4396
|
min: 0,
|
|
4302
4397
|
max: 70,
|
|
@@ -4377,6 +4472,7 @@ const states = {
|
|
|
4377
4472
|
write: false,
|
|
4378
4473
|
read: true,
|
|
4379
4474
|
type: 'number',
|
|
4475
|
+
def: 0,
|
|
4380
4476
|
min: 0,
|
|
4381
4477
|
max: 100,
|
|
4382
4478
|
unit: '%',
|
|
@@ -4391,6 +4487,7 @@ const states = {
|
|
|
4391
4487
|
write: false,
|
|
4392
4488
|
read: true,
|
|
4393
4489
|
type: 'number',
|
|
4490
|
+
def: 0,
|
|
4394
4491
|
getter: payload => (payload.click === 'off') ? 0 : (payload.click === 'on') ? 1 : parseInt(payload.click) + 1,
|
|
4395
4492
|
},
|
|
4396
4493
|
icasa_click: {
|
|
@@ -4424,6 +4521,7 @@ const states = {
|
|
|
4424
4521
|
write: false,
|
|
4425
4522
|
read: true,
|
|
4426
4523
|
type: 'number',
|
|
4524
|
+
def: 0,
|
|
4427
4525
|
getter: payload => payload.brightness,
|
|
4428
4526
|
},
|
|
4429
4527
|
top_state: {
|
|
@@ -4462,6 +4560,7 @@ const states = {
|
|
|
4462
4560
|
write: false,
|
|
4463
4561
|
read: true,
|
|
4464
4562
|
type: 'number',
|
|
4563
|
+
def: 0,
|
|
4465
4564
|
unit: ''
|
|
4466
4565
|
},
|
|
4467
4566
|
eco2: {
|
|
@@ -4472,6 +4571,7 @@ const states = {
|
|
|
4472
4571
|
write: false,
|
|
4473
4572
|
read: true,
|
|
4474
4573
|
type: 'number',
|
|
4574
|
+
def: 0,
|
|
4475
4575
|
unit: ''
|
|
4476
4576
|
},
|
|
4477
4577
|
ts0042_right_click: {
|
|
@@ -4950,6 +5050,7 @@ const states = {
|
|
|
4950
5050
|
write: false,
|
|
4951
5051
|
read: true,
|
|
4952
5052
|
type: 'number',
|
|
5053
|
+
def: 0,
|
|
4953
5054
|
unit: 'kWh'
|
|
4954
5055
|
},
|
|
4955
5056
|
alarm: {
|
|
@@ -5269,6 +5370,7 @@ const states = {
|
|
|
5269
5370
|
write: false,
|
|
5270
5371
|
read: true,
|
|
5271
5372
|
type: 'number',
|
|
5373
|
+
def: 0,
|
|
5272
5374
|
unit: ''
|
|
5273
5375
|
},
|
|
5274
5376
|
radiation_dose_per_hour: {
|
|
@@ -5279,6 +5381,7 @@ const states = {
|
|
|
5279
5381
|
write: false,
|
|
5280
5382
|
read: true,
|
|
5281
5383
|
type: 'number',
|
|
5384
|
+
def: 0,
|
|
5282
5385
|
unit: ''
|
|
5283
5386
|
},
|
|
5284
5387
|
action_onoff: {
|
|
@@ -5300,6 +5403,7 @@ const states = {
|
|
|
5300
5403
|
write: true,
|
|
5301
5404
|
read: true,
|
|
5302
5405
|
type: 'number',
|
|
5406
|
+
def: 0,
|
|
5303
5407
|
unit: ''
|
|
5304
5408
|
},
|
|
5305
5409
|
geiger_led_feedback: {
|
|
@@ -5330,6 +5434,7 @@ const states = {
|
|
|
5330
5434
|
write: true,
|
|
5331
5435
|
read: true,
|
|
5332
5436
|
type: 'number',
|
|
5437
|
+
def: 0,
|
|
5333
5438
|
unit: ''
|
|
5334
5439
|
},
|
|
5335
5440
|
geiger_sensors_type: {
|
|
@@ -5351,6 +5456,7 @@ const states = {
|
|
|
5351
5456
|
write: true,
|
|
5352
5457
|
read: true,
|
|
5353
5458
|
type: 'number',
|
|
5459
|
+
def: 0,
|
|
5354
5460
|
unit: ''
|
|
5355
5461
|
},
|
|
5356
5462
|
scene: {
|
|
@@ -5373,6 +5479,7 @@ const states = {
|
|
|
5373
5479
|
write: true,
|
|
5374
5480
|
read: false,
|
|
5375
5481
|
type: 'number',
|
|
5482
|
+
def: 0,
|
|
5376
5483
|
min: -50,
|
|
5377
5484
|
max: 50
|
|
5378
5485
|
},
|
|
@@ -5435,6 +5542,7 @@ const states = {
|
|
|
5435
5542
|
write: false,
|
|
5436
5543
|
read: true,
|
|
5437
5544
|
type: 'number',
|
|
5545
|
+
def: 0,
|
|
5438
5546
|
unit: '',
|
|
5439
5547
|
getter: payload => (payload.action === 'brightness_step_up') ? payload.action_step_size : undefined,
|
|
5440
5548
|
},
|
|
@@ -5447,6 +5555,7 @@ const states = {
|
|
|
5447
5555
|
write: false,
|
|
5448
5556
|
read: true,
|
|
5449
5557
|
type: 'number',
|
|
5558
|
+
def: 0,
|
|
5450
5559
|
unit: '',
|
|
5451
5560
|
getter: payload => (payload.action === 'brightness_step_down') ? payload.action_step_size : undefined,
|
|
5452
5561
|
},
|
|
@@ -5484,6 +5593,7 @@ const states = {
|
|
|
5484
5593
|
write: false,
|
|
5485
5594
|
read: true,
|
|
5486
5595
|
type: 'number',
|
|
5596
|
+
def: 0,
|
|
5487
5597
|
unit: '',
|
|
5488
5598
|
getter: payload => (payload.action === 'color_temperature_move') ? payload.action_color_temperature : undefined,
|
|
5489
5599
|
},
|
|
@@ -5539,6 +5649,7 @@ const states = {
|
|
|
5539
5649
|
write: false,
|
|
5540
5650
|
read: true,
|
|
5541
5651
|
type: 'number',
|
|
5652
|
+
def: 0,
|
|
5542
5653
|
unit: '',
|
|
5543
5654
|
getter: payload => (payload.action === 'brightness_move_up') ? payload.action_rate : undefined,
|
|
5544
5655
|
},
|
|
@@ -5564,6 +5675,7 @@ const states = {
|
|
|
5564
5675
|
write: false,
|
|
5565
5676
|
read: true,
|
|
5566
5677
|
type: 'number',
|
|
5678
|
+
def: 0,
|
|
5567
5679
|
unit: '',
|
|
5568
5680
|
getter: payload => (payload.action === 'brightness_move_down') ? payload.action_rate : undefined,
|
|
5569
5681
|
},
|
|
@@ -5588,6 +5700,7 @@ const states = {
|
|
|
5588
5700
|
write: false,
|
|
5589
5701
|
read: true,
|
|
5590
5702
|
type: 'number',
|
|
5703
|
+
def: 0,
|
|
5591
5704
|
unit: '',
|
|
5592
5705
|
getter: payload => (payload.action === 'enhanced_move_to_hue_and_saturation') ? payload.action_enhanced_hue : undefined,
|
|
5593
5706
|
},
|
|
@@ -5600,6 +5713,7 @@ const states = {
|
|
|
5600
5713
|
write: false,
|
|
5601
5714
|
read: true,
|
|
5602
5715
|
type: 'number',
|
|
5716
|
+
def: 0,
|
|
5603
5717
|
unit: '',
|
|
5604
5718
|
getter: payload => (payload.action === 'enhanced_move_to_hue_and_saturation') ? payload.action_hue : undefined,
|
|
5605
5719
|
},
|
|
@@ -5612,6 +5726,7 @@ const states = {
|
|
|
5612
5726
|
write: false,
|
|
5613
5727
|
read: true,
|
|
5614
5728
|
type: 'number',
|
|
5729
|
+
def: 0,
|
|
5615
5730
|
unit: '',
|
|
5616
5731
|
getter: payload => (payload.action === 'enhanced_move_to_hue_and_saturation') ? payload.action_saturation : undefined,
|
|
5617
5732
|
},
|
|
@@ -5624,6 +5739,7 @@ const states = {
|
|
|
5624
5739
|
write: false,
|
|
5625
5740
|
read: true,
|
|
5626
5741
|
type: 'number',
|
|
5742
|
+
def: 0,
|
|
5627
5743
|
unit: ''
|
|
5628
5744
|
},
|
|
5629
5745
|
selftest: {
|
|
@@ -5653,6 +5769,7 @@ const states = {
|
|
|
5653
5769
|
write: false,
|
|
5654
5770
|
read: true,
|
|
5655
5771
|
type: 'number',
|
|
5772
|
+
def: 0,
|
|
5656
5773
|
unit: '%',
|
|
5657
5774
|
},
|
|
5658
5775
|
gira_pressed_up: {
|
|
@@ -5782,6 +5899,7 @@ const states = {
|
|
|
5782
5899
|
write: true,
|
|
5783
5900
|
read: true,
|
|
5784
5901
|
type: 'boolean',
|
|
5902
|
+
def: false,
|
|
5785
5903
|
getter: payload => (payload.child_lock === 'LOCKED'),
|
|
5786
5904
|
setter: (value) => (value) ? 'LOCKED' : 'UNLOCKED',
|
|
5787
5905
|
},
|
|
@@ -5794,6 +5912,7 @@ const states = {
|
|
|
5794
5912
|
write: true,
|
|
5795
5913
|
read: true,
|
|
5796
5914
|
type: 'number',
|
|
5915
|
+
def: 0,
|
|
5797
5916
|
unit: '%'
|
|
5798
5917
|
},
|
|
5799
5918
|
hy_sensor_type: {
|
|
@@ -5816,6 +5935,7 @@ const states = {
|
|
|
5816
5935
|
write: false,
|
|
5817
5936
|
read: true,
|
|
5818
5937
|
type: 'number',
|
|
5938
|
+
def: 0,
|
|
5819
5939
|
unit: '°C',
|
|
5820
5940
|
},
|
|
5821
5941
|
alarm_info: {
|
|
@@ -5837,6 +5957,7 @@ const states = {
|
|
|
5837
5957
|
write: false,
|
|
5838
5958
|
read: true,
|
|
5839
5959
|
type: 'number',
|
|
5960
|
+
def: 0,
|
|
5840
5961
|
unit: 'ppm',
|
|
5841
5962
|
},
|
|
5842
5963
|
airsense_led_feedback: {
|
|
@@ -5867,6 +5988,7 @@ const states = {
|
|
|
5867
5988
|
write: true,
|
|
5868
5989
|
read: true,
|
|
5869
5990
|
type: 'number',
|
|
5991
|
+
def: 0,
|
|
5870
5992
|
unit: ''
|
|
5871
5993
|
},
|
|
5872
5994
|
airsense_threshold2: {
|
|
@@ -5877,6 +5999,7 @@ const states = {
|
|
|
5877
5999
|
write: true,
|
|
5878
6000
|
read: true,
|
|
5879
6001
|
type: 'number',
|
|
6002
|
+
def: 0,
|
|
5880
6003
|
unit: ''
|
|
5881
6004
|
},
|
|
5882
6005
|
|
|
@@ -5950,6 +6073,7 @@ const states = {
|
|
|
5950
6073
|
inOptions: true,
|
|
5951
6074
|
read: false,
|
|
5952
6075
|
type: 'number',
|
|
6076
|
+
def: 0,
|
|
5953
6077
|
min: 1,
|
|
5954
6078
|
max: 64,
|
|
5955
6079
|
unit: '',
|
|
@@ -6080,6 +6204,7 @@ const states = {
|
|
|
6080
6204
|
icon: undefined,
|
|
6081
6205
|
role: 'channel',
|
|
6082
6206
|
type: 'number',
|
|
6207
|
+
def: 0,
|
|
6083
6208
|
write: false,
|
|
6084
6209
|
read: true,
|
|
6085
6210
|
getter: (payload) => {
|
|
@@ -6117,6 +6242,7 @@ const states = {
|
|
|
6117
6242
|
icon: undefined,
|
|
6118
6243
|
role: 'channel',
|
|
6119
6244
|
type: 'number',
|
|
6245
|
+
def: 0,
|
|
6120
6246
|
write: false,
|
|
6121
6247
|
read: true,
|
|
6122
6248
|
getter: (payload) => {
|
|
@@ -6154,6 +6280,7 @@ const states = {
|
|
|
6154
6280
|
icon: undefined,
|
|
6155
6281
|
role: 'channel',
|
|
6156
6282
|
type: 'number',
|
|
6283
|
+
def: 0,
|
|
6157
6284
|
write: false,
|
|
6158
6285
|
read: true,
|
|
6159
6286
|
getter: (payload) => {
|
|
@@ -6191,6 +6318,7 @@ const states = {
|
|
|
6191
6318
|
icon: undefined,
|
|
6192
6319
|
role: 'channel',
|
|
6193
6320
|
type: 'number',
|
|
6321
|
+
def: 0,
|
|
6194
6322
|
write: false,
|
|
6195
6323
|
read: true,
|
|
6196
6324
|
getter: (payload) => {
|
|
@@ -6228,6 +6356,7 @@ const states = {
|
|
|
6228
6356
|
icon: undefined,
|
|
6229
6357
|
role: 'channel',
|
|
6230
6358
|
type: 'number',
|
|
6359
|
+
def: 0,
|
|
6231
6360
|
write: false,
|
|
6232
6361
|
read: true,
|
|
6233
6362
|
getter: (payload) => {
|
|
@@ -6265,6 +6394,7 @@ const states = {
|
|
|
6265
6394
|
icon: undefined,
|
|
6266
6395
|
role: 'channel',
|
|
6267
6396
|
type: 'number',
|
|
6397
|
+
def: 0,
|
|
6268
6398
|
write: false,
|
|
6269
6399
|
read: true,
|
|
6270
6400
|
getter: (payload) => {
|
|
@@ -6302,6 +6432,7 @@ const states = {
|
|
|
6302
6432
|
icon: undefined,
|
|
6303
6433
|
role: 'channel',
|
|
6304
6434
|
type: 'number',
|
|
6435
|
+
def: 0,
|
|
6305
6436
|
write: false,
|
|
6306
6437
|
read: true,
|
|
6307
6438
|
getter: (payload) => {
|
|
@@ -6339,6 +6470,7 @@ const states = {
|
|
|
6339
6470
|
icon: undefined,
|
|
6340
6471
|
role: 'channel',
|
|
6341
6472
|
type: 'number',
|
|
6473
|
+
def: 0,
|
|
6342
6474
|
write: false,
|
|
6343
6475
|
read: true,
|
|
6344
6476
|
getter: (payload) => {
|
|
@@ -6480,6 +6612,7 @@ const states = {
|
|
|
6480
6612
|
write: true,
|
|
6481
6613
|
read: true,
|
|
6482
6614
|
type: 'number',
|
|
6615
|
+
def: 0,
|
|
6483
6616
|
},
|
|
6484
6617
|
ptvo_interval: {
|
|
6485
6618
|
id: 'interval',
|
|
@@ -6490,6 +6623,7 @@ const states = {
|
|
|
6490
6623
|
write: true,
|
|
6491
6624
|
read: true,
|
|
6492
6625
|
type: 'number',
|
|
6626
|
+
def: 0,
|
|
6493
6627
|
},
|
|
6494
6628
|
};
|
|
6495
6629
|
|