Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions personal-tuya-devices/DEVICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions personal-tuya-devices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
5 changes: 5 additions & 0 deletions personal-tuya-devices/fingerprints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
49 changes: 49 additions & 0 deletions personal-tuya-devices/models/TS0601/_TZE204_laokfqwu.yaml
Original file line number Diff line number Diff line change
@@ -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