Page 1 sur 2

[Résolu] I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 02 avr. 2022, 22:22
par ebretteville
Bonjour,

J'ai réinstallé le plugin v6. Le firmware est le 3.21.
Tous les tests avec TestGUI (https://zigate.fr/documentation/tester- ... /?seq_no=2) fonctionne jusqu'à l'inclusion.

Les logs domoticz:

Code : Tout sélectionner

2022-04-02 22:06:35.247 ZiGateV6: Worker thread started.
2022-04-02 22:06:35.247 Status: ZiGateV6: Entering work loop.
2022-04-02 22:06:35.247 Status: ZiGateV6: Started.
2022-04-02 22:06:37.052 Status: Python EventSystem: Initializing event module.
2022-04-02 22:06:38.821 ZiGateV6: Zigbee for Domoticz plugin started!
2022-04-02 22:06:38.847 ZiGateV6: load PluginConf
2022-04-02 22:06:38.851 ZiGateV6: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-04-02 22:06:38.851 ZiGateV6: is_domoticz_db_available: True
2022-04-02 22:06:38.852 ZiGateV6: /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-49.json timestamp is 1648927519.5731952
2022-04-02 22:06:38.852 ZiGateV6: Dz PluginConf is older than Json Dz: 0 Json: 1648927519.5731952
2022-04-02 22:06:38.854 ZiGateV6: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-04-02 22:06:38.854 ZiGateV6: is_domoticz_db_available: True
2022-04-02 22:06:38.857 ZiGateV6: Starting LoggingManagement thread
2022-04-02 22:06:38.858 ZiGateV6: start_logging_thread
2022-04-02 22:06:38.860 ZiGateV6: logging_thread - listening
2022-04-02 22:06:38.815 Status: ZiGateV6: Initialized version 6.1, author 'pipiche38'
2022-04-02 22:06:38.856 Status: ZiGateV6: PluginAnalytics set to 1
2022-04-02 22:06:38.856 Status: ZiGateV6: Lang set to fr-FR
2022-04-02 22:06:38.856 Status: ZiGateV6: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-49.json
2022-04-02 22:06:38.856 Status: ZiGateV6: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-04-02 22:06:38.856 Status: ZiGateV6: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-04-02 22:06:38.856 Status: ZiGateV6: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/
2022-04-02 22:06:38.857 Status: ZiGateV6: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-04-02 22:06:38.857 Status: ZiGateV6: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-04-02 22:06:38.857 Status: ZiGateV6: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-04-02 22:06:38.857 Status: ZiGateV6: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www/
2022-04-02 22:06:38.857 Status: ZiGateV6: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-04-02 22:06:38.860 Status: ZiGateV6: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigbee_49.log
2022-04-02 22:06:38.880 Status: ZiGateV6: Zigate plugin stable6-6.1.001 started
2022-04-02 22:06:38.954 Status: ZiGateV6: DeviceConf loaded - 23 confs loaded
2022-04-02 22:06:38.924 Error: ZiGateV6: Device creation failed, Domoticz settings prevent accepting new devices.
2022-04-02 22:06:38.924 Error: ZiGateV6: createAdminWidget - Fail to create Zigate Status 49. ID: -1, Name: 'Zigate Status 49', nValue: 0, sValue: ''
2022-04-02 22:06:38.924 Error: ZiGateV6: Device creation failed, Domoticz settings prevent accepting new devices.
2022-04-02 22:06:38.924 Error: ZiGateV6: createNotificationWidget - Fail to create Zigate Notifications 49. ID: -1, Name: 'Zigate Notifications 49', nValue: 0, sValue: ''
2022-04-02 22:06:39.834 ZiGateV6: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-04-02 22:06:39.834 ZiGateV6: is_domoticz_db_available: True
2022-04-02 22:06:39.843 ZiGateV6: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-04-02 22:06:39.843 ZiGateV6: is_domoticz_db_available: True
2022-04-02 22:06:39.837 Status: ZiGateV6: DeviceConf loaded - 331 confs loaded
2022-04-02 22:06:39.838 Status: ZiGateV6: load ListOfDevice
2022-04-02 22:06:39.846 Status: ZiGateV6: 0 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-49.txt
2022-04-02 22:06:39.849 Status: ZiGateV6: Transport mode: USB
2022-04-02 22:06:40.502 Status: ZiGateV6: ZigateTransport: Serial Connection open: Serial<id=0x606afcd0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-04-02 22:06:40.512 Status: ZiGateV6: ZigateTransport: writer_thread Thread start.
2022-04-02 22:06:40.514 Status: ZiGateV6: ZigateTransport: thread_processing_and_sending Thread start.
2022-04-02 22:06:40.539 Status: ZiGateV6: Start Web Server connection
2022-04-02 22:06:40.570 Status: ZiGateV6: Web backend for Web User Interface started on port: 9440
2022-04-02 22:07:53.069 Error: ZiGateV6: [ 61] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-04-02 22:07:53.099 Error: ZiGateV6: [ ] Stop the plugin and check the Coordinator connectivity.
2022-04-02 22:07:54.071 Error: ZiGateV6: [ 62] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-04-02 22:07:54.105 Error: ZiGateV6: [ ] Stop the plugin and check the Coordinator connectivity.
2022-04-02 22:07:55.074 Error: ZiGateV6: [ 63] I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Code : Tout sélectionner

pi@domoticz-tours:~ $ dmesg | grep tty 
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
[    0.001130] printk: console [tty1] enabled
[    3.085943] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    3.125713] printk: console [ttyAMA0] enabled
[    4.591322]     kgdboc=ttyAMA0,115200
[    7.044344] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    9.347728] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
[    9.350644] cdc_acm 1-1.5:1.0: ttyACM1: USB ACM device
[    9.607584] usb 1-1.2.4: pl2303 converter now attached to ttyUSB0
[   33.814647] pl2303 ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
[   34.401615] pl2303 ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32

