Bonsoir,
Je viens de recevoir 2 switch tuya 4 boutons ref: TS0044 d’apparence identique.
https://fr.aliexpress.com/item/1005002240470536.html?spm=a2g0s.9042311.0.0.17db6c37OjFBBC
Un des 2 est bien reconnu et fonctionne très bien avec la config suivante : [TS0044] Interrupteur intelligent 4 boutons avec piles correspondant au JSON suivant:
{
"ieee": "84:71:27:ff:fe:d0:91:8c",
"nwk": 60550,
"status": 2,
"lqi": "151",
"rssi": "-75",
"last_seen": "1619037498.3489065",
"node_descriptor": "02:40:80:02:10:52:52:00:00:2c:52:00:00",
"endpoints": [
{
"id": 1,
"status": 1,
"device_type": 6,
"profile_id": 260,
"manufacturer": "_TZ3000_vp6clf9d",
"model": "TS0044",
"output_clusters": [
{
"id": 10,
"name": "Time",
"attributes": []
},
{
"id": 25,
"name": "Ota",
"attributes": []
}
],
"input_clusters": [
{
"id": 0,
"name": "Basic",
"attributes": [
{
"id": 4,
"name": "manufacturer",
"value": "_TZ3000_vp6clf9d"
},
{
"id": 5,
"name": "model",
"value": "TS0044"
}
]
},
{
"id": 1,
"name": "Power Configuration",
"attributes": [
{
"id": 33,
"name": "battery_percentage_remaining",
"value": 200
}
]
},
{
"id": 6,
"name": "TS004X_cluster",
"attributes": []
}
]
},
{
"id": 2,
"status": 1,
"device_type": 6,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 1,
"name": "Power Configuration",
"attributes": []
},
{
"id": 6,
"name": "TS004X_cluster",
"attributes": []
}
]
},
{
"id": 3,
"status": 1,
"device_type": 6,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 1,
"name": "Power Configuration",
"attributes": []
},
{
"id": 6,
"name": "TS004X_cluster",
"attributes": []
}
]
},
{
"id": 4,
"status": 1,
"device_type": 6,
"profile_id": 260,
"manufacturer": null,
"model": null,
"output_clusters": [],
"input_clusters": [
{
"id": 1,
"name": "Power Configuration",
"attributes": []
},
{
"id": 6,
"name": "TS004X_cluster",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "_TZ3000_vp6clf9d",
"model": "TS0044",
"node_desc": {
"byte1": 2,
"byte2": 64,
"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": 6,
"input_clusters": [
0,
1,
6
],
"output_clusters": [
10,
25
]
},
"2": {
"profile_id": 260,
"device_type": 6,
"input_clusters": [
1,
6
],
"output_clusters": []
},
"3": {
"profile_id": 260,
"device_type": 6,
"input_clusters": [
1,
6
],
"output_clusters": []
},
"4": {
"profile_id": 260,
"device_type": 6,
"input_clusters": [
1,
6
],
"output_clusters": []
}
}
},
"class": "zhaquirks.tuya.ts0044"
}
J’en avais déjà 2 autres qui fonctionnent très bien avec la meme config.
Par contre le deuxième est inclus mais reconnu en tant que TS004F de type DIMMER_SWITCH et ne fonctionne pas avec la config TS0044.
Pour l’instant j’arrive seulement à utiliser les 4 boutons en simple clic avec les commandes suivantes:
1::6::cmd::0 (valeur 0 pour le bouton 1 et valeur 1 pour le bouton 4)
1::8::cmd::1 (valeur 0 pour le bouton 3 et valeur 1 pour le bouton 2)
et 2 boutons en long press avec celles ci:
1::8::cmd::0 (valeur 3 après un long press sur bouton 2 ou 3, sinon valeur 2)
Donc exploitable en l’état, mais à moitié … je ne sais pas si il peut faire plus
Si il était possible de l’ajouter au plug-in zigbee, voila les données brutes:
{
"ieee": "60:a4:23:ff:fe:80:35:f7",
"nwk": 51991,
"status": 2,
"lqi": "255",
"rssi": "-57",
"last_seen": "1619036228.1137798",
"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_xabckq1v",
"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": 5,
"name": "Scenes",
"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": 4,
"name": "manufacturer",
"value": "_TZ3000_xabckq1v"
},
{
"id": 5,
"name": "model",
"value": "TS004F"
}
]
},
{
"id": 1,
"name": "Power Configuration",
"attributes": [
{
"id": 32,
"name": "battery_voltage",
"value": 30
}
]
},
{
"id": 3,
"name": "Identify",
"attributes": []
},
{
"id": 4,
"name": "Groups",
"attributes": []
},
{
"id": 6,
"name": "On\/Off",
"attributes": []
},
{
"id": 4096,
"name": "LightLink",
"attributes": []
}
]
}
],
"signature": {
"manufacturer": "_TZ3000_xabckq1v",
"model": "TS004F",
"node_desc": {
"byte1": 2,
"byte2": 64,
"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
],
"output_clusters": [
25,
10,
3,
4,
5,
6,
8,
4096
]
}
}
},
"class": "zigpy.device"
}
L’mage est identique au TS0044 mais je la remet:
Voilà, merci et bonne soirée