Lien vers photos et nom fabricant etc : Interrupteur À Clé Intelligent Tuya Zigbee, Télécommande Sans Fil, Lien Multi-scènes, Automatisation À Piles - AliExpress
Voici les infos brutes :
{
"ieee": "70:ac:08:ff:fe:26:1c:db",
"nwk": 10087,
"status": 2,
"lqi": "255",
"rssi": "-52",
"last_seen": "1672744698.529487",
"node_descriptor": "02:40:80:02:10:52:52:00:00:2c:52:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 260,
"profile_id": 260,
"manufacturer": "_TZ3000_ja5osu5g",
"model": "TS004F",
"output_clusters": [
{
"id": 25,
"name": "Ota",
"attributes": []
},
{
"id": 10,
"name": "Time",
"attributes": []
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": []
},
{
"id": 8,
"name": "Level control",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 0,
"name": "zcl_version",
"value": 3
},
{
"id": 1,
"name": "app_version",
"value": 65
},
{
"id": 2,
"name": "stack_version",
"value": 0
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "_TZ3000_ja5osu5g"
},
{
"id": 5,
"name": "model",
"value": "TS004F"
},
{
"id": 6,
"name": "date_code",
"value": ""
},
{
"id": 7,
"name": "power_source",
"value": 3
}
]
},
{
"id": 1,
"name": "Power Configuration",
"attributes": [
{
"id": 32,
"name": "battery_voltage",
"value": 30
},
{
"id": 33,
"name": "battery_percentage_remaining",
"value": 200
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
},
{
"id": 57345,
"name": "Cluster",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "_TZ3000_ja5osu5g",
"model": "TS004F",
"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": 4098,
"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": 260,
"input_clusters": [
0,
1,
3,
4,
6,
4096,
57345
],
"output_clusters": [
25,
10,
3,
4,
6,
8,
4096
]
}
}
},
"class": "zigpy.device"
}
Concernant le mode debug, et la réalisation des actions (simple, double et maintien à ma connaissance) :
[2023-01-03 12:37:07]DEBUG : {"devices":{"70:ac:08:ff:fe:26:1c:db":{"1":{"8":{"cmd":{"0":{"value":"0","cluster_name":"Level control"},"1":{"value":"102","cluster_name":"Level control"},"1.1":{"value":"1","cluster_name":"Level control"},"1.2":{"value":"None","cluster_name":"Level control"},"1.3":{"value":"None","cluster_name":"Level control"}}}}}}}
[2023-01-03 12:37:07]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::0 => 0 convert to 0
[2023-01-03 12:37:07]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::1 => 102 convert to 102
[2023-01-03 12:37:07]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::1.1 => 1 convert to 1
[2023-01-03 12:37:07]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::1.2 => None convert to None
[2023-01-03 12:37:07]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::1.3 => None convert to None
[2023-01-03 12:37:16]DEBUG : {"devices":{"70:ac:08:ff:fe:26:1c:db":{"1":{"6":{"cmd":[{"value":"0","cluster_name":"On\/Off"},{"value":"off()","cluster_name":"On\/Off"}]}}}}}
[2023-01-03 12:37:16]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::6::cmd::0 => 0 convert to 0
[2023-01-03 12:37:16]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::6::cmd::1 => off() convert to off()
[2023-01-03 12:37:29]DEBUG : {"devices":{"70:ac:08:ff:fe:26:1c:db":{"1":{"8":{"cmd":{"0":{"value":"3","cluster_name":"Level control"},"1":{"value":"None","cluster_name":"Level control"},"1.1":{"value":"None","cluster_name":"Level control"}}}}}}}
[2023-01-03 12:37:29]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::0 => 3 convert to 3
[2023-01-03 12:37:29]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::1 => None convert to None
[2023-01-03 12:37:29]DEBUG : Search command for 70:ac:08:ff:fe:26:1c:db logicalId : 1::8::cmd::1.1 => None convert to None
Y a-t-il besoin de quelque chose de plus ? 
====
Edit : Est-ce que l’ajout va pouvoir être réalisé ? Est-ce que cela sera bientôt pris en charge ?