jeedom-zigate / jeedom-plugin-zigate

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

Prise Legrand Valena Next ne réagit pas à une Zigate USB #264

Closed Lechienv2 closed 4 years ago

Lechienv2 commented 4 years ago

Bonjour, Je suis loin d'être expert Jeedom. Après avoir utilisé les protocile RFXCOM et Z-Wave je viens d'installer le protocole Zigate pour tester une prise Legrand Valena Next. Après plusieurs soucis, j'ai été en contact avec Sébastien Ramage qui m'a aimablement aidé. J'ai entre autre migré mon Jeedom vers la V4. A ce stade tout semble fonctionner: dépendances, demon, équipement détecté et installé, LQI = 105, ...

Par contre l'interrupteur ne réagit à aucune des commandes. (+ Pour info, l'équipement se désactive tout seul assez fréquemment)

Sébastien Ramage m'a demandé de créer une issue sur Github et d'y ajouter le log du démon en debug.

Voici donc le log.

Jeedom Log.docx

Merci pour votre aide

Vincent Lechien

doudz commented 4 years ago
2020-05-04 23:25:38][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py  --device /dev/ttyUSB1 --gpio 0 --loglevel debug --apikey KmOSi8csvCZKKqYfZrL7AGWMXRKOfFng --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 --enable_led 0
[2020-05-04 21:25:40][INFO][root](MainThread) : Start zigated
[2020-05-04 21:25:40][INFO][root](MainThread) : Log level : debug
[2020-05-04 21:25:40][INFO][root](MainThread) : Socket : /tmp/jeedom/zigate/daemon.sock
[2020-05-04 21:25:40][INFO][root](MainThread) : PID file : /tmp/jeedom/zigate/daemon.pid
[2020-05-04 21:25:40][INFO][root](MainThread) : Apikey : KmOSi8csvCZKKqYfZrL7AGWMXRKOfFng
[2020-05-04 21:25:40][INFO][root](MainThread) : Device : /dev/ttyUSB1
[2020-05-04 21:25:40][INFO][root](MainThread) : Callback : http://127.0.0.1:80/plugins/zigate/core/php/jeeZiGate.php
[2020-05-04 21:25:40][INFO][root](MainThread) : Python version : 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516]
[2020-05-04 21:25:40][INFO][root](MainThread) : zigate version : 0.38.6
[2020-05-04 21:25:40][DEBUG][root](MainThread) : Writing PID 1983 to /tmp/jeedom/zigate/daemon.pid
[2020-05-04 21:25:40][DEBUG][root](MainThread) : Send to test to jeedom
[2020-05-04 21:25:40][DEBUG][root](MainThread) : Send to jeedom :  {'action': 'test'}
[2020-05-04 21:25:40][DEBUG][requests.packages.urllib3.connectionpool](MainThread) : Starting new HTTP connection (1): 127.0.0.1
[2020-05-04 23:25:40][DEBUG] : Array (     [action] => test )
[2020-05-04 21:25:40][DEBUG][requests.packages.urllib3.connectionpool](MainThread) : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=KmOSi8csvCZKKqYfZrL7AGWMXRKOfFng HTTP/1.1" 200 16
[2020-05-04 21:25:40][DEBUG][root](MainThread) : Jeedom reply :  {'success': True}
[2020-05-04 21:25:40][INFO][root](MainThread) : Démarrage ZiGate /dev/ttyUSB1
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Try loading persistent file
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Trying to load /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Load neighbours cache: []
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Load success
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : REQUEST : 0x0018 b'\x00'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Msg to send b'001800011900'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210180210021119021003'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0018
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x9d\x02\x10\x02\x10\x02\x10\x18\x02\x10\x03'
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000018'
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:24, error:b'', lqi:0
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : STATUS code to command 0x0018:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:24, error:b'', lqi:0
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Listen) : 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\x89\x02\x10\x02\x13\x02\x13\x1c\x02\x10\x03'
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000010'
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8010: b'0003031c'
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8010 - Version list : major:3, installer:31c, lqi:0, version:3.1c
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Waiting for message 0x8010
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Stop waiting, got message 0x8010
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : REQUEST : 0x0021 b'\x07\x18\xc8\x00'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Msg to send b'00210004f20718c800'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Encoded Msg to send b'0102102102100214f2021718c8021003'
[2020-05-04 21:25:40][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0021
[2020-05-04 21:25:40][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x805\x02\x10\x02\x16A\x02\x13\x02\x10\x02\x10\xf1\x02\x10\x02\x10\x03\x01\x80\x02\x10\x02\x10\x02\x15\xa4\x02\x10\x02\x10\x02\x10!\x02\x10\x03'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8035: b'030000f100'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][WARNING][zigate](ZiGate-Decode data) : Unknown response 0x8035
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x0000 - Base response : additional:b'\x03\x00\x00\xf1\x00', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000021'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0021:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : REQUEST : 0x0023 b'\x00'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Msg to send b'002300012200'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210230210021122021003'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0023
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x805\x02\x10\x02\x16\xb1\x02\x13\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x03\x01\x80\x02\x10\x02\x10\x02\x15\xa6\x02\x10\x02\x10\x02\x10#\x02\x10\x03'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8035: b'0300000001'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][WARNING][zigate](ZiGate-Decode data) : Unknown response 0x8035
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x0000 - Base response : additional:b'\x03\x00\x00\x00\x01', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000023'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0023:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Check network state
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Listen) : 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\x16j\x02\x10\x02\x10\x02\x10\x15\x8d\x02\x10\x02\x12\x1e+oL\xb0\xb8\x02\x14\x02\x1e9\x9e0:\xdd\x02\x1b\x02\x10\x03'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000009'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8009: b'000000158d00021e2b6f4cb0b8040e399e303add0b'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8009 - Network state response : addr:0000, ieee:00158d00021e2b6f, panid:19632, extended_panid:13259738843515468509, channel:11, lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0009:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for message 0x8009
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Stop waiting, got message 0x8009
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Set Zigate normal mode (firmware >= 3.1a)
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : REQUEST : 0x0002 b'\x00'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Msg to send b'000200010300'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'0102100212021002110213021003'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0002
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x805\x02\x10\x02\x16\xb1\x02\x13\x02\x10\x02\x10\x02\x10\x02\x11\x02\x10\x03\x01\x80\x02\x10\x02\x10\x02\x15\x87\x02\x10\x02\x10\x02\x10\x02\x12\x02\x10\x03'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8035: b'0300000001'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][WARNING][zigate](ZiGate-Decode data) : Unknown response 0x8035
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x0000 - Base response : additional:b'\x03\x00\x00\x00\x01', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000002'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:2, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0002:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:2, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Set Zigate Time (firmware >= 3.0f)
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : REQUEST : 0x0016 b'&CD\xd5'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Msg to send b'00160004e6264344d5'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'0102101602100214e6264344d503'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0016
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x93\x02\x10\x02\x10\x02\x10\x16\x02\x10\x03'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000016'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:22, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0016:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:22, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : REQUEST : 0x0015
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Msg to send b'0015000015'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021015021002101503'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0015
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x90\x02\x10\x02\x10\x02\x10\x15\x02\x10\x03\x01\x80\x15\x02\x10\x02\x11\x94\x02\x10\x03'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000015'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8015: b''
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8015 - Device list : devices:[], lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Known devices in zigate : set()
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Previous devices missing : set()
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0015:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for message 0x8015
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Stop waiting, got message 0x8015
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Saving persistent file
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Acquire Lock to save persistent file
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Release Lock of persistent file
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Listen) : 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\x89\x02\x10\x02\x13\x02\x13\x1c\x02\x10\x03'
[2020-05-04 23:25:41][INFO] : Démon zigate lancé
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000010'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8010: b'0003031c'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8010 - Version list : major:3, installer:31c, lqi:0, version:3.1c
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0010:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : REQUEST : 0x0018 b'\x00'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Msg to send b'001800011900'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210180210021119021003'
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0018
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Listen) : Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x9d\x02\x10\x02\x10\x02\x10\x18\x02\x10\x03'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Event Loop) : Dispatch ZIGATE_PACKET_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Received response 0x8000: b'00000018'
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:24, error:b'', lqi:0
[2020-05-04 21:25:41][DEBUG][zigate](ZiGate-Decode data) : Dispatch ZIGATE_RESPONSE_RECEIVED
[2020-05-04 21:25:41][DEBUG][zigate](MainThread) : STATUS code to command 0x0018:RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:24, error:b'', lqi:0
[2020-05-04 21:25:41][INFO][root](MainThread) : Firmware ZiGate : 3.1c
[2020-05-04 21:25:42][DEBUG][root](Thread-1) : Send to jeedom :  {'action': 'syncEqLogicWithZiGate'}
[2020-05-04 21:25:42][DEBUG][requests.packages.urllib3.connectionpool](Thread-1) : Starting new HTTP connection (1): 127.0.0.1
[2020-05-04 23:25:42][DEBUG] : Array (     [action] => syncEqLogicWithZiGate )
[2020-05-04 23:25:42][DEBUG] : Création de l'objet ZiGate
[2020-05-04 23:25:42][DEBUG] : callZiGate addr
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'action': 'addr', 'args': ''}
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'result': '0000', 'success': True}
[2020-05-04 23:25:42][DEBUG] : result callZiGate Array (     [result] => 0000     [success] => 1 )
[2020-05-04 23:25:42][DEBUG] : callZiGate ieee
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'action': 'ieee', 'args': ''}
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'result': '00158d00021e2b6f', 'success': True}
[2020-05-04 23:25:42][DEBUG] : result callZiGate Array (     [result] => 00158d00021e2b6f     [success] => 1 )
[2020-05-04 23:25:42][DEBUG] : Synchronisation des équipements entre le démon et jeedom
[2020-05-04 23:25:42][DEBUG] : callZiGate devices
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'action': 'devices', 'args': ''}
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'result': [], 'success': True}
[2020-05-04 23:25:42][DEBUG] : result callZiGate Array (     [result] => Array         (         )      [success] => 1 )
[2020-05-04 23:25:42][DEBUG] : Désactivation des équipements manquants
[2020-05-04 23:25:42][DEBUG] : callZiGate get_missing
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'action': 'get_missing', 'args': ''}
[2020-05-04 21:25:42][DEBUG][root](Thread-5) : {'result': [], 'success': True}
[2020-05-04 23:25:42][DEBUG] : result callZiGate Array (     [result] => Array         (         )      [success] => 1 )
[2020-05-04 21:25:42][DEBUG][requests.packages.urllib3.connectionpool](Thread-1) : http://127.0.0.1:80 "POST /plugins/zigate/core/php/jeeZiGate.php?apikey=KmOSi8csvCZKKqYfZrL7AGWMXRKOfFng HTTP/1.1" 200 16
[2020-05-04 21:25:42][DEBUG][root](Thread-1) : Jeedom reply :  {'success': True}
[2020-05-04 23:26:51][DEBUG] : callZiGate get_version_text
[2020-05-04 21:26:51][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:26:51][DEBUG][root](Thread-5) : {'action': 'get_version_text', 'args': ''}
[2020-05-04 21:26:51][DEBUG][root](Thread-5) : {'result': '3.1c', 'success': True}
[2020-05-04 23:26:51][DEBUG] : result callZiGate Array (     [result] => 3.1c     [success] => 1 )
[2020-05-04 23:26:51][DEBUG] : callZiGate get_libversion
[2020-05-04 21:26:51][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:26:51][DEBUG][root](Thread-5) : {'action': 'get_libversion', 'args': ''}
[2020-05-04 21:26:51][DEBUG][root](Thread-5) : {'result': '0.38.6', 'success': True}
[2020-05-04 23:26:51][DEBUG] : result callZiGate Array (     [result] => 0.38.6     [success] => 1 )
[2020-05-04 23:29:16][DEBUG] : callZiGate get_version_text
[2020-05-04 21:29:16][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:29:16][DEBUG][root](Thread-5) : {'action': 'get_version_text', 'args': ''}
[2020-05-04 21:29:16][DEBUG][root](Thread-5) : {'result': '3.1c', 'success': True}
[2020-05-04 23:29:16][DEBUG] : result callZiGate Array (     [result] => 3.1c     [success] => 1 )
[2020-05-04 23:29:16][DEBUG] : callZiGate get_libversion
[2020-05-04 21:29:16][DEBUG][root](Thread-5) : Message received in socket
[2020-05-04 21:29:16][DEBUG][root](Thread-5) : {'action': 'get_libversion', 'args': ''}
[2020-05-04 21:29:16][DEBUG][root](Thread-5) : {'result': '0.38.6', 'success': True}
[2020-05-04 23:29:16][DEBUG] : result callZiGate Array (     [result] => 0.38.6     [success] => 1 )
doudz commented 4 years ago

