Intégration module Tuya-Zigbee TZ3000 (Eclairage 1,2,3,4 gang)

Bonjour, je voudrai rajouter si possible à la bibliothèque des équipements Zigbee 4 modules de commutation TUYA :

TZ3000 - TS0001
[https://fr.aliexpress.com/item/1005002034544511.html?gatewayAdapt=glo2fra&spm=a2g0o.9042311.0.0.6d466c37Lx6hOZ]

Module zigbee - TS0001

{
    "ieee": "a4:c1:38:32:8f:83:eb:8d",
    "nwk": 3719,
    "status": 2,
    "lqi": "None",
    "rssi": "None",
    "last_seen": "None",
    "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_tqlv4ug4",
            "model": "TS0001",
            "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": 67
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3000_tqlv4ug4"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0001"
                        },
                        {
                            "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": 1
                        }
                    ]
                },
                {
                    "id": 57344,
                    "name": "Tuya Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 57345,
                    "name": "Tuya External Switch Type Cluster",
                    "attributes": []
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "_TZ3000_tqlv4ug4",
        "model": "TS0001",
        "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": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    57344,
                    57345
                ],
                "output_clusters": [
                    10,
                    25
                ]
            }
        }
    },
    "class": "zhaquirks.tuya.ts000x"
}

TZ3000 - TS0002
Module Zigbee - TS0002

{
    "ieee": "a4:c1:38:b4:0f:c0:24:e1",
    "nwk": 18268,
    "status": 2,
    "lqi": "None",
    "rssi": "None",
    "last_seen": "None",
    "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_bvrlqyj7",
            "model": "TS0002",
            "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": 67
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3000_bvrlqyj7"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0002"
                        },
                        {
                            "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": 57344,
                    "name": "Tuya Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 57345,
                    "name": "Tuya External Switch Type Cluster",
                    "attributes": []
                }
            ]
        },
        {
            "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": 57345,
                    "name": "Tuya External Switch Type Cluster",
                    "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": "_TZ3000_bvrlqyj7",
        "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": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    57344,
                    57345
                ],
                "output_clusters": [
                    10,
                    25
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6,
                    57345
                ],
                "output_clusters": []
            },
            "242": {
                "profile_id": 41440,
                "device_type": 97,
                "input_clusters": [],
                "output_clusters": [
                    33
                ]
            }
        }
    },
    "class": "zhaquirks.tuya.ts000x"
}

TZ3000 - TS0003
Module Zigbee - TS0003

{
    "ieee": "a4:c1:38:04:6f:88:36:48",
    "nwk": 34585,
    "status": 2,
    "lqi": "None",
    "rssi": "None",
    "last_seen": "None",
    "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_odzoiovu",
            "model": "TS0003",
            "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": 67
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3000_odzoiovu"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0003"
                        },
                        {
                            "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": 16385,
                            "name": "on_time",
                            "value": 0
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "value": 0
                        },
                        {
                            "id": 32770,
                            "name": "power_on_state",
                            "value": 1
                        }
                    ]
                },
                {
                    "id": 57344,
                    "name": "Tuya Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 57345,
                    "name": "Tuya External Switch Type Cluster",
                    "attributes": [
                        {
                            "id": 53296,
                            "name": "external_switch_type",
                            "value": 0
                        }
                    ]
                }
            ]
        },
        {
            "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": 57345,
                    "name": "Tuya External Switch Type Cluster",
                    "attributes": []
                }
            ]
        },
        {
            "id": 3,
            "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": 57345,
                    "name": "Tuya External Switch Type Cluster",
                    "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": "_TZ3000_odzoiovu",
        "model": "TS0003",
        "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": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    57344,
                    57345
                ],
                "output_clusters": [
                    10,
                    25
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6,
                    57345
                ],
                "output_clusters": []
            },
            "3": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6,
                    57345
                ],
                "output_clusters": []
            },
            "242": {
                "profile_id": 41440,
                "device_type": 97,
                "input_clusters": [],
                "output_clusters": [
                    33
                ]
            }
        }
    },
    "class": "zhaquirks.tuya.ts000x"
}

TZ3000 - TS0004
Module Zigbee - TS0004

