Bonjour, je suis nouveau sur le forum, j’ai un raspberry3b, un dongle Labs, pour l’instant j’ai intégré 2 blitwolf SHP13, un switch onoff et un thermostat MOES.
Par contre j’ai deux scène switch tuya qui ont 2 boutons avec des fonctions simple click, double clik et appui long que je n’arrive pas à intégrer, ils ne sont pas présent comme le 3 et 4 boutons (TS0043 et TS0044).
Voici le log du matériel.
"ieee": "ec:1b:bd:ff:fe:91:c5:0f",
"nwk": 31266,
"status": 2,
"lqi": "123",
"rssi": "-64",
"last_seen": "1613047573.2485917",
"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": "_TZ3400_keyjhapk",
"model": "TS0042",
"output_clusters": [
{
"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": 71
},
{
"id": 2,
"name": "stack_version",
"value": 0
},
{
"id": 3,
"name": "hw_version",
"value": 1
},
{
"id": 4,
"name": "manufacturer",
"value": "_TZ3400_keyjhapk"
},
{
"id": 5,
"name": "model",
"value": "TS0042"
},
{
"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": 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": []
}
]
}
],
"signature": {
"manufacturer": "_TZ3400_keyjhapk",
"model": "TS0042",
"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": []
}
}
},
"class": "zhaquirks.tuya.ts0042"
Je ne sais pas si vous pouvez faire quelque chose pour intégrer cet interrupteur.
Merci pour votre travail.
Philippe