There is no DDF for this device.
There is one for the “lumi.magnet.agl02” but this device don’t use IAS cluster
Can try to add your device to the DDF “devices\xiaomi\xiaomi_mccgq14lm_e1_openclose_sensor.json”
"manufacturername": ["$MF_LUMI", "$MF_LUMI"],
"modelid": ["lumi.magnet.acn001", "lumi.magnet.ac01"],
This one almost have the same working mode (perhaps not the battery)
Edit, forget what I have say, this device have more feature, better to start on a new DDF
{
"schema": "devcap1.schema.json",
"manufacturername": "$MF_LUMI",
"modelid": "lumi.magnet.ac01",
"vendor": "Xiaomi Aqara",
"product": "Aqara Door Window Sensor P1 Zigbee 3.0",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_OPEN_CLOSE_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x0500"
],
"fingerprint": {
"profile": "0x0104",
"device": "0x0402",
"endpoint": "0x01",
"in": [
"0x0000",
"0x0001",
"0x0500",
"0xFCC0"
]
},
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername",
"awake": true
},
{
"name": "attr/modelid",
"awake": true
},
{
"name": "attr/name"
},
{
"name": "attr/swversion",
"awake": true,
"parse": {
"at": "0x00f7",
"ep": 1,
"eval": "Item.val = '0.0.0_' + ('0000' + (Attr.val & 0xFF).toString()).slice(-4)",
"fn": "xiaomi:special",
"idx": "0x08",
"mf": "0x115f"
},
"read": {
"fn": "none"
}
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/battery",
"awake": true,
"parse": {
"at": "0x00f7",
"ep": 1,
"fn": "xiaomi:special",
"idx": "0x01",
"mf": "0x115f",
"script": "xiaomi_battery.js"
}
},
{
"name": "config/enrolled",
"default": 1
},
{
"name": "config/on"
},
{
"name": "config/pending"
},
{
"name": "config/reachable"
},
{
"name": "state/lastupdated"
},
{
"name": "state/open"
}
]
}
]
}