Bienvenue sur le forum de la ZiGate !

Ici, nous échangeons sur les produits ZiGate (matériellement) et les firmware.

Pour que vous puissiez gagner du temps, je vous conseille de visiter, dans un premier temps, les forums et documentations des plugins et box domotique que vous avez choisi :

Jeedom :

Forum : https://community.jeedom.com/
Plugin ZiGate : https://github.com/Jeedom-Zigate/jeedom-plugin-zigate
Plugin Abeille : https://github.com/KiwiHC16/Abeille + http://kiwihc16.free.fr/

Domoticz :

Forum Francophonehttps://easydomoticz.com/forum/viewforum.php?f=28
Forum Anglophonehttps://www.domoticz.com/forum/viewforum.php?f=68
Développeur: @pipiche38 disponible sur keybase.io en chat

EEdomus :

Forum : https://forum.eedomus.com/

Home-assistant :

Plugin : https://github.com/doudz/homeassistant-zigate
Zigpy : https://www.home-assistant.io/integrations/zha/

Fil d’Ariane du forum – Vous êtes ici :Forum de la ZiGatePiZiGate: Installation de la PiZiGateInstallation
Veuillez ou S’enregistrer pour créer des messages et des sujets de discussion.

Installation

Bonjour,

 

Je viens de recevoir ma Pizigate. j'essaye d'installer l'extension mais j'ai une erreur ( mode debbug ):

[code]

