Inclusion d'un equipement Tuya non reconnu

Bonjour à tous,

Je viens d’acheter un interrupteur tuya

Mini Contrôleur ZigBee, Basse Tension 12V 24V, Pour Bande Led, APP Tuya et HUE, Compatible Avec Alexa et Google Home (1 CH)

Il est bien detecté et inclu mais reste inconnu et donc pas de commande.

Voilà le fichier brut

{
    "ieee": "a4:c1:38:a2:2f:ae:11:d2",
    "nwk": 43278,
    "status": 2,
    "lqi": "255",
    "rssi": "-70",
    "last_seen": "1673949326.729227",
    "node_descriptor": "01:40:8e:41:11:42:42:00:00:2a:42:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 257,
            "profile_id": 260,
            "manufacturer": "_TZ3210_9q49basr",
            "model": "TS0501B",
            "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": 91
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3210_9q49basr"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0501B"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": ""
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 1
                        }
                    ]
                },
                {
                    "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": 0
                        }
                    ]
                },
                {
                    "id": 8,
                    "name": "Level control",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "current_level",
                            "value": 254
                        }
                    ]
                },
                {
                    "id": 4096,
                    "name": "LightLink",
                    "attributes": []
                }
            ]
        },
        {
            "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": "_TZ3210_9q49basr",
        "model": "TS0501B",
        "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": 257,
                "input_clusters": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    8,
                    4096
                ],
                "output_clusters": [
                    10,
                    25
                ]
            },
            "242": {
                "profile_id": 41440,
                "device_type": 97,
                "input_clusters": [],
                "output_clusters": [
                    33
                ]
            }
        }
    },
    "class": "zhaquirks.tuya.ts0501bs"
}

Si je force avec le modèle TS0121, j’arrive à avoir des commandes qui permettent de l’actionner mais j’ai des erreurs dans le log.

0661|[2023-01-17 09:20:27]INFO : [Cuisine][Reglette] Erreur lors de la requete : http://127.0.0.1:8089/device/attributes(POST), data : {"ieee":"a4:c1:38:a2:2f:ae:11:d2","endpoint":1,"cluster":2820,"cluster_type":"in","attributes":[1291],"allowCache":0} erreur : {"state":"error","result":"Cluster not found : 2820","code":0}

Quelle est la procédure pour demander l’inclusion dans le plugin?
Jeedom 4.3.12
plugin : 2023-01-11 01:03:29
Merci

Salut

Lire la Doc, c’est expliqué.

Antoine

Voilà le fichier image détourée
tuya tz3210

Merci pour l’integration mais le retour d’état ne marche pas.
alumé ou éteint l’etat est 1.

J’utilise maintenant le toggle (qui fonctionne) dans mon scénario