Voici aussi les trames json, j’en vois avec des attributs vides.
Informations brutes :
{
"ieee": "00:04:74:00:00:b9:d9:83",
"nwk": 53246,
"status": 2,
"lqi": "None",
"rssi": "None",
"last_seen": "1665924814.992845",
"node_descriptor": "11:40:8e:21:10:59:3f:00:00:2a:3f:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 514,
"profile_id": 260,
"manufacturer": " Legrand",
"model": " Shutter switch with neutral",
"output_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": []
},
{
"id": 64513,
"name": "Manufacturer Specific",
"attributes": []
},
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 2
},
{
"id": 1,
"name": "app_version",
"value": 0
},
{
"id": 2,
"name": "stack_version",
"value": 65
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": " Legrand"
},
{
"id": 5,
"name": "model",
"value": " Shutter switch with neutral"
},
{
"id": 6,
"name": "date_code",
"value": " "
},
{
"id": 7,
"name": "power_source",
"value": 1
},
{
"id": 16384,
"name": "sw_build_id",
"value": "001a"
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 258,
"name": "Window Covering",
"attributes": []
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 15,
"name": "Binary Input (Basic)",
"attributes": []
},
{
"id": 64513,
"name": "Manufacturer Specific",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": " Legrand",
"model": " Shutter switch with neutral",
"node_desc": {
"logical_type": 1,
"complex_descriptor_available": 0,
"user_descriptor_available": 1,
"reserved": 0,
"aps_flags": 0,
"frequency_band": 8,
"mac_capability_flags": 142,
"manufacturer_code": 4129,
"maximum_buffer_size": 89,
"maximum_incoming_transfer_size": 63,
"server_mask": 10752,
"maximum_outgoing_transfer_size": 63,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 260,
"device_type": 514,
"input_clusters": [
0,
3,
258,
4,
5,
15,
64513
],
"output_clusters": [
0,
64513,
25
]
}
}
},
"class": "zigpy.device"
}
Configuration json
{
"name": "Legrand.Shutter_switch_with_neutral",
"configuration": [],
"commands": [
{
"logicalId": "refresh",
"name": "Rafraîchir",
"type": "action",
"subType": "other",
"isHistorized": "0",
"template": {
"dashboard": "default",
"mobile": "default"
},
"isVisible": "1"
},
{
"logicalId": "1::258::8",
"generic_type": "FLAP_STATE",
"name": "Etat",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"template": {
"dashboard": "default",
"mobile": "default"
},
"isVisible": "1"
},
{
"logicalId": "1::window_covering::go_to_lift_percentage::#slider#",
"generic_type": "FLAP_SLIDER",
"name": "Position",
"type": "action",
"subType": "slider",
"isHistorized": "0",
"template": {
"dashboard": "default",
"mobile": "default"
},
"value": "Etat",
"isVisible": "1"
},
{
"logicalId": "1::window_covering::stop",
"generic_type": "FLAP_STOP",
"name": "Stop",
"type": "action",
"subType": "other",
"isHistorized": "0",
"template": {
"dashboard": "default",
"mobile": "default"
},
"isVisible": "1"
},
{
"logicalId": "1::window_covering::up_open",
"generic_type": "FLAP_UP",
"name": "Monter",
"type": "action",
"subType": "other",
"isHistorized": "0",
"template": {
"dashboard": "default",
"mobile": "default"
},
"value": "Etat",
"isVisible": "1"
},
{
"logicalId": "1::window_covering::down_close",
"generic_type": "FLAP_DOWN",
"name": "Descendre",
"type": "action",
"subType": "other",
"isHistorized": "0",
"template": {
"dashboard": "default",
"mobile": "default"
},
"value": "Etat",
"isVisible": "1"
}
],
"ref": "Legrand.Shutter_switch_with_neutral"
}