[Résolu] ZiGate v3.1d error : Hard time to get ZiGate Version

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Seraph
Messages : 21
Inscription : 21 mars 2019, 13:29

[Résolu] ZiGate v3.1d error : Hard time to get ZiGate Version

Message par Seraph »

Bonjour,
Après mise à jour du FW de la ZiGate en suivant la procédure du Wiki, j'ai ces messages d'erreur en boucle dans Domoticz:

Code : Tout sélectionner

 2021-01-08 11:16:36.492 Error: (ZiGate) [147] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2021-01-08 11:16:36.641 Error: (ZiGate) [ ] Stop the plugin and check ZiGate.
Après la mise a jour du FW j'ai aussi fait un git pull pour la mise à jour du plugin.
La seule que je n'ai pas faite c'est d'effacer l'EEPROM car dans la procédure car j'avais déjà des devices associés dans domoticz.
Je n'ai pas trouvé mon erreur dans le forum mais des erreurs similaires, sans résultat jusque là.
Je fais tourner domoticz sur synology et j'ai la ZiGate USB-TTL.
Info importante, je ne peux pas désactiver la Zigate dans Domoticz, ca fait directement planté le service.
Quelqu'un a une idée?
Dernière modification par Seraph le 08 janv. 2021, 18:48, modifié 1 fois.
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par pipiche »

Es-tu certain de ne pas avoir fait Erase EEPROM ou Erase PDM lors du flash ?

Sur quelle branche du plugin es-tu ?

peux-tu avoir la totalité des logs depuis le lancement du plugin (pas seulement cette erreur).

Sur quelle plateforme es-tu ?

Merci de suivre les recommandations qui sont ici: viewtopic.php?f=28&t=10886
Seraph
Messages : 21
Inscription : 21 mars 2019, 13:29

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par Seraph »

Zigate_log.zip
(1.35 Kio) Téléchargé 156 fois
Bonjour Pipiche,
Oui je suis certain de ne pas avoir fait d'erase EEPROM ou erase PDM

Version de Domoticz: Version: 2020.1.11804-8 (sur Synology avec la version 4.9700-8 de Jadahl)
Version du plugin: 4.11.014
Branche stable
Mon système : Synology DS213j

Je ne peux pas mettre plus de log depuis l'interface domoticz du matériel ZiGate...

Code : Tout sélectionner

 2021-01-08 12:54:09.575 Sunrise: 08:04:00 SunSet: 17:12:00
