Nouvelle version module TS0207 capteur inondation

Bonjour à tous

j’ai commandé un module TS0207 capteur inondation, ca semble être une variante du module déjà dispo

il fonctionne comme le TS0207 déjà présent, pour la commande action c’est bon

c’est pour les infos que ca remonte mal, surtout BATTERIE

Nouveau modèle :

Infos brutes :

{
    "ieee": "a4:c1:38:a2:24:16:91:bc",
    "nwk": 1311,
    "status": 2,
    "lqi": "255",
    "rssi": "-58",
    "last_seen": "1652858254.859102",
    "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_upgcbody",
            "model": "TS0207",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                },
                {
                    "id": 10,
                    "name": "Time",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": []
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 1280,
                    "name": "IAS Zone",
                    "attributes": [
                        {
                            "id": 16,
                            "name": "cie_addr",
                            "value": [
                                160,
                                153,
                                6,
                                255,
                                255,
                                46,
                                33,
                                0
                            ]
                        }
                    ]
                },
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 3
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 65
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 0
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 1
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "_TZ3000_upgcbody"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "TS0207"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": ""
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 3
                        }
                    ]
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "_TZ3000_upgcbody",
        "model": "TS0207",
        "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,
                    3,
                    1280,
                    0
                ],
                "output_clusters": [
                    25,
                    10
                ]
            }
        }
    },
    "class": "zigpy.device"
}

Json :

{
    "name": "TZ3000_qdmnmddg.TS0207",
    "configuration": [],
    "commands": [
        {
            "logicalId": "1::1280::cmd::1",
            "generic_type": "FLOOD",
            "name": "Innondation",
            "type": "info",
            "subType": "binary",
            "isHistorized": "0",
            "configuration": {
                "repeatEventManagement": "always"
            },
            "template": {
                "dashboard": "core::flood",
                "mobile": "core::flood"
            },
            "display": {
                "invertBinary": "1"
            },
            "isVisible": "1"
        }
    ],
    "ref": "TZ3000_qdmnmddg.TS0207"
}

logs :

0000|[2022-05-18 09:50:33]DEBUG : {"devices":{"a4:c1:38:a2:24:16:91:bc":{"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"}}}}}}}
0001|[2022-05-18 09:50:33]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1 => ZoneStatus.0 convert to 0
0002|[2022-05-18 09:50:33]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
0003|[2022-05-18 09:50:33]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.2 => 0 convert to 0
0004|[2022-05-18 09:50:33]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.3 => 0 convert to 0
0005|[2022-05-18 09:50:33]DEBUG : {"devices":{"a4:c1:38:a2:24:16:91:bc":{"1":{"1":{"33":{"value":"142","cluster_name":"Power Configuration"}}}}}}
0006|[2022-05-18 09:50:33]DEBUG : Search attribut for a4:c1:38:a2:24:16:91:bc logicalId : 1::1::33 => 142 convert to 142
0007|[2022-05-18 09:50:40]DEBUG : {"devices":{"a4:c1:38:a2:24:16:91:bc":{"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"}}}}}}}
0008|[2022-05-18 09:50:40]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1 => ZoneStatus.Alarm_1 convert to 1
0009|[2022-05-18 09:50:40]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
0010|[2022-05-18 09:50:40]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.2 => 0 convert to 0
0011|[2022-05-18 09:50:40]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.3 => 0 convert to 0
0012|[2022-05-18 09:50:42]DEBUG : {"devices":{"a4:c1:38:a2:24:16:91:bc":{"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"}}}}}}}
0013|[2022-05-18 09:50:42]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1 => ZoneStatus.0 convert to 0
0014|[2022-05-18 09:50:42]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.1 => bitmap8.0 convert to 0
0015|[2022-05-18 09:50:42]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.2 => 0 convert to 0
0016|[2022-05-18 09:50:42]DEBUG : Search command for a4:c1:38:a2:24:16:91:bc logicalId : 1::1280::cmd::1.3 => 0 convert to 0

merci pour l’ajout

Salut,

As-tu essayé les 2 versions disponibles?

image

image

L’an dernier on nous disais que

Dans l’onglet Action de la configuration, tu peux consulter les attributs 1::1::32 (Voltage) et 1::1::33 (%)

mais je suppose que ton souhait est que @Loic ajoute les commandes informations (V et %) pour cet équipement (et dans l’absolu sur tous les devices à piles).

1 « J'aime »

Bonjour
si je me fis à la photo du module, le mien ressemble au TS0207 (V1) et pas du tout au (V2)

Oui tout à fait, que cela s’affiche comme pour l’autre modèle

et pas

image

:grinning: essaye les 2 versions

Cette partie ne concerne que la création des commandes ? Et la commande est fonctionnel.

J’ai essayé quand même, ça ne change rien dans la page des informations

Et as-tu essayé la proposition de @MADomotique ?

Oui, cela renvoi 142, mais ça ne vas pas changer l’affichage des informations manquantes ?

Bonjour,
D’après les infos ce nouveau module n’a pas de remonté de batterie (ou il le fait d’une autre maniere et dans ce cas il faut attendre que zigpy l’integre)

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.