Bonjour,
Est-il possible d’intégrer ce capteur de température et d’humidité dans la box Luna?
{
"ieee": "a4:c1:38:05:f2:eb:d8:0f",
"nwk": 9406,
"status": 2,
"lqi": "255",
"rssi": "-23",
"last_seen": "1683806253.869605",
"node_descriptor": "02:40:80:41:11:42:42:00:00:2a:42:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 81,
"profile_id": 260,
"manufacturer": "_TZE200_9yapgbuv",
"model": "TS0601",
"output_clusters": [
{
"id": 25,
"name": "Ota",
"attributes": []
},
{
"id": 10,
"name": "Time",
"attributes": []
}
],
"input_clusters": [
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 61184,
"name": "Cluster",
"attributes": []
},
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 72
},
{
"id": 2,
"name": "stack_version",
"value": 0
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "_TZE200_9yapgbuv"
},
{
"id": 5,
"name": "model",
"value": "TS0601"
},
{
"id": 6,
"name": "date_code",
"value": ""
},
{
"id": 7,
"name": "power_source",
"value": 3
}
]
}
]
}
],
"signature": {
"manufacturer": "_TZE200_9yapgbuv",
"model": "TS0601",
"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": 4417,
"maximum_buffer_size": 66,
"maximum_incoming_transfer_size": 66,
"server_mask": 10752,
"maximum_outgoing_transfer_size": 66,
"descriptor_capability_field": 0
},
"endpoints": {
"1": {
"profile_id": 260,
"device_type": 81,
"input_clusters": [
4,
5,
61184,
0
],
"output_clusters": [
25,
10
]
}
}
},
"class": "zigpy.device"
}
Voici le log:
0000|[2023-05-11 14:13:19]DEBUG : http://127.0.0.1:8089/device/info?ieee=a4%3Ac1%3A38%3A05%3Af2%3Aeb%3Ad8%3A0f type : GET
0001|[2023-05-11 14:13:19]DEBUG : {"ieee":"a4:c1:38:05:f2:eb:d8:0f"}
0002|[2023-05-11 14:13:24]DEBUG : http://127.0.0.1:8089/device/rediscover type : PUT
0003|[2023-05-11 14:13:24]DEBUG : {"ieee":"a4:c1:38:05:f2:eb:d8:0f"}
0004|[2023-05-11 14:13:24]DEBUG : ""
0005|[2023-05-11 14:13:24]DEBUG : {"device_initialized":"a4:c1:38:05:f2:eb:d8:0f"}
0006|[2023-05-11 14:13:54]DEBUG : http://127.0.0.1:8089/device/all?with_attributes=2 type : GET
0007|[2023-05-11 14:13:54]DEBUG : {"with_attributes":2}
0008|[2023-05-11 14:13:56]DEBUG : http://127.0.0.1:8089/group/all type : GET
0009|[2023-05-11 14:13:56]DEBUG : null
0022|[2023-05-11 14:57:10]DEBUG : {"devices":{"a4:c1:38:05:f2:eb:d8:0f":{"1":{"61184":{"cmd":{"0":{"value":"2","cluster_name":"Cluster"},"1":{"value":"1","cluster_name":"Cluster"},"1.1":{"value":"21","cluster_name":"Cluster"},"1.2":{"value":"1","cluster_name":"Cluster"},"1.3":{"value":"2","cluster_name":"Cluster"},"1.4":{"value":"0","cluster_name":"Cluster"},"1.5":{"value":"4","cluster_name":"Cluster"},"1.6":{"value":"0","cluster_name":"Cluster"},"1.7":{"value":"0","cluster_name":"Cluster"},"1.8":{"value":"0","cluster_name":"Cluster"},"1.9":{"value":"208","cluster_name":"Cluster"}}}}}}}
0023|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::0 => 2 convert to 2
0024|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1 => 1 convert to 1
0025|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.1 => 21 convert to 21
0026|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.2 => 1 convert to 1
0027|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.3 => 2 convert to 2
0028|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.4 => 0 convert to 0
0029|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.5 => 4 convert to 4
0030|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.6 => 0 convert to 0
0031|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.7 => 0 convert to 0
0032|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.8 => 0 convert to 0
0033|[2023-05-11 14:57:10]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.9 => 208 convert to 208
0034|[2023-05-11 14:57:14]DEBUG : {"devices":{"a4:c1:38:05:f2:eb:d8:0f":{"1":{"61184":{"cmd":{"0":{"value":"2","cluster_name":"Cluster"},"1":{"value":"1","cluster_name":"Cluster"},"1.1":{"value":"22","cluster_name":"Cluster"},"1.2":{"value":"2","cluster_name":"Cluster"},"1.3":{"value":"2","cluster_name":"Cluster"},"1.4":{"value":"0","cluster_name":"Cluster"},"1.5":{"value":"4","cluster_name":"Cluster"},"1.6":{"value":"0","cluster_name":"Cluster"},"1.7":{"value":"0","cluster_name":"Cluster"},"1.8":{"value":"0","cluster_name":"Cluster"},"1.9":{"value":"62","cluster_name":"Cluster"}}}}}}}
0035|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::0 => 2 convert to 2
0036|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1 => 1 convert to 1
0037|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.1 => 22 convert to 22
0038|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.2 => 2 convert to 2
0039|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.3 => 2 convert to 2
0040|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.4 => 0 convert to 0
0041|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.5 => 4 convert to 4
0042|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.6 => 0 convert to 0
0043|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.7 => 0 convert to 0
0044|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.8 => 0 convert to 0
0045|[2023-05-11 14:57:14]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.9 => 62 convert to 62
0046|[2023-05-11 14:57:16]DEBUG : {"devices":{"a4:c1:38:05:f2:eb:d8:0f":{"1":{"61184":{"cmd":{"0":{"value":"2","cluster_name":"Cluster"},"1":{"value":"1","cluster_name":"Cluster"},"1.1":{"value":"23","cluster_name":"Cluster"},"1.2":{"value":"3","cluster_name":"Cluster"},"1.3":{"value":"4","cluster_name":"Cluster"},"1.4":{"value":"0","cluster_name":"Cluster"},"1.5":{"value":"1","cluster_name":"Cluster"},"1.6":{"value":"2","cluster_name":"Cluster"}}}}}}}
0047|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::0 => 2 convert to 2
0048|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1 => 1 convert to 1
0049|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.1 => 23 convert to 23
0050|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.2 => 3 convert to 3
0051|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.3 => 4 convert to 4
0052|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.4 => 0 convert to 0
0053|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.5 => 1 convert to 1
0054|[2023-05-11 14:57:16]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.6 => 2 convert to 2
0055|[2023-05-11 14:57:19]DEBUG : {"devices":{"a4:c1:38:05:f2:eb:d8:0f":{"1":{"61184":{"cmd":{"0":{"value":"2","cluster_name":"Cluster"},"1":{"value":"1","cluster_name":"Cluster"},"1.1":{"value":"24","cluster_name":"Cluster"},"1.2":{"value":"9","cluster_name":"Cluster"},"1.3":{"value":"4","cluster_name":"Cluster"},"1.4":{"value":"0","cluster_name":"Cluster"},"1.5":{"value":"1","cluster_name":"Cluster"},"1.6":{"value":"0","cluster_name":"Cluster"}}}}}}}
0056|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::0 => 2 convert to 2
0057|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1 => 1 convert to 1
0058|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.1 => 24 convert to 24
0059|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.2 => 9 convert to 9
0060|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.3 => 4 convert to 4
0061|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.4 => 0 convert to 0
0062|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.5 => 1 convert to 1
0063|[2023-05-11 14:57:19]DEBUG : Search command for a4:c1:38:05:f2:eb:d8:0f logicalId : 1::61184::cmd::1.6 => 0 convert to 0
0064|[2023-05-11 15:00:05]DEBUG : http://127.0.0.1:8089/device/all type : GET
0065|[2023-05-11 15:00:05]DEBUG : null
Merci,