Nom : Honeywell Gas Alarm
Model : JTQJ-BF-01LM/BW
Fabriquant : Xiaomi
Image :
Données brutes :
{
"ieee": "00:15:8d:00:04:1c:xx:yy",
"nwk": 57075,
"status": 2,
"lqi": "255",
"rssi": "-46",
"last_seen": "1628003923.6298752",
"node_descriptor": "01:40:8e:37:10:7f:64:00:00:00:64:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 257,
"profile_id": 260,
"manufacturer": "LUMI",
"model": "lumi.sensor_natgas",
"output_clusters": [
{
"id": 25,
"name": "Ota",
"attributes": []
},
{
"id": 10,
"name": "Time",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 0
},
{
"id": 1,
"name": "app_version",
"value": 1
},
{
"id": 2,
"name": "stack_version",
"value": 2
},
{
"id": 3,
"name": "hw_version",
"value": 33
},
{
"id": 4,
"name": "manufacturer",
"value": "LUMI"
},
{
"id": 5,
"name": "model",
"value": "lumi.sensor_natgas"
},
{
"id": 6,
"name": "date_code",
"value": "10-19-2016"
},
{
"id": 7,
"name": "power_source",
"value": 4
}
]
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 1,
"name": "Power Configuration",
"attributes": []
},
{
"id": 2,
"name": "Device Temperature",
"attributes": []
},
{
"id": 10,
"name": "Time",
"attributes": []
},
{
"id": 1280,
"name": "IAS Zone",
"attributes": [
{
"id": 16,
"name": "cie_addr",
"value": [
135,
1,
6,
255,
255,
46,
33,
0
]
}
]
}
]
}
],
"signature": {
"manufacturer": "LUMI",
"model": "lumi.sensor_natgas",
"node_desc": {
"logical_type": 1,
"complex_descriptor_available": 0,
"user_descriptor_available": 0,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 142,
"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": 257,
"input_clusters": [
0,
4,
3,
1,
2,
10,
1280
],
"output_clusters": [
25,
10
]
}
}
},
"class": "zigpy.device"
}
les logs d’inclusions :
[2021-08-03 17:15:15][DEBUG] : {"device_joined":"00:15:8d:00:04:1c:xx:yy"}
[2021-08-03 17:15:15][DEBUG] : {"device_initialized":"00:15:8d:00:04:1c:xx:yy"}
[2021-08-03 17:15:15][DEBUG] : {"devices":{"00:15:8d:00:04:1c:xx:yy":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.0","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"255","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-08-03 17:15:15][DEBUG] : {"devices":{"00:15:8d:00:04:1c:xx:yy":{"1":[{"5":{"value":"lumi.sensor_natgas","cluster_name":"Basic"},"1":{"value":"1","cluster_name":"Basic"}}]}}}
[2021-08-03 17:15:17][DEBUG] : {"devices":{"00:15:8d:00:04:1c:xx:yy":{"1":[{"0":{"value":"0","cluster_name":"Basic"},"2":{"value":"2","cluster_name":"Basic"},"3":{"value":"33","cluster_name":"Basic"}}]}}}
[2021-08-03 17:15:18][DEBUG] : {"devices":{"00:15:8d:00:04:1c:xx:yy":{"1":[{"7":{"value":"PowerSource.DC_Source","cluster_name":"Basic"}}]}}}
[2021-08-03 17:15:19][DEBUG] : {"devices":{"00:15:8d:00:04:1c:xx:yy":{"1":[{"6":{"value":"10-19-2016","cluster_name":"Basic"}}]}}}
[2021-08-03 17:15:50][DEBUG] : {"ieee":"00:15:8d:00:04:1c:xx:yy","attributes":[{"endpoint":1,"cluster_type":"in","cluster":10,"attributes":{"0":681318950,"1":1}}],"allowQueue":false}
et lorsque j’appuie sur le bouton test :
[2021-08-03 17:31:18][DEBUG] : Search command for 00:15:8d:00:04:1c:xx:yy logicalId : 1::1280::cmd::1 => ZoneStatus.0 convert to 0
[2021-08-03 17:31:18][DEBUG] : Search command for 00:15:8d:00:04:1c:xx:yy logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-08-03 17:31:18][DEBUG] : Search command for 00:15:8d:00:04:1c:xx:yy logicalId : 1::1280::cmd::1.2 => 255 convert to 255
[2021-08-03 17:31:18][DEBUG] : Search command for 00:15:8d:00:04:1c:xx:yy logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-08-03 17:31:18][DEBUG] : {"devices":{"00:15:8d:00:04:1c:xx:yy":{"1":[{"5":{"value":"lumi.sensor_natgas","cluster_name":"Basic"}}]}}}
[2021-08-03 17:31:18][DEBUG] : Search attribut for 00:15:8d:00:04:1c:xx:yy logicalId : 1::0::5 => lumi.sensor_natgas convert to lumi.sensor_natgas
si il manque qlq chose, don’t hesitate ! 