[External Converter]: TS0003 from _TZ3000_nrdwow8a
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, typescript
Research direction
Start by reading the external converter and the reported endpoint and attribute data for model TS0003 from _TZ3000_nrdwow8a. Check the existing Tuya converter support for the listed backlight, switch type, power-on behavior, indicator mode, and countdown options, then compare their behavior with the reported results. Done means the converter correctly exposes and operates the supported options across endpoints l1, l2, and l3.
Written by the indexing model from the issue text.
Description
Link
https://www.ekaza.com.br/automacao/interruptor-inteligente-painel-touch-zigbee-3-0/
Database entry
{"id":106,"type":"Router","ieeeAddr":"0xa4c13806a4d43d51","nwkAddr":8960,"manufId":4417,"manufName":"_TZ3000_nrdwow8a","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":{"53264":0,"53296":1}},"genBasic":{"attributes":{"65503":"�n�1\u0013�n�1\u0012","65506":56,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZ3000_nrdwow8a","zclVersion":3,"appVersion":83,"modelId":"TS0003","powerSource":1}},"genOnOff":{"attributes":{"20480":0,"32769":2,"32770":0,"onOff":0,"onTime":0,"offWaitTime":0,"tuyaBacklightSwitch":0,"tuyaBacklightMode":2}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":2,"switchType":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9c9cdb","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,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":0}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":2}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9c9cdb","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,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":0}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9c9cdb","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":83,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1795660441657} {"id":106,"type":"Router","ieeeAddr":"0xa4c13806a4d43d51","nwkAddr":8960,"manufId":4417,"manufName":"_TZ3000_nrdwow8a","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":{"53264":0,"53296":1}},"genBasic":{"attributes":{"65503":"�n�1\u0013�n�1\u0012","65506":56,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","manufacturerName":"_TZ3000_nrdwow8a","zclVersion":3,"appVersion":83,"modelId":"TS0003","powerSource":1}},"genOnOff":{"attributes":{"20480":0,"32769":2,"32770":0,"onOff":0,"onTime":0,"offWaitTime":0,"tuyaBacklightSwitch":0,"tuyaBacklightMode":2}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":2,"switchType":1}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9c9cdb","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,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":0}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":2}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9c9cdb","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,57345],"outClusterList":[],"clusters":{"57345":{"attributes":{"53264":0}},"genOnOff":{"attributes":{"onOff":0,"onTime":0,"offWaitTime":0}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9c9cdb","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":83,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.0"},"lastSeen":1795660441657}
Zigbee2MQTT version
2.14.3 (unknown)
External converter
import * as tuya from 'zigbee-herdsman-converters/lib/tuya';
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
fingerprint: [{modelID: 'TS0003', manufacturerName: '_TZ3000_nrdwow8a'}],
model: 'TS0003_nrdwow8a',
vendor: 'Tuya',
description: 'Interruptor 3 teclas com backlight e countdown',
extend: [
tuya.modernExtend.tuyaBase(),
m.deviceEndpoints({endpoints: {l1: 1, l2: 2, l3: 3}}),
tuya.modernExtend.tuyaOnOff({
endpoints: ['l1', 'l2', 'l3'],
powerOnBehavior2: true,
switchType: true,
backlightModeOffOn: true,
indicatorMode: true,
onOffCountdown: true,
}),
],
};
What does/doesn't work with the external definition?
Tested on a Tuya 3-gang wall switch (TS0003, _TZ3000_nrdwow8a) with an external definition using tuyaBase() and tuyaOnOff().
Works
- Backlight mode (ON/OFF) using
backlightModeOffOn
Doesn't work
backlightModeOffNormalInverted: the LED did not change and readingbacklight_modefailed with statusFAILURE(tested withouttuyaBase())
Not tested yet
- On/off for l1, l2 and l3
- Power-on behavior for l1, l2 and l3
- Switch type
- Indicator mode
- Countdown for l1, l2 and l3
Not included
- Inching (not added to this definition, so not tested)
Notes
software_build_id: undefined
date_code: ``
endpoints:
{"1":{"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57344","manuSpecificTuya3","genBasic"],"output":["genOta","genTime"]},"name":"l1"},"2":{"clusters":{"input":["genGroups","genScenes","genOnOff","manuSpecificTuya3"],"output":[]},"name":"l2"},"3":{"clusters":{"input":["genGroups","genScenes","genOnOff","manuSpecificTuya3"],"output":[]},"name":"l3"},"242":{"clusters":{"input":[],"output":["greenPower"]}}}
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.1k
- Avg merge
- 12h 11m
- Merged PRs (30d)
- 32
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from Koenkk/zigbee2mqtt
-
Group Exposes always displays unknown state (?) despite valid group state being published via MQTTOpenproblem
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Koenkk/zigbee2mqtt#33925 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Koenkk/zigbee2mqtt#33894 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Koenkk/zigbee2mqtt#33892 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Koenkk/zigbee2mqtt#33891 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Koenkk/zigbee2mqtt#33890 ·
Maintainers usually reply within 1 day
All issues in Koenkk/zigbee2mqtt
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
juspay/agent-distro#203 ·
Maintainers usually reply within 1 day