Dans le log on ne voit pas de tentative d'envoi de commande. Pourriez-vous poster un nouveau log toujours en mode en debug en testant les différentes commandes ? (ON/ OFF)

Lechienv2 commented 4 years ago

Bonsoir,

Je viens de supprimer la prise, puis je l’ai re-incluse.

Il semble que cela fonctionne maintenant. Bizarre.

Désolé du dérangement et merci pour vos conseils.

Bien à vous

Vincent Lechien

From: Sébastien RAMAGE notifications@github.com Sent: Saturday, May 9, 2020 1:10 PM To: jeedom-zigate/jeedom-plugin-zigate jeedom-plugin-zigate@noreply.github.com Cc: Lechienv2 vincent.lechien@skynet.be; Author author@noreply.github.com Subject: Re: [jeedom-zigate/jeedom-plugin-zigate] Prise Legrand Valena Next ne réagit pas à une Zigate USB (#264)

Dans le log on ne voit pas de tentative d'envoi de commande. Pourriez-vous poster un nouveau log toujours en mode en debug en testant les différentes commandes ? (ON/ OFF)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jeedom-zigate/jeedom-plugin-zigate/issues/264#issuecomment-626150903 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APOO3I2R7AQANFD7E7OLKZDRQU2XLANCNFSM4MZDHSBQ .