[New device support]: TS0511 from _TZ3210_inv6zzlf

Open Beginner friendly
#33,562 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start from the external definition in the issue, which uses m.identify() and m.light with xy and hs color modes, and check it against endpoint 1's input clusters (genOnOff, genLevelCtrl, lightingColorCtrl) in the database entry. Add the matching device definition to the converters and confirm the light's color modes are exposed. Done when the device is recognised from its manufacturer name and model ID and the light controls work as the screenshot shows.

Written by the indexing model from the issue text.

Description

new device support
Link

https://www.aliexpress.com/item/1005009551902094.html

Database entry

{"id":69,"type":"Router","ieeeAddr":"0x8c8b48fffe844411","nwkAddr":31952,"manufId":4098,"manufName":"_TZ3210_inv6zzlf","powerSource":"Mains (single phase)","modelId":"TS0511","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":258,"inClusterList":[0,3,4,5,6,4096,8,768,57347,61184],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0511","manufacturerName":"_TZ3210_inv6zzlf","powerSource":1,"zclVersion":3,"appVersion":66,"stackVersion":0,"hwVersion":1,"dateCode":""}},"lightingColorCtrl":{"attributes":{"colorCapabilities":9,"currentHue":85,"colorMode":0}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":66,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1793531264021}

Zigbee2MQTT version

2.14.3 (unknown)

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

export default {
    zigbeeModel: ['TS0511'],
    model: 'TS0511',
    vendor: '_TZ3210_inv6zzlf',
    description: 'Automatically generated definition',
    extend: [m.identify(), m.light({"color":{"modes":["xy","hs"]}})],
};
What does/doesn't work with the external definition?
Image
Notes

software_build_id: undefined
date_code: ``
endpoints:

{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genOnOff","touchlink","genLevelCtrl","lightingColorCtrl","57347","manuSpecificTuya"],"output":["genOta","genTime"]},"configured_reportings":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}
Dominant language
TypeScript
Stars
15.8k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
37

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.