[Wrong device]: I have bought 3 Channel Tuya switch SWT23 for 3 momentary switches -- but it is recognized as just binary one
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.7k
- Forks
- 2k
- Avg merge
- 18h 55m
- Merged PRs (30d)
- 35
Description
Link
Model
OXT SWTZ23 or SWT23
Description
3 gang switch
Vendor
OXT
Picture (link)
https://s.alicdn.com/@sc04/kf/Hf8dce2efe7ac40889e517da774b22d8f7.jpg_300x300.jpg
Database entry
{"id":50,"type":"Router","ieeeAddr":"0xa4c138ff4b7858c7","nwkAddr":52478,"manufId":4417,"manufName":"_TZ3210_aksyshpw","powerSource":"Mains (single phase)","modelId":"TS0003","epList":[1,2,3,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"57344":{"attributes":{"53251":"AAAAAgAABAAA"}},"57345":{"attributes":{"53296":0}},"genBasic":{"attributes":{"65534":0,"manufacturerName":"_TZ3210_aksyshpw","zclVersion":3,"appVersion":74,"modelId":"TS0003","powerSource":1,"stackVersion":2,"hwVersion":1,"deviceEnabled":1}},"genOnOff":{"attributes":{"32770":1,"onOff":0,"onTime":0,"offWaitTime":0}},"genIdentify":{"attributes":{"identifyTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xbc8d7efffe9e28f0","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6,57344,57345],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xbc8d7efffe9e28f0","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[4,5,6,57344,57345],"outClusterList":[],"clusters":{"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xbc8d7efffe9e28f0","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1}],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":74,"stackVersion":2,"hwVersion":1,"zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1782291742481}
Notes
Hello,
I bought: https://www.zigbee2mqtt.io/devices/TS0003_switch_module_1.html
It is recognized as: https://www.zigbee2mqtt.io/devices/TS0003.html#tuya-ts0003
I was trying external converters, but no result, or result with "invalid" added after file name.
how to recognized it properly?
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 by comparing the linked TS0003 and TS0003_switch_module_1 device definitions with the reported modelId, manufacturer name, and three endpoint entries. Trace how the matching device definition is selected and verify the result against the supplied interview data. Done means the SWT23 is recognized with three controllable channels rather than as a binary device.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100