Closed janstenpickle closed 4 months ago
Ha yes, it's device without neutral, lot of them are end device
{
"schema":"devcap1.schema.json",
"manufacturername":"_TZ3000_cxw02yp3",
"modelid":"TS0014",
"product":"Wired Switch 4 gangs without neutral",
"sleeper":false,
"status":"Gold",
"subdevices":[
{
"type":"$TYPE_ON_OFF_LIGHT",
"restapi":"/lights",
"uuid":[
"$address.ext",
"0x01"
],
"items":[
{
"name":"attr/id"
},
{
"name":"attr/lastannounced"
},
{
"name":"attr/lastseen"
},
{
"name":"attr/manufacturername"
},
{
"name":"attr/modelid"
},
{
"name":"attr/name"
},
{
"name": "attr/swversion",
"refresh.interval": 86400,
"parse": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
"read": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001"}
},
{
"name":"attr/type"
},
{
"name":"attr/uniqueid"
},
{
"name":"state/on"
},
{
"name":"state/reachable"
}
]
},
{
"type":"$TYPE_ON_OFF_LIGHT",
"restapi":"/lights",
"uuid":[
"$address.ext",
"0x02"
],
"items":[
{
"name":"attr/id"
},
{
"name":"attr/lastannounced"
},
{
"name":"attr/lastseen"
},
{
"name":"attr/manufacturername"
},
{
"name":"attr/modelid"
},
{
"name":"attr/name"
},
{
"name": "attr/swversion",
"refresh.interval": 86400,
"parse": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
"read": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001"}
},
{
"name":"attr/type"
},
{
"name":"attr/uniqueid"
},
{
"name":"state/on"
},
{
"name":"state/reachable"
}
]
},
{
"type":"$TYPE_ON_OFF_LIGHT",
"restapi":"/lights",
"uuid":[
"$address.ext",
"0x03"
],
"items":[
{
"name":"attr/id"
},
{
"name":"attr/lastannounced"
},
{
"name":"attr/lastseen"
},
{
"name":"attr/manufacturername"
},
{
"name":"attr/modelid"
},
{
"name":"attr/name"
},
{
"name": "attr/swversion",
"refresh.interval": 86400,
"parse": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
"read": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001"}
},
{
"name":"attr/type"
},
{
"name":"attr/uniqueid"
},
{
"name":"state/on"
},
{
"name":"state/reachable"
}
]
},
{
"type":"$TYPE_ON_OFF_LIGHT",
"restapi":"/lights",
"uuid":[
"$address.ext",
"0x04"
],
"items":[
{
"name":"attr/id"
},
{
"name":"attr/lastannounced"
},
{
"name":"attr/lastseen"
},
{
"name":"attr/manufacturername"
},
{
"name":"attr/modelid"
},
{
"name":"attr/name"
},
{
"name": "attr/swversion",
"refresh.interval": 86400,
"parse": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
"read": {"fn": "zcl:attr", "ep": 1, "cl": "0x0000", "at": "0x0001"}
},
{
"name":"attr/type"
},
{
"name":"attr/uniqueid"
},
{
"name":"state/on"
},
{
"name":"state/reachable"
}
]
}
],
"bindings":[
{
"bind":"unicast",
"src.ep":1,
"cl":"0x0006",
"report":[
{
"at":"0x0000",
"dt":"0x10",
"min":5,
"max":1800
}
]
},
{
"bind":"unicast",
"src.ep":2,
"cl":"0x0006",
"report":[
{
"at":"0x0000",
"dt":"0x10",
"min":5,
"max":1800
}
]
},
{
"bind":"unicast",
"src.ep":3,
"cl":"0x0006",
"report":[
{
"at":"0x0000",
"dt":"0x10",
"min":5,
"max":1800
}
]
},
{
"bind":"unicast",
"src.ep":4,
"cl":"0x0006",
"report":[
{
"at":"0x0000",
"dt":"0x10",
"min":5,
"max":1800
}
]
}
]
}
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.
@Smanar sorry for the delay replying to you, I've only just had a chance to try this again. Thank you so much for this, it worked perfectly! 👌
Nice, do you to make the PR ? Or want I make it ? to have it officialy.
Is there already an existing issue for this?
Product name
4CH Zigbee Switch Module-L
Manufacturer
_TZ3000_cxw02yp3
Model identifier
TZ-0014
Device type to add
Light
Node info
Endpoints and clusters
Basic
Further relevant clusters
Power Configuration
On/Off
Level Control
Color Control
Thermostat
Simple Metering
Electrical Measurement
Any other cluster of relevance/interest