2021-01-08 12:54:09.575 Day length: 09:08:00 Sun at south: 12:38:00
2021-01-08 12:54:09.575 Civil twilight start: 07:32:00 Civil twilight end: 17:44:00
2021-01-08 12:54:09.575 Nautical twilight start: 06:56:00 Nautical twilight end: 18:20:00
2021-01-08 12:54:09.575 Astronomical twilight start: 06:22:00 Astronomical twilight end: 18:55:00
2021-01-08 12:54:09.964 Active notification Subsystems: http (1/13)
2021-01-08 12:54:09.982 Starting shared server on: ::
2021-01-08 12:54:09.475 Status: Domoticz V2020.1 (c)2012-1970 GizMoCuz
2021-01-08 12:54:09.475 Status: Build Hash: 0, Date: 1970-01-01 01:00:00
2021-01-08 12:54:09.476 Status: Startup Path: /usr/local/domoticz/
2021-01-08 12:54:09.949 Status: PluginSystem: Started, Python version '3.8.2'.
2021-01-08 12:54:09.981 Status: Camera: settings (re)loaded
2021-01-08 12:54:09.983 Status: TCPServer: shared server started...
2021-01-08 12:54:09.983 Status: RxQueue: queue worker started...
2021-01-08 12:54:11.984 Status: (ZiGate) Started.
2021-01-08 12:54:11.985 Status: (Box Conexoon) Started.
2021-01-08 12:54:11.985 Status: Darksky: Started...
2021-01-08 12:54:12.044 Status: EventSystem: reset all events...
2021-01-08 12:54:12.045 Status: EventSystem: reset all device statuses...
2021-01-08 12:54:12.050 Status: Harmony Hub: Worker thread started...
2021-01-08 12:54:12.051 Status: NotificationSystem: thread started...
2021-01-08 12:54:12.171 Status: PluginSystem: Entering work loop.
2021-01-08 12:54:12.434 Status: Python EventSystem: Initalizing event module.
2021-01-08 12:54:12.445 Status: EventSystem: Started
2021-01-08 12:54:12.445 Status: EventSystem: Queue thread started...
2021-01-08 12:54:12.484 Status: OpenZWave: using config in: /usr/local/domoticz/Config/
2021-01-08 12:54:12.704 Status: OpenZWave: Starting...
2021-01-08 12:54:12.704 Status: OpenZWave: Version: 1.6-1063-g04969b71
2021-01-08 12:54:14.468 Status: (ZiGate) Initialized version 4.11, author 'zaraki673 pipiche38'
2021-01-08 12:54:14.474 Status: (ZiGate) Entering work loop.
2021-01-08 12:54:15.128 (ZiGate) DomoticzVersion: 2020.1
2021-01-08 12:54:15.104 Status: (Box Conexoon) Initialized version 1.0.3, author 'nonolk'
2021-01-08 12:54:15.109 Status: (Box Conexoon) Entering work loop.
2021-01-08 12:54:15.127 Status: (ZiGate) Zigate plugin stable-4.11.014 started
2021-01-08 12:54:15.128 Status: (ZiGate) Debug: 0
2021-01-08 12:54:15.128 Status: (ZiGate) load PluginConf
2021-01-08 12:54:15.143 Status: (ZiGate) internetAccess set to 0
2021-01-08 12:54:15.144 Status: (ZiGate) filename set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Conf/PluginConf-07.json
2021-01-08 12:54:15.144 Status: (ZiGate) pluginHome set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/
2021-01-08 12:54:15.144 Status: (ZiGate) homedirectory set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/
2021-01-08 12:54:15.144 Status: (ZiGate) pluginData set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Data/
2021-01-08 12:54:15.144 Status: (ZiGate) pluginConfig set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Conf/
2021-01-08 12:54:15.145 Status: (ZiGate) pluginOTAFirmware set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/OTAFirmware/
2021-01-08 12:54:15.145 Status: (ZiGate) pluginReports set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Reports/
2021-01-08 12:54:15.145 Status: (ZiGate) pluginWWW set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/www/
2021-01-08 12:54:15.145 Status: (ZiGate) pluginLogs set to /usr/local/domoticz/var/plugins/Domoticz-Zigate/Logs/
2021-01-08 12:54:15.162 Status: (ZiGate) Python Version - 3.8.2 (tags/Contacts-1.0.0-0232-200617:57e5f51, Jun 29 2020, 09:34:10)
2021-01-08 12:54:15.162 [GCC 4.9.3 20150311 (prerelease)]
2021-01-08 12:54:15.162 Status: (ZiGate) DomoticzVersion: 2020.1
2021-01-08 12:54:15.162 Status: (ZiGate) DomoticzHash: 0
2021-01-08 12:54:15.163 Status: (ZiGate) DomoticzBuildTime: 1970-01-01 01:00:00
2021-01-08 12:54:15.163 Status: (ZiGate) Opening DomoticzDB in raw
2021-01-08 12:54:15.274 Status: (ZiGate) Plugin Database: DeviceList-7.txt
2021-01-08 12:54:15.311 Status: (ZiGate) DeviceConf loaded
2021-01-08 12:54:15.914 Status: (ZiGate) load ListOfDevice
2021-01-08 12:54:15.273 Error: (ZiGate) Device creation failed, Domoticz settings prevent accepting new devices.
2021-01-08 12:54:15.273 Error: (ZiGate) createAdminWidget - Fail to create Zigate Status 7. ID: -1, Name: 'Zigate Status 7', nValue: 0, sValue: ''
2021-01-08 12:54:15.274 Error: (ZiGate) Device creation failed, Domoticz settings prevent accepting new devices.
2021-01-08 12:54:15.274 Error: (ZiGate) createNotificationWidget - Fail to create Zigate Notifications 7. ID: -1, Name: 'Zigate Notifications 7', nValue: 0, sValue: ''
2021-01-08 12:54:16.145 Status: (ZiGate) 7 Entries loaded from /usr/local/domoticz/var/plugins/Domoticz-Zigate/Data/DeviceList-7.txt
2021-01-08 12:54:16.165 Status: (ZiGate) Transport mode: USB
2021-01-08 12:54:16.166 Status: (ZiGate) ==> Transport Mode: auto
2021-01-08 12:54:16.168 Status: (ZiGate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2021-01-08 12:54:16.175 Status: (ZiGate) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/ttyUSB0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
2021-01-08 12:54:16.193 Status: (Box Conexoon) Starting Tahoma blind plugin
2021-01-08 12:54:16.599 Status: (Box Conexoon) Tahoma auth succeed
2021-01-08 12:54:17.338 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1, Index: 0
2021-01-08 12:54:17.339 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Level, Instance: 1, Index: 0
2021-01-08 12:54:17.341 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Up, Instance: 1, Index: 1
2021-01-08 12:54:17.341 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Down, Instance: 1, Index: 2
2021-01-08 12:54:17.341 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Step Size, Instance: 1, Index: 6
2021-01-08 12:54:17.342 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Inc, Instance: 1, Index: 7
2021-01-08 12:54:17.342 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SWITCH MULTILEVEL, Label: Dec, Instance: 1, Index: 8
2021-01-08 12:54:17.342 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SENSOR BINARY, Label: Instance 1: Sensor, Instance: 1, Index: 0
2021-01-08 12:54:17.343 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SENSOR BINARY, Label: Instance 2: Sensor, Instance: 2, Index: 0
2021-01-08 12:54:17.343 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SENSOR BINARY, Label: Instance 3: Sensor, Instance: 3, Index: 0
2021-01-08 12:54:17.344 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SENSOR MULTILEVEL, Label: Unknown, Instance: 1, Index: 0
2021-01-08 12:54:17.345 OpenZWave: Value_Added: Node: 11 (0x0b), CommandClass: SENSOR MULTILEVEL, Label: Air Temperature, Instance: 1, Index: 1
2021-01-08 12:54:17.128 Status: OpenZWave: User Alert - Manufacturer_specific.xml out of Date
2021-01-08 12:54:17.128 Status: OpenZWave: ManufacturerSpecificDB Ready
2021-01-08 12:54:17.325 Status: OpenZWave: Driver Ready
2021-01-08 12:54:17.340 Status: SendSwitchIfNotExists: Device '11.instance.1.index.0.commandClasses.38' (Level) with DeviceID '00000B01' matches '11.instance.1.index.0.commandClasses.37' (Switch). Domoticz will use the Dimmer (and hide the Switch).
2021-01-08 12:54:17.344 Status: OpenZWave: Value_Added: Warning: OpenZWave returned ValueLabel "Unknown" on Node: 11 (0x0b), CommandClass: SENSOR MULTILEVEL, Label: Unknown, Instance: 1, Index: 0
2021-01-08 12:54:17.344 Status: OpenZWave: Value_Added: Unhandled Label: Unknown, Unit: , Node: 11 (0x0b), CommandClass: SENSOR MULTILEVEL, Label: Unknown, Instance: 1, Index: 0
2021-01-08 12:54:17.348 Status: OpenZWave: New Node added. HomeID: 4190408184, NodeID: 1 (0x01)
2021-01-08 12:54:17.349 Status: OpenZWave: New Node added. HomeID: 4190408184, NodeID: 4 (0x04)
2021-01-08 12:54:17.350 Status: OpenZWave: New Node added. HomeID: 4190408184, NodeID: 5 (0x05)
2021-01-08 12:54:17.350 Status: OpenZWave: New Node added. HomeID: 4190408184, NodeID: 10 (0x0a)
2021-01-08 12:54:18.524 Error: CheckAuthToken(506a5d8ec5a380bcdf14b583bdd82244_NmMxODczZDQtODUyYi00ZmViLWEwMDQtYzllZjU3YjYzM2Nm) : session id not found
2021-01-08 12:54:20.289 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH BINARY, Label: Switch, Instance: 1, Index: 0
2021-01-08 12:54:20.290 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH MULTILEVEL, Label: Step Size, Instance: 1, Index: 6
2021-01-08 12:54:20.290 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH MULTILEVEL, Label: Inc, Instance: 1, Index: 7
2021-01-08 12:54:20.290 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH MULTILEVEL, Label: Dec, Instance: 1, Index: 8
2021-01-08 12:54:20.290 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH MULTILEVEL, Label: Level, Instance: 1, Index: 0
2021-01-08 12:54:20.291 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH MULTILEVEL, Label: Bright, Instance: 1, Index: 1
2021-01-08 12:54:20.292 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SWITCH MULTILEVEL, Label: Dim, Instance: 1, Index: 2
2021-01-08 12:54:20.292 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SENSOR BINARY, Label: Instance 1: Sensor, Instance: 1, Index: 0
2021-01-08 12:54:20.293 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SENSOR BINARY, Label: Instance 2: Sensor, Instance: 2, Index: 0
2021-01-08 12:54:20.294 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SENSOR BINARY, Label: Instance 3: Sensor, Instance: 3, Index: 0
2021-01-08 12:54:20.422 OpenZWave: Value_Added: Node: 5 (0x05), CommandClass: SENSOR MULTILEVEL, Label: Air Temperature, Instance: 1, Index: 1
2021-01-08 12:54:20.291 Status: SendSwitchIfNotExists: Device '5.instance.1.index.0.commandClasses.38' (Level) with DeviceID '00000501' matches '5.instance.1.index.0.commandClasses.37' (Switch). Domoticz will use the Dimmer (and hide the Switch).
2021-01-08 12:54:21.845 (Z-Stick) Light/Switch (Cuisine)
2021-01-08 12:54:21.919 (Z-Stick) Light/Switch (Cuisine)
2021-01-08 12:54:21.360 Status: Harmony Hub: Connected to Hub.
2021-01-08 12:54:22.001 (Z-Stick) Light/Switch (Sensor)
2021-01-08 12:54:22.656 (Meteo Maison) Temp + Humidity + Baro (Meteo Villeneuve)
2021-01-08 12:54:22.668 (Meteo Maison) Wind (Vent Villeneuve)
2021-01-08 12:54:22.680 (Meteo Maison) UV (UV Index Villeneuve)
2021-01-08 12:54:22.695 (Meteo Maison) Rain (Rain)
2021-01-08 12:54:22.702 (Meteo Maison) General/Visibility (Unknown)
2021-01-08 12:54:22.710 (Meteo Maison) General/Custom Sensor (Ozone Sensor)
2021-01-08 12:54:22.718 (Meteo Maison) General/Percentage (Cloud Cover)
2021-01-08 12:54:22.609 Status: OpenZWave: Awake Nodes queried
2021-01-08 12:54:37.200 Error: (ZiGate) [ 13] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2021-01-08 12:54:37.294 Error: (ZiGate) [ ] Stop the plugin and check ZiGate.
2021-01-08 12:54:38.185 Error: (ZiGate) [ 14] I have hard time to get ZiGate Version. Mostlikly ZiGate communication doesn't work
2021-01-08 12:54:38.281 Error: (ZiGate) [ ] Stop the plugin and check ZiGate. 
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par pipiche »

es-tu certain de que la ZiGate est bien sur le port /dev/ttyUSB0 ?

peux-tu faire la commande

Code : Tout sélectionner

dmesg | grep tty 

Code : Tout sélectionner

ls -l /dev/ttyUSB0

Code : Tout sélectionner

ls -l /dev/serial/by-id/*
Seraph
Messages : 21
Inscription : 21 mars 2019, 13:29

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par Seraph »

Merci pour la réponse rapide.
Je n'ai que 2 ports USB sur le syno et je n'ai que 2 choix: soit /dev/ttyUSB0 ou /dev/ttyACM0.
Voici les commandes demandées...

Code : Tout sélectionner

root@Seraph:/volume1/@appstore/domoticz/var/plugins/Domoticz-Zigate# dmesg | grep tty
[    0.000000] Kernel command line: console=ttyS0,115200 ip=off initrd=0x8000040,8M root=/dev/md0 rw syno_hw_version=DS213jv10 ihd_num=2 netif_num=1 flash_size=8
[    3.450197] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 41) is a 16550A
[    4.076150] console [ttyS0] enabled
[    4.080059] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 42) is a 16550A
[   67.109004] synobios open /dev/ttyS1 success
[  102.864916] synobios open /dev/ttyS1 success
[  106.425630] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[  239.594213] usb 2-1: pl2303 converter now attached to ttyUSB0
[43139.465111] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[43145.587400] usb 2-1: pl2303 converter now attached to ttyUSB0
[43149.635979] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[47538.003482] usb 2-1: pl2303 converter now attached to ttyUSB0
[55869.261465] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[56607.481383] usb 2-1: pl2303 converter now attached to ttyUSB0
root@Seraph:/volume1/@appstore/domoticz/var/plugins/Domoticz-Zigate# ls -l /dev/ttyUSB0
crw-rw-rw- 1 root root 188, 0 Jan  8 14:00 /dev/ttyUSB0
root@Seraph:/volume1/@appstore/domoticz/var/plugins/Domoticz-Zigate# ls -l /dev/serial/by-id/*
ls: cannot access /dev/serial/by-id/*: No such file or directory
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par pipiche »

/dev/ttyUSB0, ce n'est pas ta clef OpenZWave ?
As-tu a ta disposition un système sous windows ? Peux-tu tester la clef ZIgate avec ZGUI : https://zigate.fr/documentation/tester-la-zigate-usb/
Seraph
Messages : 21
Inscription : 21 mars 2019, 13:29

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par Seraph »

Oui en effet il y a aussi une clé OpenZWave. J'ai 2 ports USB sur le syno mais tout se passe comme-ci il n'en existait qu'un.
Mais bon, avant la mise à jour du FW ça marchait très bien.

Sinon je viens de tester la clé sur Windows 10 mais je suis bloqué au "Get Version".
Je n'ai pas de réponse de la ZiGate (pièce jointe).
Ce qui me semble bizarre c'est que je ne suis pas sûr que mes settings soient bien prit en compte. Ils n'ont pas l'air enregistrés car à chaque fois que je les ouvre, la valeur Baud rate est remise à 1000000 alors que je change sa valeur. Je suis bien en administrateur pourtant.
J'ai refait la manip en appuyant sur le bouton de ZiGate lors du branchement. Même résultat.
Capture.JPG
Capture.JPG (263.96 Kio) Consulté 3840 fois
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par pipiche »

Les paramètres semblent bon, par contre il faut que tu fasses Open Port ?

La clef OZW est sur quelle /dev/tty ?
Seraph
Messages : 21
Inscription : 21 mars 2019, 13:29

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par Seraph »

oui oui en faisant OpenPort, le screenshot le montre pas en effet mais c'était bien le cas :-D
La clé OpenZWave est sur dev/TTYACM0. Je ne sais pas a quoi ça correspond
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: ZiGate v3.1d error : Hard time to get ZiGate Version

Message par pipiche »

Seraph a écrit : 08 janv. 2021, 14:53 oui oui en faisant OpenPort, le screenshot le montre pas en effet mais c'était bien le cas :-D
La clé OpenZWave est sur dev/TTYACM0. Je ne sais pas a quoi ça correspond
Ok, et là avec le open Port, le Get Version fonctionne ?
Répondre