{
    "ieee": "a4:c1:38:35:2f:d2:4f:fe",
    "nwk": 23441,
    "status": 2,
    "lqi": "None",
    "rssi": "None",
    "last_seen": "None",
    "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_ltt60asa",
            "model": "TS0004",
            "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": 0
                        },
                        {
                            "id": 16385,
                            "name": "on_time",
                            "value": 0
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "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": 67
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3000_ltt60asa"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0004"
                        },
                        {
                            "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": 57345,
                    "name": "Cluster",
                    "attributes": []
                }
            ]
        },
        {
            "id": 3,
            "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": 57345,
                    "name": "Cluster",
                    "attributes": []
                }
            ]
        },
        {
            "id": 4,
            "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": 57345,
                    "name": "Cluster",
                    "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": "_TZ3000_ltt60asa",
        "model": "TS0004",
        "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,
                    57344,
                    57345,
                    0
                ],
                "output_clusters": [
                    25,
                    10
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6,
                    57345
                ],
                "output_clusters": []
            },
            "3": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6,
                    57345
                ],
                "output_clusters": []
            },
            "4": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6,
                    57345
                ],
                "output_clusters": []
            },
            "242": {
                "profile_id": 41440,
                "device_type": 97,
                "input_clusters": [],
                "output_clusters": [
                    33
                ]
            }
        }
    },
    "class": "zigpy.device"
}

Merci pour cette demande d’ajout de ces 4 appareils, mais serait il possible d’avoir les images recadrées et sans fond blanc (pour ce qui utilisent un dashboard en dark), sinon la demande risque de ne pas être traitée.

Bonjour,
Je viens de recadrer les images.
Normalement j’avais déjà retouché avec gimp la transparence sur chacune des images.
Merci pour votre retour

Bonjour,
J’ai acheté plusieurs de ces module en 4 gang. J’en ai intégré 4 il y à environ 3 ou 4 semaine sans auccun problème, mais hier j’ai voulu en intégrer 3 de plus et ils ne fonctionnement pas correctement.
Si je met en marche ou arrete une sortie, sela allume ou éteint toutes les sorties. Si j’appuis sur ON2, cela active 1, 2, 3 et 4, avec retour etat 1= 1, etat 2=1,etc (seulement depuis jeedom). Les sortie sont bien indépendante si je les commande par les interrupteurs physique.
Il y a eu des mise à jour jeddom et sur le plugin Zigbee entre les deux intégration.
Si je regarde la configuration des module, je vois les informations Modèle, Fabricant, Classe et alimentation sont vide sur les 3 module que j’ai intégré hier et bien remplis sur les 4 module qui étaient déja intégré.
Comment puis-je corriger cela ?
Merci à vous par avance.

Bonjour, je rencontre le même souci avec un module 2 relais. Les informations fabricants etc… sont vides, et le comportement des commandes est le même que celui signalé dans le message précédent. Merci de votre aide.

Bonjour @philjeedom et @CarProtectHome
C’est normale le produit est reconnu pour 1 module d’ensemble.
Si vous voulez activer individuellement les relais du module, il faut créer des virtuels pour chaque gang.
N’oublier pas de définir dans les commandes du virtuel, dans configuration - type générique - si c’est une lumière ou autre. Sinon Alexa ne reconnaitra pas le produit.
Cordialement

1 « J'aime »

Bonsoir,
Je me suis procuré d’autre module identique entre temps et ceux-ci fonctionnement correctement.
Les informations remontent bien et les commandes sont bien séparées.
En regardant de plus près, j’ai remarqué que les modules qui ne fonctionnent pas correctement sont en version 70 alors que ceux qui fonctionnent correctement sont en version 68.
Je ne sais pas comment remédier au problème sur les V.70.
Si quelqu’un a une idée…

1 « J'aime »

Bonsoir.

@tofn1 merci pour le conseil mais ce n’est pas normal et le fait d’utiliser un virtuel pour déclencher les commandes ne permettra pas de les séparer car le souci est que chacune des commandes commande les deux relais à la fois.

D’accord avec @CarProtectHome, je pense que même si les boîtiers sont identiques, il s’agit d’une version différente du module: le nom de l’équipement contient TZ3000_zmy4lslw et une « recherche internet » sur ce code montre que de nouveaux pilotes sont demandés pour plein de plate formes différentes. Pour le module 2 relais dont je dispose les informations brutes sont:

