@@ -1673,6 +1673,7 @@ export const definitions: DefinitionWithExtend[] = [
16731673 "_TZ3000_qsp2pwtf",
16741674 "_TZ3000_kycczpw8",
16751675 "_TZ3000_46t1rvdu",
1676+ "_TZ3000_bhcpnvud",
16761677 ]),
16771678 ...tuya.fingerprint("TS000F", [
16781679 "_TZ3000_hktqahrq",
@@ -9907,6 +9908,7 @@ export const definitions: DefinitionWithExtend[] = [
99079908 fingerprint: [
99089909 {modelID: "TS0225", manufacturerName: "_TZE200_hl0ss9oa"},
99099910 {modelID: "CK-BL702-MWS-01(7016)", manufacturerName: "ZGAF-205L"},
9911+ {modelID: "TS0225", manufacturerName: "_TZE200_y4mdop0b"},
99109912 ],
99119913 model: "ZG-205ZL",
99129914 vendor: "Tuya",
@@ -10147,6 +10149,8 @@ export const definitions: DefinitionWithExtend[] = [
1014710149 "_TZE200_dikkika5",
1014810150 "_TZE200_vs0skpuc",
1014910151 "_TZE200_3xfjp0ag",
10152+ "_TZE200_ehhrv2e3",
10153+ "_TZE200_lhqtjwax",
1015010154 ]),
1015110155 model: "ZG-227ZL",
1015210156 vendor: "Tuya",
@@ -10163,7 +10167,7 @@ export const definitions: DefinitionWithExtend[] = [
1016310167 e.battery(),
1016410168 ],
1016510169 whiteLabel: [
10166- tuya.whitelabel("HOBEIAN", "ZG-227Z", "Temperature and humidity sensor", ["_TZE200_a8sdabtg", "_TZE200_vs0skpuc"]),
10170+ tuya.whitelabel("HOBEIAN", "ZG-227Z", "Temperature and humidity sensor", ["_TZE200_a8sdabtg", "_TZE200_vs0skpuc", "_TZE200_ehhrv2e3" ]),
1016710171 tuya.whitelabel("KOJIMA", "KOJIMA-THS-ZG-LCD", "Temperature and humidity sensor", ["_TZE200_dikkika5"]),
1016810172 ],
1016910173 meta: {
@@ -10378,7 +10382,7 @@ export const definitions: DefinitionWithExtend[] = [
1037810382 },
1037910383 {
1038010384 zigbeeModel: ["ZG-102ZL"],
10381- fingerprint: tuya.fingerprint("TS0601", ["_TZE200_pay2byax", "_TZE200_ijey4q29", "_TZE200_ykglasuj"]),
10385+ fingerprint: tuya.fingerprint("TS0601", ["_TZE200_pay2byax", "_TZE200_ijey4q29", "_TZE200_ykglasuj", "_TZE200_kf2hbko4" ]),
1038210386 model: "ZG-102ZL",
1038310387 vendor: "Tuya",
1038410388 description: "Luminance door sensor",
@@ -10433,7 +10437,7 @@ export const definitions: DefinitionWithExtend[] = [
1043310437 },
1043410438 {
1043510439 zigbeeModel: ["ZG-225Z"],
10436- fingerprint: [...tuya.fingerprint("TS0601", ["_TZE200_8isdky6j"]), ...tuya.fingerprint("TS0225", ["_TZE200_p6fuhvez"])],
10440+ fingerprint: [...tuya.fingerprint("TS0601", ["_TZE200_8isdky6j"]), ...tuya.fingerprint("TS0225", ["_TZE200_p6fuhvez", "_TZE200_aj0oxo1i" ])],
1043710441 model: "ZG-225Z",
1043810442 vendor: "Tuya",
1043910443 description: "Gas sensor",
@@ -10480,6 +10484,8 @@ export const definitions: DefinitionWithExtend[] = [
1048010484 "_TZE200_gjldowol",
1048110485 "_TZE200_s6hzw8g2",
1048210486 "_TZE200_jxyhl4eq",
10487+ "_TZE200_qxyh4r7g",
10488+ "_TZE200_na5qlzow",
1048310489 ]),
1048410490 model: "ZG-204ZL",
1048510491 vendor: "Tuya",
@@ -14257,7 +14263,7 @@ export const definitions: DefinitionWithExtend[] = [
1425714263 },
1425814264 {
1425914265 zigbeeModel: ["ZG-101Z"],
14260- fingerprint: tuya.fingerprint("TS0601", ["_TZE200_nojsjtj2"]),
14266+ fingerprint: tuya.fingerprint("TS0601", ["_TZE200_nojsjtj2", "_TZE200_vrcfo4i0" ]),
1426114267 model: "ZG-101Z",
1426214268 vendor: "Loginovo",
1426314269 description: "SOS button",
@@ -18498,4 +18504,69 @@ export const definitions: DefinitionWithExtend[] = [
1849818504 ],
1849918505 },
1850018506 },
18507+ {
18508+ zigbeeModel: ["ZG-204ZH"],
18509+ fingerprint: tuya.fingerprint("TS0601", ["_TZE200_vuqzj1ej"]),
18510+ model: "ZG-204ZH",
18511+ vendor: "HOBEIAN",
18512+ description: "PIR 24Ghz human presence sensor",
18513+ fromZigbee: [tuya.fz.datapoints],
18514+ toZigbee: [tuya.tz.datapoints],
18515+ exposes: [
18516+ e.presence(),
18517+ e.illuminance(),
18518+ e.temperature(),
18519+ e.humidity(),
18520+ tuya.exposes.temperatureUnit(),
18521+ tuya.exposes.temperatureCalibration(),
18522+ tuya.exposes.humidityCalibration(),
18523+ e.battery(),
18524+ e
18525+ .numeric("fading_time", ea.STATE_SET)
18526+ .withValueMin(0)
18527+ .withValueMax(28800)
18528+ .withValueStep(1)
18529+ .withUnit("s")
18530+ .withDescription("Motion keep time"),
18531+ e.binary("indicator", ea.STATE_SET, "ON", "OFF").withDescription("LED indicator mode"),
18532+ e
18533+ .numeric("illuminance_interval", ea.STATE_SET)
18534+ .withValueMin(1)
18535+ .withValueMax(720)
18536+ .withValueStep(1)
18537+ .withUnit("minutes")
18538+ .withDescription("Light sensing sampling(refresh and update only while active)"),
18539+ e
18540+ .numeric("static_detection_distance", ea.STATE_SET)
18541+ .withValueMin(0)
18542+ .withValueMax(5)
18543+ .withValueStep(0.01)
18544+ .withUnit("m")
18545+ .withDescription("Static detection distance"),
18546+ e
18547+ .numeric("static_detection_sensitivity", ea.STATE_SET)
18548+ .withValueMin(0)
18549+ .withValueMax(10)
18550+ .withValueStep(1)
18551+ .withUnit("x")
18552+ .withDescription("Static detection sensitivity"),
18553+ ],
18554+ meta: {
18555+ tuyaDatapoints: [
18556+ [1, "presence", tuya.valueConverter.trueFalse1],
18557+ [106, "illuminance", tuya.valueConverter.raw],
18558+ [102, "fading_time", tuya.valueConverter.raw],
18559+ [2, "static_detection_sensitivity", tuya.valueConverter.raw],
18560+ [4, "static_detection_distance", tuya.valueConverter.divideBy100],
18561+ [108, "indicator", tuya.valueConverter.onOff],
18562+ [110, "battery", tuya.valueConverter.raw],
18563+ [111, "temperature", tuya.valueConverter.divideBy10],
18564+ [101, "humidity", tuya.valueConverter.raw],
18565+ [109, "temperature_unit", tuya.valueConverter.temperatureUnit],
18566+ [105, "temperature_calibration", tuya.valueConverter.divideBy10],
18567+ [104, "humidity_calibration", tuya.valueConverter.raw],
18568+ [107, "illuminance_interval", tuya.valueConverter.raw],
18569+ ],
18570+ },
18571+ },
1850118572];
0 commit comments