Salut Loic, voici une télècommande actuellement non pris en charge par le plugin.
JSON
{
"ieee": "00:15:8d:00:03:61:d5:24",
"nwk": 45974,
"status": 2,
"lqi": "255",
"rssi": "-48",
"last_seen": "1619165911.6517417",
"node_descriptor": "02:40:80:1b:12:7f:64:00:00:2c:64:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 2048,
"profile_id": 260,
"manufacturer": "MLI",
"model": "ZBT-Remote-ALL-RGBW",
"output_clusters": [
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": []
},
{
"id": 8,
"name": "Level control",
"attributes": []
},
{
"id": 768,
"name": "Color Control",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
},
{
"id": 25,
"name": "Ota",
"attributes": []
},
{
"id": 0,
"name": "Basic",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 2
},
{
"id": 1,
"name": "app_version",
"value": 1
},
{
"id": 2,
"name": "stack_version",
"value": 1
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "MLI"
},
{
"id": 5,
"name": "model",
"value": "ZBT-Remote-ALL-RGBW"
},
{
"id": 6,
"name": "date_code",
"value": "20180605-17"
},
{
"id": 7,
"name": "power_source",
"value": 3
},
{
"id": 16384,
"name": "sw_build_id",
"value": "2.0"
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "MLI",
"model": "ZBT-Remote-ALL-RGBW",
"node_desc": {
"byte1": 2,
"byte2": 64,
"mac_capability_flags": 128,
"manufacturer_code": 4635,
"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": 2048,
"input_clusters": [
0,
3,
4096
],
"output_clusters": [
4,
3,
6,
8,
768,
4096,
25,
0
]
}
}
},
"class": "zigpy.device"
}
Fichier des commandes MLI.ZBT-Remote-ALL-RGBW.json :
{
"name": "MLI - ZBT remote all RGBW",
"ref" : "TINT 404010",
"pairing" : "appuyer sur le bouton sous le capeau à piles pendant 5sc",
"buylink" : "",
"commands": [
{
"name": "On Off",
"type": "info",
"subtype": "numeric",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "1::6::cmd::0"
},
{
"name": "Luminosité",
"type": "info",
"subtype": "numeric",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "1::8::cmd::1"
},
{
"name": "Couleur",
"type": "info",
"subtype": "string",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "1::768::cmd::color"
},
{
"name": "Température couleur",
"type": "info",
"subtype": "numeric",
"isVisible": 0,
"isHistorized": 0,
"logicalId": "1::768::cmd::colorTemperature"
}
]
}
Observation :
La commande de luminosité ne fonctionne pas correctement, elle envoie en valeur 0 ou 1 :
[2021-04-23 10:42:39][DEBUG] : {"devices":{"00:15:8d:00:03:61:d5:24":{"1":{"8":{"cmd":{"0":{"value":"2","cluster_name":"Level control"},"1":{"value":"1","cluster_name":"Level control"},"1.1":{"value":"43","cluster_name":"Level control"},"1.2":{"value":"10","cluster_name":"Level control"}}}}}}}
[2021-04-23 10:42:39][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::0 => 2
[2021-04-23 10:42:39][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::1 => 1
[2021-04-23 10:42:39][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::1.1 => 43
[2021-04-23 10:42:39][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::1.2 => 10
[2021-04-23 10:42:52][DEBUG] : {"devices":{"00:15:8d:00:03:61:d5:24":{"1":{"8":{"cmd":{"0":{"value":"2","cluster_name":"Level control"},"1":{"value":"0","cluster_name":"Level control"},"1.1":{"value":"43","cluster_name":"Level control"},"1.2":{"value":"10","cluster_name":"Level control"}}}}}}}
[2021-04-23 10:42:52][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::0 => 2
[2021-04-23 10:42:52][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::1 => 0
[2021-04-23 10:42:52][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::1.1 => 43
[2021-04-23 10:42:52][DEBUG] : Search command for 00:15:8d:00:03:61:d5:24 logicalId : 1::8::cmd::1.2 => 10
Les 6 boutons de scènes ne remontent aucun log dans Zigbee mais ils remontent ceci dans Zigbeed_1 :
Bouton 1
[2021-04-23 10:51:47][DEBUG] : Frame received: 0x0e0b000700aa00
[2021-04-23 10:51:47][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-04-23 10:51:47][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-04-23 10:51:47][DEBUG] : Send: 0x1709000800010001
[2021-04-23 10:51:47][DEBUG] : Frame received: 0x17090027002000220104400002ce5801040100000900141b1227020540200300afffece10100cf
[2021-04-23 10:51:47][DEBUG] : APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0x4004>, 0, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, 1, 260, 0, b"\x14\x1b\x12'\x02\x05@ \x03", 0, 175, 255, 236, 225, 1, 0, -49]
[2021-04-23 10:51:47][DEBUG] : [0x58ce:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=39 command_id=Command.Write_Attributes>
[2021-04-23 10:51:47][DEBUG] : [0x58ce:1:0x0000] ZCL request 0x0002: [[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=3>)]]
[2021-04-23 10:51:47][INFO] : [00:15:8d:00:03:61:d5:24][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0x7f5969e6f0f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=39 command_id=Command.Write_Attributes> args: ([[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=3>)]],)
[2021-04-23 10:51:47][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'141b12270205402003'
Bouton 2 :
[2021-04-23 10:53:27][DEBUG] : Frame received: 0x0e0d000700aa00
[2021-04-23 10:53:27][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-04-23 10:53:27][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-04-23 10:53:27][DEBUG] : Send: 0x170a000800010001
[2021-04-23 10:53:27][DEBUG] : Frame received: 0x170a0027002000220104400002ce5801040100000900141b1228020540200100affff4e10100ce
[2021-04-23 10:53:27][DEBUG] : APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0x4004>, 0, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, 1, 260, 0, b'\x14\x1b\x12(\x02\x05@ \x01', 0, 175, 255, 244, 225, 1, 0, -50]
[2021-04-23 10:53:27][DEBUG] : [0x58ce:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=40 command_id=Command.Write_Attributes>
[2021-04-23 10:53:27][DEBUG] : [0x58ce:1:0x0000] ZCL request 0x0002: [[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=1>)]]
[2021-04-23 10:53:27][INFO] : [00:15:8d:00:03:61:d5:24][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0x7f5969e6f0f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=40 command_id=Command.Write_Attributes> args: ([[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=1>)]],)
[2021-04-23 10:53:27][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'141b12280205402001'
Bouton 3 :
[2021-04-23 10:55:20][DEBUG] : Frame received: 0x0e0c000700aa00
[2021-04-23 10:55:20][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-04-23 10:55:20][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-04-23 10:55:20][DEBUG] : Send: 0x170b000800010001
[2021-04-23 10:55:20][DEBUG] : Frame received: 0x170b0027002000220104400002ce5801040100000900141b1229020540200200affffee10100cc
[2021-04-23 10:55:20][DEBUG] : APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0x4004>, 0, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, 1, 260, 0, b'\x14\x1b\x12)\x02\x05@ \x02', 0, 175, 255, 254, 225, 1, 0, -52]
[2021-04-23 10:55:20][DEBUG] : [0x58ce:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=41 command_id=Command.Write_Attributes>
[2021-04-23 10:55:20][DEBUG] : [0x58ce:1:0x0000] ZCL request 0x0002: [[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=2>)]]
[2021-04-23 10:55:20][INFO] : [00:15:8d:00:03:61:d5:24][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0x7f5969e6f0f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=41 command_id=Command.Write_Attributes> args: ([[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=2>)]],)
[2021-04-23 10:55:20][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'141b12290205402002'
Bouton 4 :
[2021-04-23 10:55:29][DEBUG] : Frame received: 0x1c0c000c00050002ce58ffcd
[2021-04-23 10:55:29][DEBUG] : Frame received: 0x0e0d000700aa00
[2021-04-23 10:55:29][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-04-23 10:55:29][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-04-23 10:55:29][DEBUG] : Send: 0x170c000800010001
[2021-04-23 10:55:29][DEBUG] : Frame received: 0x170c0027002000220104400002ce5801040100000900141b122a020540200600afff00e20100cd
[2021-04-23 10:55:29][DEBUG] : APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0x4004>, 0, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, 1, 260, 0, b'\x14\x1b\x12*\x02\x05@ \x06', 0, 175, 255, 0, 226, 1, 0, -51]
[2021-04-23 10:55:29][DEBUG] : [0x58ce:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=42 command_id=Command.Write_Attributes>
[2021-04-23 10:55:29][DEBUG] : [0x58ce:1:0x0000] ZCL request 0x0002: [[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=6>)]]
[2021-04-23 10:55:29][INFO] : [00:15:8d:00:03:61:d5:24][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0x7f5969e6f0f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=42 command_id=Command.Write_Attributes> args: ([[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=6>)]],)
[2021-04-23 10:55:29][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'141b122a0205402006'
Bouton 5 :
[2021-04-23 10:55:44][DEBUG] : Frame received: 0x1c0f000c00050002ce58ffcf
[2021-04-23 10:55:44][DEBUG] : Frame received: 0x0e10000700aa00
[2021-04-23 10:55:44][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-04-23 10:55:44][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-04-23 10:55:44][DEBUG] : Send: 0x170f000800010001
[2021-04-23 10:55:44][DEBUG] : Frame received: 0x170f0027002000220104400002ce5801040100000900141b122c020540200400afff03e20100cf
[2021-04-23 10:55:44][DEBUG] : APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0x4004>, 0, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, 1, 260, 0, b'\x14\x1b\x12,\x02\x05@ \x04', 0, 175, 255, 3, 226, 1, 0, -49]
[2021-04-23 10:55:44][DEBUG] : [0x58ce:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=44 command_id=Command.Write_Attributes>
[2021-04-23 10:55:44][DEBUG] : [0x58ce:1:0x0000] ZCL request 0x0002: [[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=4>)]]
[2021-04-23 10:55:44][INFO] : [00:15:8d:00:03:61:d5:24][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0x7f5969e6f0f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=44 command_id=Command.Write_Attributes> args: ([[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=4>)]],)
[2021-04-23 10:55:44][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'141b122c0205402004'
Bouton 6 :
[2021-04-23 10:56:03][DEBUG] : Frame received: 0x1c10000c00050002ce58ffce
[2021-04-23 10:56:03][DEBUG] : Frame received: 0x0e11000700aa00
[2021-04-23 10:56:03][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-04-23 10:56:03][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-04-23 10:56:03][DEBUG] : Send: 0x1710000800010001
[2021-04-23 10:56:03][DEBUG] : Frame received: 0x17100027002000220104400002ce5801040100000900141b122d020540200500afff05e20100ce
[2021-04-23 10:56:03][DEBUG] : APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0x4004>, 0, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, 1, 260, 0, b'\x14\x1b\x12-\x02\x05@ \x05', 0, 175, 255, 5, 226, 1, 0, -50]
[2021-04-23 10:56:03][DEBUG] : [0x58ce:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=45 command_id=Command.Write_Attributes>
[2021-04-23 10:56:03][DEBUG] : [0x58ce:1:0x0000] ZCL request 0x0002: [[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=5>)]]
[2021-04-23 10:56:03][INFO] : [00:15:8d:00:03:61:d5:24][listener.general_command] Cluster: <zigpy.zcl.clusters.general.Basic object at 0x7f5969e6f0f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4635 tsn=45 command_id=Command.Write_Attributes> args: ([[Attribute(attrid=16389, value=<TypeValue type=uint8_t, value=5>)]],)
[2021-04-23 10:56:03][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x58ce>, ep: 1, profile: 0x0104, cluster_id: 0x0000, data: b'141b122d0205402005'
Le bind ne fonctionne pas pour le moment.
Disponible si besoin pour plus de tests.