[Wrong device]: iHseno "Z2M" temperature and humidity sensor mistaken as Tuya TS0203 door/window sensor
Link
https://www.aliexpress.us/item/3256809207367334.html
Model
ZC-W1 (from manual included in product box) or IH-K009 (from AliExpress listing)
Description
Temperature and Humidity Sensor
Vendor
iHseno? Tuya?
Picture (link)
https://www.zigbee2mqtt.io/images/devices/IH-K009.png
Database entry
{"id":122,"type":"EndDevice","ieeeAddr":"0xa4c1381dc7bb4052","nwkAddr":4846,"manufId":4742,"manufName":"Zbeacon","powerSource":"Battery","modelId":"TS0203","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":770,"inClusterList":[0,3,1,32,1026,1029],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"modelId":"TS0203","manufacturerName":"Zbeacon","powerSource":3,"zclVersion":3,"appVersion":113,"stackVersion":2,"hwVersion":0,"swBuildId":"0122052017"}},"genPollCtrl":{"attributes":{"checkinInterval":6960}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200,"batteryVoltage":30}}},"binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b002f8fa805","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":113,"stackVersion":2,"hwVersion":0,"swBuildId":"0122052017","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":1371223903},"lastSeen":1754290044048,"checkinInterval":1740}
Notes
I bought these from the "2pcs Z2M" variant on the AliExpress listing linked above. Somewhat ironic that they're specifically listed as working with Z2M.
The product box literally only has an image representation of the sensor, and the text "Temperature & Humidity Sensor", on one side. There are no other markings on the box. The item itself has no markings except for the thermometer icon. The small folded manual sheet specifies "ZC-W1" as the model.
If anyone's curious, I took photos of the packaging and PCB compared to a nearly-identical temperature and humidity sensor that I have that reports as a TS0201/_TZ3000_fllyghyj and is identified as a Tuya TH02Z by Z2M (which works fine, though it looks different than the photo). The device this issue is about is the one on the left, with the green PCB.
I'm currently using this external_converter and it seems to be working, though I'm not confident this is the best way to do it as it's only my first time creating a converter.
import {temperature, humidity, battery} from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
zigbeeModel: ['TS0203'],
fingerprint: [{
modelID: 'TS0203',
manufacturerName: 'Zbeacon'
}],
model: 'ZC-W1',
vendor: 'Zbeacon',
description: 'ZC-W1 (or IH-K009) Temperature & Humidity Sensor',
extend: [temperature(), humidity(), battery()],
};
Added!
Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.
Could you also submit a picture for the docs? This can be done by:
- Create a fork by clicking here
- Go to the
public/images/devicesdirectory, Add file -> Upload files - Upload the files and press Commit changes
- Press Contribute -> Open pull request -> update title/description -> Create pull request
Make sure that:
- The filename is
ZC-W1.png - The size is 512x512
- The background is transparent (use e.g. Adobe remove background)
@Koenkk Great, thanks!
Interestingly, I just received a new 2xAAA temperature & humidity sensor of the ZTH01/ZTH02 physical form factor, and my converter caught it, so it seems the TS0203/Zbeacon fingerprint is being used by more than just the original circular CR2450 device I opened this issue for.
The original CR2450 device, as you can see in the photos above, is identical to the IH-K009 and could use the same photo, so I assume I could just copy that in my pull request.
But, now that I'm aware of another form factor for the same fingerprint, I'm not sure which image makes the most sense; I have noticed this previously about the converters, it seems it's not uncommon for the same fingerprint to match for many different form factors sometimes. I could create a combination image, which would look fine on the device info page, but the image is sometimes used scaled down where that might be too busy. Is there any guidance on what to do, or do you not really care and just want something simple?
I have TS0203 door/window sensor and when I'm pairing this, this registered as this device iHseno ZC-W1. I think this issue is the reason. Is there any way to register as TS0203 door window sensor?
Not sure but https://a.aliexpress.com/_oBHJHU7 this product is the thing, and according to mapping, this is TS0203 and the manufacturerName is Zbeacon. (After pairing, manufacturer name became _TZ3000_bpkijo14 )
The problem is this is legit door contact sensor, and it paired as a humidity sensor because of this. Can't reconfigure and delete in normal way. Force delete and reset is always required.
Even though I made a custom external converters, but don't know why but this keeps paired as a humidity sensor.
FYI) I was using latest-dev Docker image, rollbacking to 2.6.0 fixed the problem.
Hi, I have the same Device as @brian-bh, and same issue. My device is discovered as TS0203 (window/door sensor) instead of temperature sensor
Could you both provide the data/database.db entry of your device?
{ "id": 5, "type": "EndDevice", "ieeeAddr": "0xa4c1380639e421a4", "nwkAddr": 12360, "manufId": 4742, "manufName": "Zbeacon", "powerSource": "Battery", "modelId": "TS0203", "epList": [ 1 ], "endpoints": { "1": { "profId": 260, "epId": 1, "devId": 770, "inClusterList": [ 0, 3, 1, 32, 1026, 1029 ], "outClusterList": [ 25 ], "clusters": { "genBasic": { "attributes": { "hwVersion": 0 } }, "msRelativeHumidity": { "attributes": { "measuredValue": 6672 } }, "genPollCtrl": { "attributes": { "checkinInterval": 6960 } }, "genPowerCfg": { "attributes": { "batteryPercentageRemaining": 200, "batteryVoltage": 30 } } }, "binds": [ { "cluster": 1, "type": "endpoint", "deviceIeeeAddress": "0x00124b0030e6ab46", "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": 113, "stackVersion": 2, "hwVersion": 0, "swBuildId": "0122052017", "zclVersion": 3, "interviewCompleted": true, "interviewState": "SUCCESSFUL", "meta": { "configured": 1371223903 }, "lastSeen": 1756395699179, "checkinInterval": 1740 }
Funny thing, it's working in Smartlife and its discovered as Temperature and humidity sensor :(
And here working Temperature sensor:
{ "id": 11, "type": "EndDevice", "ieeeAddr": "0xa4c138842c1efe7a", "nwkAddr": 34523, "manufId": 4742, "manufName": "eWeLink", "powerSource": "Battery", "modelId": "TH01", "epList": [ 1 ], "endpoints": { "1": { "profId": 260, "epId": 1, "devId": 770, "inClusterList": [ 0, 3, 1, 32, 1026, 1029 ], "outClusterList": [ 25 ], "clusters": { "genBasic": { "attributes": { "modelId": "TH01", "manufacturerName": "eWeLink", "powerSource": 3, "zclVersion": 3, "appVersion": 113, "stackVersion": 2, "hwVersion": 0, "swBuildId": "0122052017" } }, "genPollCtrl": { "attributes": { "checkinInterval": 6960 } }, "genPowerCfg": { "attributes": { "batteryVoltage": 30, "batteryPercentageRemaining": 200 } }, "msTemperatureMeasurement": { "attributes": { "measuredValue": 2338 } }, "msRelativeHumidity": { "attributes": { "measuredValue": 5612 } } }, "binds": [ { "cluster": 32, "type": "endpoint", "deviceIeeeAddress": "0x00124b0030e6ab46", "endpointID": 1 }, { "cluster": 1026, "type": "endpoint", "deviceIeeeAddress": "0x00124b0030e6ab46", "endpointID": 1 }, { "cluster": 1029, "type": "endpoint", "deviceIeeeAddress": "0x00124b0030e6ab46", "endpointID": 1 }, { "cluster": 1, "type": "endpoint", "deviceIeeeAddress": "0x00124b0030e6ab46", "endpointID": 1 } ], "configuredReportings": [ { "cluster": 1026, "attrId": 0, "minRepIntval": 30, "maxRepIntval": 300, "repChange": 20 }, { "cluster": 1029, "attrId": 0, "minRepIntval": 30, "maxRepIntval": 300, "repChange": 100 }, { "cluster": 1, "attrId": 32, "minRepIntval": 3600, "maxRepIntval": 7200, "repChange": 0 }, { "cluster": 1, "attrId": 33, "minRepIntval": 3600, "maxRepIntval": 7200, "repChange": 0 } ], "meta": {} } }, "appVersion": 113, "stackVersion": 2, "hwVersion": 0, "swBuildId": "0122052017", "zclVersion": 3, "interviewCompleted": true, "interviewState": "SUCCESSFUL", "meta": { "configured": -2085432827 }, "lastSeen": 1756394755798, "checkinInterval": 1740 }
@JakubMadro this one should be detected correctly in the dev branch.
Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.
Hi,
Works perfectly in version 2.6.1 👍
Thank you @Koenkk
Hi, after updating (02.09.2025) Zigbee2MQTT to 2.6.1-1 my Tuya TS0203 are now shown as iHsenso ZC-W1 ! So only Temperature, Humidity, Battery and Link Quality are available. Temp and Hum are N/A. Expose "Contact" is even no longer available.
Resetting one Device and rejoining is successfull but after that, it switches not back to TS0203 and stays on ZC-W1.
Any suggestions ?
Thanks.
I have the same problem: With Zigbee2MQTT 2.6.1, the Tuya TS0203 door contact is recognized as an iHsenso ZC-W1 temperature sensor.
Same thing, TS0203 sensor is recognized as an iHsenso ZC-W1 temperature sensor
The same for me, all the door sensors now cosplaying as temperature sensors...
Additional TS0203 user who's door sensor is now roll-playing as a function-less broken Temp & Humidity Sensor.
As with others, updated zigbee2mqtt to 2.6.1 this morning, TS0203's from ihseno are now registered as ZW-W1.
I have since rolled back to 2.6.0
Capture on 2.6.1
Dev output
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
zigbeeModel: ['TS0203'],
model: 'TS0203',
vendor: 'Zbeacon',
description: 'Automatically generated definition',
extend: [m.battery(), m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]})],
meta: {},
};
2.6.1 data/database.db entry for one of the TS0203 devices.
{
"id": 60,
"type": "EndDevice",
"ieeeAddr": "0xa4c13834b1c49fcb",
"nwkAddr": 55502,
"manufId": 4742,
"manufName": "Zbeacon",
"powerSource": "Battery",
"modelId": "TS0203",
"epList": [
1
],
"endpoints": {
"1": {
"profId": 260,
"epId": 1,
"devId": 1026,
"inClusterList": [
0,
3,
1,
1280,
32
],
"outClusterList": [
25
],
"clusters": {
"genBasic": {
"attributes": {
"hwVersion": 0,
"modelId": "TS0203",
"manufacturerName": "Zbeacon",
"powerSource": 3
}
},
"ssIasZone": {
"attributes": {
"61441": 2,
"iasCieAddr": "0x00124b0031f90b62",
"zoneState": 1,
"currentZoneSensitivityLevel": 1
}
},
"genPollCtrl": {
"attributes": {
"checkinInterval": 6960
}
},
"genPowerCfg": {
"attributes": {
"batteryPercentageRemaining": 100,
"batteryVoltage": 25
}
},
"genIdentify": {
"attributes": {
"identifyTime": 0
}
}
},
"binds": [
{
"cluster": 32,
"type": "endpoint",
"deviceIeeeAddress": "0x00124b0031f90b62",
"endpointID": 1
}
],
"configuredReportings": [],
"meta": {}
}
},
"appVersion": 113,
"stackVersion": 2,
"hwVersion": 0,
"swBuildId": "0122052017",
"zclVersion": 3,
"interviewCompleted": false,
"interviewState": "FAILED",
"meta": {},
"lastSeen": 1756830373463,
"checkinInterval": 1740
}
also mentioned here #28451
Fixed!
Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.
If you do not want to update you can apply the following workaround:
- Stop Z2M
- Open
data/database.dbwith a text editor and change all occurrences ofZbeacontoZbeacon_ignore - Start Z2M
Hi, after updating (02.09.2025) Zigbee2MQTT to 2.6.1-1 my Tuya TS0203 are now shown as iHsenso ZC-W1 ! So only Temperature, Humidity, Battery and Link Quality are available. Temp and Hum are N/A. Expose "Contact" is even no longer available.
Resetting one Device and rejoining is successfull but after that, it switches not back to TS0203 and stays on ZC-W1.
Any suggestions ?
Thanks.
Me too, the same case
Hi, after updating (02.09.2025) Zigbee2MQTT to 2.6.1-1 my Tuya TS0203 are now shown as iHsenso ZC-W1 ! So only Temperature, Humidity, Battery and Link Quality are available. Temp and Hum are N/A. Expose "Contact" is even no longer available. Resetting one Device and rejoining is successfull but after that, it switches not back to TS0203 and stays on ZC-W1. Any suggestions ? Thanks.
Me too, the same case
Your options are basically:
Rollback to the last version. (I.e. restore snapshot/backup if you had one)
Switch to dev if running the container standalone or for Home assistant Zigbee2MQTT-Edge.
Manually patch your local version (you'd have to check the commits to figure out what needs changing).
Wait for the next stable release on the 1st of Oct.