[TS0222 / _TZ3000_hy6ncvmw] Wrong device image/model detected

Open Beginner friendly
#33,892 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
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Find the device definition for TS0222 and check how it matches the manufacturer name _TZ3000_hy6ncvmw; the issue provides the reported model and manufacturer values. Identify the definition or image entry responsible for the MOES Light Sensor match, then verify that this device is recognized with its correct model and image after pairing. The issue does not name a file or test, so first locate the TS0222 definition and related device images.

Written by the indexing model from the issue text.

Description

problem
What happened?

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

Detected as: MOES Light Sensor
image

Actual device: https://de.aliexpress.com/item/1005008001489880.html
Looks like this:
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.

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":19,"type":"EndDevice","ieeeAddr":"0xa4c138b1be805d60","nwkAddr":36344,"manufId":4417,"manufName":"_TZ3000_hy6ncvmw","powerSource":"Battery","modelId":"TS0222","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":262,"inClusterList":[1,3,1026,1029,1024,1280,0],"outClusterList":[3,25,10],"clusters":{"genBasic":{"attributes":{"65503":"ځ.0\u0012","65506":51,"65508":0,"65534":0,"modelId":"TS0222","manufacturerName":"_TZ3000_hy6ncvmw","powerSource":3,"zclVersion":3,"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0xfc4d6afffe62278c","zoneState":1}},"msIlluminanceMeasurement":{"attributes":{"measuredValue":0}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200,"batteryVoltage":30}}},"binds":[{"cluster":1024,"type":"endpoint","deviceIeeeAddress":"0xfc4d6afffe62278c","endpointID":1}],"configuredReportings":[{"cluster":1024,"attrId":0,"minRepIntval":10,"maxRepIntval":3600,"repChange":5}],"meta":{}}},"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1796196391462}

Debug log

No response

Notes
Device

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

{"1":{"bindings":[{"cluster":"msIlluminanceMeasurement","target":{"endpoint":1,"ieee_address":"0xfc4d6afffe62278c","type":"endpoint"}}],"clusters":{"input":["genPowerCfg","genIdentify","msTemperatureMeasurement","msRelativeHumidity","msIlluminanceMeasurement","ssIasZone","genBasic"],"output":["genIdentify","genOta","genTime"]},"configured_reportings":[{"attribute":"measuredValue","cluster":"msIlluminanceMeasurement","maximum_report_interval":3600,"minimum_report_interval":10,"reportable_change":5}],"scenes":[]}}
Health

time: Wed Dec 02 2026 08:25:27 GMT+0100 (Mitteleuropäische Normalzeit)
os.load_average: 0.26, 0.95, 0.75
os.memory_percent: 61.973
process.memory_percent: 2.346
process.uptime_sec: 2406

{"leave_count":0,"messages":8,"messages_per_sec":0.0034,"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.