[External Converter]: TS011F from _TZ3210_zttucdoo - for CLY714M-BR/CLY714MS-BR(Metering)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.7k
- Forks
- 2k
- Avg merge
- 18h 55m
- Merged PRs (30d)
- 35
Description
Link
https://www.clinkyours.com/zh-TW/SmartWallSwitchesandSocketsN/354.html
Database entry
{"id":11,"type":"Router","ieeeAddr":"0xa4c138ac3019efac","nwkAddr":14282,"manufId":4417,"manufName":"_TZ3210_zttucdoo","powerSource":"Mains (single phase)","modelId":"TS011F","epList":[1,2,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":266,"inClusterList":[3,4,5,6,1794,2820,57344,57345,0],"outClusterList":[25,10],"clusters":{"57345":{"attributes":{"53248":1,"53249":0,"53250":2957487,"53251":127,"53252":9987,"53253":1217,"53264":2,"53296":0}},"genBasic":{"attributes":{"65503":"��\u001d1\u0012��\u001d1\u0016","65506":54,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZ3210_zttucdoo","zclVersion":3,"appVersion":192,"modelId":"TS011F","powerSource":1,"hwVersion":1}},"haElectricalMeasurement":{"attributes":{"activePower":0,"rmsCurrent":19,"rmsVoltage":223,"acCurrentDivisor":1000,"acCurrentMultiplier":1}},"seMetering":{"attributes":{"divisor":100,"multiplier":1,"currentSummDelivered":30091}},"genOnOff":{"attributes":{"20480":1,"32768":0,"32769":0,"32770":2,"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":0,"moesStartUpOnOff":2,"tuyaBacklightSwitch":1}},"manuSpecificTuya3":{"attributes":{"53248":1,"53249":0,"53250":2957487,"53251":127,"53252":9987,"53253":1217,"powerOnBehavior":2,"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x9035eafffebb6d4a","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0x9035eafffebb6d4a","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0x9035eafffebb6d4a","endpointID":1}],"configuredReportings":[{"cluster":1794,"attrId":0,"minRepIntval":5,"maxRepIntval":3600,"repChange":257},{"cluster":2820,"attrId":1285,"minRepIntval":5,"maxRepIntval":3600,"repChange":5},{"cluster":2820,"attrId":1288,"minRepIntval":5,"maxRepIntval":3600,"repChange":50},{"cluster":2820,"attrId":1291,"minRepIntval":5,"maxRepIntval":3600,"repChange":10}],"meta":{}},"2":{"profId":260,"epId":2,"devId":266,"inClusterList":[4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2}},"genOnOff":{"attributes":{"onOff":1,"onTime":0,"offWaitTime":0}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":2}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":192,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1788759930873}
Zigbee2MQTT version
2.14.1 (unknown)
External converter
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
fingerprint: [
{
modelID: 'TS011F',
manufacturerName: '_TZ3210_zttucdoo',
},
],
model: 'CLY714M-BR',
vendor: 'Ningbo Linkyours Electronics Co., Ltd',
description: 'Tomada dupla CLY714M-BR',
extend: [
m.deviceEndpoints({
endpoints: {
'1': 1,
'2': 2,
},
}),
m.onOff({
powerOnBehavior: false,
endpointNames: ['1', '2'],
}),
m.electricityMeter(),
],
};
What does/doesn't work with the external definition?
child lock doesn't work
Notes
software_build_id: undefined
date_code: ``
endpoints:
{"1":{"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","seMetering","haElectricalMeasurement","57344","57345","genBasic"],"output":["genOta","genTime"]},"name":"1"},"2":{"clusters":{"input":["genGroups","genScenes","genOnOff","57345"],"output":[]},"name":"2"},"242":{"clusters":{"input":[],"output":["greenPower"]}}}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied external converter and inspect the modernExtend onOff and electricityMeter extensions, then compare similar device converters that support child lock. Confirm which endpoint or cluster exposes the feature and test the converter with both switch endpoints; done means child lock is exposed and operates correctly without breaking switching or metering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100