plugin-ZIGBEE Beta

Nickel merci bien ca sera dans la beta de demain matin

ok je viens de refaire le test,

en mode debug
j’efface tout
j’attend un peu
je tapote le capteur vibration et j’ai pas l’impression que j’ai plus de log

je referais le test demain

[2021-01-06 18:01:21][ERROR] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/listener.py", line 136, in zha_send_event
value['attribute'] = attribute_id
TypeError: 'tuple' object does not support item assignment
[2021-01-06 18:01:21][ERROR] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/listener.py", line 136, in zha_send_event
value['attribute'] = attribute_id
TypeError: 'tuple' object does not support item assignment
[2021-01-06 18:01:33][ERROR] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/listener.py", line 136, in zha_send_event
value['attribute'] = attribute_id
TypeError: 'tuple' object does not support item assignment
[2021-01-06 18:01:49][ERROR] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/listener.py", line 136, in zha_send_event
value['attribute'] = attribute_id
TypeError: 'tuple' object does not support item assignment
[2021-01-06 18:01:49][ERROR] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/listener.py", line 136, in zha_send_event
value['attribute'] = attribute_id
TypeError: 'tuple' object does not support item assignment
[2021-01-06 18:01:59][ERROR] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/listener.py", line 136, in zha_send_event
value['attribute'] = attribute_id
TypeError: 'tuple' object does not support item assignment
[2021-01-06 18:01:59][ERROR] : Traceback (most recent call last):
File "/var/www/html/plugins/zigbee/resources/zigbeed/listener.py", line 136, in zha_send_event
value['attribute'] = attribute_id
TypeError: 'tuple' object does not support item assignment

Essai pendant l’inclusion un appuie court sur le bouton toutes les 10s !

:slight_smile: Non, n’essaye pas ! Fais-le, ou ne le fais pas mais il n’y a pas d’essai ! Yoda :slight_smile:

fait change rien. je vais attendre la mise a jour de loic de demain et je regarderais si cela change ou pas

Salut camarade.

Je suis actuellement en prod avec la conbee2 et deconz, ça marche bien mais ce nouveau plugin est prometteur dans le sens où, enfin on peux visualiser les noeuds par soucis d’optimisations, mais également gérer les groupes un gros manque dans deconz.

Bref, viendra le jour où je vais migré sur ce nouveau plugin, je viens de tester avec une clef zigate que j’avais en rab et quelques module qui ne sont pas en prod ça fonctionne bien.
Pour ne pas casser tout mon jeedom (car beaucoup de chose en zigbee je souhaiterais migrer de manière progressive et prendre bien le temps de remplacer mes commandes existantes pas le choix, seulement si je veux faire ça avec ma clef actuelle c’est à dire la conbee2 je suis obligé d’interrompre le plugin deconz et du coup mettre à l’arrêt toute ma prod le temps de tout reinclure et remplacer les commandes piouff un boulot de dingue sur une journée surtout le remplacement de toutes les commandes.

C’est pourquoi mon idée est que je fasse l’intégration de mes modules un par un tranquillement avec ma clef zigate de manière à ne pas interrompre mon réseau actuelle, et donc une fois fini déconnecter la zigate désinstaller deconz puis ouvrir un démon avec conbee2 et reinclure les modules sur la conbee2, est-ce que les équipements jeedom vont se mettre à jour avec le nouveau réseaux où j’aurais de nouveau la création d’équipements, ce qui rendrait inutile mon étape avec la zigate.

Je sais pas si c’est très explicite.:crazy_face:

Il est pas mort il suffit de lire, quand un plugin est en beta, il y a pas de doc.

Cordialement
Thibaut

1 « J'aime »

Recherche « doc » dans ce sujet :

2 « J'aime »

En plus pour les plus curieux la doc est disponible une fois le plugin installé dans le dossier doc… Oui c’est pas user friendly et c’est 100% volontaire on est en beta et je veux pas 2000 personnes sur le plugins d’un coup je n’arriverais pas a faire le support le but est donc de n’encourager que les plus débrouillard.

1 « J'aime »

Ne voyant pas ces modules après la mise à jour du plugin et des dépendances, je me permets de remettre mon message.

Bonjour,
Effectivement je suis passé a coté ca sera dans la beta de demain (a voir pour la partie rgb car j’ai pas tout compris)

Bonjour,

J’ai des interrupteurs qui ressemblent aux b186acn01 mais qui n’utilisent pas le même cluster

Données brutes:

{
    "ieee": "00:15:8d:00:01:83:ad:ad",
    "nwk": 53292,
    "status": 2,
    "lqi": "255",
    "rssi": "-46",
    "last_seen": "1610027115.5704012",
    "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": [
                        {
                            "id": 0,
                            "name": "on_off",
                            "value": 0
                        }
                    ]
                }
            ],
            "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"
}

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"
      }
    }
  ]
}

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

