Hi all i have create a fonctionnal DDF for 4 gang tuya clone.
It’s : “manufacturername”: “_TZ3000_wbfgbpxq”, and i not see this exact name inside the feature request.
https://i.imgur.com/3DR3esd.png
French (amazon) reference:
- Fabricant : YSRSAI
- ASIN : B0BRV51VLX
- Numéro du modèle de l’article : YSR-Z-4K
And the DDF:
{
"schema": "devcap1.schema.json",
"manufacturername": "_TZ3000_wbfgbpxq",
"modelid": "TS0044",
"vendor": "TUYA CLONE",
"product": "TS0044",
"sleeper": false,
"status": "Gold",
"path": "/devices/_TZ3000_wbfgbpxq.json",
"subdevices": [
{
"type": "$TYPE_SWITCH",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x0006"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/battery",
"awake": true,
"refresh.interval": 4000,
"read": {
"at": "0x0021",
"cl": "0x0001",
"ep": 1,
"fn": "zcl"
},
"parse": {
"at": "0x0021",
"cl": "0x0001",
"ep": 1,
"eval": "Item.val = Attr.val / 2"
},
"default": 0
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/buttonevent"
},
{
"name": "state/lastupdated"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 1,
"cl": "0x0001",
"report": [
{
"at": "0x0021",
"dt": "0x20",
"min": 60,
"max": 3600,
"change": "0x00000001"
}
]
},
{
"bind": "unicast",
"src.ep": 1,
"dst.ep": 1,
"cl": "0x0006"
},
{
"bind": "unicast",
"src.ep": 2,
"dst.ep": 1,
"cl": "0x0006"
},
{
"bind": "unicast",
"src.ep": 3,
"dst.ep": 1,
"cl": "0x0006"
},
{
"bind": "unicast",
"src.ep": 4,
"dst.ep": 1,
"cl": "0x0006"
}
]
}