Skip to content

Commit

Permalink
Tuya human presence sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Oct 3, 2024
1 parent aba872a commit 2021348
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"TS0601__TZE200_3towulqd": {
"manufacturer": "Tuya",
"model": "Presence sensor",
"type": "Tuya human presence sensor",
"genericType": "Security",
"category": {
"security": "1"
},
"configuration": {
"icon": "Tuya-PresenceAndIlluminance-2",
"mainEP": "01",
"batteryType": "2x1.5V LR03/AAA"
},
"commands": {
"Battery-Percent": {
"use": "inf_zbAttr-0001-BatteryPercent",
"params": "ep=01"
},
"SetReporting 01-0001-00021": {
"use": "act_zbConfigureReporting2",
"params": "ep=01&clustId=0001&attrType=20&attrId=0021&minInterval=1800&maxInterval=3600",
"execAtCreation": "yes"
},
"Bind 01-0001-ToZigate": {
"use": "act_zbBindToZigate",
"params": "ep=01&clustId=0001",
"execAtCreation": "yes"
},
"Identify": {
"use": "act_zbCmdC-Identify",
"nextLine": "after"
},
"Illuminance": {
"use": "inf_zbAttr-0400-MeasuredValue",
"params": "ep=01",
"isVisible": "1"
},
"Get Illuminance": {
"use": "act_zbReadAttribute",
"params": "ep=01&clustId=0400&attrId=0000"
},
"Bind 01-0400-ToZigate": {
"use": "act_zbBindToZigate",
"params": "ep=01&clustId=0400",
"execAtCreation": "yes"
},
"SetReporting 01-0400-0000": {
"use": "act_zbConfigureReporting2",
"params": "ep=01&clustId=0400&attrType=21&attrId=0000&minInterval=300&maxInterval=600&changeVal=0",
"execAtCreation": "yes",
"comment": "Reporting every 5 to 10mins"
},
"Zone Alarm1": {
"use": "inf_zone-Alarm1",
"params": "ep=01",
"isVisible": "1"
},
"Zone Status Changed": {
"use": "inf_zbCmdS-0500-ZoneStatus-ChangeNotification",
"params": "ep=01",
"trigOut": {
"01-0500-alarm1": {
"comment": "On receive we trig <EP>-0500-alarm1 with extracted boolean/bit0 value",
"valueOffset": "#value#&1"
}
}
},
"Bind 01-0500-ToZigate": {
"use": "act_zbBindToZigate",
"params": "ep=01&clustId=0500",
"execAtCreation": "yes"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"epCount":1,"endPoints":{"01":{"profId":"0104","devId":"0402","servClusters":{"0000":{"attributes":{"4000":{"dataType":"42","access":"01","value":"0122052017"},"0004":{"value":"_TZE200_3towulqd","dataType":"42","access":"01"},"0000":{"dataType":"20","access":"01","value":3},"0001":{"dataType":"20","access":"01","value":144},"0002":{"dataType":"20","access":"01","value":2},"0003":{"dataType":"20","access":"01","value":1},"0005":{"dataType":"42","access":"01","value":"TS0601"},"0007":{"dataType":"30","access":"01","value":3},"0012":{"dataType":"10","access":"03","value":1},"FFFD":{"dataType":"21","access":"01","value":1}},"commandsReceived":"UNSUPPORTED","commandsGenerated":"UNSUPPORTED"},"0003":{"attributes":{"0000":{"dataType":"21","access":"03","value":0},"FFFD":{"dataType":"21","access":"01","value":1}},"commandsReceived":"UNSUPPORTED","commandsGenerated":"UNSUPPORTED"},"0500":{"attributes":{"0000":{"dataType":"30","access":"01","value":0},"0001":{"dataType":"31","access":"01","value":13},"0002":{"dataType":"19","access":"01","value":0},"0010":{"dataType":"F0","access":"03","value":"0000000000000000"},"0011":{"dataType":"20","access":"01","value":0},"FFFD":{"dataType":"21","access":"01","value":1}},"commandsGenerated":"UNSUPPORTED","commandsReceived":"UNSUPPORTED"},"0001":{"attributes":{"0020":{"dataType":"20","access":"01","value":3},"0021":{"dataType":"20","access":"01","value":100},"FFFD":{"dataType":"21","access":"01","value":1}},"commandsReceived":"UNSUPPORTED","commandsGenerated":"UNSUPPORTED"},"0400":{"attributes":{"0000":{"dataType":"21","access":"01","value":1.2586355668764384},"0001":{"dataType":"21","access":"01","value":0},"0002":{"dataType":"21","access":"01","value":4000},"FFFD":{"dataType":"21","access":"01","value":1}},"commandsReceived":"UNSUPPORTED","commandsGenerated":"UNSUPPORTED"}},"cliClusters":{"":{}}}},"powerSource":"battery","fileSignature":"Abeille discovery file"}
1 change: 1 addition & 0 deletions docs/fr_FR/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Correction interne: AbeilleCmdQueue.
- Correction interne: Parser: Ne prend en compte que voisins dans reseau courant (Mgmt_lqi_rsp).
- Correction interne: Page config. Selection mode developer.
- Nouveau: Support Tuya human presence sensor (2727).

## 240920-BETA-3

Expand Down
Binary file added images/node_Tuya-PresenceAndIlluminance-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2021348

Please sign in to comment.