{
    "ieee": "a4:c1:38:cd:8c:c5:ca:51",
    "nwk": 62390,
    "status": 2,
    "lqi": "255",
    "rssi": "-76",
    "last_seen": "1667681089.055811",
    "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": 0
                        },
                        {
                            "id": 16385,
                            "name": "on_time",
                            "value": 0
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 1794,
                    "name": "Metering",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "current_summ_delivered",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 2820,
                    "name": "Electrical Measurement",
                    "attributes": [
                        {
                            "id": 1285,
                            "name": "rms_voltage",
                            "value": 0
                        },
                        {
                            "id": 1288,
                            "name": "rms_current",
                            "value": 0
                        },
                        {
                            "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": 0
                        },
                        {
                            "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"
}

Faut il faire un ticket particulier pour qu’il soit ajouté dans Jeedom ? Merci d’avance.

Hello,

Il faudrait modifier ton post en utilisant le bouton </> sur le contenu de ton code pour une meilleure lisibilité .

Je viens de le faire: c’est mieux ?

Bonsoir,
Je vois dans les info : « id »: 1,
« name »: « app_version »,
« value »: 70
Comme sur ceux qui me posent problème.
Cela me confirme que le soucis viens de cette version.
Si quelqu’un savais comment installer un firmware différent dans ce type de module ce serai TOP. J’ai cherché un peut mais je n’ai pas trouvé;

Bonsoir.

Il est question de ce comportement « en groupe » de tous les relais d’un module dans ce forum de la « concurrence » zigpy/zha-device-handlers, il paraît que certains modules Tuya ou Lidl doivent recevoir un « magic spell » pour que les relais se comportent individuellement. Je ne comprends pas vraiment ce dont il est question: si quelqu’un avait une solution pour Jeedom… Merci d’avance !

Je confirme, pareil ici avec un module TS0003, apparemment déjà connu du plugin zigbee, mais moi je l’ai aussi en v70:

{
    "ieee": "a4:c1:38:ef:c7:9b:ab:6c",
    "nwk": 3197,
    "status": 2,
    "lqi": "None",
    "rssi": "None",
    "last_seen": "1668630682.042564",
    "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_odzoiovu",
            "model": "TS0003",
            "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": 0
                        },
                        {
                            "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_odzoiovu"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0003"
                        },
                        {
                            "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": 0
                        },
                        {
                            "id": 16385,
                            "name": "on_time",
                            "value": 0
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "value": 0
                        }
                    ]
                }
            ]
        },
        {
            "id": 3,
            "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": 0
                        },
                        {
                            "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_odzoiovu",
        "model": "TS0003",
        "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": []
            },
            "3": {
                "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"
}

Le « Magic Spell » c’est du code python présent dans le package zha-quirks, qui fait partie des dépendances installées par le plugin:

/usr/local/lib/python3.7/dist-packages/zhaquirks/tuya/mcu $ tail -15  __init__.py


class EnchantedDevice(CustomDevice):
    """Class for enchanted Tuya devices which needs to be unlocked by casting a 'spell'."""

    def __init__(self, *args, **kwargs):
        """Initialize with task."""
        super().__init__(*args, **kwargs)
        self._init_device_task = asyncio.create_task(self.spell())

    async def spell(self) -> None:
        """Initialize device so that all endpoints become available."""
        attr_to_read = [4, 0, 1, 5, 7, 0xFFFE]
        basic_cluster = self.endpoints[1].in_clusters[0]
        await basic_cluster.read_attributes(attr_to_read)

et cette classe est héritée par les quirks de ces devices:

jeedom@jeedom:/usr/local/lib/python3.7/dist-packages/zhaquirks/tuya $ grep Enchanted ts000x.py
from zhaquirks.tuya.mcu import EnchantedDevice
class Switch_1G_GPP(EnchantedDevice, CustomDevice):
class Switch_1G_Metering(EnchantedDevice, CustomDevice):
class Switch_2G_GPP(EnchantedDevice, CustomDevice):
class Switch_2G_Metering(EnchantedDevice, CustomDevice):
class Switch_3G_GPP(EnchantedDevice, TuyaSwitch):
class Switch_4G_GPP(EnchantedDevice, CustomDevice):
jeedom@jeedom:/usr/local/lib/python3.7/dist-packages/zhaquirks/tuya $

Je comprends le code, mais je ne suis pas dev à proprement parler. Je ne sais pas quel serait le step suivant, si ce code ( ces « quirks » qui sont, si j’ai bien compris, des adaptations pour que ce que renvoit le device colle à la norme ) est bien utilisé dans notre cas, si des modifications sont nécessaires pour ces devices en v70, …

Si un dev peut quelque chose pour moi, je teste tout ce que vous voulez :slight_smile:

Pour compléter, nouveaux modules reçus:

un TS0002 ( 2-gang ), on arrive bien à utiliser les deux voies séparément depuis jeedom. Bizarrement, il n’a pas été « reconnu » à l’inclusion et j’ai du indiquer manuellement que c’était un Tuya TS0002:

