Latest version,When the end device iasZone "Zone States Definition" returns a value of "ZONE-STATE_NOT-INROLLED", it will prompt pairing failure
What happened?
When the end device iasZone "Zone States Definition" returns a value of "ZONE-STATE_NOT-INROLLED", it will prompt pairing failure。 log:
Error 2025-06-09 18:53:54zh:controller: Interview failed for '0xa4c13858e5cfc587 with error 'Error: Interview failed because of failed IAS enroll (zoneState didn't change ('0xa4c13858e5cfc587')' Error 2025-06-09 18:53:54z2m: Failed to interview '0xa4c13858e5cfc587', device has not successfully been paired
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
2.4.0
Adapter firmware version
20211207
Adapter
ZStack3x0
Setup
Add-on on Home Assistant OS On Raspberry Pi
Debug log
No response
After enrolling the state should be 1, it seems that is not the case for this device? (therefore pairing fails as it should?)
Hello,Thank you for your reply! There are many devices that respond with 'enrollment the state' and do not use iasZone on Zigbee2mqtt, but the tuya dp point function is normal ,The old version of Zigbee2mqtt works fine, but this' therefore pairing failures as it should 'only appeared after the updated version
There are many devices that respond with 'enrollment the state' and do not use iasZone on Zigbee2mqtt,
It seems to me this is an issue of the device, it has the iAS cluster but does not support enrolling.
The old version of Zigbee2mqtt works fine, but this' therefore pairing failures as it should 'only appeared after the updated version
Which z2m version is that, can you provide the debug log of pairing with that version?
Im having the exact same issue pairing multiple ZG-204ZM devices to to z2m 2.4.0 using ZStack3x0. I paired other ZG-204ZM previously without any issues. This failing device runs the same firmware version as the ones that I have paired previously, though the Zigbee Model string is different, so it might not be 100% the same device
Yes, it's just that the "ZCL BASIC MODEL ID" has been changed to "ZG-204ZM" and the "ZCL BASIC MFG NAME" has been changed to "HOBEIAN". The previous old devices "TS0601, _TZE200_kb5noeto" also returned "0" in zoneState, but there was no such problem
Except for modifying the "ZCL BASIC MODEL ID" and "ZCL BASIC MFG NAME", no other changes were made. Subsequent new devices can only change zoneState to "1". Old devices cannot upgrade firmware (approximately 3000PCS in quantity). Can this issue be resolved by modifying the "Zigbee Herdsman converters" section?
As long as the "ZCL BASIC MODEL ID" and "ZCL BASIC MFG NAME" are changed back to the old ones, but the zone state remains the same as "0", it is normal.
I would like to join and say it is also happening to ZG-204ZV
Interview failed for '0xa4c138244bf1cc7e with error 'Error: Interview failed because of failed IAS enroll (zoneState didn't change ('0xa4c138244bf1cc7e')' Error 2025-06-13 16:40:55z2m: Failed to interview '0xa4c138244bf1cc7e', device has not successfully been paired
Log screenshot
Next version update, add HOBEIAN
@13717033460 could you provide the data/database.db entry of the problematic device?
For me it is:
{
"id": 67,
"type": "EndDevice",
"ieeeAddr": "0xa4c138005bb87889",
"nwkAddr": 47059,
"manufId": 4742,
"manufName": "HOBEIAN",
"powerSource": "Battery",
"modelId": "ZG-204ZM",
"epList": [
1
],
"endpoints": {
"1": {
"profId": 260,
"epId": 1,
"devId": 1026,
"inClusterList": [
0,
3,
1280,
61184,
1,
1024
],
"outClusterList": [],
"clusters": {
"msIlluminanceMeasurement": {
"attributes": {
"measuredValue": 28070
}
}
},
"binds": [],
"configuredReportings": [],
"meta": {}
}
},
"appVersion": 148,
"stackVersion": 2,
"hwVersion": 1,
"swBuildId": "0122052017",
"zclVersion": 3,
"interviewCompleted": false,
"interviewState": "FAILED",
"meta": {},
"lastSeen": 1749845140135
}
Thanks, will be fixed in https://github.com/Koenkk/zigbee-herdsman/pull/1422
Hi, I have a EZVIZ CS-T9C Smart Siren with a very similar issue. Could you help me how I can check if this solution works for me as well?
This is the generated external definition:
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
export default {
zigbeeModel: ['CS-T9C-A0-BG'],
model: 'CS-T9C-A0-BG',
vendor: 'EZVIZ',
description: 'Automatically generated definition',
extend: [m.battery(), m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]}), m.iasWarning()],
meta: {},
};
@n84ck could you provide the data/database.db entry of this device?
https://www.zigbee2mqtt.io/devices/ZG-223Z.html - same issue
{
"id": 65,
"type": "EndDevice",
"ieeeAddr": "0xa4c138a30b14ff8d",
"nwkAddr": 44413,
"manufId": 4742,
"manufName": "HOBEIAN",
"powerSource": "Battery",
"modelId": "ZG-223Z",
"epList": [
1
],
"endpoints": {
"1": {
"profId": 260,
"epId": 1,
"devId": 1026,
"inClusterList": [
0,
3,
1280,
1,
1024
],
"outClusterList": [],
"clusters": {
"genBasic": {
"attributes": {
"modelId": "ZG-223Z",
"manufacturerName": "HOBEIAN",
"powerSource": 3,
"zclVersion": 3,
"appVersion": 147,
"stackVersion": 2,
"hwVersion": 1,
"swBuildId": "0122052017"
}
},
"ssIasZone": {
"attributes": {
"iasCieAddr": "0x00124b002a2eeb6d",
"zoneState": 0
}
},
"genPowerCfg": {
"attributes": {
"batteryPercentageRemaining": 200,
"batteryVoltage": 30
}
},
"msIlluminanceMeasurement": {
"attributes": {
"measuredValue": 29026
}
}
},
"binds": [],
"configuredReportings": [],
"meta": {}
}
},
"appVersion": 147,
"stackVersion": 2,
"hwVersion": 1,
"swBuildId": "0122052017",
"zclVersion": 3,
"interviewCompleted": false,
"interviewState": "FAILED",
"meta": {
"configured": 1946894323
},
"lastSeen": 1750091643527
}
Should be fixed now!
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 not, provide the debug logging when pairing that device.
See this on how to enable debug logging.
Hi, I have a EZVIZ CS-T9C Smart Siren with a very similar issue. Could you help me how I can check if this solution works for me as well?
This is the generated external definition:
import * as m from 'zigbee-herdsman-converters/lib/modernExtend'; export default { zigbeeModel: ['CS-T9C-A0-BG'], model: 'CS-T9C-A0-BG', vendor: 'EZVIZ', description: 'Automatically generated definition', extend: [m.battery(), m.iasZoneAlarm({"zoneType":"generic","zoneAttributes":["alarm_1","alarm_2","tamper","battery_low"]}), m.iasWarning()], meta: {}, };
@n84ck sry for the ping, but did you finally managed to pair the EZVIZ T9C alarm siren with Z2M at the end? Thanks in advance 😊