Adeo LXEK-2 (globe e27 couleur)

{
    "ieee": "84:71:27:ff:fe:1c:d7:be",
    "nwk": 47944,
    "status": 2,
    "lqi": "96",
    "rssi": "0",
    "last_seen": "1610030801.6157463",
    "node_descriptor": "01:40:8e:77:12:52:52:00:00:2c:52:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 269,
            "profile_id": 260,
            "manufacturer": "Adeo",
            "model": "LXEK-2",
            "output_clusters": [
                {
                    "id": 25,
                    "name": "Ota",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": [
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "Adeo"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "LXEK-2"
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "Identify",
                    "attributes": []
                },
                {
                    "id": 4,
                    "name": "Groups",
                    "attributes": []
                },
                {
                    "id": 5,
                    "name": "Scenes",
                    "attributes": []
                },
                {
                    "id": 6,
                    "name": "On\/Off",
                    "attributes": []
                },
                {
                    "id": 8,
                    "name": "Level control",
                    "attributes": []
                },
                {
                    "id": 768,
                    "name": "Color Control",
                    "attributes": []
                },
                {
                    "id": 4096,
                    "name": "LightLink",
                    "attributes": []
                },
                {
                    "id": 64642,
                    "name": "Manufacturer Specific",
                    "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_name": "Adeo",
        "model": "LXEK-2",
        "node_descriptor": {
            "byte1": 1,
            "byte2": 64,
            "mac_capability_flags": 142,
            "manufacturer_code": 4727,
            "maximum_buffer_size": 82,
            "maximum_incoming_transfer_size": 82,
            "server_mask": 11264,
            "maximum_outgoing_transfer_size": 82,
            "descriptor_capability_field": 0
        },
        "1": {
            "profileid": 260,
            "deviceid": 269,
            "in_clusters": [
                0,
                3,
                4,
                5,
                6,
                8,
                768,
                4096,
                64642
            ],
            "out_clusters": [
                25
            ]
        },
        "242": {
            "profileid": 41440,
            "deviceid": 97,
            "in_clusters": [],
            "out_clusters": [
                33
            ]
        }
    },
    "class": "zigpy.device"
}

ca sera dans la beta de demain merci

Bonsoir,

J’ai installé la dernière version du plugin zigbee (2021-01-07 01:04:47) et depuis cette version, j’ai un souci de remontée des commande « type » et « type rotation » du plugin xiaomi smart cube :

voilà un screenshot de la config de mes commandes :

Le changement des valeurs semble bien être envoyé à Jeedom (cf valeur flip en dernière ligne de ces logs)

logs zigbee :

[2021-01-07 20:41:36][DEBUG] : {"devices":{"00:15:8d:00:05:2f:9d:4e":{"2":{"18":{"85":{"value":"81.0","cluster_name":"MultistateInputCluster"},"event":{"flip":{"value":{"value":81,"flip_degrees":90,"activated_face":2},"cluster_name":"MultistateInputCluster"}},"0":{"value":"flip","cluster_name":"MultistateInputCluster"}}}}}}
[2021-01-07 20:41:36][DEBUG] : Search attribut for 00:15:8d:00:05:2f:9d:4e logicalId : 2::18::85 => 81.0
[2021-01-07 20:41:36][DEBUG] : Search attribut for 00:15:8d:00:05:2f:9d:4e logicalId : 2::18::0 => flip

et logs zigbee_1

[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.cube_aqgl01.CubeAQGL01.MultistateInputCluster object at 0x7f82526cc0> ClusterId: 0x0012 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=34 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=72>)]],)
[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.attribute_updated] Received an attribute update 85=72.0 on cluster 18
[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.zha_send_event] Received an event update flip={'value': 72.0, 'flip_degrees': 90, 'activated_face': 1.0} on cluster 18
[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.attribute_updated] Received an attribute update 0=flip on cluster 18
[2021-01-07 20:30:07][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f82de43b0>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:05:2f:9d:4e, 2, 18, 85, 72.0))
[2021-01-07 20:30:07][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f82de43b0>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:05:2f:9d:4e, 2, 18, 0, 'flip'))
[2021-01-07 20:30:07][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:05:2f:9d:4e': {'2': {'18': {'85': {'value': '72.0', 'cluster_name': 'MultistateInputCluster'}, 'event': {'flip': {'value': {'value': 72.0, 'flip_degrees': 90, 'activated_face': 1.0}, 'cluster_name': 'MultistateInputCluster'}}, '0': {'value': 'flip', 'cluster_name': 'MultistateInputCluster'}}}}}}

Mais rien ne se passe sur la commande (commande type dans ce cas là) qui prenait avant cette MAJ la valeur ‹ flip ›

Norbert

voici le retour suite a la derniere mise a jour

capteur vibration

image

l’information : 1::1280::cmd::1 remonte bien une valeur 0 ou 1 lors d’un mouvement
l’information : 1::257::0 semble remonte des valeurs tilt vibration drop suivant la force du mouvement
l’information : 1::257::1283 donne des informations d’inclinaison mais je pense qu’il y a un soucis

il y a bien des informations qui remontent au niveau de l’inclinaison mais je pense qu’il doit tout de mémé avoir un problème car les valeurs me semble étrange et ne remonte pas toujours, voir très peu

j’ai fait un filtre uniquement sur la mac de mon capteur je sais pas si cela va suffire

log zigbeed_1

[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=253 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=1>)]],)
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=1.0 on cluster 257
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.cluster_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MotionCluster object at 0x7f371c386278> ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0])
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.cluster_command] Use specific decode funtion
[2021-01-07 21:53:45][DEBUG] : Send to jeedom :  {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'1280': {'cmd': {1: {'value': '1', 'cluster_name': 'IAS Zone'}, '1.1': {'value': '0', 'cluster_name': 'IAS Zone'}, '1.2': {'value': '0', 'cluster_name': 'IAS Zone'}, '1.3': {'value': '0', 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280
[2021-01-07 21:53:45][DEBUG] : 00:15:8d:00:02:c3:a8:f9 - Received motion event message
[2021-01-07 21:53:45][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 1.0))
[2021-01-07 21:53:46][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 1280, 0, 1))
[2021-01-07 21:53:46][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '1.0', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}}
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=254 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:53:46][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:53:47][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:53:47][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:53:48][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=255 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=751619013712>)]],)
[2021-01-07 21:53:48][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=751619013712 on cluster 257
[2021-01-07 21:53:48][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 751619013712))
[2021-01-07 21:53:48][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'1288': {'value': '751619013712', 'cluster_name': 'MultistateInputCluster'}}}}}}
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=0 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=1 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5171138985985>)]],)
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=5171138985985 on cluster 257
[2021-01-07 21:54:00][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:54:00][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}, '1288': {'value': '5171138985985', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:54:00][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:54:00][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 5171138985985))
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=2 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:54:09][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:54:09][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:54:09][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:54:10][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=3 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=743029144655>)]],)
[2021-01-07 21:54:10][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=743029144655 on cluster 257
[2021-01-07 21:54:10][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 743029144655))
[2021-01-07 21:54:10][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'1288': {'value': '743029144655', 'cluster_name': 'MultistateInputCluster'}}}}}}
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=4 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:54:15][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=5 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5171138920451>)]],)
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=5171138920451 on cluster 257
[2021-01-07 21:54:15][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}, '1288': {'value': '5171138920451', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:54:15][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:54:15][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 5171138920451))

