Bonjour,
Après avoir modifié 1 de mes capteurs mouvement pour faire un test comme sur le lien ci-après https://community.smartthings.com/t/making-xiaomi-motion-sensor-a-super-motion-sensor/139806
Je ne trouve pas trouve pas le paramètre « Duration » comme dans le plugin Deconz. Est-il possible de trouver le même paramètre dans le plugin Zigbee ?
Plugin Deconz :
Json Déconz :
{
"29": {
"config": {
"battery": 100,
"on": true,
"reachable": true,
"temperature": 3000,
"tholddark": 12000,
"tholdoffset": 7000
},
"ep": 1,
"etag": "c08f7707db60f3424c028d43203c6094",
"lastannounced": null,
"lastseen": "2021-08-20T20:03Z",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_motion.aq2",
"name": "Motion Sensor",
"state": {
"dark": true,
"daylight": false,
"lastupdated": "2021-08-20T20:04:41.243",
"lightlevel": 9031,
"lux": 8
},
"type": "ZHALightLevel",
"uniqueid": "00:15:8d:00:06:79:1e:96-01-0400"
},
"30": {
"config": {
"battery": 100,
"duration": 5,
"on": true,
"reachable": true,
"temperature": 3000
},
"ep": 1,
"etag": "22b98ec6983e22da7c689fb0249116ef",
"lastannounced": null,
"lastseen": "2021-08-20T20:03Z",
"manufacturername": "LUMI",
"modelid": "lumi.sensor_motion.aq2",
"name": "Presence 30",
"state": {
"lastupdated": "2021-08-20T20:03:53.402",
"presence": false
},
"type": "ZHAPresence",
"uniqueid": "00:15:8d:00:06:79:1e:96-01-0406"
}
}
Json plugin zigbee :
{
"ieee": "00:15:8d:00:06:8b:4c:1f",
"nwk": 33601,
"status": 2,
"lqi": "160",
"rssi": "-60",
"last_seen": "1629489428.390251",
"node_descriptor": "02:40:80:37:10:7f:64:00:00:00:64:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 263,
"profile_id": 260,
"manufacturer": "LUMI",
"model": "lumi.sensor_motion.aq2",
"output_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": []
},
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "BasicCluster",
"attributes": [
{
"id": 4,
"name": "manufacturer",
"value": "LUMI"
},
{
"id": 5,
"name": "model",
"value": "lumi.sensor_motion.aq2"
},
{
"id": 6,
"name": "date_code",
"value": "20170627"
},
{
"id": 7,
"name": "power_source",
"value": 3
},
{
"id": 16384,
"name": "sw_build_id",
"value": "3000-0001"
}
]
},
{
"id": 1,
"name": "Power Configuration",
"attributes": [
{
"id": 32,
"name": "battery_voltage",
"value": 30.4
},
{
"id": 33,
"name": "battery_percentage_remaining",
"value": 161
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 1024,
"name": "Illuminance Measurement",
"attributes": [
{
"id": 0,
"name": "measured_value",
"value": 9031.899869919436
}
]
},
{
"id": 1030,
"name": "Occupancy Sensing",
"attributes": [
{
"id": 0,
"name": "occupancy",
"value": 0
}
]
},
{
"id": 1280,
"name": "IAS Zone",
"attributes": [
{
"id": 0,
"name": "zone_state",
"value": 0
},
{
"id": 16,
"name": "cie_addr",
"value": "80:4b:50:ff:fe:30:3c:1b"
}
]
},
{
"id": 65535,
"name": "Manufacturer Specific",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "LUMI",
"model": "lumi.sensor_motion.aq2",
"node_desc": {
"logical_type": 2,
"complex_descriptor_available": 0,
"user_descriptor_available": 0,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 128,
"manufacturer_code": 4151,
"maximum_buffer_size": 127,
"maximum_incoming_transfer_size": 100,
"server_mask": 0,
"maximum_outgoing_transfer_size": 100,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 260,
"device_type": 263,
"input_clusters": [
0,
1,
3,
1024,
1030,
1280,
65535
],
"output_clusters": [
0,
25
]
}
}
},
"class": "zhaquirks.xiaomi.aqara.motion_aq2"
}