{"action":"closed","issue":{"url":"https://api.github.com/repos/Jeedom-Zigate/jeedom-plugin-zigate/issues/174","repository_url":"https://api.github.com/repos/Jeedom-Zigate/jeedom-plugin-zigate","labels_url":"https://api.github.com/repos/Jeedom-Zigate/jeedom-plugin-zigate/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/Jeedom-Zigate/jeedom-plugin-zigate/issues/174/comments","events_url":"https://api.github.com/repos/Jeedom-Zigate/jeedom-plugin-zigate/issues/174/events","html_url":"https://github.com/Jeedom-Zigate/jeedom-plugin-zigate/issues/174","id":427122097,"node_id":"MDU6SXNzdWU0MjcxMjIwOTc=","number":174,"title":"Bouton on/off n'apparaisse pas pour Xiaomi aqara wireless switch","user":{"login":"thetrueavatar","id":17810259,"node_id":"MDQ6VXNlcjE3ODEwMjU5","avatar_url":"https://avatars0.githubusercontent.com/u/17810259?v=4","gravatar_id":"","url":"https://api.github.com/users/thetrueavatar","html_url":"https://github.com/thetrueavatar","followers_url":"https://api.github.com/users/thetrueavatar/followers","following_url":"https://api.github.com/users/thetrueavatar/following{/other_user}","gists_url":"https://api.github.com/users/thetrueavatar/gists{/gist_id}","starred_url":"https://api.github.com/users/thetrueavatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetrueavatar/subscriptions","organizations_url":"https://api.github.com/users/thetrueavatar/orgs","repos_url":"https://api.github.com/users/thetrueavatar/repos","events_url":"https://api.github.com/users/thetrueavatar/events{/privacy}","received_events_url":"https://api.github.com/users/thetrueavatar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-03-29T18:25:10Z","updated_at":"2019-08-27T19:21:12Z","closed_at":"2019-08-27T19:21:12Z","author_association":"NONE","body":"**Description du bug**\r\nComme indiqué dans le titre, après association d'interrupteur Xiaomi aqara wireless switch(sur pile donc) je constate qu'il n'y a aucune commande d'allumage créée. J'ai le cas pour les 3 interrupteurs. J'utilise la version beta du zigate\r\n**Pour Reproduire**\r\nEtapes pour reproduire le problème:\r\n1. Appui sur inclusion\r\n2. Appui prolongé sur interrupteur jusqu'à ce que les 2 led clignotes bleu\r\n3. Détection du device par le zigate avec redirection vers la page de la configuration du device\r\n4. Action dans commande ne contient pas on/off\r\n\r\n**Fonctionnement attendu**\r\nAprès appairage par mode inclusion, le device créé devrait contenir des commandes on ou off.\r\n**Screenshots**\r\n\r\n[Lien vers image](https://drive.google.com/file/d/1uCbb07rOIXiTB80mIplqTR-mEd554IM0/view?usp=sharing)\r\n**Informations:**\r\n- Type de l'équipement : lumi.sensor_86sw1lu\r\n- Version Jeedom : 3.3.19 \r\n- Version Plugin : 1.2.3\r\n- Version lib zigate : 0.28.4\r\n- Version du firmware : 3.0e\r\n- log d'erreur dans terminal après demande de refresh:\r\nRESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:**2a44**, sequence:219, lqi:0\r\n- log détaillé après passage en debug et demande de refresh du device:\r\n[zigate.log](https://drive.google.com/file/d/1rscqEUWzP-cvdDtBvhKmZgbVAmPRby8r/view?usp=sharing)\r\n- zigate.json: extrait concernant le device\r\n`{\r\n      \"addr\": \"2a44\",\r\n      \"discovery\": \"auto-discovered\",\r\n      \"endpoints\": [\r\n        {\r\n          \"clusters\": [\r\n            {\r\n              \"attributes\": [\r\n                {\r\n                  \"attribute\": 1,\r\n                  \"data\": 4,\r\n                  \"name\": \"application_version\",\r\n                  \"value\": 4\r\n                },\r\n                {\r\n                  \"attribute\": 5,\r\n                  \"data\": \"lumi.sensor_86sw1\\u0000lu\",\r\n                  \"name\": \"type\",\r\n                  \"type\": \"str\",\r\n                  \"value\": \"lumi.sensor_86sw1lu\"\r\n                },\r\n                {\r\n                  \"attribute\": 65281,\r\n                  \"data\": \"0121c70b0328180421a8130521d700062401000000000a21000020\",\r\n                  \"name\": \"battery_voltage\",\r\n                  \"type\": \"float\",\r\n                  \"unit\": \"V\",\r\n                  \"value\": 3.015\r\n                }\r\n              ],\r\n              \"cluster\": 0\r\n            },\r\n            {\r\n              \"attributes\": [\r\n                {\r\n                  \"attribute\": 0,\r\n                  \"data\": false,\r\n                  \"name\": \"onoff\",\r\n                  \"type\": \"bool\",\r\n                  \"value\": false\r\n                }\r\n              ],\r\n              \"cluster\": 6\r\n            }\r\n          ],\r\n          \"device\": 24321,\r\n          \"endpoint\": 1,\r\n          \"in_clusters\": [\r\n            0,\r\n            3,\r\n            25,\r\n            65535,\r\n            18\r\n          ],\r\n          \"out_clusters\": [\r\n            0,\r\n            4,\r\n            3,\r\n            5,\r\n            25,\r\n            65535,\r\n            18\r\n          ],\r\n          \"profile\": 260\r\n        },\r\n        {\r\n          \"clusters\": [],\r\n          \"device\": 24322,\r\n          \"endpoint\": 2,\r\n          \"in_clusters\": [\r\n            3,\r\n            18\r\n          ],\r\n          \"out_clusters\": [\r\n            4,\r\n            3,\r\n            5,\r\n            18\r\n          ],\r\n          \"profile\": 260\r\n        },\r\n        {\r\n          \"clusters\": [],\r\n          \"device\": 24323,\r\n          \"endpoint\": 3,\r\n          \"in_clusters\": [\r\n            3,\r\n            12\r\n          ],\r\n          \"out_clusters\": [\r\n            4,\r\n            3,\r\n            5,\r\n            12\r\n          ],\r\n          \"profile\": 260\r\n        }\r\n      ],\r\n      \"generictype\": \"\",\r\n      \"info\": {\r\n        \"addr\": \"2a44\",\r\n        \"id\": 1,\r\n        \"ieee\": \"00158d000183c217\",\r\n        \"last_seen\": \"2019-03-29 18:36:18\",\r\n        \"lqi\": 177,\r\n        \"mac_capability\": \"10000000\",\r\n        \"power_type\": 0\r\n      }\r\n    }`"}}
{"actor":{"display_login":"doudz"}}