Voici le fichier json
{
"ieee": "60:a4:23:ff:fe:bc:ee:c0",
"nwk": 37071,
"status": 2,
"lqi": "255",
"rssi": "-49",
"last_seen": "1639060750.2107491",
"node_descriptor": "01:40:8e:24:12:52:52:00:00:2c:52:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 256,
"profile_id": 260,
"manufacturer": "Sunricher",
"model": "HK-SL-RELAY-A",
"output_clusters": [
{
"id": 25,
"name": "Ota",
"attributes": [
{
"id": 2,
"name": "current_file_version",
"value": 47
}
]
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 0
},
{
"id": 2,
"name": "stack_version",
"value": 0
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "Sunricher"
},
{
"id": 5,
"name": "model",
"value": "HK-SL-RELAY-A"
},
{
"id": 6,
"name": "date_code",
"value": "NULL"
},
{
"id": 7,
"name": "power_source",
"value": 1
},
{
"id": 16384,
"name": "sw_build_id",
"value": "2.5.3_r47"
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": [
{
"id": 0,
"name": "on_off",
"value": 0
}
]
},
{
"id": 2821,
"name": "Diagnostic",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
}
]
},
{
"id": 242,
"status": 1,
"device_type": 102,
"profile_id": 41440,
"manufacturer": null,
"model": null,
"output_clusters": [
{
"id": 33,
"name": "GreenPowerProxy",
"attributes": []
}
],
"input_clusters": [
{
"id": 33,
"name": "GreenPowerProxy",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "Sunricher",
"model": "HK-SL-RELAY-A",
"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": 4644,
"maximum_buffer_size": 82,
"maximum_incoming_transfer_size": 82,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 82,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 260,
"device_type": 256,
"input_clusters": [
0,
3,
4,
5,
6,
2821,
4096
],
"output_clusters": [
25
]
},
"242": {
"profile_id": 41440,
"device_type": 102,
"input_clusters": [
33
],
"output_clusters": [
33
]
}
}
},
"class": "zigpy.device"
}
Merci de ton aide.