[New device support]: TERNCY DIM004 (24 W Jingwei dimmer)

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

Maintainers usually reply within 1 day

@calvinastroboy is already working on this.

Since Dec 1, 2026.

  • #14009 by @calvinastroboy — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active

Research direction

The external definition is linked at zigbee-herdsman-converters/review/terncy-dim004.mjs. Read that definition and compare it with the device database entry in the issue, then check how existing Terncy devices are defined in the repository. Add support for the TERNCY DIM004 using the external definition as a reference; done means the device is recognized and its reported functions work in Zigbee2MQTT.

Written by the indexing model from the issue text.

Description

new device support
Link

https://tw.terncy.com/zh-cn/blog/posts/home_center_release_history/

Database entry

{"id":45,"type":"Router","ieeeAddr":"0xb43522fffea60fd0","nwkAddr":34395,"manufId":4648,"manufName":"Xiaoyan","powerSource":"Mains (single phase)","modelId":"DIM004","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64716,64717,64718],"outClusterList":[25],"clusters":{"64717":{"attributes":{"5":0,"7":1}},"genBasic":{"attributes":{"hwVersion":5,"modelId":"DIM004","manufacturerName":"Xiaoyan","powerSource":0,"zclVersion":8,"dateCode":"yx20230803"}},"genOta":{"attributes":{"currentFileVersion":376}},"genOnOff":{"attributes":{"onOff":0}},"genLevelCtrl":{"attributes":{"onTransitionTime":20,"offTransitionTime":20,"startUpCurrentLevel":254,"currentLevel":0}},"lightingColorCtrl":{"attributes":{"colorTemperature":142,"colorTempPhysicalMin":142,"colorTempPhysicalMax":625,"currentX":24939,"currentY":24701}},"manuSpecificClusterAduroSmart":{"attributes":{"0":0,"25":1,"48":100000,"49":17}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x0000000000000000","endpointID":1},{"cluster":8,"type":"endpoint","deviceIeeeAddress":"0x0000000000000000","endpointID":1},{"cluster":768,"type":"endpoint","deviceIeeeAddress":"0x0000000000000000","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1},{"cluster":8,"attrId":0,"minRepIntval":5,"maxRepIntval":65000,"repChange":1},{"cluster":768,"attrId":7,"minRepIntval":10,"maxRepIntval":65000,"repChange":1}],"meta":{}}},"hwVersion":5,"dateCode":"yx20230803","zclVersion":8,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1796032678081}

Zigbee2MQTT version

2.7.1

External definition
https://github.com/calvinastroboy/zigbee-herdsman-converters/blob/b55c9c5917396c240ee358fa381f216bc089f324/review/terncy-dim004.mjs
What does/doesn't work with the external definition?

all the function is working all right.

Notes

有請 AI 協助

Dominant language
TypeScript
Stars
15.9k
Forks
2.1k
Avg merge
13h 22m
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.