Bonjour,
Serait-il possible d’ajouter cette prise connectée avec mesure de consommation?
LEXMAN SMART PLUG - 16A
Informations brutes
{
"ieee": "5c:02:72:ff:fe:b1:44:0f",
"nwk": 56055,
"status": 2,
"lqi": "255",
"rssi": "-61",
"last_seen": "1640699582.8663507",
"node_descriptor": "01:40:8e:77:12:52:52:00:00:2c:52:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 81,
"profile_id": 260,
"manufacturer": "ADEO",
"model": "LDSENK02F",
"output_clusters": [
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 10,
"name": "Time",
"attributes": []
},
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 1
},
{
"id": 2,
"name": "stack_version",
"value": 2
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "ADEO"
},
{
"id": 5,
"name": "model",
"value": "LDSENK02F"
},
{
"id": 6,
"name": "date_code",
"value": "20200217-586"
},
{
"id": 7,
"name": "power_source",
"value": 1
},
{
"id": 16384,
"name": "sw_build_id",
"value": "2.6"
}
]
},
{
"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": 1794,
"name": "Metering",
"attributes": []
},
{
"id": 2820,
"name": "Electrical Measurement",
"attributes": []
},
{
"id": 64642,
"name": "Manufacturer Specific",
"attributes": []
}
]
},
{
"id": 242,
"status": 1,
"device_type": 97,
"profile_id": 41440,
"manufacturer": null,
"model": null,
"output_clusters": [
{
"id": 33,
"name": "GreenPowerProxy",
"attributes": []
}
],
"input_clusters": []
}
],
"signature": {
"manufacturer": "ADEO",
"model": "LDSENK02F",
"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": 4727,
"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": 81,
"input_clusters": [
0,
3,
4,
5,
6,
1794,
2820,
64642
],
"output_clusters": [
3,
10,
25
]
},
"242": {
"profile_id": 41440,
"device_type": 97,
"input_clusters": [],
"output_clusters": [
33
]
}
}
},
"class": "zigpy.device"
}
Log debug
[2021-12-28 15:05:20][DEBUG] : {"devices":{"54:ef:44:10:00:0f:c4:58":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-12-28 15:05:20][DEBUG] : Search attribut for 54:ef:44:10:00:0f:c4:58 logicalId : 1::6::0 => Bool.false convert to 0
[2021-12-28 15:05:23][DEBUG] : http://xxx.x.x.x:xxxx/device/all?with_attributes=2 type : GET
[2021-12-28 15:05:23][DEBUG] : {"with_attributes":2}
[2021-12-28 15:05:23][DEBUG] : http://xxx.x.x.x:xxxx/group/all type : GET
[2021-12-28 15:05:23][DEBUG] : null
[2021-12-28 15:05:39][DEBUG] : http://xxx.x.x.x:xxxx/application/include type : PUT
[2021-12-28 15:05:39][DEBUG] : {"duration":180}
[2021-12-28 15:05:40][DEBUG] : ""
[2021-12-28 15:05:56][DEBUG] : {"device_joined":"5c:02:72:ff:fe:b1:44:0f"}
[2021-12-28 15:05:56][DEBUG] : {"device_initialized":"5c:02:72:ff:fe:b1:44:0f"}
[2021-12-28 15:05:57][DEBUG] : {"devices":{"04:cf:8c:df:3c:7d:6b:ba":{"1":{"64704":{"247":{"value":"b'\x01!\xfa\x0b\x03(\x19\x04!\xa8\x13\x05!)\x00\x06$\x01\x00\x00\x00\x00\x08!\x11\x01
!\x00\x00\x0c \x01d\x10\x00'","cluster_name":"OppleCluster"}}}}}}
[2021-12-28 15:05:57][DEBUG] : Search attribut for 04:cf:8c:df:3c:7d:6b:ba logicalId : 1::64704::247 => b'\x01!\xfa\x0b\x03(\x19\x04!\xa8\x13\x05!)\x00\x06$\x01\x00\x00\x00\x00\x08!\x11\x01
!\x00\x00\x0c \x01d\x10\x00' convert to b'\x01!\xfa\x0b\x03(\x19\x04!\xa8\x13\x05!)\x00\x06$\x01\x00\x00\x00\x00\x08!\x11\x01
!\x00\x00\x0c \x01d\x10\x00'
[2021-12-28 15:06:19][DEBUG] : {"devices":{"5c:02:72:ff:fe:b1:44:0f":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-12-28 15:06:19][DEBUG] : Search attribut for 5c:02:72:ff:fe:b1:44:0f logicalId : 1::6::0 => Bool.true convert to 1
[2021-12-28 15:06:26][DEBUG] : http://xxx.x.x.x:xxxx/device/all?with_attributes=2 type : GET
[2021-12-28 15:06:26][DEBUG] : {"with_attributes":2}
[2021-12-28 15:06:27][DEBUG] : http://xxx.x.x.x:xxxx/group/all type : GET
[2021-12-28 15:06:27][DEBUG] : null
[2021-12-28 15:06:27][DEBUG] : {"devices":{"5c:02:72:ff:fe:b1:44:0f":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-12-28 15:06:27][DEBUG] : Search attribut for 5c:02:72:ff:fe:b1:44:0f logicalId : 1::6::0 => Bool.false convert to 0
[2021-12-28 15:07:20][DEBUG] : {"devices":{"5c:02:72:ff:fe:b1:44:0f":{"1":{"6":[{"value":"Bool.true","cluster_name":"On\/Off"}]}}}}
[2021-12-28 15:07:20][DEBUG] : Search attribut for 5c:02:72:ff:fe:b1:44:0f logicalId : 1::6::0 => Bool.true convert to 1
[2021-12-28 15:07:29][DEBUG] : {"devices":{"5c:02:72:ff:fe:b1:44:0f":{"1":{"2820":{"1291":{"value":"20","cluster_name":"Electrical Measurement"}}}}}}
[2021-12-28 15:07:29][DEBUG] : Search attribut for 5c:02:72:ff:fe:b1:44:0f logicalId : 1::2820::1291 => 20 convert to 20
[2021-12-28 15:07:56][DEBUG] : {"devices":{"5c:02:72:ff:fe:b1:44:0f":{"1":{"6":[{"value":"Bool.false","cluster_name":"On\/Off"}]}}}}
[2021-12-28 15:07:56][DEBUG] : Search attribut for 5c:02:72:ff:fe:b1:44:0f logicalId : 1::6::0 => Bool.false convert to 0
[2021-12-28 15:07:59][DEBUG] : {"devices":{"5c:02:72:ff:fe:b1:44:0f":{"1":{"2820":{"1291":{"value":"0","cluster_name":"Electrical Measurement"}}}}}}
[2021-12-28 15:07:59][DEBUG] : Search attribut for 5c:02:72:ff:fe:b1:44:0f logicalId : 1::2820::1291 => 0 convert to 0
[2021-12-28 15:08:07][DEBUG] : {"devices":{"00:15:8d:00:04:7b:aa:71":{"1":{"1026":[{"value":"1823","cluster_name":"Temperature Measurement"}],"1029":[{"value":"6294","cluster_name":"Relative Humidity Measurement"}],"1027":[{"value":"990","cluster_name":"Pressure Measurement"}]}}}}
[2021-12-28 15:08:07][DEBUG] : Search attribut for 00:15:8d:00:04:7b:aa:71 logicalId : 1::1026::0 => 1823 convert to 1823
[2021-12-28 15:08:07][DEBUG] : Search attribut for 00:15:8d:00:04:7b:aa:71 logicalId : 1::1029::0 => 6294 convert to 6294
[2021-12-28 15:08:07][DEBUG] : Search attribut for 00:15:8d:00:04:7b:aa:71 logicalId : 1::1027::0 => 990 convert to 990
Merci beaucoup