{
    "ieee": "a4:c1:38:78:65:ab:dc:04",
    "nwk": 5675,
    "status": 2,
    "lqi": "96",
    "rssi": "-76",
    "last_seen": "1669050196.053588",
    "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": 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": 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": 65534,
                            "name": "attr_reporting_status",
                            "value": 0
                        }
                    ]
                },
                {
                    "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": 16385,
                            "name": "on_time",
                            "value": 0
                        },
                        {
                            "id": 16386,
                            "name": "off_wait_time",
                            "value": 0
                        },
                        {
                            "id": 32770,
                            "name": "power_on_state",
                            "value": 2
                        }
                    ]
                },
                {
                    "id": 1794,
                    "name": "TuyaZBMeteringCluster",
                    "attributes": []
                },
                {
                    "id": 2820,
                    "name": "Electrical Measurement",
                    "attributes": []
                },
                {
                    "id": 57344,
                    "name": "Tuya Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 57345,
                    "name": "Tuya External Switch Type Cluster",
                    "attributes": [
                        {
                            "id": 53296,
                            "name": "external_switch_type",
                            "value": 0
                        }
                    ]
                }
            ]
        },
        {
            "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": 0
                        },
                        {
                            "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": [
                    0,
                    3,
                    4,
                    5,
                    6,
                    1794,
                    2820,
                    57344,
                    57345
                ],
                "output_clusters": [
                    10,
                    25
                ]
            },
            "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": "zhaquirks.tuya.ts000x"
}

Je note que la classe est différente: mon TS0003 KO est de class « zigpy.device » et celui-ci de classe « zhaquirks.tuya.ts000x », ce qui semble se réfèrer au ficher que je mentionnais plus haut.

un autre module, 4-gang celui-là, dont les 4 canaux ne commutent pas indépendamment depuis jeedom, mais bien reconnu à l’inclusion et de classe « zigpy.device »:

{
    "ieee": "a4:c1:38:4d:da:be:d6:e0",
    "nwk": 20455,
    "status": 2,
    "lqi": "112",
    "rssi": "-72",
    "last_seen": "1669049347.257129",
    "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_ltt60asa",
            "model": "TS0004",
            "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": 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_ltt60asa"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0004"
                        },
                        {
                            "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": 3,
            "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": 4,
            "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_ltt60asa",
        "model": "TS0004",
        "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": []
            },
            "3": {
                "profile_id": 260,
                "device_type": 256,
                "input_clusters": [
                    4,
                    5,
                    6
                ],
                "output_clusters": []
            },
            "4": {
                "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"
}

Si quelqu’un comprend mieux que moi …

Bonjour, je viens d’acheter ce type de modules (2 gang) (TZ3000_zmy4lslw TS0002) et j’ai le même problème, les deux contacteurs fonctionnent en même temps.
Ci-joint les données brutes de mon modèle

{
    "ieee": "a4:c1:38:32:81:a7:7a:21",
    "nwk": 48110,
    "status": 2,
    "lqi": "96",
    "rssi": "-76",
    "last_seen": "1669052923.624552",
    "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": 0
                        },
                        {
                            "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": 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": 0
                        },
                        {
                            "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"
}`Texte préformaté`

Je viens de recevoir des modules 2 canaux. Le json brut est identique à celui de BOB73: _TZ3000_zmy4lslw en v70, de class zigpy.device.
Ils ne sont pas reconnu au moment de l’association. J’ai été obligé de renseigner manuellement le fabriquant: Tuya, et l’équipement :Tuya Zigbee - Switches 2 voies TS0001.
Curieusement le libellé indique TS0001 mais le json des infos brutes ainsi que je json de configuration des commandes indique bien TS0002. Ce doit donc être une simple erreur dans le libellé.
J’observe le même comportement tel que décrit dans les messages précédents : les 2 relais commutent en ON ou OFF simultanément sur les cde individuelles on, off, et toogle des voies 1 ou 2.
Je me joins donc à vous pour trouver une solution.

Je me demande si je ne devrais pas demander l’intégration du module en version 70. Vous en pensez quoi?

Donc ça semble etre exactement le même que le mien, mais le votre est vu en zigpy.device > KO, et le mien vu en zhaquirks.tuya.ts000x > OK. c’est très étonnant.
les « infos brutes » du votre sont les mêmes que sur le mien ? ( mis à part la « classe » naturellement ? )
Si vous pouvez les poster, je ferai la comparaison au besoin :slight_smile:

J’ai comparé nos deux « infos brutes », à part la classe, quelques différences dans des libellés qui me font penser que c’est bien le fait que mon module « passe » dans le code du module python zha-quirks qui fait la différence, en particulier

124c68
<                     "name": "TuyaZBMeteringCluster",
---
>                     "name": "Metering",
134c78
<                     "name": "Tuya Manufacturer Specific",
---
>                     "name": "Cluster",

Je ne sais pas aller plus loin que ça malheureusement. pas assez dev …

Merci beaucoup pour votre analyse, même si pour moi tout n’est pas compréhensible facilement. Du coup je ne sais quelle suite à donner pour faire fonctionner mon module. :joy:

1 « J'aime »