diff --git a/personal-tuya-devices/DEVICES.md b/personal-tuya-devices/DEVICES.md index 44eca18..837b946 100644 --- a/personal-tuya-devices/DEVICES.md +++ b/personal-tuya-devices/DEVICES.md @@ -55,6 +55,7 @@ | TS0601 | \_TZE204_ac0fhfiq | Power Meter | normal-powerMeter-v1 | 6, 1 | | TS0601 | \_TZE204_aoclfnxz | Thermostat | normal-thermostat-v4 | 1, 16, 24 | | TS0601 | \_TZE204_cjbofhxw | Power Meter | normal-powerMeter-v1 | 18, 19, 20, 101 | +| TS0601 | \_TZE204_laokfqwu | Presence Sensor | normal-presenceSensor-v1 | 1, 2, 3, 4, 9, 103, 104, 105, 106 | | TS0601 | \_TZE204_ntcy3xu1 | Smoke Detector | normal-smokeDetector-v1 | 1, 101, 14 | | TS0601 | \_TZE204_sbyx0lm6 | Presence Sensor | normal-presenceSensor-v4 | 1, 2, 3, 4, 101, 102, 104, 107, 108, 109, 111, 115 | | TS0601 | \_TZE204_sxm7l9xa | Presence Sensor | normal-presenceSensor-v1 | 105, 106, 108, 107, 111, 110, 104 | diff --git a/personal-tuya-devices/README.md b/personal-tuya-devices/README.md index 50e752c..c6185bd 100644 --- a/personal-tuya-devices/README.md +++ b/personal-tuya-devices/README.md @@ -141,6 +141,7 @@ Once you include/modify your model file, execute the command `npm start` to gene | TS0601 | \_TZE204_ac0fhfiq | Power Meter | normal-powerMeter-v1 | 6, 1 | | TS0601 | \_TZE204_aoclfnxz | Thermostat | normal-thermostat-v4 | 1, 16, 24 | | TS0601 | \_TZE204_cjbofhxw | Power Meter | normal-powerMeter-v1 | 18, 19, 20, 101 | +| TS0601 | \_TZE200_ztc6ggyl | Presence Sensor | normal-presenceSensor-v1 | 1, 2, 3, 4, 9, 103, 104, 105, 106 | | TS0601 | \_TZE204_ntcy3xu1 | Smoke Detector | normal-smokeDetector-v1 | 1, 101, 14 | | TS0601 | \_TZE204_sbyx0lm6 | Presence Sensor | normal-presenceSensor-v4 | 1, 2, 3, 4, 101, 102, 104, 107, 108, 109, 111, 115 | | TS0601 | \_TZE204_sxm7l9xa | Presence Sensor | normal-presenceSensor-v1 | 105, 106, 108, 107, 111, 110, 104 | diff --git a/personal-tuya-devices/fingerprints.yaml b/personal-tuya-devices/fingerprints.yaml index c1acfce..d1840d8 100644 --- a/personal-tuya-devices/fingerprints.yaml +++ b/personal-tuya-devices/fingerprints.yaml @@ -306,6 +306,11 @@ zigbeeManufacturer: manufacturer: _TZE204_cjbofhxw deviceProfileName: normal-powerMeter-v1 deviceLabel: Power Meter + - id: TS0601/_TZE204_laokfqwu + model: TS0601 + manufacturer: _TZE204_laokfqwu + deviceProfileName: normal-presenceSensor-v1 + deviceLabel: Presence Sensor - id: TS0601/_TZE204_ntcy3xu1 model: TS0601 manufacturer: _TZE204_ntcy3xu1 diff --git a/personal-tuya-devices/models/TS0601/_TZE204_laokfqwu.yaml b/personal-tuya-devices/models/TS0601/_TZE204_laokfqwu.yaml new file mode 100644 index 0000000..f3caf45 --- /dev/null +++ b/personal-tuya-devices/models/TS0601/_TZE204_laokfqwu.yaml @@ -0,0 +1,49 @@ +deviceLabel: Presence Sensor +profiles: + - normal_presenceSensor_v1 +datapoints: + # https://github.com/wzwenzhi/Wenzhi-ZigBee2mqtt/blob/main/wenzhi_tuya_M100_240704.js#L20-L53 + # https://github.com/zigpy/zha-device-handlers/pull/3695/files#diff-54518ccR354-R406 + - id: 1 + command: presenceSensor + base: + group: 1 + - id: 2 + command: value + base: + group: 2 + name: sensitivity + - id: 3 + command: value + base: + group: 3 + name: near_detection + - id: 4 + command: value + base: + group: 4 + name: far_detection + - id: 9 + command: value + base: + group: 5 + name: distance + - id: 103 + command: illuminanceMeasurement + base: + group: 1 + - id: 104 + command: value + base: + group: 6 + name: interval_time + - id: 105 + command: value + base: + group: 7 + name: detection_delay + - id: 106 + command: value + base: + group: 8 + name: fading_time