log zigbee

[2021-01-07 22:45:51][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"1280":{"cmd":{"1":{"value":"1","cluster_name":"IAS Zone"},"1.1":{"value":"0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-01-07 22:45:51][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"1280":{"cmd":{"1":{"value":"1","cluster_name":"IAS Zone"},"1.1":{"value":"0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1 => 1
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1 => 1
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.1 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.2 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.3 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.1 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.2 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.3 => 0
[2021-01-07 22:45:51][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"257":{"85":{"value":"1.0","cluster_name":"MultistateInputCluster"}},"1280":[{"value":"1","cluster_name":"IAS Zone"}]}}}}
[2021-01-07 22:45:51][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::257::85 => 1.0
[2021-01-07 22:45:51][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::0 => 1
[2021-01-07 22:45:52][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"257":{"85":{"value":"3.0","cluster_name":"MultistateInputCluster"}},"1280":{"event":{"Drop":{"value":[],"cluster_name":"IAS Zone"}}}}}}}
[2021-01-07 22:45:52][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::257::85 => 3.0
[2021-01-07 22:46:08][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"257":{"1288":{"value":"5179728592899","cluster_name":"MultistateInputCluster"}}}}}}
[2021-01-07 22:46:08][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::257::1288 => 5179728592899

si pas bon, je ferais une capture sans filtre

y a t il des erreur ou tout te semble bon

merci

Bonjour,
Aucun soucis coté jeedom c’est le module qui remonte ca pour l’inclinaison.

@ngrataloup et @ludoviclt ya bien par contre un soucis sur la gestion des remonté de type event mais j’ai pas le materiel pour tester donc je doute de pouvoir corriger pour le moment.

Hello all,

Je tombe par hasard sur ce sujet/plugin et j’avoue être aux anges car ce mode de fonctionnement 100% collaboratif avec une réactivité incroyable côté jeedom et d’une verdoyance vivifiante <3.

J’ai pu faire un test avec Deconz en contrôleur, ça marche pas mal. Les inclusions Xiaomi sont toujours capricieuses mais au moins, pas besoin de passer par Phoscon.

En revanche, les capteurs de présence et d’ouverture Aqara ne remontent pas la température ou la luminosité. Est-ce assumé et/ou temporaire ? Ce n’est pas hyper-critique pour moi mais ptet pour d’autres. Je vois qu’ici on dégaine du json plus vite que son ombre ^^. Comment faire pour justement aider ?

D’avance merci,

Tauks

PS : Mes 2 plus gros tests d’adoption du plugin seront :

  • Voir si Zigbee (DeconZ) et Zwave (Gen5 mais je vais en tester une autre car freeze 1x / 15j environ et envie de compatibilité USB3 sur pi4) arretent de se piquer les controleurs USB suite à reboot, ce qui arrive parfois actuellement et a pour conséquence tout un protocole en moins dans la maison, ce qui est très visible et plombe ma crédibilité WAF ^^.
  • Estimer la perte d’info que je peux clairement voir aujourd’hui entre Phoscon qui me dit à juste titre « mouvement » et jeedom qui me dit parfois « absence de mouvement ». C’est dommage quand il s’agit d’une fenêtre d’enfant au 2ème étage qui s’ouvre sans qu’on ait d’alerte…

Du coup, si nous pouvons t’aider pour quoique ce soit, n’hesite pas à nous demander des logs ou autres infos.
Norbert

pour les capteurs, j’ai aucun problème de remonte au moindre mouvement avec le plugin zigbe2mqtt, donc je suppose que oui il y a bien un petit soucie de remonte, comment on peut t’aider a trouver le problème

l’info porte semble bien passe a 1 au moindre mouvement, par contre l’inclinaison et la vibration remontent aléatoirement et très rarement

un autre log si cela te parle

[2021-01-08 18:50:02][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=196 data=b"'\x0c\x01\xb8U" length=5 fcs=67>
[2021-01-08 18:50:02][DEBUG] : <-- AREQ ZDO srcRtgInd tsn: None {'dstaddr': 0x0C27, 'relaycount': 1, 'relaylist': [21944]}
[2021-01-08 18:50:02][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b"\x00\x00\x00\x00'\x0c\x01\x01\x00/\x00<
\xb7\x00\x00M\x1c_\x11\x1c
\x05\x00B\x12lumi.vibration.aq1\x01\xffB.\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01\xb8U\x1c" length=97 fcs=102>
[2021-01-08 18:50:02][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 0, 'srcaddr': 0x0C27, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 47, 'securityuse': 0, 'timestamp': 11996476, 'transseqnumber': 0, 'len': 77, 'data': b'\x1c_\x11\x1c
\x05\x00B\x12lumi.vibration.aq1\x01\xffB.\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01'}
[2021-01-08 18:50:02][INFO] : handle_message incomingMsg
[2021-01-08 18:50:02][DEBUG] : [0x0c27:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=28 command_id=Command.Report_Attributes>
[2021-01-08 18:50:02][DEBUG] : [0x0c27:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.vibration.aq1>), Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!�$>)]]
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.VibrationBasicCluster object at 0x7f42b4e29eb8> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4447 tsn=28 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.vibration.aq1>), Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!�$>)]],)
[2021-01-08 18:50:02][DEBUG] : [0x0c27:1:0x0000] Attribute report received: model=lumi.vibration.aq1, 65281=!�(!�!�$
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 5=lumi.vibration.aq1 on cluster 0
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.zha_send_event] Received an event update attribute_updated={'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.vibration.aq1'} on cluster 0
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 65281=b'\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01' on cluster 0
[2021-01-08 18:50:02][DEBUG] : 00:15:8d:00:02:c4:e5:6b - Attribute report. attribute_id: [65281] value: [{'battery_voltage_mV': 2965, 'temperature': 30, 'X-attrib-4': 5032, 'X-attrib-5': 402, 'X-attrib-6': 0, '0xff01-8': 776, 'path': 21944, '0xff01-152': 40, '0xff01-153': 63, '0xff01-154': 2177612185800}]
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 32=30 on cluster 1
[2021-01-08 18:50:02][DEBUG] : LUMI lumi.vibration.aq1, Voltage [RAW]:30 [Max]:3.0 [Min]:2.8, Battery Percent: 100.0
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 33=200 on cluster 1
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 0, 5, 'lumi.vibration.aq1'))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c4:e5:6b': {'1': {'0': {'5': {'value': 'lumi.vibration.aq1', 'cluster_name': 'VibrationBasicCluster'}, 'event': {'attribute_updated': {'value': {'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.vibration.aq1'}, 'cluster_name': 'VibrationBasicCluster'}}, '65281': {'value': "b'\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01'", 'cluster_name': 'VibrationBasicCluster'}}, '1': {'32': {'value': '30', 'cluster_name': 'Power Configuration'}, '33': {'value': '200', 'cluster_name': 'Power Configuration'}}}}}}
[2021-01-08 18:50:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 0, 65281, b'\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01'))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 1, 32, 30))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 1, 33, 200))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:04][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b'\x00\x00\x01\x01\x07\x8f\x01\x01\x007\x00\xa5-\xb7\x00\x00
\x18\x86
\x05\x05#\x00\x00\xa9\x00\x07\x8f\x1d' length=30 fcs=218>
[2021-01-08 18:50:04][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 257, 'srcaddr': 0x8F07, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 55, 'securityuse': 0, 'timestamp': 12004773, 'transseqnumber': 0, 'len': 10, 'data': b'\x18\x86
\x05\x05#\x00\x00\xa9\x00'}
[2021-01-08 18:50:04][INFO] : handle_message incomingMsg
[2021-01-08 18:50:04][DEBUG] : [0x8f07:1:0x0101] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=134 command_id=Command.Report_Attributes>
[2021-01-08 18:50:04][DEBUG] : [0x8f07:1:0x0101] ZCL request 0x000a: [[Attribute(attrid=1285, value=<TypeValue type=uint32_t, value=11075584>)]]
[2021-01-08 18:50:04][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f42b4e52358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=134 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1285, value=<TypeValue type=uint32_t, value=11075584>)]],)
[2021-01-08 18:50:04][DEBUG] : [0x8f07:1:0x0101] Attribute report received: 1285=11075584
[2021-01-08 18:50:04][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1285=11075584 on cluster 257
[2021-01-08 18:50:04][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update vibration_strength=({'strength': 169},) on cluster 1280
[2021-01-08 18:50:04][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1285, 11075584))
[2021-01-08 18:50:04][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:04][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:04][DEBUG] : returning None
[2021-01-08 18:50:05][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'1285': {'value': '11075584', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'vibration_strength': {'value': ({'strength': 169},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-08 18:50:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:05][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b'\x00\x00\x00\x00\x07\x8f\x01\x01\x007\x00\x98<\xb7\x00\x007\x1c_\x11\x87
\x01\xffB.\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04\x07\x8f\x1d' length=75 fcs=35>
[2021-01-08 18:50:05][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 0, 'srcaddr': 0x8F07, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 55, 'securityuse': 0, 'timestamp': 12008600, 'transseqnumber': 0, 'len': 55, 'data': b'\x1c_\x11\x87
\x01\xffB.\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04'}
[2021-01-08 18:50:05][INFO] : handle_message incomingMsg
[2021-01-08 18:50:05][DEBUG] : [0x8f07:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=135 command_id=Command.Report_Attributes>
[2021-01-08 18:50:05][DEBUG] : [0x8f07:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!K$a>)]]
[2021-01-08 18:50:05][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.VibrationBasicCluster object at 0x7f42b4e520f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4447 tsn=135 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!K$a>)]],)
[2021-01-08 18:50:05][DEBUG] : [0x8f07:1:0x0000] Attribute report received: 65281=!�(!�!K$a
[2021-01-08 18:50:05][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 65281=b'\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04' on cluster 0
[2021-01-08 18:50:05][DEBUG] : 00:15:8d:00:02:c3:a8:f9 - Attribute report. attribute_id: [65281] value: [{'battery_voltage_mV': 2985, 'temperature': 29, 'X-attrib-4': 5032, 'X-attrib-5': 587, 'X-attrib-6': 65543, '0xff01-8': 776, 'path': 0, '0xff01-152': 40, '0xff01-153': 436, '0xff01-154': 5175434215421}]
[2021-01-08 18:50:05][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 32=30 on cluster 1
[2021-01-08 18:50:05][DEBUG] : LUMI lumi.vibration.aq1, Voltage [RAW]:30 [Max]:3.0 [Min]:2.8, Battery Percent: 100.0
[2021-01-08 18:50:06][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 33=200 on cluster 1
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 0, 65281, b'\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04'))
[2021-01-08 18:50:06][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:06][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'0': {'65281': {'value': "b'\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04'", 'cluster_name': 'VibrationBasicCluster'}}, '1': {'32': {'value': '30', 'cluster_name': 'Power Configuration'}, '33': {'value': '200', 'cluster_name': 'Power Configuration'}}}}}}
[2021-01-08 18:50:06][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:06][DEBUG] : returning None
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 1, 32, 30))
[2021-01-08 18:50:06][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:06][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:06][DEBUG] : returning None
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 1, 33, 200))
[2021-01-08 18:50:06][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:06][DEBUG] : returning None
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=196 data=b"'\x0c\x01\xb8U" length=5 fcs=67>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ ZDO srcRtgInd tsn: None {'dstaddr': 0x0C27, 'relaycount': 1, 'relaylist': [21944]}
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=196 data=b"'\x0c\x01\xb8U" length=5 fcs=67>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ ZDO srcRtgInd tsn: None {'dstaddr': 0x0C27, 'relaycount': 1, 'relaylist': [21944]}
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b"\x00\x00\x01\x01'\x0c\x01\x01\x004\x00\x07_\xb7\x00\x00\x08\x18\x1d
U\x00!\x03\x00\xb8U\x1c" length=28 fcs=168>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 257, 'srcaddr': 0x0C27, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 52, 'securityuse': 0, 'timestamp': 12017415, 'transseqnumber': 0, 'len': 8, 'data': b'\x18\x1d
U\x00!\x03\x00'}
[2021-01-08 18:50:08][INFO] : handle_message incomingMsg
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=29 command_id=Command.Report_Attributes>
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL request 0x000a: [[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=3>)]]
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f42b4e350f0> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=29 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=3>)]],)
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] Attribute report received: present_value=3
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 85=3.0 on cluster 257
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.zha_send_event] Received an event update Drop=() on cluster 1280
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 257, 85, 3.0))
[2021-01-08 18:50:08][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:08][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c4:e5:6b': {'1': {'257': {'85': {'value': '3.0', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Drop': {'value': (), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-08 18:50:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b"\x00\x00\x01\x01'\x0c\x01\x01\x001\x00\x1f`\xb7\x00\x00\x0c\x18\x1e
\x08\x05%-\x00
\x00\x92\x04\xb8U\x1c" length=32 fcs=95>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 257, 'srcaddr': 0x0C27, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 49, 'securityuse': 0, 'timestamp': 12017695, 'transseqnumber': 0, 'len': 12, 'data': b'\x18\x1e
\x08\x05%-\x00
\x00\x92\x04'}
[2021-01-08 18:50:08][INFO] : handle_message incomingMsg
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=30 command_id=Command.Report_Attributes>
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL request 0x000a: [[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5025112391725>)]]
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f42b4e350f0> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=30 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5025112391725>)]],)
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] Attribute report received: 1288=5025112391725
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 1288=5025112391725 on cluster 257
[2021-01-08 18:50:08][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:08][DEBUG] : returning None
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 257, 1288, 5025112391725))
[2021-01-08 18:50:08][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:09][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c4:e5:6b': {'1': {'257': {'1288': {'value': '5025112391725', 'cluster_name': 'MultistateInputCluster'}}}}}}
[2021-01-08 18:50:09][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:09][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:09][DEBUG] : returning None

etrange cette ligne non, la value tout a la fin

[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.VibrationBasicCluster object at 0x7f42b4e29eb8> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4447 tsn=28 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.vibration.aq1>), Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!�$>)]],)