zigbee-herdsman-converters 24.10.0 → 24.12.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/CHANGELOG.md +46 -0
- package/dist/converters/toZigbee.js +1 -1
- package/dist/converters/toZigbee.js.map +1 -1
- package/dist/devices/bosch.d.ts.map +1 -1
- package/dist/devices/bosch.js +1 -0
- package/dist/devices/bosch.js.map +1 -1
- package/dist/devices/ecodim.js +1 -1
- package/dist/devices/ecodim.js.map +1 -1
- package/dist/devices/frient.d.ts.map +1 -1
- package/dist/devices/frient.js +7 -0
- package/dist/devices/frient.js.map +1 -1
- package/dist/devices/inovelli.d.ts.map +1 -1
- package/dist/devices/inovelli.js +65 -10
- package/dist/devices/inovelli.js.map +1 -1
- package/dist/devices/moes.d.ts.map +1 -1
- package/dist/devices/moes.js +195 -2
- package/dist/devices/moes.js.map +1 -1
- package/dist/devices/namron.d.ts.map +1 -1
- package/dist/devices/namron.js +7 -0
- package/dist/devices/namron.js.map +1 -1
- package/dist/devices/shelly.js +1 -1
- package/dist/devices/shelly.js.map +1 -1
- package/dist/devices/sonoff.d.ts.map +1 -1
- package/dist/devices/sonoff.js +15 -0
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/stello.d.ts.map +1 -1
- package/dist/devices/stello.js +8 -0
- package/dist/devices/stello.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +140 -23
- package/dist/devices/tuya.js.map +1 -1
- package/dist/devices/ysrsai.js +1 -1
- package/dist/devices/ysrsai.js.map +1 -1
- package/dist/lib/legacy.d.ts.map +1 -1
- package/dist/lib/legacy.js +1 -7
- package/dist/lib/legacy.js.map +1 -1
- package/dist/lib/tuya.js +1 -1
- package/dist/lib/tuya.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +4 -4
package/dist/devices/tuya.js
CHANGED
|
@@ -1071,7 +1071,7 @@ exports.definitions = [
|
|
|
1071
1071
|
[13, "state", tuya.valueConverter.onOffNotStrict],
|
|
1072
1072
|
[14, "auto_clean", tuya.valueConverter.raw],
|
|
1073
1073
|
[21, "flow_rate", tuya.valueConverter.divideBy1000],
|
|
1074
|
-
[22, "temperature", tuya.valueConverter.
|
|
1074
|
+
[22, "temperature", tuya.valueConverter.divideBy100],
|
|
1075
1075
|
[26, "voltage", tuya.valueConverter.divideBy100],
|
|
1076
1076
|
],
|
|
1077
1077
|
},
|
|
@@ -1259,6 +1259,7 @@ exports.definitions = [
|
|
|
1259
1259
|
"_TZE284_hdyjyqjm",
|
|
1260
1260
|
"_TZE284_d7lpruvi",
|
|
1261
1261
|
"_TZE284_upagmta9",
|
|
1262
|
+
"_TZE204_1wnh8bqp",
|
|
1262
1263
|
]),
|
|
1263
1264
|
model: "TS0601_temperature_humidity_sensor_2",
|
|
1264
1265
|
vendor: "Tuya",
|
|
@@ -1654,6 +1655,7 @@ exports.definitions = [
|
|
|
1654
1655
|
"_TZ3000_qsp2pwtf",
|
|
1655
1656
|
"_TZ3000_kycczpw8",
|
|
1656
1657
|
"_TZ3000_46t1rvdu",
|
|
1658
|
+
"_TZ3000_bhcpnvud",
|
|
1657
1659
|
]),
|
|
1658
1660
|
...tuya.fingerprint("TS000F", [
|
|
1659
1661
|
"_TZ3000_hktqahrq",
|
|
@@ -3131,6 +3133,7 @@ exports.definitions = [
|
|
|
3131
3133
|
"_TZE204_w1wwxoja",
|
|
3132
3134
|
"_TZE204_lmgrbuwf",
|
|
3133
3135
|
"_TZE284_tdhnhhiy",
|
|
3136
|
+
"_TZE204_wskr3up8",
|
|
3134
3137
|
]),
|
|
3135
3138
|
model: "TS0601_switch_6_gang",
|
|
3136
3139
|
vendor: "Tuya",
|
|
@@ -3170,6 +3173,7 @@ exports.definitions = [
|
|
|
3170
3173
|
tuya.whitelabel("Mercator Ikuü", "SSW06G", "6 Gang switch", ["_TZE200_wnp4d4va"]),
|
|
3171
3174
|
tuya.whitelabel("Nova Digital", "NTZB-04-W-B", "4 gang switch with 2 gang socket 4x4", ["_TZE204_lmgrbuwf"]),
|
|
3172
3175
|
tuya.whitelabel("Nova Digital", "SYZB-6W", "6 gang switch 4x4", ["_TZE284_tdhnhhiy"]),
|
|
3176
|
+
tuya.whitelabel("Nova Digital", "FZB-6", "6 gang switch 4x4", ["_TZE204_wskr3up8"]),
|
|
3173
3177
|
],
|
|
3174
3178
|
},
|
|
3175
3179
|
{
|
|
@@ -6085,10 +6089,26 @@ exports.definitions = [
|
|
|
6085
6089
|
"OFF - In this mode, the thermostat stays closed")
|
|
6086
6090
|
.withSystemMode(["auto", "heat", "off"], ea.STATE)
|
|
6087
6091
|
.withRunningState(["idle", "heat"], ea.STATE),
|
|
6092
|
+
e.enum("screen_orientation", ea.STATE_SET, ["up", "down"]).withDescription("How do you look at the display (up and down supported only)"),
|
|
6093
|
+
e
|
|
6094
|
+
.enum("display_brightness", ea.STATE_SET, ["high", "middle", "low"])
|
|
6095
|
+
.withDescription("How strong the LED diplay is light up (high is default)"),
|
|
6096
|
+
e
|
|
6097
|
+
.enum("mode", ea.STATE_SET, ["comfort", "eco"])
|
|
6098
|
+
.withDescription("Hysteresis - comfort > switches off/on exactly at reached " +
|
|
6099
|
+
"temperature with valve smooth from 0 to 100%, eco > 0.5 degrees above or below, valve either 0 or 100%"),
|
|
6100
|
+
e
|
|
6101
|
+
.numeric("switch_deviation_eco", ea.STATE_SET)
|
|
6102
|
+
.withValueMin(0.5)
|
|
6103
|
+
.withValueMax(5.0)
|
|
6104
|
+
.withValueStep(0.1)
|
|
6105
|
+
.withUnit("°C")
|
|
6106
|
+
.withDescription("Switch deviation (energy-saving mode only)"),
|
|
6088
6107
|
...tuya.exposes.scheduleAllDays(ea.STATE_SET, "HH:MM/C HH:MM/C HH:MM/C HH:MM/C"),
|
|
6089
6108
|
e
|
|
6090
6109
|
.binary("boost_heating", ea.STATE_SET, "ON", "OFF")
|
|
6091
|
-
.withDescription(
|
|
6110
|
+
.withDescription("Boost Heating: press and hold " +
|
|
6111
|
+
" for 3 seconds, " +
|
|
6092
6112
|
"the device will enter the boost heating mode, and the ▷╵◁ will flash. The countdown will be displayed in the APP"),
|
|
6093
6113
|
e.numeric("boost_time", ea.STATE_SET).withUnit("min").withDescription("Countdown in minutes").withValueMin(0).withValueMax(1000),
|
|
6094
6114
|
],
|
|
@@ -6118,6 +6138,10 @@ exports.definitions = [
|
|
|
6118
6138
|
[23, "schedule_sunday", tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(7)],
|
|
6119
6139
|
[101, "local_temperature_calibration", tuya.valueConverter.localTempCalibration1],
|
|
6120
6140
|
[102, "position", tuya.valueConverter.divideBy10],
|
|
6141
|
+
[116, "screen_orientation", tuya.valueConverterBasic.lookup({ up: tuya.enum(0), down: tuya.enum(2) })],
|
|
6142
|
+
[152, "display_brightness", tuya.valueConverterBasic.lookup({ high: tuya.enum(0), middle: tuya.enum(1), low: tuya.enum(2) })],
|
|
6143
|
+
[153, "mode", tuya.valueConverterBasic.lookup({ comfort: tuya.enum(0), eco: tuya.enum(1) })],
|
|
6144
|
+
[154, "switch_deviation_eco", tuya.valueConverter.divideBy10],
|
|
6121
6145
|
],
|
|
6122
6146
|
},
|
|
6123
6147
|
},
|
|
@@ -6126,7 +6150,7 @@ exports.definitions = [
|
|
|
6126
6150
|
model: "TRV601",
|
|
6127
6151
|
vendor: "Tuya",
|
|
6128
6152
|
whiteLabel: [tuya.whitelabel("Sber", "SBDV-00185", "Thermostatic radiator valve", ["_TZE204_cvcu2p6e"])],
|
|
6129
|
-
description: "Thermostatic radiator valve
|
|
6153
|
+
description: "Thermostatic radiator valve",
|
|
6130
6154
|
onEvent: tuya.onEventSetLocalTime,
|
|
6131
6155
|
fromZigbee: [tuya.fz.datapoints],
|
|
6132
6156
|
toZigbee: [tuya.tz.datapoints],
|
|
@@ -6153,10 +6177,21 @@ exports.definitions = [
|
|
|
6153
6177
|
.withSystemMode(["auto", "heat", "off"], ea.STATE)
|
|
6154
6178
|
.withRunningState(["idle", "heat"], ea.STATE),
|
|
6155
6179
|
...tuya.exposes.scheduleAllDays(ea.STATE_SET, "HH:MM/C HH:MM/C HH:MM/C HH:MM/C"),
|
|
6180
|
+
e.enum("screen_orientation", ea.STATE_SET, ["up", "down"]).withDescription("How do you look at the display (up and down supported only)"),
|
|
6181
|
+
e
|
|
6182
|
+
.enum("display_brightness", ea.STATE_SET, ["high", "middle", "low"])
|
|
6183
|
+
.withDescription("How strong the LED diplay is light up (high is default)"),
|
|
6156
6184
|
e
|
|
6157
6185
|
.enum("mode", ea.STATE_SET, ["comfort", "eco"])
|
|
6158
6186
|
.withDescription("Hysteresis - comfort > switches off/on exactly at reached " +
|
|
6159
6187
|
"temperature with valve smooth from 0 to 100%, eco > 0.5 degrees above or below, valve either 0 or 100%"),
|
|
6188
|
+
e
|
|
6189
|
+
.numeric("switch_deviation_eco", ea.STATE_SET)
|
|
6190
|
+
.withValueMin(0.5)
|
|
6191
|
+
.withValueMax(5.0)
|
|
6192
|
+
.withValueStep(0.1)
|
|
6193
|
+
.withUnit("°C")
|
|
6194
|
+
.withDescription("Switch deviation (energy-saving mode only)"),
|
|
6160
6195
|
],
|
|
6161
6196
|
meta: {
|
|
6162
6197
|
tuyaDatapoints: [
|
|
@@ -6182,14 +6217,10 @@ exports.definitions = [
|
|
|
6182
6217
|
[23, "schedule_sunday", tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(7)],
|
|
6183
6218
|
[101, "local_temperature_calibration", tuya.valueConverter.localTempCalibration1],
|
|
6184
6219
|
[108, "position", tuya.valueConverter.divideBy10],
|
|
6185
|
-
[
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
comfort: tuya.enum(0),
|
|
6190
|
-
eco: tuya.enum(1),
|
|
6191
|
-
}),
|
|
6192
|
-
],
|
|
6220
|
+
[111, "display_brightness", tuya.valueConverterBasic.lookup({ high: tuya.enum(0), middle: tuya.enum(1), low: tuya.enum(2) })],
|
|
6221
|
+
[113, "screen_orientation", tuya.valueConverterBasic.lookup({ up: tuya.enum(0), down: tuya.enum(2) })],
|
|
6222
|
+
[114, "mode", tuya.valueConverterBasic.lookup({ comfort: tuya.enum(0), eco: tuya.enum(1) })],
|
|
6223
|
+
[115, "switch_deviation_eco", tuya.valueConverter.divideBy10],
|
|
6193
6224
|
],
|
|
6194
6225
|
},
|
|
6195
6226
|
},
|
|
@@ -6702,6 +6733,7 @@ exports.definitions = [
|
|
|
6702
6733
|
{ vendor: "MODEMIX", model: "MOD048" },
|
|
6703
6734
|
{ vendor: "Coswall", model: "CS-AJ-DE2U-ZG-11" },
|
|
6704
6735
|
{ vendor: "Aubess", model: "TS011F_plug_1" },
|
|
6736
|
+
tuya.whitelabel("BSEED", "FK86ZEUSK1W", "Wall-mounted electrical socket", ["_TZ3000_4ux0ondb"]),
|
|
6705
6737
|
tuya.whitelabel("Nous", "A1Z", "Smart plug (with power monitoring)", ["_TZ3000_2putqrmw", "_TZ3000_ksw8qtmt"]),
|
|
6706
6738
|
tuya.whitelabel("Moes", "MOES_plug", "Smart plug (with power monitoring)", ["_TZ3000_yujkchbz"]),
|
|
6707
6739
|
tuya.whitelabel("Moes", "ZK-EU", "Smart wallsocket (with power monitoring)", ["_TZ3000_ss98ec5d"]),
|
|
@@ -8441,7 +8473,14 @@ exports.definitions = [
|
|
|
8441
8473
|
onEvent: tuya.onEventSetTime,
|
|
8442
8474
|
},
|
|
8443
8475
|
{
|
|
8444
|
-
fingerprint: tuya.fingerprint("TS0601", [
|
|
8476
|
+
fingerprint: tuya.fingerprint("TS0601", [
|
|
8477
|
+
"_TZE200_viy9ihs7",
|
|
8478
|
+
"_TZE204_lzriup1j",
|
|
8479
|
+
"_TZE204_xnbkhhdr",
|
|
8480
|
+
"_TZE284_xnbkhhdr",
|
|
8481
|
+
"_TZE204_oh8y8pv8",
|
|
8482
|
+
"_TZE204_gops3slb",
|
|
8483
|
+
]),
|
|
8445
8484
|
model: "ZWT198/ZWT100-BH",
|
|
8446
8485
|
vendor: "Tuya",
|
|
8447
8486
|
description: "Wall thermostat",
|
|
@@ -8513,7 +8552,8 @@ exports.definitions = [
|
|
|
8513
8552
|
"preset",
|
|
8514
8553
|
tuya.valueConverterBasic.lookup((_, device) => {
|
|
8515
8554
|
// https://github.com/Koenkk/zigbee2mqtt/issues/21353#issuecomment-1938328429
|
|
8516
|
-
|
|
8555
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/28035
|
|
8556
|
+
if (device.manufacturerName === "_TZE204_lzriup1j" || device.manufacturerName === "_TZE204_gops3slb") {
|
|
8517
8557
|
return {
|
|
8518
8558
|
auto: tuya.enum(1),
|
|
8519
8559
|
manual: tuya.enum(0),
|
|
@@ -8596,7 +8636,7 @@ exports.definitions = [
|
|
|
8596
8636
|
},
|
|
8597
8637
|
},
|
|
8598
8638
|
{
|
|
8599
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_mwomyz5n", "_TZE204_cvub6xbb"]),
|
|
8639
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_mwomyz5n", "_TZE204_cvub6xbb", "_TZE284_cvub6xbb"]),
|
|
8600
8640
|
model: "TGM50-ZB",
|
|
8601
8641
|
vendor: "Tuya",
|
|
8602
8642
|
description: "Beok wall thermostat",
|
|
@@ -8956,7 +8996,7 @@ exports.definitions = [
|
|
|
8956
8996
|
],
|
|
8957
8997
|
},
|
|
8958
8998
|
{
|
|
8959
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_wfxuhoea"]),
|
|
8999
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_wfxuhoea", "_TZE204_wfxuhoea"]),
|
|
8960
9000
|
model: "GDC311ZBQ1",
|
|
8961
9001
|
vendor: "Tuya",
|
|
8962
9002
|
description: "LoraTap garage door opener with wireless sensor",
|
|
@@ -9365,6 +9405,13 @@ exports.definitions = [
|
|
|
9365
9405
|
applicationVersion: 145,
|
|
9366
9406
|
priority: 1,
|
|
9367
9407
|
},
|
|
9408
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/28149
|
|
9409
|
+
{
|
|
9410
|
+
modelID: "TS004F",
|
|
9411
|
+
manufacturerName: "_TZ3000_gwkzibhs",
|
|
9412
|
+
applicationVersion: 147,
|
|
9413
|
+
priority: 1,
|
|
9414
|
+
},
|
|
9368
9415
|
],
|
|
9369
9416
|
model: "ZG-101Z/D",
|
|
9370
9417
|
vendor: "Tuya",
|
|
@@ -9797,6 +9844,7 @@ exports.definitions = [
|
|
|
9797
9844
|
fingerprint: [
|
|
9798
9845
|
{ modelID: "TS0225", manufacturerName: "_TZE200_hl0ss9oa" },
|
|
9799
9846
|
{ modelID: "CK-BL702-MWS-01(7016)", manufacturerName: "ZGAF-205L" },
|
|
9847
|
+
{ modelID: "TS0225", manufacturerName: "_TZE200_y4mdop0b" },
|
|
9800
9848
|
],
|
|
9801
9849
|
model: "ZG-205ZL",
|
|
9802
9850
|
vendor: "Tuya",
|
|
@@ -10037,6 +10085,8 @@ exports.definitions = [
|
|
|
10037
10085
|
"_TZE200_dikkika5",
|
|
10038
10086
|
"_TZE200_vs0skpuc",
|
|
10039
10087
|
"_TZE200_3xfjp0ag",
|
|
10088
|
+
"_TZE200_ehhrv2e3",
|
|
10089
|
+
"_TZE200_lhqtjwax",
|
|
10040
10090
|
]),
|
|
10041
10091
|
model: "ZG-227ZL",
|
|
10042
10092
|
vendor: "Tuya",
|
|
@@ -10053,7 +10103,7 @@ exports.definitions = [
|
|
|
10053
10103
|
e.battery(),
|
|
10054
10104
|
],
|
|
10055
10105
|
whiteLabel: [
|
|
10056
|
-
tuya.whitelabel("HOBEIAN", "ZG-227Z", "Temperature and humidity sensor", ["_TZE200_a8sdabtg", "_TZE200_vs0skpuc"]),
|
|
10106
|
+
tuya.whitelabel("HOBEIAN", "ZG-227Z", "Temperature and humidity sensor", ["_TZE200_a8sdabtg", "_TZE200_vs0skpuc", "_TZE200_ehhrv2e3"]),
|
|
10057
10107
|
tuya.whitelabel("KOJIMA", "KOJIMA-THS-ZG-LCD", "Temperature and humidity sensor", ["_TZE200_dikkika5"]),
|
|
10058
10108
|
],
|
|
10059
10109
|
meta: {
|
|
@@ -10268,7 +10318,7 @@ exports.definitions = [
|
|
|
10268
10318
|
},
|
|
10269
10319
|
{
|
|
10270
10320
|
zigbeeModel: ["ZG-102ZL"],
|
|
10271
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_pay2byax", "_TZE200_ijey4q29", "_TZE200_ykglasuj"]),
|
|
10321
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_pay2byax", "_TZE200_ijey4q29", "_TZE200_ykglasuj", "_TZE200_kf2hbko4"]),
|
|
10272
10322
|
model: "ZG-102ZL",
|
|
10273
10323
|
vendor: "Tuya",
|
|
10274
10324
|
description: "Luminance door sensor",
|
|
@@ -10323,7 +10373,7 @@ exports.definitions = [
|
|
|
10323
10373
|
},
|
|
10324
10374
|
{
|
|
10325
10375
|
zigbeeModel: ["ZG-225Z"],
|
|
10326
|
-
fingerprint: [...tuya.fingerprint("TS0601", ["_TZE200_8isdky6j"]), ...tuya.fingerprint("TS0225", ["_TZE200_p6fuhvez"])],
|
|
10376
|
+
fingerprint: [...tuya.fingerprint("TS0601", ["_TZE200_8isdky6j"]), ...tuya.fingerprint("TS0225", ["_TZE200_p6fuhvez", "_TZE200_aj0oxo1i"])],
|
|
10327
10377
|
model: "ZG-225Z",
|
|
10328
10378
|
vendor: "Tuya",
|
|
10329
10379
|
description: "Gas sensor",
|
|
@@ -10370,6 +10420,8 @@ exports.definitions = [
|
|
|
10370
10420
|
"_TZE200_gjldowol",
|
|
10371
10421
|
"_TZE200_s6hzw8g2",
|
|
10372
10422
|
"_TZE200_jxyhl4eq",
|
|
10423
|
+
"_TZE200_qxyh4r7g",
|
|
10424
|
+
"_TZE200_na5qlzow",
|
|
10373
10425
|
]),
|
|
10374
10426
|
model: "ZG-204ZL",
|
|
10375
10427
|
vendor: "Tuya",
|
|
@@ -13606,9 +13658,9 @@ exports.definitions = [
|
|
|
13606
13658
|
// were received. They can be several seconds in the past if
|
|
13607
13659
|
// the publication was delayed because of the late_energy_flow options.
|
|
13608
13660
|
e
|
|
13609
|
-
.
|
|
13661
|
+
.text("timestamp_a", ea.STATE)
|
|
13610
13662
|
.withDescription("Timestamp at power measure (phase a)"),
|
|
13611
|
-
e.
|
|
13663
|
+
e.text("timestamp_b", ea.STATE).withDescription("Timestamp at power measure (phase b)"),
|
|
13612
13664
|
],
|
|
13613
13665
|
meta: {
|
|
13614
13666
|
multiEndpointSkip: ["power_factor", "power_factor_phase_b", "power_factor_phase_c", "energy"],
|
|
@@ -14096,7 +14148,7 @@ exports.definitions = [
|
|
|
14096
14148
|
},
|
|
14097
14149
|
{
|
|
14098
14150
|
zigbeeModel: ["ZG-101Z"],
|
|
14099
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_nojsjtj2"]),
|
|
14151
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_nojsjtj2", "_TZE200_vrcfo4i0"]),
|
|
14100
14152
|
model: "ZG-101Z",
|
|
14101
14153
|
vendor: "Loginovo",
|
|
14102
14154
|
description: "SOS button",
|
|
@@ -14640,13 +14692,13 @@ exports.definitions = [
|
|
|
14640
14692
|
extend: [m.temperature(), m.humidity(), m.identify({ isSleepy: true }), m.battery({ voltage: true })],
|
|
14641
14693
|
},
|
|
14642
14694
|
{
|
|
14643
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_pl31aqf5", "_TZE200_xpvamyfz"]),
|
|
14695
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_pl31aqf5", "_TZE200_xpvamyfz", "_TZE284_xpvamyfz"]),
|
|
14644
14696
|
model: "ZR360CDB",
|
|
14645
14697
|
vendor: "Zorro Alert",
|
|
14646
14698
|
fromZigbee: [tuya.fz.datapoints],
|
|
14647
14699
|
toZigbee: [tuya.tz.datapoints],
|
|
14648
14700
|
description: "Multifunctional CO2 detector",
|
|
14649
|
-
whiteLabel: [tuya.whitelabel("Nous", "E10", "Multifunctional CO2 detector", ["_TZE200_xpvamyfz"])],
|
|
14701
|
+
whiteLabel: [tuya.whitelabel("Nous", "E10", "Multifunctional CO2 detector", ["_TZE200_xpvamyfz", "_TZE284_xpvamyfz"])],
|
|
14650
14702
|
onEvent: tuya.onEventSetTime,
|
|
14651
14703
|
configure: tuya.configureMagicPacket,
|
|
14652
14704
|
exposes: [
|
|
@@ -18297,5 +18349,70 @@ exports.definitions = [
|
|
|
18297
18349
|
],
|
|
18298
18350
|
},
|
|
18299
18351
|
},
|
|
18352
|
+
{
|
|
18353
|
+
zigbeeModel: ["ZG-204ZH"],
|
|
18354
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_vuqzj1ej"]),
|
|
18355
|
+
model: "ZG-204ZH",
|
|
18356
|
+
vendor: "HOBEIAN",
|
|
18357
|
+
description: "PIR 24Ghz human presence sensor",
|
|
18358
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
18359
|
+
toZigbee: [tuya.tz.datapoints],
|
|
18360
|
+
exposes: [
|
|
18361
|
+
e.presence(),
|
|
18362
|
+
e.illuminance(),
|
|
18363
|
+
e.temperature(),
|
|
18364
|
+
e.humidity(),
|
|
18365
|
+
tuya.exposes.temperatureUnit(),
|
|
18366
|
+
tuya.exposes.temperatureCalibration(),
|
|
18367
|
+
tuya.exposes.humidityCalibration(),
|
|
18368
|
+
e.battery(),
|
|
18369
|
+
e
|
|
18370
|
+
.numeric("fading_time", ea.STATE_SET)
|
|
18371
|
+
.withValueMin(0)
|
|
18372
|
+
.withValueMax(28800)
|
|
18373
|
+
.withValueStep(1)
|
|
18374
|
+
.withUnit("s")
|
|
18375
|
+
.withDescription("Motion keep time"),
|
|
18376
|
+
e.binary("indicator", ea.STATE_SET, "ON", "OFF").withDescription("LED indicator mode"),
|
|
18377
|
+
e
|
|
18378
|
+
.numeric("illuminance_interval", ea.STATE_SET)
|
|
18379
|
+
.withValueMin(1)
|
|
18380
|
+
.withValueMax(720)
|
|
18381
|
+
.withValueStep(1)
|
|
18382
|
+
.withUnit("minutes")
|
|
18383
|
+
.withDescription("Light sensing sampling(refresh and update only while active)"),
|
|
18384
|
+
e
|
|
18385
|
+
.numeric("static_detection_distance", ea.STATE_SET)
|
|
18386
|
+
.withValueMin(0)
|
|
18387
|
+
.withValueMax(5)
|
|
18388
|
+
.withValueStep(0.01)
|
|
18389
|
+
.withUnit("m")
|
|
18390
|
+
.withDescription("Static detection distance"),
|
|
18391
|
+
e
|
|
18392
|
+
.numeric("static_detection_sensitivity", ea.STATE_SET)
|
|
18393
|
+
.withValueMin(0)
|
|
18394
|
+
.withValueMax(10)
|
|
18395
|
+
.withValueStep(1)
|
|
18396
|
+
.withUnit("x")
|
|
18397
|
+
.withDescription("Static detection sensitivity"),
|
|
18398
|
+
],
|
|
18399
|
+
meta: {
|
|
18400
|
+
tuyaDatapoints: [
|
|
18401
|
+
[1, "presence", tuya.valueConverter.trueFalse1],
|
|
18402
|
+
[106, "illuminance", tuya.valueConverter.raw],
|
|
18403
|
+
[102, "fading_time", tuya.valueConverter.raw],
|
|
18404
|
+
[2, "static_detection_sensitivity", tuya.valueConverter.raw],
|
|
18405
|
+
[4, "static_detection_distance", tuya.valueConverter.divideBy100],
|
|
18406
|
+
[108, "indicator", tuya.valueConverter.onOff],
|
|
18407
|
+
[110, "battery", tuya.valueConverter.raw],
|
|
18408
|
+
[111, "temperature", tuya.valueConverter.divideBy10],
|
|
18409
|
+
[101, "humidity", tuya.valueConverter.raw],
|
|
18410
|
+
[109, "temperature_unit", tuya.valueConverter.temperatureUnit],
|
|
18411
|
+
[105, "temperature_calibration", tuya.valueConverter.divideBy10],
|
|
18412
|
+
[104, "humidity_calibration", tuya.valueConverter.raw],
|
|
18413
|
+
[107, "illuminance_interval", tuya.valueConverter.raw],
|
|
18414
|
+
],
|
|
18415
|
+
},
|
|
18416
|
+
},
|
|
18300
18417
|
];
|
|
18301
18418
|
//# sourceMappingURL=tuya.js.map
|