jeedom-zigate / jeedom-plugin-zigate

Plugin Jeedom for ZiGate key.
MIT License
29 stars 12 forks source link

Impossible de démarrer le daemon #210

Closed Dites33 closed 4 years ago

Dites33 commented 5 years ago

Je viens de mettre à jour le plugin Zigate / JEEDOM J'avais mis à jour la clé Zigate en dernière version Firmware

La clé est bien reconnue par mon serveur, je suis en virtuel synology. Clé Prolific

Depuis la mise à jour du plugin, impossible de rédemarrer le daemon

log :

[2019-08-11 11:24:56][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement Traceback (most recent call last): File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 329, in z.autoStart(args.channel) File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 339, in autoStart self.startup(channel) File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 368, in startup self.start_network(True) File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 929, in start_network self._addr = data['addr'] KeyError: 'addr'

Auriez vous une idée ?

Dites33 commented 5 years ago

Voici le log complet en debug, le log se termine par Daemon lancé mais 2/3 secondes après je repasse en NOK

[2019-08-11 11:29:57][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement [2019-08-11 11:29:57][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device /dev/ttyUSB0 --gpio 0 --loglevel debug --apikey OUdiyKDvwuhjFyLc8Nui6UHf1Byhcm43 --pid /tmp/jeedom/zigate/daemon.pid --socket /tmp/jeedom/zigate/daemon.sock --callback http://127.0.0.1:80/plugins/zigate/core/php/jeeZiGate.php --sharedata 0 [2019-08-11 11:29:58][INFO]root : Start zigated [2019-08-11 11:29:58][INFO]root : Log level : debug [2019-08-11 11:29:58][INFO]root : Socket : /tmp/jeedom/zigate/daemon.sock [2019-08-11 11:29:58][INFO]root : PID file : /tmp/jeedom/zigate/daemon.pid [2019-08-11 11:29:58][INFO]root : Apikey : OUdiyKDvwuhjFyLc8Nui6UHf1Byhcm43 [2019-08-11 11:29:58][INFO]root : Device : /dev/ttyUSB0 [2019-08-11 11:29:58][INFO]root : Callback : http://127.0.0.1:80/plugins/zigate/core/php/jeeZiGate.php [2019-08-11 11:29:58][INFO]root : Python version : 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516] [2019-08-11 11:29:58][INFO]root : zigate version : 0.32.2 [2019-08-11 11:29:58][DEBUG]root : Writing PID 4788 to /tmp/jeedom/zigate/daemon.pid [2019-08-11 11:29:58][DEBUG]root : Send to test to jeedom [2019-08-11 11:29:58][DEBUG]root : Send to jeedom : {'action': 'test'} [2019-08-11 11:29:58][DEBUG]requests.packages.urllib3.connectionpool : Starting new HTTP connection (1): 127.0.0.1 [2019-08-11 11:29:58][DEBUG] : Array ( [action] => test ) [2019-08-11 11:29:58][DEBUG]requests.packages.urllib3.connectionpool : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=OUdiyKDvwuhjFyLc8Nui6UHf1Byhcm43 HTTP/1.1" 200 16 [2019-08-11 11:29:58][DEBUG]root : Jeedom reply : {'success': True} [2019-08-11 11:29:58][INFO]root : D\xe9marrage ZiGate /dev/ttyUSB0 [2019-08-11 11:29:58][DEBUG]zigate : Try loading persistent file [2019-08-11 11:29:58][DEBUG]zigate : Trying to load /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json [2019-08-11 11:29:58][DEBUG]zigate : Load success [2019-08-11 11:29:58][DEBUG]zigate : REQUEST : 0x0010 [2019-08-11 11:29:58][DEBUG]zigate : Msg to send b'0010000010' [2019-08-11 11:29:58][DEBUG]zigate : Encoded Msg to send b'01021010021002101003' [2019-08-11 11:29:58][DEBUG]zigate : Waiting for status message for command 0x0010 [2019-08-11 11:29:58][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x95\x02\x10\x02\x10\x02\x10\x10\x02\x10\x03\x01\x80\x10\x02\x10\x02\x15\x8f\x02\x10\x02\x13\x02\x13\x1a\x02\x10\x03' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000010' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8010: b'0003031a' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8010 - Version list : major:3, installer:31a, lqi:0, version:3.1a [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:58][DEBUG]zigate : STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG]zigate : Waiting for message 0x8010 [2019-08-11 11:29:58][DEBUG]zigate : Stop waiting, got message 0x8010 [2019-08-11 11:29:58][DEBUG]zigate : REQUEST : 0x0021 b'\x03\x18\xc8\x00' [2019-08-11 11:29:58][DEBUG]zigate : Msg to send b'00210004f60318c800' [2019-08-11 11:29:58][DEBUG]zigate : Encoded Msg to send b'0102102102100214f6021318c8021003' [2019-08-11 11:29:58][DEBUG]zigate : Waiting for status message for command 0x0021 [2019-08-11 11:29:58][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xa4\x02\x10\x02\x10\x02\x10!\x02\x10\x03' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000021' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:58][DEBUG]zigate : STATUS code to command 0x0021:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG]zigate : REQUEST : 0x0023 b'\x00' [2019-08-11 11:29:58][DEBUG]zigate : Msg to send b'002300012200' [2019-08-11 11:29:58][DEBUG]zigate : Encoded Msg to send b'010210230210021122021003' [2019-08-11 11:29:58][DEBUG]zigate : Waiting for status message for command 0x0023 [2019-08-11 11:29:58][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xa6\x02\x10\x02\x10\x02\x10#\x02\x10\x03' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000023' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:58][DEBUG]zigate : STATUS code to command 0x0023:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG]zigate : Check network state [2019-08-11 11:29:58][DEBUG]zigate : REQUEST : 0x0009 [2019-08-11 11:29:58][DEBUG]zigate : Msg to send b'0009000009' [2019-08-11 11:29:58][DEBUG]zigate : Encoded Msg to send b'010210021902100210021903' [2019-08-11 11:29:58][DEBUG]zigate : Waiting for status message for command 0x0009 [2019-08-11 11:29:58][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x8c\x02\x10\x02\x10\x02\x10\x02\x19\x02\x10\x03\x01\x80\x02\x19\x02\x10\x16\x12\xff\xff\x02\x10\x15\x8d\x02\x10\x02\x11\xedE\x87\xde\xc1\x1e\xff\x85`Q\xc2\xa0\x18\x02\x1b\x02\x10\x03' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000009' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8009: b'ffff00158d0001ed4587dec11eff856051c2a0180b' [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8009 - Network state response : addr:ffff, ieee:00158d0001ed4587, panid:57025, extended_panid:2233650588934119448, channel:11, lqi:0 [2019-08-11 11:29:58][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:58][DEBUG]zigate : STATUS code to command 0x0009:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', lqi:0 [2019-08-11 11:29:58][DEBUG]zigate : Waiting for message 0x8009 [2019-08-11 11:29:58][DEBUG]zigate : Stop waiting, got message 0x8009 [2019-08-11 11:29:58][DEBUG]zigate : Network is down, start it [2019-08-11 11:29:58][DEBUG]zigate : REQUEST : 0x0024 [2019-08-11 11:29:58][DEBUG]zigate : Msg to send b'0024000024' [2019-08-11 11:29:58][DEBUG]zigate : Encoded Msg to send b'01021024021002102403' [2019-08-11 11:29:58][DEBUG]zigate : Waiting for status message for command 0x0024 [2019-08-11 11:29:59][DEBUG]zigate : Raw packet received, b'\x01\x80$\x02\x10\x02\x12\xa0\x02\x16\x02\x10\x03\x01\x80\x02\x10\x02\x10\x02\x15\xa1\x02\x10\x02\x10\x02\x10$\x02\x10\x03' [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8024: b'06' [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8024 - Network joined / formed : status:6, lqi:0 [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000024' [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', lqi:0 [2019-08-11 11:29:59][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-11 11:29:59][DEBUG]zigate : STATUS code to command 0x0024:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', lqi:0 [2019-08-11 11:29:59][DEBUG]zigate : Waiting for message 0x8024 [2019-08-11 11:29:59][DEBUG]zigate : Stop waiting, got message 0x8024 Traceback (most recent call last): File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 329, in z.autoStart(args.channel) File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 339, in autoStart self.startup(channel) File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 368, in startup self.start_network(True) File "/usr/local/lib/python3.5/dist-packages/zigate/core.py", line 929, in start_network self._addr = data['addr'] KeyError: 'addr' [2019-08-11 11:29:59][INFO] : Démon zigate lancé

doudz commented 5 years ago

Le problème est ici RESPONSE 0x8024 - Network joined / formed : status:6, lqi:0 Le statut 6 n'est pas normal, on attend 0 ou 1. Il faut que je cherche ce que ça signifie

doudz commented 5 years ago

https://github.com/fairecasoimeme/ZiGate/issues/225

doudz commented 5 years ago

J'ai poussé une mise à jour en béta dispo demain qui pourrait résoudre le problème, à tester

Cartman34 commented 5 years ago

Est-ce un duplicat de mon ticket #209 ? Pour ma part, je ne sais pas comment passer en beta et je n'ai pas eu de réponse.

Dites33 commented 5 years ago

Bonjour @doudz, désolé pour le petit délai de réponse. J'ai poussé la beta, tout ok après reinstallation des dépendances, le plugin se lance et le daemon tourne. Cependant je n'arrive plus du tout à associer mes équipements Zigbee (des capteurs de températures qui fonctionnaient parfaitement). Je passe le plugin en inclusion, je met l'équipement en mode syncro et rien ne s'ajoute. Je reste en mode inclusion pendant 30 secondes puis basta.

Ci dessous mon log Zigate en debug

[2019-08-15 14:48:44][DEBUG]zigate : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json [2019-08-15 14:48:44][DEBUG]zigate : Saving persistent file [2019-08-15 14:48:44][DEBUG]zigate : Acquire Lock to save persistent file [2019-08-15 14:48:44][DEBUG]zigate : File already existing, make a backup before [2019-08-15 14:48:44][DEBUG]zigate : Release Lock of persistent file [2019-08-15 14:48:44][DEBUG]zigate : REQUEST : 0x0010 [2019-08-15 14:48:44][DEBUG]zigate : Msg to send b'0010000010' [2019-08-15 14:48:44][DEBUG]zigate : Encoded Msg to send b'01021010021002101003' [2019-08-15 14:48:44][DEBUG]zigate : Waiting for status message for command 0x0010 [2019-08-15 14:48:44][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x95\x02\x10\x02\x10\x02\x10\x10\x02\x10\x03\x01\x80\x10\x02\x10\x02\x15\x8f\x02\x10\x02\x13\x02\x13\x1a\x02\x10\x03' [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000010' [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8010: b'0003031a' [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8010 - Version list : major:3, installer:31a, lqi:0, version:3.1a [2019-08-15 14:48:44][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:48:44][DEBUG]zigate : STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-15 14:49:01][DEBUG] : callZiGate start_network_scan [2019-08-15 14:49:01][DEBUG]root : Message received in socket [2019-08-15 14:49:01][DEBUG]root : {'action': 'start_network_scan', 'args': ''} [2019-08-15 14:49:01][DEBUG]zigate : REQUEST : 0x0025 [2019-08-15 14:49:01][DEBUG]zigate : Msg to send b'0025000025' [2019-08-15 14:49:01][DEBUG]zigate : Encoded Msg to send b'01021025021002102503' [2019-08-15 14:49:01][DEBUG]zigate : Waiting for status message for command 0x0025 [2019-08-15 14:49:01][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xa2\x02\x12\x02\x10\x02\x10%\x02\x10\x03' [2019-08-15 14:49:01][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:49:01][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'02000025' [2019-08-15 14:49:01][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:2, sequence:0, packet_type:37, error:b'', lqi:0 [2019-08-15 14:49:01][ERROR][zigate](ZiGate-Decode data) : Command 0x0025 failed Unhandled command : b'' [2019-08-15 14:49:01][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:49:01][DEBUG]zigate : STATUS code to command 0x0025:RESPONSE 0x8000 - Status response : status:2, sequence:0, packet_type:37, error:b'', lqi:0 [2019-08-15 14:49:01][DEBUG]root : {'success': True, 'result': OrderedDict([('status', 2), ('sequence', 0), ('packet_type', 37), ('error', b''), ('lqi', 0)])} [2019-08-15 14:49:01][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [status] => 2 [sequence] => 0 [packet_type] => 37 [error] => [lqi] => 0 ) ) [2019-08-15 14:49:12][DEBUG] : callZiGate get_version_text [2019-08-15 14:49:12][DEBUG]root : Message received in socket [2019-08-15 14:49:12][DEBUG]root : {'action': 'get_version_text', 'args': ''} [2019-08-15 14:49:12][DEBUG]root : {'success': True, 'result': '3.1a'} [2019-08-15 14:49:12][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 3.1a ) [2019-08-15 14:49:12][DEBUG] : callZiGate get_libversion [2019-08-15 14:49:12][DEBUG]root : Message received in socket [2019-08-15 14:49:12][DEBUG]root : {'action': 'get_libversion', 'args': ''} [2019-08-15 14:49:12][DEBUG]root : {'success': True, 'result': '0.32.3'} [2019-08-15 14:49:12][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 0.32.3 ) [2019-08-15 14:49:24][DEBUG] : callZiGate permit_join [2019-08-15 14:49:24][DEBUG]root : Message received in socket [2019-08-15 14:49:24][DEBUG]root : {'action': 'permit_join', 'args': ''} [2019-08-15 14:49:24][DEBUG]zigate : REQUEST : 0x0049 FFFC1E00 [2019-08-15 14:49:24][DEBUG]zigate : Msg to send b'0049000450fffc1e00' [2019-08-15 14:49:24][DEBUG]zigate : Encoded Msg to send b'010210490210021450fffc1e021003' [2019-08-15 14:49:24][DEBUG]zigate : Waiting for status message for command 0x0049 [2019-08-15 14:49:24][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15.\x02\x10\xe2\x02\x10I\x02\x10\x03' [2019-08-15 14:49:24][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:49:24][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00e20049' [2019-08-15 14:49:24][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:226, packet_type:73, error:b'', lqi:0 [2019-08-15 14:49:24][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:49:24][DEBUG]zigate : STATUS code to command 0x0049:RESPONSE 0x8000 - Status response : status:0, sequence:226, packet_type:73, error:b'', lqi:0 [2019-08-15 14:49:24][DEBUG]root : {'success': True, 'result': OrderedDict([('status', 0), ('sequence', 226), ('packet_type', 73), ('error', b''), ('lqi', 0)])} [2019-08-15 14:49:24][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [status] => 0 [sequence] => 226 [packet_type] => 73 [error] => [lqi] => 0 ) ) [2019-08-15 14:50:04][DEBUG] : callZiGate get_version_text [2019-08-15 14:50:04][DEBUG]root : Message received in socket [2019-08-15 14:50:04][DEBUG]root : {'action': 'get_version_text', 'args': ''} [2019-08-15 14:50:04][DEBUG]root : {'success': True, 'result': '3.1a'} [2019-08-15 14:50:04][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 3.1a ) [2019-08-15 14:50:04][DEBUG] : callZiGate get_libversion [2019-08-15 14:50:04][DEBUG]root : Message received in socket [2019-08-15 14:50:04][DEBUG]root : {'action': 'get_libversion', 'args': ''} [2019-08-15 14:50:04][DEBUG]root : {'success': True, 'result': '0.32.3'} [2019-08-15 14:50:04][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 0.32.3 ) [2019-08-15 14:50:53][DEBUG] : Synchronisation des équipements entre le démon et jeedom [2019-08-15 14:50:53][DEBUG] : callZiGate devices [2019-08-15 14:50:53][DEBUG]root : Message received in socket [2019-08-15 14:50:53][DEBUG]root : {'action': 'devices', 'args': ''} [2019-08-15 14:50:53][DEBUG]root : {'success': True, 'result': []} [2019-08-15 14:50:53][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( ) ) [2019-08-15 14:50:53][DEBUG] : Désactivation des équipements manquants [2019-08-15 14:50:53][DEBUG] : callZiGate get_missing [2019-08-15 14:50:53][DEBUG]root : Message received in socket [2019-08-15 14:50:53][DEBUG]root : {'action': 'get_missing', 'args': ''} [2019-08-15 14:50:53][DEBUG]root : {'success': True, 'result': []} [2019-08-15 14:50:53][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( ) ) [2019-08-15 14:52:03][DEBUG] : callZiGate erase_persistent [2019-08-15 14:52:03][DEBUG]root : Message received in socket [2019-08-15 14:52:03][DEBUG]root : {'action': 'erase_persistent', 'args': ''} [2019-08-15 14:52:03][DEBUG]zigate : REQUEST : 0x0012 [2019-08-15 14:52:03][DEBUG]zigate : Msg to send b'0012000012' [2019-08-15 14:52:03][DEBUG]zigate : Encoded Msg to send b'01021012021002101203' [2019-08-15 14:52:03][DEBUG]root : {'success': True, 'result': False} [2019-08-15 14:52:03][DEBUG] : result callZiGate Array ( [success] => 1 [result] => ) [2019-08-15 14:52:03][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x97\x02\x10\x02\x10\x02\x10\x12\x02\x10\xff' [2019-08-15 14:52:03][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x17\x02\x10\x02\x12\x85\x02\x10\x02\x10\x03' [2019-08-15 14:52:03][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:52:03][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8007: b'00' [2019-08-15 14:52:03][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8007 - \u201cFactory New\u201d Restart : status:0, lqi:0 [2019-08-15 14:52:03][DEBUG][zigate](ZiGate-Decode data) : REQUEST : 0x0024 [2019-08-15 14:52:03][DEBUG][zigate](ZiGate-Decode data) : Msg to send b'0024000024' [2019-08-15 14:52:03][DEBUG][zigate](ZiGate-Decode data) : Encoded Msg to send b'01021024021002102403' [2019-08-15 14:52:03][DEBUG][zigate](ZiGate-Decode data) : Waiting for status message for command 0x0024 [2019-08-15 14:52:03][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10' [2019-08-15 14:52:03][DEBUG]zigate : Raw packet received, b'\x02\x15\xa1\x02' [2019-08-15 14:52:04][DEBUG]zigate : Raw packet received, b'\x10\x02\x10\x02\x10' [2019-08-15 14:52:04][DEBUG]zigate : Raw packet received, b'$\x02\x10\x03' [2019-08-15 14:52:04][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:52:04][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000024' [2019-08-15 14:52:04][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', lqi:0 [2019-08-15 14:52:04][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:52:04][DEBUG][zigate](ZiGate-Decode data) : STATUS code to command 0x0024:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', lqi:0 [2019-08-15 14:52:04][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:52:05][DEBUG]zigate : Raw packet received, b'\x01\x80$\x02\x10\x02\x1d\x15\x02\x11\x02\x10\x02\x10\x02\x10\x15\x8d\x02\x10\x02\x11\xedE\x87\x02\x1b\x02\x10\x03' [2019-08-15 14:52:05][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:52:05][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8024: b'01000000158d0001ed45870b' [2019-08-15 14:52:05][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8024 - Network joined / formed : status:1, lqi:0, addr:0000, ieee:00158d0001ed4587, channel:11 [2019-08-15 14:52:05][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:53:44][DEBUG]zigate : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json [2019-08-15 14:53:44][DEBUG]zigate : Saving persistent file [2019-08-15 14:53:44][DEBUG]zigate : Acquire Lock to save persistent file [2019-08-15 14:53:44][DEBUG]zigate : File already existing, make a backup before [2019-08-15 14:53:44][DEBUG]zigate : Release Lock of persistent file [2019-08-15 14:53:44][DEBUG]zigate : REQUEST : 0x0010 [2019-08-15 14:53:44][DEBUG]zigate : Msg to send b'0010000010' [2019-08-15 14:53:44][DEBUG]zigate : Encoded Msg to send b'01021010021002101003' [2019-08-15 14:53:44][DEBUG]zigate : Waiting for status message for command 0x0010 [2019-08-15 14:53:44][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x95\x02\x10\x02\x10\x02\x10\x10\x02\x10\x03\x01\x80\x10\x02\x10\x02\x15\x8f\x02\x10\x02\x13\x02\x13\x1a\x02\x10\x03' [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000010' [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8010: b'0003031a' [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8010 - Version list : major:3, installer:31a, lqi:0, version:3.1a [2019-08-15 14:53:44][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-15 14:53:44][DEBUG]zigate : STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-15 14:54:54][DEBUG] : callZiGate get_version_text [2019-08-15 14:54:54][DEBUG]root : Message received in socket [2019-08-15 14:54:54][DEBUG]root : {'action': 'get_version_text', 'args': ''} [2019-08-15 14:54:54][DEBUG]root : {'success': True, 'result': '3.1a'} [2019-08-15 14:54:54][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 3.1a ) [2019-08-15 14:54:54][DEBUG] : callZiGate get_libversion [2019-08-15 14:54:54][DEBUG]root : Message received in socket [2019-08-15 14:54:54][DEBUG]root : {'action': 'get_libversion', 'args': ''} [2019-08-15 14:54:54][DEBUG]root : {'success': True, 'result': '0.32.3'} [2019-08-15 14:54:54][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 0.32.3 )

doudz commented 5 years ago

@Cartman34 non votre problème est différent, il s'agit je pense d'un problème de configuration

doudz commented 5 years ago

@Amigagame il faudrait refaire un essai d'inclusion car en lisant le log je vois un erase_persistent après un permit_join, autrement dit une remise à zéro complète de la Zigate et donc un effacement des associations avec les équipements.

Il faut donc refaire l'association de tous les équipements

Dites33 commented 5 years ago

Merci @doudz mais les associations ne fonctionnent plus. J'ai essayé avec tous mes équipements, je reste en mode inclusion sans qu'il ne detecte quoi que ce soit. Je ne vois rien dans les logs concernants l'inclusion, juste la répétition, tout le temps, de ce que je t'ai envoyé.

Exemple ce midi , je vide le log debug, je passe en inclusion, j'essaye d'ajouter mon équipement (aquara sonde température), j'ai bien la led qui clignote plusieurs fois, mais rien ne se passe côté plugin. Par contre j'ai ce log.

[2019-08-16 12:23:24][DEBUG] : callZiGate permit_join [2019-08-16 12:23:24][DEBUG]root : Message received in socket [2019-08-16 12:23:24][DEBUG]root : {'action': 'permit_join', 'args': ''} [2019-08-16 12:23:24][DEBUG]zigate : REQUEST : 0x0049 FFFC1E00 [2019-08-16 12:23:24][DEBUG]zigate : Msg to send b'0049000450fffc1e00' [2019-08-16 12:23:24][DEBUG]zigate : Encoded Msg to send b'010210490210021450fffc1e021003' [2019-08-16 12:23:24][DEBUG]zigate : Waiting for status message for command 0x0049 [2019-08-16 12:23:24][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x96\x02\x10Z\x02\x10I\x02\x10\x03' [2019-08-16 12:23:24][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-16 12:23:24][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'005a0049' [2019-08-16 12:23:24][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:90, packet_type:73, error:b'', lqi:0 [2019-08-16 12:23:24][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-16 12:23:24][DEBUG]zigate : STATUS code to command 0x0049:RESPONSE 0x8000 - Status response : status:0, sequence:90, packet_type:73, error:b'', lqi:0 [2019-08-16 12:23:24][DEBUG]root : {'success': True, 'result': OrderedDict([('status', 0), ('sequence', 90), ('packet_type', 73), ('error', b''), ('lqi', 0)])} [2019-08-16 12:23:24][DEBUG] : result callZiGate Array ( [success] => 1 [result] => Array ( [status] => 0 [sequence] => 90 [packet_type] => 73 [error] => [lqi] => 0 ) ) [2019-08-16 12:23:45][DEBUG]zigate : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json [2019-08-16 12:23:45][DEBUG]zigate : Saving persistent file [2019-08-16 12:23:45][DEBUG]zigate : Acquire Lock to save persistent file [2019-08-16 12:23:45][DEBUG]zigate : File already existing, make a backup before [2019-08-16 12:23:45][DEBUG]zigate : Release Lock of persistent file [2019-08-16 12:23:45][DEBUG]zigate : REQUEST : 0x0010 [2019-08-16 12:23:45][DEBUG]zigate : Msg to send b'0010000010' [2019-08-16 12:23:45][DEBUG]zigate : Encoded Msg to send b'01021010021002101003' [2019-08-16 12:23:45][DEBUG]zigate : Waiting for status message for command 0x0010 [2019-08-16 12:23:46][DEBUG]zigate : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x95\x02\x10\x02\x10\x02\x10\x10\x02\x10\x03\x01\x80\x10\x02\x10\x02\x15\x8f\x02\x10\x02\x13\x02\x13\x1a\x02\x10\x03' [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000010' [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8010: b'0003031a' [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8010 - Version list : major:3, installer:31a, lqi:0, version:3.1a [2019-08-16 12:23:46][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED [2019-08-16 12:23:46][DEBUG]zigate : STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0 [2019-08-16 12:23:54][DEBUG] : callZiGate get_version_text [2019-08-16 12:23:54][DEBUG]root : Message received in socket [2019-08-16 12:23:54][DEBUG]root : {'action': 'get_version_text', 'args': ''} [2019-08-16 12:23:54][DEBUG]root : {'success': True, 'result': '3.1a'} [2019-08-16 12:23:54][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 3.1a ) [2019-08-16 12:23:54][DEBUG] : callZiGate get_libversion [2019-08-16 12:23:54][DEBUG]root : Message received in socket [2019-08-16 12:23:54][DEBUG]root : {'action': 'get_libversion', 'args': ''} [2019-08-16 12:23:54][DEBUG]root : {'success': True, 'result': '0.32.3'} [2019-08-16 12:23:54][DEBUG] : result callZiGate Array ( [success] => 1 [result] => 0.32.3 )

doudz commented 4 years ago

est-ce toujours d'actualité ? ça ressemble à #212