Code : Tout sélectionner

pi@domoticz-tours:~ $ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 avril  2 22:21 /dev/ttyUSB0
pi@domoticz-tours:~ $ ls -l /dev/serial/by-id/*
lrwxrwxrwx 1 root root 13 avril  2 22:06 /dev/serial/by-id/usb-0658_0200-if00 -> ../../ttyACM1
lrwxrwxrwx 1 root root 13 avril  2 22:06 /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_55639313133351F08022-if00 -> ../../ttyACM0
lrwxrwxrwx 1 root root 13 avril  2 22:06 /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 -> ../../ttyUSB0
Merci de votre aide

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 02 avr. 2022, 22:31
par ebretteville
J'ai les 2 devices des gestions (j'avais oublié de mettre en mode autoriser les nouveaux périphériques). En revanche tjrs les erreurs de communications:

Code : Tout sélectionner

 2022-04-02 22:25:13.031 Status: ZiGate: Initialized version 6.1, author 'pipiche38'
2022-04-02 22:25:13.038 Status: ZiGate: PluginAnalytics set to 1
2022-04-02 22:25:13.038 Status: ZiGate: Lang set to fr-FR
2022-04-02 22:25:13.038 Status: ZiGate: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-49.json
2022-04-02 22:25:13.038 Status: ZiGate: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-04-02 22:25:13.038 Status: ZiGate: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee/
2022-04-02 22:25:13.038 Status: ZiGate: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/
2022-04-02 22:25:13.038 Status: ZiGate: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/
2022-04-02 22:25:13.038 Status: ZiGate: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware/
2022-04-02 22:25:13.038 Status: ZiGate: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports/
2022-04-02 22:25:13.038 Status: ZiGate: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www/
2022-04-02 22:25:13.038 Status: ZiGate: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs/
2022-04-02 22:25:13.040 Status: ZiGate: Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigbee_49.log
2022-04-02 22:25:13.050 Status: ZiGate: Zigate plugin stable6-6.1.001 started
2022-04-02 22:25:13.099 Status: ZiGate: DeviceConf loaded - 23 confs loaded
2022-04-02 22:25:13.343 Status: ZiGate: DeviceConf loaded - 331 confs loaded
2022-04-02 22:25:13.344 Status: ZiGate: load ListOfDevice
2022-04-02 22:25:13.349 Status: ZiGate: 0 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigbee/Data/DeviceList-49.txt
2022-04-02 22:25:13.350 Status: ZiGate: Transport mode: USB
2022-04-02 22:25:13.907 Status: ZiGate: ZigateTransport: Serial Connection open: Serial<id=0x6cf7e9d0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-04-02 22:25:13.912 Status: ZiGate: ZigateTransport: writer_thread Thread start.
2022-04-02 22:25:13.914 Status: ZiGate: ZigateTransport: thread_processing_and_sending Thread start.
2022-04-02 22:25:13.916 Status: ZiGate: Start Web Server connection
2022-04-02 22:25:13.941 Status: ZiGate: Web backend for Web User Interface started on port: 9440
2022-04-02 22:26:13.093 Error: ZiGate: [ 61] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-04-02 22:26:13.139 Error: ZiGate: [ ] Stop the plugin and check the Coordinator connectivity.
2022-04-02 22:26:14.095 Error: ZiGate: [ 62] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2022-04-02 22:26:14.131 Error: ZiGate: [ ] Stop the plugin and check the Coordinator connectivity.
2022-04-02 22:26:15.097 Error: ZiGate: [ 63] I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 02 avr. 2022, 23:02
par pipiche
As-tu vérifier dans le menu Hardware que

Le Coordinator Model est bien Zigate ou Zigate+ ?

Est-ce une nouvelle installation ? Ou un passage depuis la version 5 ?
As-tu bien suivi toutes les etapes de l'installation telle que decrite ?

Peux-tu regarder les Logs dans /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs//PluginZigbee_49.log

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 02 avr. 2022, 23:30
par ebretteville
1. Ou la vérification. Dans domoticz ZiGate est bien sélectionné
2. Nouvelle installation, le passage de la v5 a la v6 c'est pas bien passé. Je n'avais pas de dispositifs.
3. Oui ttes les étapes ont été suivies.
4. le fichier de logs est en PJ

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 02 avr. 2022, 23:42
par pipiche
peux-tu faire les commandes suivantes dans le home du plugin

Code : Tout sélectionner

cd domoticz/plugins/Domoticz-Zigbee
touch Domoticz.log
python3 plugin.py

Code : Tout sélectionner

ls -l 

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 02 avr. 2022, 23:49
par pipiche
Il s'agit d'une premiere installation , dans ce cas as-tu bien activé le parametre

Initialize Coordinator: True
Screenshot 2022-04-02 at 23.49.19.png
Screenshot 2022-04-02 at 23.49.19.png (60.21 Kio) Consulté 2487 fois

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 03 avr. 2022, 00:10
par ebretteville
Oui paramètre a true.

Code : Tout sélectionner

pi@domoticz-tours:~/domoticz/plugins/Domoticz-Zigbee $ touch Domoticz.log
pi@domoticz-tours:~/domoticz/plugins/Domoticz-Zigbee $ python3 plugin.py
Traceback (most recent call last):
  File "plugin.py", line 72, in <module>
    import Domoticz
ModuleNotFoundError: No module named 'Domoticz'
pi@domoticz-tours:~/domoticz/plugins/Domoticz-Zigbee $
Envoyé de mon ZTE A2322G en utilisant Tapatalk


Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 03 avr. 2022, 09:10
par pipiche
Étrange.
As tu access au webUI sur le port 9440 ?
Si oui il faut que tu ailles dans le menu Tools>Debug
Que tu actives les paramètres

DebugInputs
DebugPlugin
DebugTransport

Tu relances le plug-in et tu partages les logs


Envoyé de mon iPhone en utilisant Tapatalk

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 03 avr. 2022, 10:30
par ebretteville
1. Oui j'ai bien accès au webUI
2. C'est activé.

Les logs sont en PJ

Re: I have hard time to get Coordinator Version. Mostlikly there is a communication issue

Publié : 03 avr. 2022, 11:13
par pipiche
Peut-etre une piste, par assure-toi de bien activer les paramètres

debugInput
debugZigateCmd
debugPlugin
debugTransport
debugTransportSerial