-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
core/config/devices/TS0601__TZE200_3towulqd/TS0601__TZE200_3towulqd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
core/config/devices/TS0601__TZE200_3towulqd/discovery-TS0601__TZE200_3towulqd.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.