Koenkk / Koenkk/zigbee2mqtt

[support request]: TS0726 from _TZ300A_57kqwetw

Open
#32,661 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new device support
Dominant language
TypeScript
Stars
15.7k
Forks
2k
Avg merge
18h 55m
Merged PRs (30d)
35

Description

Link

https://www.alibaba.com/x/18TDVj?ck=pdp

Database entry

{"id":4,"type":"Router","ieeeAddr":"0xe0798dfffeda4c28","nwkAddr":3092,"manufId":4098,"manufName":"_TZ300A_57kqwetw","powerSource":"Mains (single phase)","modelId":"TS0726","epList":[1,2,3,4,5,6,7,8],"endpoints":{"1":{"profId":260,"epId":1,"devId":4,"inClusterList":[0,3,4,5,6,57345,57344],"outClusterList":[10,25],"clusters":{"57345":{"attributes":{"53264":2,"53280":0,"65278":0}},"genBasic":{"attributes":{"65503":"�2�1\u0012","65507":"sdk:1.0.16;cfg:0.0.0;ker:0.0.14-beta.1;","65508":0,"modelId":"TS0726","manufacturerName":"_TZ300A_57kqwetw","powerSource":1,"zclVersion":3,"appVersion":73,"stackVersion":1,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"20480":1,"32769":1,"32770":2,"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe456acfffe60b561","endpointID":1}],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":4,"inClusterList":[3,4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2,"53280":0,"65278":0}},"genOnOff":{"attributes":{"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":4,"inClusterList":[3,4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2,"53280":0,"65278":0}},"genOnOff":{"attributes":{"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":4,"inClusterList":[3,4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2,"53280":0,"65278":0}},"genOnOff":{"attributes":{"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[],"configuredReportings":[],"meta":{}},"5":{"profId":260,"epId":5,"devId":4,"inClusterList":[3,4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2,"53280":1,"65278":0}},"genOnOff":{"attributes":{"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}},"genScenes":{"attributes":{"currentScene":0}}},"binds":[],"configuredReportings":[],"meta":{}},"6":{"profId":260,"epId":6,"devId":4,"inClusterList":[3,4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2,"53280":1,"65278":0}},"genOnOff":{"attributes":{"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}},"genScenes":{"attributes":{"sceneValid":0}}},"binds":[],"configuredReportings":[],"meta":{}},"7":{"profId":260,"epId":7,"devId":4,"inClusterList":[3,4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2,"53280":1,"65278":0}},"genOnOff":{"attributes":{"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[],"configuredReportings":[],"meta":{}},"8":{"profId":260,"epId":8,"devId":4,"inClusterList":[3,4,5,6,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":2,"53280":1,"65278":0}},"genOnOff":{"attributes":{"65278":0,"onOff":0,"onTime":0,"offWaitTime":0}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":73,"stackVersion":1,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{},"lastSeen":1785060328661}

Zigbee2MQTT version

2.12.1 (unknown)

External definition
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    zigbeeModel: ['TS0726'],
    model: 'TS0726',
    vendor: '_TZ300A_57kqwetw',
    description: 'Automatically generated definition',
    extend: [m.deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8}}), m.onOff({"powerOnBehavior":false,"endpointNames":["1","2","3","4","5","6","7","8"]})],
};
What does/doesn't work with the external definition?
Image scene button doest not work
Notes

software_build_id: undefined
date_code: ``
endpoints:

{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","57345","57344"],"output":["genTime","genOta"]},"configured_reportings":[],"name":"1","scenes":[]},"2":{"bindings":[],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57345"],"output":[]},"configured_reportings":[],"name":"2","scenes":[]},"3":{"bindings":[],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57345"],"output":[]},"configured_reportings":[],"name":"3","scenes":[]},"4":{"bindings":[],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57345"],"output":[]},"configured_reportings":[],"name":"4","scenes":[]},"5":{"bindings":[],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57345"],"output":[]},"configured_reportings":[],"name":"5","scenes":[]},"6":{"bindings":[],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57345"],"output":[]},"configured_reportings":[],"name":"6","scenes":[]},"7":{"bindings":[],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57345"],"output":[]},"configured_reportings":[],"name":"7","scenes":[]},"8":{"bindings":[],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57345"],"output":[]},"configured_reportings":[],"name":"8","scenes":[]}}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start with the external definition for TS0726 and compare its endpoint and cluster data with the reported scene-button behavior. Reproduce the issue, trace how the eight endpoints and genScenes clusters are handled, and confirm that the scene button works as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.