Salut @Loic,
Il faut modif. les commandes du produit Xiaomi - Aqara - interrupteur mural intelligent D1.
Remplacer les commandes :
(2::6::0 par 1::6::0) (2::on_off::on par 1::on_off::on) (2::on_off::off par 1::on_off::off)
(3::on_off::on par 2::on_off::on) (3::6::0 par 2::6::0) (3::on_off::off par 2::on_off::off)
(2::on_off::toggle je crois que je ne l’ai pas modif.)
{
"ieee": "00:15:8d:00:05:c1:45:56",
"nwk": 4324,
"status": 2,
"lqi": "None",
"rssi": "None",
"last_seen": "None",
"node_descriptor": "01:40:8e:5f:11:7f:64:00:00:00:64:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 81,
"profile_id": 260,
"manufacturer": "LUMI",
"model": "lumi.switch.b2nacn02",
"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": 1
},
{
"id": 1,
"name": "app_version",
"value": 1
},
{
"id": 2,
"name": "stack_version",
"value": 2
},
{
"id": 3,
"name": "hw_version",
"value": 18
},
{
"id": 4,
"name": "manufacturer",
"value": "LUMI"
},
{
"id": 5,
"name": "model",
"value": "lumi.switch.b2nacn02"
},
{
"id": 6,
"name": "date_code",
"value": "08-27-2020"
},
{
"id": 7,
"name": "power_source",
"value": 1
}
]
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": [
{
"id": 0,
"name": "on_off",
"value": 1
}
]
},
{
"id": 16,
"name": "BinaryOutput",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 10,
"name": "Time",
"attributes": []
},
{
"id": 1,
"name": "Power Configuration",
"attributes": []
},
{
"id": 2,
"name": "Device Temperature",
"attributes": []
}
]
},
{
"id": 2,
"status": 1,
"device_type": 81,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 6,
"name": "On\/Off",
"attributes": [
{
"id": 0,
"name": "on_off",
"value": 1
}
]
},
{
"id": 16,
"name": "BinaryOutput",
"attributes": []
}
]
},
{
"id": 3,
"status": 1,
"device_type": 9,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [
{
"id": 12,
"name": "AnalogInput",
"attributes": []
},
{
"id": 4,
"name": "Groups",
"attributes": []
}
],
"input_clusters": [
{
"id": 12,
"name": "AnalogInput",
"attributes": []
}
]
},
{
"id": 4,
"status": 1,
"device_type": 83,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [
{
"id": 12,
"name": "AnalogInput",
"attributes": []
}
],
"input_clusters": [
{
"id": 12,
"name": "AnalogInput",
"attributes": []
}
]
},
{
"id": 5,
"status": 1,
"device_type": 0,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 16,
"name": "BinaryOutput",
"attributes": []
},
{
"id": 18,
"name": "MultistateInput",
"attributes": [
{
"id": 85,
"name": "present_value",
"value": 1
}
]
}
]
},
{
"id": 6,
"status": 1,
"device_type": 0,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 18,
"name": "MultistateInput",
"attributes": [
{
"id": 85,
"name": "present_value",
"value": 1
}
]
},
{
"id": 16,
"name": "BinaryOutput",
"attributes": []
}
]
},
{
"id": 7,
"status": 1,
"device_type": 0,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 18,
"name": "MultistateInput",
"attributes": []
},
{
"id": 16,
"name": "BinaryOutput",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "LUMI",
"model": "lumi.switch.b2nacn02",
"node_desc": {
"byte1": 1,
"byte2": 64,
"mac_capability_flags": 142,
"manufacturer_code": 4447,
"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": 81,
"input_clusters": [
0,
4,
3,
6,
16,
5,
10,
1,
2
],
"output_clusters": [
25,
10
]
},
"2": {
"profile_id": 260,
"device_type": 81,
"input_clusters": [
6,
16
],
"output_clusters": []
},
"3": {
"profile_id": 260,
"device_type": 9,
"input_clusters": [
12
],
"output_clusters": [
12,
4
]
},
"4": {
"profile_id": 260,
"device_type": 83,
"input_clusters": [
12
],
"output_clusters": [
12
]
},
"5": {
"profile_id": 260,
"device_type": 0,
"input_clusters": [
16,
18
],
"output_clusters": []
},
"6": {
"profile_id": 260,
"device_type": 0,
"input_clusters": [
18,
16
],
"output_clusters": []
},
"7": {
"profile_id": 260,
"device_type": 0,
"input_clusters": [
18,
16
],
"output_clusters": []
}
}
},
"class": "zigpy.device"
}
Bonne soirée