[Plugin Zigbee] Xiaomi sensor_86sw1

Bonjour,
Suite du sujet plugin-ZIGBEE Beta :

Je reviens sur mon post pour essayer de voir ce qui ne va pas @Loic

Il n’y a rien dans les basic donc je peux pas faire la conf… c’est bizzarre ca

Voici ma conf

Version PHP : 7.3.19-1~deb10u1
Version OS : Linux jeedom 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux [10.7]
Version Core : 4.1.17
Version plugin zigbee : 2021-01-08 01:03:58
Clé Conbee2 firmware : deCONZ_ConBeeII_0x26680700

Voici ce que j’ai dans information brutes

{
    "ieee": "00:15:8d:00:01:83:ad:ad",
    "nwk": 53292,
    "status": 2,
    "lqi": "255",
    "rssi": "-55",
    "last_seen": "1610110305.0808222",
    "node_descriptor": "02:40:80:37:10:7f:64:00:00:00:64:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": "LUMI",
            "model": "lumi.sensor_86sw1",
            "output_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": []
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                },
                {
                    "id": 65535,
                    "name": "Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 18,
                    "name": "MultistateInputCluster",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "BasicCluster",
                    "attributes": [
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "LUMI"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "lumi.sensor_86sw1"
                        }
                    ]
                },
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": [
                        {
                            "id": 32,
                            "name": "battery_voltage",
                            "value": 30
                        },
                        {
                            "id": 33,
                            "name": "battery_percentage_remaining",
                            "value": 200
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                },
                {
                    "id": 65535,
                    "name": "Manufacturer Specific",
                    "attributes": []
                },
                {
                    "id": 18,
                    "name": "MultistateInputCluster",
                    "attributes": []
                }
            ]
        },
        {
            "id": 2,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 18,
                    "name": "MultistateInputCluster",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 18,
                    "name": "MultistateInputCluster",
                    "attributes": []
                }
            ]
        },
        {
            "id": 3,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": null,
            "model": null,
            "output_clusters": [
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 12,
                    "name": "AnalogInput",
                    "attributes": []
                },
                {
                    "id": 18,
                    "name": "MultistateInputCluster",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 18,
                    "name": "MultistateInputCluster",
                    "attributes": []
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "LUMI",
        "model": "lumi.sensor_86sw1",
        "node_desc": {
            "byte1": 2,
            "byte2": 64,
            "mac_capability_flags": 128,
            "manufacturer_code": 4151,
            "maximum_buffer_size": 127,
            "maximum_incoming_transfer_size": 100,
            "server_mask": 0,
            "maximum_outgoing_transfer_size": 100,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    0,
                    1,
                    3,
                    25,
                    65535,
                    18
                ],
                "output_clusters": [
                    0,
                    3,
                    4,
                    5,
                    25,
                    65535,
                    18,
                    6
                ]
            },
            "2": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    3,
                    18
                ],
                "output_clusters": [
                    3,
                    4,
                    5,
                    18
                ]
            },
            "3": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    3,
                    18
                ],
                "output_clusters": [
                    3,
                    4,
                    5,
                    12,
                    18
                ]
            }
        }
    },
    "class": "zhaquirks.xiaomi.aqara.remote_b186acn01"
}

Voici la configuration qui fonctionne chez moi

Fichier LUMI.lumi.sensor_86sw1.json

{
  "name": "Xioami interrupteur simple",
  "ref" : "86sw1",
  "buylink" : "https://www.domadoo.fr/fr/peripheriques/4517-xiaomi-interrupteur-mural-double-sans-fil-zigbee-aqara-6970504210042.html",
  "commands": [
    {
      "name": "Bouton",
      "type": "info",
      "subtype": "binary",
      "isVisible": 1,
      "isHistorized": 0,
      "logicalId": "1::6::0",
      "configuration": {
        "repeatEventManagement": "always"
      }
    }
  ]
}

Quels sont les éléments supplémentaires dont tu as besoin ?

Salut,

J’avais mal lu il utilise pas le endpoint 1 mais le 3. Ca sera dans la beta de demain. Merci

1 « J'aime »