[TS0202 / _TZ3000_c8ozah8n] Wrong device image / wrong definition detected

Open Beginner friendly
#33,891 0 comments 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
63/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend, devtools

Research direction

Start by locating the device definitions for TS0202 and _TZ3000_c8ozah8n, then read how Zigbee2MQTT matches manufacturer and model identifiers to a definition and image. The report identifies the device as Tuya TS0202 with manufacturer _TZ3000_c8ozah8n, but does not name a source file or test. Done means the device is matched to its correct model and shown with the matching image.

Written by the indexing model from the issue text.

Description

problem
What happened?

The device (Tuya TS0202, manufacturer _TZ3000_c8ozah8n) is shown with the wrong image in Zigbee2MQTT. It seems to be matched to a generic TS0202 definition (v0.0.0) instead of its own model.

Shown as: Imou ZP1
image

Actual device: AliExpress (listing no longer available)
Looks exactly like this one:
image

What did you expect to happen?

The device is recognized as the correct model with the matching image.

How to reproduce it (minimal and precise)

Pair the device with Zigbee2MQTT. It shows up with the wrong image right after pairing. Re-interviewing the device does not change it.

Zigbee2MQTT version

2.14.4 (unknown)

Adapter firmware version

{"build":397,"ezsp":14,"major":8,"minor":0,"patch":2,"revision":"8.0.2 [GA]","special":0,"type":170}

Adapter

EmberZNet

Setup

os: #1 SMP PREEMPT_DYNAMIC Tue Oct 27 13:48:56 UTC 2026 - 6.18.58-haos - x64
node: v24.22.3
ha: true

Device database.db entry

{"id":20,"type":"EndDevice","ieeeAddr":"0xa4c1382b47ea6098","nwkAddr":12100,"manufId":4098,"manufName":"_TZ3000_c8ozah8n","powerSource":"Battery","modelId":"TS0202","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,3,1,1280],"outClusterList":[3,25,10],"clusters":{"genBasic":{"attributes":{"modelId":"TS0202","manufacturerName":"_TZ3000_c8ozah8n","powerSource":3,"zclVersion":3,"appVersion":64,"stackVersion":2,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0xfc4d6afffe62278c","zoneState":1}},"genPowerCfg":{"attributes":{"batteryVoltage":29,"batteryPercentageRemaining":176}}},"binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0xfc4d6afffe62278c","endpointID":1}],"configuredReportings":[{"cluster":1,"attrId":33,"minRepIntval":3600,"maxRepIntval":65000,"repChange":0},{"cluster":1,"attrId":32,"minRepIntval":3600,"maxRepIntval":65000,"repChange":0}],"meta":{}}},"appVersion":64,"stackVersion":2,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":1567251947},"lastSeen":1796194129937}

Debug log

No response

Notes
Device

definition: TS0202 - Tuya (v0.0.0)
software_build_id: undefined
date_code: ``
endpoints:

{"1":{"bindings":[{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0xfc4d6afffe62278c","type":"endpoint"}}],"clusters":{"input":["genBasic","genIdentify","genPowerCfg","ssIasZone"],"output":["genIdentify","genOta","genTime"]},"configured_reportings":[{"attribute":"batteryPercentageRemaining","cluster":"genPowerCfg","maximum_report_interval":65000,"minimum_report_interval":3600,"reportable_change":0},{"attribute":"batteryVoltage","cluster":"genPowerCfg","maximum_report_interval":65000,"minimum_report_interval":3600,"reportable_change":0}],"scenes":[]}}
Health

time: Wed Dec 02 2026 07:55:27 GMT+0100 (Mitteleuropäische Normalzeit)
os.load_average: 0.04, 0.06, 0.06
os.memory_percent: 61.3575
process.memory_percent: 3.1985
process.uptime_sec: 606

{"leave_count":0,"messages":2,"messages_per_sec":0.0045,"network_address_changes":0}
Dominant language
TypeScript
Stars
15.9k
Forks
2.1k
Avg merge
12h 11m
Merged PRs (30d)
32

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.