-
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.
Tuya 2keysremote + enhancements rcvValueEnum
- Loading branch information
Showing
6 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
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
63 changes: 63 additions & 0 deletions
63
core/config/devices/TS0021__TZ3210_3ulg9kpo/TS0021__TZ3210_3ulg9kpo.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,63 @@ | ||
{ | ||
"TS0021__TZ3210_3ulg9kpo": { | ||
"manufacturer": "Tuya", | ||
"model": "LKWSZ211", | ||
"type": "Tuya 2 keys remote", | ||
"genericType": "Light", | ||
"category": { | ||
"light": "1" | ||
}, | ||
"configuration": { | ||
"icon": "Tuya-2KeysRemote", | ||
"mainEP": "01", | ||
"batteryType": "2x1.5V AAA" | ||
}, | ||
"commands": { | ||
"Battery-Percent": { | ||
"use": "inf_zbAttr-0001-BatteryPercent", | ||
"params": "ep=01" | ||
}, | ||
"Click 1": { | ||
"use": "inf_click", | ||
"comment": "value = single, double or long", | ||
"logicalId": "inf_click1", | ||
"isVisible": 1 | ||
}, | ||
"Click 2": { | ||
"use": "inf_click", | ||
"comment": "value = single, double or long", | ||
"logicalId": "inf_click2", | ||
"isVisible": 1 | ||
} | ||
}, | ||
"private": { | ||
"EF00": { | ||
"type": "tuya", | ||
"01": { | ||
"function": "rcvValueEnum", | ||
"enum": { | ||
"00": "single", | ||
"01": "double", | ||
"02": "long" | ||
}, | ||
"comment": "00=single, 01=double, 02=long", | ||
"info": "inf_click1" | ||
}, | ||
"02": { | ||
"function": "rcvValueEnum", | ||
"enum": { | ||
"00": "single", | ||
"01": "double", | ||
"02": "long" | ||
}, | ||
"comment": "00=single, 01=double, 02=long", | ||
"info": "inf_click2" | ||
}, | ||
"10": { | ||
"function": "rcvValue", | ||
"info": "0001-01-0021" | ||
} | ||
} | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
core/config/devices/TS0021__TZ3210_3ulg9kpo/discovery-TS0021__TZ3210_3ulg9kpo.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":{"0001":{"attributes":{"0000":{"dataType":"21","access":"05","value":0},"0020":{"dataType":"20","access":"05","value":0},"0021":{"dataType":"20","access":"05","value":0},"FFFD":{"dataType":"21","access":"05","value":1}},"commandsGenerated":"UNSUPPORTED","commandsReceived":"UNSUPPORTED"},"0500":{"attributes":{"0000":{"dataType":"30","access":"05","value":0},"0001":{"dataType":"31","access":"05","value":40},"0002":{"dataType":"19","access":"05","value":0},"0010":{"dataType":"F0","access":"07","value":"0000000000000000"},"0011":{"dataType":"20","access":"05","value":255},"FFFD":{"dataType":"21","access":"05","value":1}},"commandsReceived":"UNSUPPORTED","commandsGenerated":"UNSUPPORTED"},"EF00":{"attributes":{"0000":{"value":0}},"commandsReceived":"UNSUPPORTED","commandsGenerated":"UNSUPPORTED"},"0000":{"attributes":{"0000":{"dataType":"20","access":"05","value":3},"0001":{"dataType":"20","access":"05","value":66},"0002":{"dataType":"20","access":"05","value":0},"0003":{"dataType":"20","access":"05","value":1},"0004":{"dataType":"42","access":"05","value":"_TZ3210_3ulg9kpo"},"0005":{"dataType":"42","access":"05","value":"TS0021"},"0006":{"dataType":"42","access":"05","value":""},"0007":{"dataType":"30","access":"05","value":3},"FFDE":{"dataType":"20","access":"07","value":13},"FFFD":{"dataType":"21","access":"05","value":2},"FFFE":{"dataType":"30","access":"05","value":0},"FFE2":{"dataType":"20","access":"05","value":54},"FFE3":{"dataType":"48","access":"05","value":"00"}},"commandsGenerated":"UNSUPPORTED","commandsReceived":"UNSUPPORTED"},"0019":{"attributes":{"0008":{"value":65535},"0009":{"value":0},"FFFD":{"value":3},"0000":{"value":"FFFFFFFFFFFFFFFF"},"0001":{"value":4294967295},"0002":{"value":66},"0003":{"value":2},"0004":{"value":4294967295},"0006":{"value":0}}},"000A":{"attributes":{"FFFD":{"value":1}}}},"cliClusters":{"0019":{"attributes":{"0000":{},"0001":{},"0002":{},"0003":{},"0004":{},"0005":{},"0006":{},"0007":{},"0008":{},"0009":{},"FFFD":{}}},"000A":{"attributes":{"FFFD":{}}}}}},"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
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.