{"action":"created","issue":{"url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate/issues/11","repository_url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate","labels_url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate/issues/11/comments","events_url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate/issues/11/events","html_url":"https://github.com/doudz/jeedom-plugin-zigate/issues/11","id":305840559,"number":11,"title":"Pertes de communication / Instabilités","user":{"login":"bforest","id":2580135,"avatar_url":"https://avatars0.githubusercontent.com/u/2580135?v=4","gravatar_id":"","url":"https://api.github.com/users/bforest","html_url":"https://github.com/bforest","followers_url":"https://api.github.com/users/bforest/followers","following_url":"https://api.github.com/users/bforest/following{/other_user}","gists_url":"https://api.github.com/users/bforest/gists{/gist_id}","starred_url":"https://api.github.com/users/bforest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bforest/subscriptions","organizations_url":"https://api.github.com/users/bforest/orgs","repos_url":"https://api.github.com/users/bforest/repos","events_url":"https://api.github.com/users/bforest/events{/privacy}","received_events_url":"https://api.github.com/users/bforest/received_events","type":"User","site_admin":false},"labels":[{"id":838131506,"url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-16T08:29:48Z","updated_at":"2018-03-16T09:30:58Z","closed_at":null,"author_association":"NONE","body":"Bonjour,\r\n\r\nJ'utilise votre plugin depuis quelques jours et je rencontre pas mal de difficultés entre la zigate et mes modules (j'ai 5 modules Xiaomi Aqara : 1 détecteur de mouvement, 1 bouton, 1 capteur d'ouverture et 2 capteurs de température).\r\n\r\nAujourd'hui je constate que ca fait deux jours que mes modules ne communiquent plus avec Jeedom.\r\nImpossible d'inclure le module \"détecteur de mouvement\" même après avoir fait un \"Reset Zigate\" et plusieurs \"Synchroniser\".\r\n\r\nUne idée ? Est-ce que ca peut venir directement de ma Zigate ?\r\nMon plugin Zigate est à jour (ainsi que le firmware de la Zigate) et les dépendances ont été relancées ce matin.\r\n\r\nA toutes fins utiles, les logs :\r\n```\r\nException in thread Thread-2:\r\nTraceback (most recent call last):\r\nFile \"/usr/lib/python3.4/threading.py\", line 920, in _bootstrap_inner\r\nself.run()\r\nFile \"/usr/lib/python3.4/threading.py\", line 868, in run\r\nself._target(*self._args, **self._kwargs)\r\nFile \"/usr/local/lib/python3.4/dist-packages/zigate/transport.py\", line 53, in listen\r\ndata = self.serial.read(self.serial.in_waiting)\r\nFile \"/usr/local/lib/python3.4/dist-packages/serial/serialposix.py\", line 467, in in_waiting\r\ns = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)\r\nOSError: [Errno 5] Input/output error\r\n[2018-03-14 11:58:22][ERROR][zigate] : No response after command 0x0042\r\n[2018-03-14 11:58:25][ERROR][zigate] : No response after command 0x0045\r\n[2018-03-14 13:03:54][ERROR][zigate] : No response after command 0x0042\r\n[2018-03-14 13:03:57][ERROR][zigate] : No response after command 0x0045\r\n[2018-03-16 07:52:06][ERROR][zigate] : Command 0x0026 failed Failed (ZigBee event codes) 169 : b''\r\n[2018-03-16 07:57:53][ERROR][zigate] : Bad length 5 != 42 : b'\\x00\\x00\\x00\\x11\\x00\\xff\\x01\\x80\\x03\\x00\\x1e\\x9b\\x01\\x01\\x04\\x00\\x00\\x00\\x01\\x00\\x03\\x00\\x04\\x00\\x05\\x00\\x06\\x00\\x08\\x00\\x19\\x01\\x01\\x10\\x00\\x03\\x00\\x02\\x01\\x02\\x04'\r\n[2018-03-16 07:57:55][ERROR][zigate] : No response after command 0x0011\r\n[2018-03-16 08:03:05][ERROR][zigate] : Command 0x0026 failed Failed (ZigBee event codes) 169 : b''\r\nException in thread Thread-2:\r\nTraceback (most recent call last):\r\nFile \"/usr/lib/python3.4/threading.py\", line 920, in _bootstrap_inner\r\nself.run()\r\nFile \"/usr/lib/python3.4/threading.py\", line 868, in run\r\nself._target(*self._args, **self._kwargs)\r\nFile \"/usr/local/lib/python3.4/dist-packages/zigate/transport.py\", line 53, in listen\r\ndata = self.serial.read(self.serial.in_waiting)\r\nFile \"/usr/local/lib/python3.4/dist-packages/serial/serialposix.py\", line 467, in in_waiting\r\ns = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)\r\nOSError: [Errno 5] Input/output error\r\n[2018-03-16 08:19:51][ERROR][zigate] : No response after command 0x0049\r\n\r\n```\r\n\r\nCordialement."},"comment":{"url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate/issues/comments/373654413","html_url":"https://github.com/doudz/jeedom-plugin-zigate/issues/11#issuecomment-373654413","issue_url":"https://api.github.com/repos/doudz/jeedom-plugin-zigate/issues/11","id":373654413,"user":{"login":"bforest","id":2580135,"avatar_url":"https://avatars0.githubusercontent.com/u/2580135?v=4","gravatar_id":"","url":"https://api.github.com/users/bforest","html_url":"https://github.com/bforest","followers_url":"https://api.github.com/users/bforest/followers","following_url":"https://api.github.com/users/bforest/following{/other_user}","gists_url":"https://api.github.com/users/bforest/gists{/gist_id}","starred_url":"https://api.github.com/users/bforest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bforest/subscriptions","organizations_url":"https://api.github.com/users/bforest/orgs","repos_url":"https://api.github.com/users/bforest/repos","events_url":"https://api.github.com/users/bforest/events{/privacy}","received_events_url":"https://api.github.com/users/bforest/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T09:30:58Z","updated_at":"2018-03-16T09:30:58Z","author_association":"NONE","body":"Je me suis rendu compte du changement de port quand j'étais en mode manuellement justement.\r\n\r\nInitialement la Zigate était détectée sur le port ttyUSB2.\r\nAprès quelques heures, je m'étais rendu compte que les modules ne communiquaient plus.\r\nEn retournant dans la configuration du plugin, le paramètre \"Port clé ZiGate\" était vide.\r\nIl a fallu que je re-sélectionne la Zigate qui cette fois ci était identifiée sur le port ttyUSB4.\r\n\r\nLe fait de sélectionner le mode Auto me permet de ne plus avoir le paramètre \"Port clé ZiGate\" vide."}}
{"actor":{"display_login":"bforest"}}