Bonjour,
je viens d’acheter un inter double aqara WRS-02
https://www.domotique-store.fr/domotique/usages/domotique-alarme-securite/telecommandes-domotique/1532-xiaomi-aqara-wrs-r02-interrupteur-double-bouton-emetteur-mural-zigbee-ultraplat-a-pile.html
voici les info brut:
{
"ieee": "54:ef:44:10:00:06:5c:b4",
"nwk": 41259,
"status": 2,
"lqi": "148",
"rssi": "-63",
"last_seen": "1629910040.964159",
"node_descriptor": "02:40:80:5f:11:7f:64:00:00:2c:64:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 259,
"profile_id": 260,
"manufacturer": "LUMI",
"model": "lumi.remote.b28ac1",
"output_clusters": [
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 21
},
{
"id": 2,
"name": "stack_version",
"value": 2
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "LUMI"
},
{
"id": 5,
"name": "model",
"value": "lumi.remote.b28ac1"
},
{
"id": 6,
"name": "date_code",
"value": "20200907"
},
{
"id": 7,
"name": "power_source",
"value": 3
},
{
"id": 16384,
"name": "sw_build_id",
"value": "2019"
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 1,
"name": "Power Configuration",
"attributes": [
{
"id": 32,
"name": "battery_voltage",
"value": 32
}
]
}
]
},
{
"id": 2,
"status": 3,
"device_type": null,
"profile_id": null,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": []
},
{
"id": 3,
"status": 1,
"device_type": 259,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [
{
"id": 6,
"name": "On\/Off",
"attributes": []
}
],
"input_clusters": [
{
"id": 3,
"name": "Identify",
"attributes": []
}
]
},
{
"id": 4,
"status": 3,
"device_type": null,
"profile_id": null,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": []
},
{
"id": 5,
"status": 3,
"device_type": null,
"profile_id": null,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": []
},
{
"id": 6,
"status": 3,
"device_type": null,
"profile_id": null,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": []
}
],
"signature": {
"manufacturer": "LUMI",
"model": "lumi.remote.b28ac1",
"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": 4447,
"maximum_buffer_size": 127,
"maximum_incoming_transfer_size": 100,
"server_mask": 11264,
"maximum_outgoing_transfer_size": 100,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 260,
"device_type": 259,
"input_clusters": [
0,
3,
1
],
"output_clusters": [
3,
6
]
},
"2": {
"profile_id": null,
"device_type": null,
"input_clusters": [],
"output_clusters": []
},
"3": {
"profile_id": 260,
"device_type": 259,
"input_clusters": [
3
],
"output_clusters": [
6
]
},
"4": {
"profile_id": null,
"device_type": null,
"input_clusters": [],
"output_clusters": []
},
"5": {
"profile_id": null,
"device_type": null,
"input_clusters": [],
"output_clusters": []
},
"6": {
"profile_id": null,
"device_type": null,
"input_clusters": [],
"output_clusters": []
}
}
},
"class": "zigpy.device"
}
et le log:
1 appui sur bouton gauche
2 appui sur bouton droit
[2021-08-25 19:18:32][DEBUG] : {"devices":{"54:ef:44:10:00:06:5c:b4":{"1":{"6":{"cmd":[{"value":"2","cluster_name":"On\/Off"},{"value":"[]","cluster_name":"On\/Off"}]}}}}}
[2021-08-25 19:18:32][DEBUG] : Search command for 54:ef:44:10:00:06:5c:b4 logicalId : 1::6::cmd::0 => 2 convert to 2
[2021-08-25 19:18:33][DEBUG] : {"devices":{"54:ef:44:10:00:06:5c:b4":{"1":{"6":{"cmd":[{"value":"2","cluster_name":"On\/Off"},{"value":"[]","cluster_name":"On\/Off"}]}}}}}
[2021-08-25 19:18:33][DEBUG] : Search command for 54:ef:44:10:00:06:5c:b4 logicalId : 1::6::cmd::0 => 2 convert to 2
[2021-08-27 10:55:57][DEBUG] : Data frame: b'3135b1a9112a15b658924a24ab5593499c214f1dd6c59874fed75a8be0607e'
[2021-08-27 10:55:57][DEBUG] : Sending: b'8430fc7e'
[2021-08-27 10:55:57][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'00040106000101000100006f68b63b0bffff03113902'
[2021-08-27 10:55:57][DEBUG] : Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=111), 104, -74, 0x0b3b, 255, 255, b'\x119\x02']
[2021-08-27 10:55:57][DEBUG] : Ignoring message (b'113902') on cluster 6: unknown endpoint or cluster id: 'No cluster ID 0x0006 on (54:ef:44:10:00:06:5c:b4, 1)'
[2021-08-27 10:55:59][DEBUG] : Data frame: b'4135b1a9112a15b658924a24ab5593499c3e431ed6c59874fed7598bae287e'
[2021-08-27 10:55:59][DEBUG] : Sending: b'8520dd7e'
[2021-08-27 10:55:59][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'00040106000101000100007064b53b0bffff03113a02'
[2021-08-27 10:55:59][DEBUG] : Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=112), 100, -75, 0x0b3b, 255, 255, b'\x11:\x02']
[2021-08-27 10:55:59][DEBUG] : Ignoring message (b'113a02') on cluster 6: unknown endpoint or cluster id: 'No cluster ID 0x0006 on (54:ef:44:10:00:06:5c:b4, 1)'
[2021-08-27 10:55:59][DEBUG] : Send command readCounters: ()
[2021-08-27 10:55:59][DEBUG] : Sending: b'153a21a9a52a7d38817e'
[2021-08-27 10:55:59][DEBUG] : Data frame: b'523aa1a9a52a29b241945b25a15593499c4e27abedce6c8bffc66389fc7e3fa7e8cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658b459a4d9e4f9ff7c3d9d46a35a251904824be017e'
[2021-08-27 10:55:59][DEBUG] : Sending: b'8610be7e'
[2021-08-27 10:55:59][DEBUG] : Application frame 241 (readCounters) received: b'3c00180011000b0001000000000000000b0002000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000'
[2021-08-27 10:55:59][DEBUG] : Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
[2021-08-27 10:55:59][DEBUG] : Sending: b'263b21a9fe2a160a5e7e'
[2021-08-27 10:55:59][DEBUG] : Data frame: b'633ba1a9fe2a15b3a250ba7e'
[2021-08-27 10:55:59][DEBUG] : Sending: b'87009f7e'
[2021-08-27 10:55:59][DEBUG] : Application frame 170 (getValue) received: b'0001fb'
[2021-08-27 10:55:59][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 251
[2021-08-27 10:55:59][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 60, MAC_TX_BROADCAST = 24, MAC_RX_UNICAST = 17, MAC_TX_UNICAST_SUCCESS = 11, MAC_TX_UNICAST_RETRY = 1, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 0, APS_DATA_TX_BROADCAST = 0, APS_DATA_RX_UNICAST = 11, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 3, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 1, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 251]
actuellement l’appui sur n’importe quel bouton envoie 2 sur l’info bouton 1
