Voici les informations brutes de mon module tuya 2 canaux :
{
"ieee": "a4:c1:38:0d:62:d9:ba:a6",
"nwk": 28543,
"status": 2,
"lqi": "255",
"rssi": "-70",
"last_seen": "1669216700.872973",
"node_descriptor": "01:40:8e:41:11:42:42:00:00:2a:42:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 256,
"profile_id": 260,
"manufacturer": "_TZ3000_zmy4lslw",
"model": "TS0002",
"output_clusters": [
{
"id": 25,
"name": "Ota",
"attributes": []
},
{
"id": 10,
"name": "Time",
"attributes": []
}
],
"input_clusters": [
{
"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": 1
},
{
"id": 16385,
"name": "on_time",
"value": 0
},
{
"id": 16386,
"name": "off_wait_time",
"value": 0
}
]
},
{
"id": 1794,
"name": "Metering",
"attributes": []
},
{
"id": 2820,
"name": "Electrical Measurement",
"attributes": [
{
"id": 1291,
"name": "active_power",
"value": 0
}
]
},
{
"id": 57344,
"name": "Cluster",
"attributes": []
},
{
"id": 57345,
"name": "Cluster",
"attributes": []
},
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 70
},
{
"id": 2,
"name": "stack_version",
"value": 0
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "_TZ3000_zmy4lslw"
},
{
"id": 5,
"name": "model",
"value": "TS0002"
},
{
"id": 6,
"name": "date_code",
"value": ""
},
{
"id": 7,
"name": "power_source",
"value": 1
}
]
}
]
},
{
"id": 2,
"status": 1,
"device_type": 256,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 5,
"name": "Scenes",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": [
{
"id": 0,
"name": "on_off",
"value": 1
},
{
"id": 16385,
"name": "on_time",
"value": 0
},
{
"id": 16386,
"name": "off_wait_time",
"value": 0
}
]
}
]
},
{
"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": "_TZ3000_zmy4lslw",
"model": "TS0002",
"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": 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": 256,
"input_clusters": [
3,
4,
5,
6,
1794,
2820,
57344,
57345,
0
],
"output_clusters": [
25,
10
]
},
"2": {
"profile_id": 260,
"device_type": 256,
"input_clusters": [
4,
5,
6
],
"output_clusters": []
},
"242": {
"profile_id": 41440,
"device_type": 97,
"input_clusters": [],
"output_clusters": [
33
]
}
}
},
"class": "zigpy.device"
}