diff --git a/core/config/devices/TS0601__TZE200_3towulqd/TS0601__TZE200_3towulqd.json b/core/config/devices/TS0601__TZE200_3towulqd/TS0601__TZE200_3towulqd.json new file mode 100644 index 000000000..db9c6bfb4 --- /dev/null +++ b/core/config/devices/TS0601__TZE200_3towulqd/TS0601__TZE200_3towulqd.json @@ -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 -0500-alarm1 with extracted boolean/bit0 value", + "valueOffset": "#value#&1" + } + } + }, + "Bind 01-0500-ToZigate": { + "use": "act_zbBindToZigate", + "params": "ep=01&clustId=0500", + "execAtCreation": "yes" + } + } + } +} \ No newline at end of file diff --git a/core/config/devices/TS0601__TZE200_3towulqd/discovery-TS0601__TZE200_3towulqd.json b/core/config/devices/TS0601__TZE200_3towulqd/discovery-TS0601__TZE200_3towulqd.json new file mode 100644 index 000000000..2154a2dc5 --- /dev/null +++ b/core/config/devices/TS0601__TZE200_3towulqd/discovery-TS0601__TZE200_3towulqd.json @@ -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"} \ No newline at end of file diff --git a/docs/fr_FR/Changelog.md b/docs/fr_FR/Changelog.md index 250a44b61..0f6a14fe0 100644 --- a/docs/fr_FR/Changelog.md +++ b/docs/fr_FR/Changelog.md @@ -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 diff --git a/images/node_Tuya-PresenceAndIlluminance-2.png b/images/node_Tuya-PresenceAndIlluminance-2.png new file mode 100644 index 000000000..0eb93a6b7 Binary files /dev/null and b/images/node_Tuya-PresenceAndIlluminance-2.png differ