[New device support]: TS0601 from _TZE204_ylthygdv

Open
#33,678 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
40/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
embedded-iot

Research direction

The payload gives the device fingerprint: modelId TS0601, manufacturerName _TZE204_ylthygdv, endpoints 1 and 242, and the manuSpecificTuya input cluster on endpoint 1. Start from the existing external definition and the Tuya device definitions in the repository's device-support files. The reporter says the six lights work through the Tuya gateway, so the work is to expose the six switch outputs in a definition. Done means a definition that loads for this fingerprint and exposes all six switches. Test it with the interview data in the issue.

Written by the indexing model from the issue text.

Description

new device support
Link

https://ko.aliexpress.com/item/1005012164675441.html

Database entry

{"id":7,"type":"Router","ieeeAddr":"0xa4c13839c7c55a29","nwkAddr":37088,"manufId":4417,"manufName":"_TZE204_ylthygdv","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":" \u0002\u0000\u0000i \u0002\u0000\u0000i \u0002\u0000\u0000i \u0002\u0000\u0000i \u0002\u0000\u0000f \u0002\u0000\u0000\u0012< 2i= 2f","65506":56,"65508":0,"modelId":"TS0601","manufacturerName":"_TZE204_ylthygdv","powerSource":1,"zclVersion":3,"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{},"lastSeen":1794461214650}

Zigbee2MQTT version

2.14.2 (5c0c1c60078e1737c5dee5f8217583bca7610e66
)

External definition
export default {
    zigbeeModel: ['TS0601'],
    model: 'TS0601',
    vendor: '_TZE204_ylthygdv',
    description: 'Automatically generated definition',
    extend: [],
};
What does/doesn't work with the external definition?

zigbee 6 gang wall switch.
This device can control 6 lights via Tuya gateway, but Z2M cannot.

Notes

software_build_id: undefined
date_code: ``
endpoints:

{"1":{"bindings":[],"clusters":{"input":["genGroups","genScenes","manuSpecificTuya","genBasic"],"output":["genOta","genTime"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}
Dominant language
TypeScript
Stars
15.8k
Forks
2.1k
Avg merge
1d 6h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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.

More from Koenkk/zigbee2mqtt

All issues in Koenkk/zigbee2mqtt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.