[2021-01-10 12:57:27][ERROR] : Erreur sur la fonction deamon_start du plugin : Vous devez attendre au moins 45 secondes entre deux lancements du démon. Dernier lancement : 2021-01-10 12:56:45
[2021-01-10 12:57:38][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device /dev/ttyAMA0 --gpio 0 --loglevel debug --apikey AAbgWIVv93IpmGCZ6Iqrttl2KK3bteFh --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
[2021-01-10 12:57:38][INFO][root](MainThread) : Start zigated
[2021-01-10 12:57:38][INFO][root](MainThread) : Log level : debug
[2021-01-10 12:57:38][INFO][root](MainThread) : Socket : /tmp/jeedom/zigate/daemon.sock
[2021-01-10 12:57:38][INFO][root](MainThread) : PID file : /tmp/jeedom/zigate/daemon.pid
[2021-01-10 12:57:38][INFO][root](MainThread) : Apikey : AAbgWIVv93IpmGCZ6Iqrttl2KK3bteFh
[2021-01-10 12:57:38][INFO][root](MainThread) : Device : /dev/ttyAMA0
[2021-01-10 12:57:38][INFO][root](MainThread) : Callback : http://127.0.0.1:80/plugins/zigate/core/php/jeeZiGate.php
[2021-01-10 12:57:38][INFO][root](MainThread) : Python version : 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0]
[2021-01-10 12:57:38][INFO][root](MainThread) : zigate version : 0.40.11
[2021-01-10 12:57:38][DEBUG][root](MainThread) : Writing PID 9426 to /tmp/jeedom/zigate/daemon.pid
[2021-01-10 12:57:38][DEBUG][root](MainThread) : Send to test to jeedom
[2021-01-10 12:57:38][DEBUG][root](MainThread) : Send to jeedom : {'action': 'test'}
[2021-01-10 12:57:38][DEBUG] : Array ( [action] => test )
[2021-01-10 12:57:38][DEBUG][root](MainThread) : Jeedom reply : {'success': True}
[2021-01-10 12:57:38][INFO][root](MainThread) : Démarrage ZiGate /dev/ttyAMA0
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : Try loading persistent file
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : Trying to load /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : Load neighbours cache: []
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : Load success
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : REQUEST : 0x0018 b'\x01'
[2021-01-10 12:57:38][ERROR][zigate](ZiGate-Listen) : OOPS connection lost, reconnect...
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : Msg to send b'001800011801'
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210180210021118021103'
[2021-01-10 12:57:38][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0018
[2021-01-10 12:57:39][INFO] : Démon zigate lancé
[2021-01-10 12:57:43][WARNING][zigate](MainThread) : No response after command 0x0018 (1)
[2021-01-10 12:57:43][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2021-01-10 12:57:43][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2021-01-10 12:57:43][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2021-01-10 12:57:43][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2021-01-10 12:57:48][WARNING][zigate](MainThread) : No response after command 0x0010 (2)
[2021-01-10 12:57:48][WARNING][zigate](MainThread) : Failed to retrieve zigate firmware version
[2021-01-10 12:57:48][DEBUG][zigate](MainThread) : REQUEST : 0x0021 b'\x07\x18\xc8\x00'
[2021-01-10 12:57:48][DEBUG][zigate](MainThread) : Msg to send b'00210004f20718c800'
[2021-01-10 12:57:48][DEBUG][zigate](MainThread) : Encoded Msg to send b'0102102102100214f2021718c8021003'
[2021-01-10 12:57:48][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0021
[2021-01-10 12:57:53][WARNING][zigate](MainThread) : No response after command 0x0021 (3)
[2021-01-10 12:57:53][DEBUG][zigate](MainThread) : REQUEST : 0x0023 b'\x00'
[2021-01-10 12:57:53][DEBUG][zigate](MainThread) : Msg to send b'002300012200'
[2021-01-10 12:57:53][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210230210021122021003'
[2021-01-10 12:57:53][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0023
[2021-01-10 12:57:58][WARNING][zigate](MainThread) : No response after command 0x0023 (4)
[2021-01-10 12:57:58][DEBUG][zigate](MainThread) : Check network state
[2021-01-10 12:57:58][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 12:57:58][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 12:57:58][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 12:57:58][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 12:58:03][WARNING][zigate](MainThread) : No response after command 0x0009 (5)
[2021-01-10 12:58:03][ERROR][zigate](MainThread) : Failed to get network state
[2021-01-10 12:58:03][DEBUG][zigate](MainThread) : Network is down, start it
[2021-01-10 12:58:03][DEBUG][zigate](MainThread) : REQUEST : 0x0024
[2021-01-10 12:58:03][DEBUG][zigate](MainThread) : Msg to send b'0024000024'
[2021-01-10 12:58:03][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021024021002102403'
[2021-01-10 12:58:03][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0024
[2021-01-10 12:58:08][WARNING][zigate](MainThread) : No response after command 0x0024 (6)
[2021-01-10 12:58:09][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 12:58:09][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 12:58:09][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 12:58:09][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 12:58:14][WARNING][zigate](MainThread) : No response after command 0x0009 (7)
[2021-01-10 12:58:15][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 12:58:15][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 12:58:15][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 12:58:15][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 12:58:20][WARNING][zigate](MainThread) : No response after command 0x0009 (8)
[2021-01-10 12:58:21][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 12:58:21][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 12:58:21][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 12:58:21][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 12:58:26][WARNING][zigate](MainThread) : No response after command 0x0009 (9)
[2021-01-10 12:58:26][ERROR][zigate](MainThread) : Failed to start network
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : REQUEST : 0x0011
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Msg to send b'0011000011'
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021011021002101103'
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Saving persistent file
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Acquire Lock to save persistent file
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Release Lock of persistent file
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2021-01-10 12:58:26][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2021-01-10 12:58:31][WARNING][zigate](MainThread) : No response after command 0x0010 (10)
[2021-01-10 12:58:31][DEBUG][zigate](MainThread) : REQUEST : 0x0018 b'\x00'
[2021-01-10 12:58:31][DEBUG][zigate](MainThread) : Msg to send b'001800011900'
[2021-01-10 12:58:31][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210180210021119021003'
[2021-01-10 12:58:31][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0018
[2021-01-10 12:58:36][WARNING][zigate](MainThread) : No response after command 0x0018 (11)
[2021-01-10 12:58:36][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2021-01-10 12:58:36][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2021-01-10 12:58:36][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2021-01-10 12:58:36][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2021-01-10 12:58:41][WARNING][zigate](MainThread) : No response after command 0x0010 (12)
[2021-01-10 12:58:41][WARNING][zigate](MainThread) : Failed to retrieve zigate firmware version
[2021-01-10 12:58:41][INFO][root](MainThread) : Firmware ZiGate : None
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 336, in <module>
if version < '3.0d':
TypeError: '<' not supported between instances of 'NoneType' and 'str'
[2021-01-10 13:00:04][INFO] : Lancement démon zigate : /usr/bin/python3 /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py --device /dev/ttyAMA0 --gpio 0 --loglevel debug --apikey AAbgWIVv93IpmGCZ6Iqrttl2KK3bteFh --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
[2021-01-10 13:00:04][INFO][root](MainThread) : Start zigated
[2021-01-10 13:00:04][INFO][root](MainThread) : Log level : debug
[2021-01-10 13:00:04][INFO][root](MainThread) : Socket : /tmp/jeedom/zigate/daemon.sock
[2021-01-10 13:00:04][INFO][root](MainThread) : PID file : /tmp/jeedom/zigate/daemon.pid
[2021-01-10 13:00:04][INFO][root](MainThread) : Apikey : AAbgWIVv93IpmGCZ6Iqrttl2KK3bteFh
[2021-01-10 13:00:04][INFO][root](MainThread) : Device : /dev/ttyAMA0
[2021-01-10 13:00:04][INFO][root](MainThread) : Callback : http://127.0.0.1:80/plugins/zigate/core/php/jeeZiGate.php
[2021-01-10 13:00:04][INFO][root](MainThread) : Python version : 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0]
[2021-01-10 13:00:04][INFO][root](MainThread) : zigate version : 0.40.11
[2021-01-10 13:00:04][DEBUG][root](MainThread) : Writing PID 10576 to /tmp/jeedom/zigate/daemon.pid
[2021-01-10 13:00:04][DEBUG][root](MainThread) : Send to test to jeedom
[2021-01-10 13:00:04][DEBUG][root](MainThread) : Send to jeedom : {'action': 'test'}
[2021-01-10 13:00:04][DEBUG] : Array ( [action] => test )
[2021-01-10 13:00:04][DEBUG][root](MainThread) : Jeedom reply : {'success': True}
[2021-01-10 13:00:04][INFO][root](MainThread) : Démarrage ZiGate /dev/ttyAMA0
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : Try loading persistent file
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : Trying to load /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : Load neighbours cache: []
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : Load success
[2021-01-10 13:00:04][ERROR][zigate](ZiGate-Listen) : OOPS connection lost, reconnect...
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : REQUEST : 0x0018 b'\x01'
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : Msg to send b'001800011801'
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210180210021118021103'
[2021-01-10 13:00:04][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0018
[2021-01-10 13:00:05][INFO] : Démon zigate lancé
[2021-01-10 13:00:09][WARNING][zigate](MainThread) : No response after command 0x0018 (1)
[2021-01-10 13:00:09][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2021-01-10 13:00:09][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2021-01-10 13:00:09][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2021-01-10 13:00:09][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2021-01-10 13:00:14][WARNING][zigate](MainThread) : No response after command 0x0010 (2)
[2021-01-10 13:00:14][WARNING][zigate](MainThread) : Failed to retrieve zigate firmware version
[2021-01-10 13:00:14][DEBUG][zigate](MainThread) : REQUEST : 0x0021 b'\x07\x18\xc8\x00'
[2021-01-10 13:00:14][DEBUG][zigate](MainThread) : Msg to send b'00210004f20718c800'
[2021-01-10 13:00:14][DEBUG][zigate](MainThread) : Encoded Msg to send b'0102102102100214f2021718c8021003'
[2021-01-10 13:00:14][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0021
[2021-01-10 13:00:19][WARNING][zigate](MainThread) : No response after command 0x0021 (3)
[2021-01-10 13:00:19][DEBUG][zigate](MainThread) : REQUEST : 0x0023 b'\x00'
[2021-01-10 13:00:19][DEBUG][zigate](MainThread) : Msg to send b'002300012200'
[2021-01-10 13:00:19][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210230210021122021003'
[2021-01-10 13:00:19][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0023
[2021-01-10 13:00:24][WARNING][zigate](MainThread) : No response after command 0x0023 (4)
[2021-01-10 13:00:24][DEBUG][zigate](MainThread) : Check network state
[2021-01-10 13:00:24][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 13:00:24][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 13:00:24][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 13:00:24][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 13:00:29][WARNING][zigate](MainThread) : No response after command 0x0009 (5)
[2021-01-10 13:00:29][ERROR][zigate](MainThread) : Failed to get network state
[2021-01-10 13:00:29][DEBUG][zigate](MainThread) : Network is down, start it
[2021-01-10 13:00:29][DEBUG][zigate](MainThread) : REQUEST : 0x0024
[2021-01-10 13:00:29][DEBUG][zigate](MainThread) : Msg to send b'0024000024'
[2021-01-10 13:00:29][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021024021002102403'
[2021-01-10 13:00:29][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0024
[2021-01-10 13:00:34][WARNING][zigate](MainThread) : No response after command 0x0024 (6)
[2021-01-10 13:00:35][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 13:00:35][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 13:00:35][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 13:00:35][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 13:00:40][WARNING][zigate](MainThread) : No response after command 0x0009 (7)
[2021-01-10 13:00:41][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 13:00:41][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 13:00:41][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 13:00:41][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 13:00:46][WARNING][zigate](MainThread) : No response after command 0x0009 (8)
[2021-01-10 13:00:47][DEBUG][zigate](MainThread) : REQUEST : 0x0009
[2021-01-10 13:00:47][DEBUG][zigate](MainThread) : Msg to send b'0009000009'
[2021-01-10 13:00:47][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210021902100210021903'
[2021-01-10 13:00:47][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0009
[2021-01-10 13:00:52][WARNING][zigate](MainThread) : No response after command 0x0009 (9)
[2021-01-10 13:00:52][ERROR][zigate](MainThread) : Failed to start network
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : REQUEST : 0x0011
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Msg to send b'0011000011'
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021011021002101103'
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Auto saving /var/www/html/plugins/zigate/core/class/../../resources/zigated/zigate.json
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Saving persistent file
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Acquire Lock to save persistent file
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Release Lock of persistent file
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2021-01-10 13:00:52][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2021-01-10 13:00:57][WARNING][zigate](MainThread) : No response after command 0x0010 (10)
[2021-01-10 13:00:57][DEBUG][zigate](MainThread) : REQUEST : 0x0018 b'\x00'
[2021-01-10 13:00:57][DEBUG][zigate](MainThread) : Msg to send b'001800011900'
[2021-01-10 13:00:57][DEBUG][zigate](MainThread) : Encoded Msg to send b'010210180210021119021003'
[2021-01-10 13:00:57][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0018
[2021-01-10 13:01:02][WARNING][zigate](MainThread) : No response after command 0x0018 (11)
[2021-01-10 13:01:02][DEBUG][zigate](MainThread) : REQUEST : 0x0010
[2021-01-10 13:01:02][DEBUG][zigate](MainThread) : Msg to send b'0010000010'
[2021-01-10 13:01:02][DEBUG][zigate](MainThread) : Encoded Msg to send b'01021010021002101003'
[2021-01-10 13:01:02][DEBUG][zigate](MainThread) : Waiting for status message for command 0x0010
[2021-01-10 13:01:07][WARNING][zigate](MainThread) : No response after command 0x0010 (12)
[2021-01-10 13:01:07][WARNING][zigate](MainThread) : Failed to retrieve zigate firmware version
[2021-01-10 13:01:07][INFO][root](MainThread) : Firmware ZiGate : None
Traceback (most recent call last):
File "/var/www/html/plugins/zigate/core/class/../../resources/zigated/zigated.py", line 336, in <module>
if version < '3.0d':
TypeError: '<' not supported between instances of 'NoneType' and 'str'

[/code]

voici aussi comment est configurer la pizigate :

 

 

merci pour votre aide ...

 

Bonjour,

Etes-vous sur du port ? quel modèle de raspberry avez-vous ?

Fred

En effet je n'étais pas sur le bon port. J'avais réussi a associé mon Xiaomi sensor. Mais a ce jour, je n'y arrive plus ... 🙁

Translate »