Ajout de module Zigbee - Tuya Motion sensor - Nas-PD07

Bonjour
J’ai acheté ce capteur : Lien vers le marchant
Serait il possible de l’ajouter ?
zigbee.log (5,3 Ko)

{
    "ieee": "a4:c1:38:5f:6f:4b:92:21",
    "nwk": 65013,
    "status": 2,
    "lqi": "160",
    "rssi": "-60",
    "last_seen": "1639155191.0421393",
    "node_descriptor": "02:40:80:41:11:42:42:00:00:2a:42:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 1026,
            "profile_id": 260,
            "manufacturer": "_TZ3000_kmh5qpmb",
            "model": "TS0202",
            "output_clusters": [
                {
                    "id": 4096,
                    "name": "LightLink",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": []
                },
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                },
                {
                    "id": 10,
                    "name": "Time",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": []
                },
                {
                    "id": 1280,
                    "name": "IAS Zone",
                    "attributes": [
                        {
                            "id": 16,
                            "name": "cie_addr",
                            "value": [
                                36,
                                57,
                                48,
                                254,
                                255,
                                80,
                                75,
                                128
                            ]
                        },
                        {
                            "id": 19,
                            "name": "current_zone_sensitivity_level",
                            "value": 0
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "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_kmh5qpmb"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0202"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": ""
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 3
                        }
                    ]
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "_TZ3000_kmh5qpmb",
        "model": "TS0202",
        "node_desc": {
            "logical_type": 2,
            "complex_descriptor_available": 0,
            "user_descriptor_available": 0,
            "reserved": 0,
            "aps_flags": 0,
            "frequency_band": 8,
            "mac_capability_flags": 128,
            "manufacturer_code": 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": 1026,
                "input_clusters": [
                    1,
                    1280,
                    3,
                    0
                ],
                "output_clusters": [
                    4096,
                    6,
                    25,
                    10
                ]
            }
        }
    },
    "class": "zigpy.device"
}

Salut @Sc62 ,
tu peux valider la configuration ?
sensor_tuya.7z.txt (115,6 Ko)

Salut @cstan77 ,
Je n’ai que la commande présence qui s’affiche ?
Le module gère normalement la Température et l’humidité en plus
De plus je n’ai aucune remonté d’information ( 0 ou 1 ) sur l’info " Présence"

Quelqu’un est sur le sujet ? :blush:

il ne donne jamais de date ou d’information sur l’ajout de module, moi cela fait déja 1 mois que j’attend l’ajout d’un module, faut patienter …

Juste que si il ne commente pas, c’est qu’il ont toutes les infos

Je vois l’idée, mais @cstan77 a l’air de savoir générer un fichier qui l’ajoute :relaxed:
Je compte sur lui :grin:

Salut @Francky62
est ce que tu peux remettre l’info tree, car dans celui que tu as fournis, il n’y a pas de température et d’humidité…
des fois il faut plusieurs heures de fonctionnement pour que toutes les commandes remonte dans l’info tree, merci

J’ai fait une configuration bourrin !! j’ai mis les idKey par défaut pour l’humidité et température… pas grand espoir vu qu’il n’y a rien dans ton tree
TZ3000_kmh5qpmb.TS0202.7z.txt (645 Octets)

zigbee (1).txt (66,9 Ko)

La détection de mouvement fonctionne :slight_smile:
J’espère qu’avec un log de + de temps tu va trouver les infos manquante
Merci d’avance !

J’ai filtré les traces du sensor

[2021-12-16 21:17:10][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1":{"32":{"value":"30","cluster_name":"Power Configuration"}}}}}}
[2021-12-16 21:17:11][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 21:17:11][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 21:17:11][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 21:17:11][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 21:17:11][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 21:17:11][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1":{"33":{"value":"200","cluster_name":"Power Configuration"}}}}}}
[2021-12-16 21:17:14][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1":{"33":{"value":"200","cluster_name":"Power Configuration"}}}}}}
[2021-12-16 21:17:18][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1":{"33":{"value":"200","cluster_name":"Power Configuration"}}}}}}
[2021-12-16 21:17:22][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1":{"33":{"value":"200","cluster_name":"Power Configuration"}}}}}}
[2021-12-16 21:17:41][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 21:17:41][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 21:17:41][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 21:17:41][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 21:17:41][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 21:17:43][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.0","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 21:17:43][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.0 convert to 0
[2021-12-16 21:17:43][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 21:17:43][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 21:17:43][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:13:24][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:13:24][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 22:13:24][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:13:24][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:13:24][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:13:54][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:13:54][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 22:13:54][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:13:54][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:13:54][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:14:18][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.0","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:14:18][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.0 convert to 0
[2021-12-16 22:14:18][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:14:18][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:14:18][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:20:47][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:20:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 22:20:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:20:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:20:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:21:17][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:21:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 22:21:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:21:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:21:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:21:47][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:21:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 22:21:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:21:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:21:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:22:17][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:22:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 22:22:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:22:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:22:17][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0
[2021-12-16 22:22:47][DEBUG] : {"devices":{"a4:c1:38:5f:6f:4b:92:21":{"1":{"1280":{"cmd":{"1":{"value":"ZoneStatus.Alarm_1","cluster_name":"IAS Zone"},"1.1":{"value":"bitmap8.0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-12-16 22:22:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
[2021-12-16 22:22:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
[2021-12-16 22:22:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.2 => 0 convert to 0
[2021-12-16 22:22:47][DEBUG] : Search command for a4:c1:38:5f:6f:4b:92:21 logicalId : 1::1280::cmd::1.3 => 0 convert to 0

la présence c’est « 1::1280::cmd::1 ZoneStatus »
tu peux remettre ton infos brutes voir si y a des nouveaux id.

y a 3 autres commandes dans les l’id 1280, j’sais pas ce que sait …
là il faut le boss @Loic il va jeter un oeil car y a un truc que j’ai loupé

Il parle d’une commande anti effraction … C’est peut être ça …

Bonjour,
J’ai jamais su ce que c’était vraiment le reste pour ce cluster j’utilise toujours 1::1280::cmd::1