Page 2 sur 5
Re: Firmware Officiel 3.0f
Publié : 21 févr. 2019, 17:25
par ark
J'arrive pas à update le fw, voila ce que j'ai fait :
Branché la zigate en maintenant le bouton poussoir enfoncé :
Code : Tout sélectionner
Feb 21 17:17:54 typhon kernel: [1146193.756298] usb 2-2: new full-speed USB device number 11 using xhci_hcd
Feb 21 17:17:54 typhon kernel: [1146193.905039] usb 2-2: New USB device found, idVendor=067b, idProduct=2303
Feb 21 17:17:54 typhon kernel: [1146193.905046] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 21 17:17:54 typhon kernel: [1146193.905051] usb 2-2: Product: USB-Serial Controller
Feb 21 17:17:54 typhon kernel: [1146193.905055] usb 2-2: Manufacturer: Prolific Technology Inc.
Feb 21 17:17:54 typhon kernel: [1146193.905867] pl2303 2-2:1.0: pl2303 converter detected
Feb 21 17:17:54 typhon kernel: [1146193.906717] usb 2-2: pl2303 converter now attached to ttyUSB0
Feb 21 17:17:54 typhon mtp-probe: checking bus 2, device 11: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2"
Feb 21 17:17:54 typhon mtp-probe: bus: 2, device: 11 was not an MTP device
Feb 21 17:17:54 typhon upowerd[1380]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0
Feb 21 17:17:54 typhon upowerd[1380]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb2/2-2
Puis lancé l'update, plusieurs fois :
Code : Tout sélectionner
$ sudo ./JennicModuleProgrammer -V 6 -P 115200 -f ../zigate_fws/ZiGate_v30f.bin -s /dev/ttyUSB0
JennicModuleProgrammer Version: 0.6 (r56124)
Setting baudrate: 115200
Error reading module information - check cabling and power
$ sudo ./JennicModuleProgrammer -V 6 -P 115200 -f ../zigate_fws/ZiGate_v30f.bin -s /dev/ttyUSB0
JennicModuleProgrammer Version: 0.6 (r56124)
Setting baudrate: 115200
Error setting baudrate
$ sudo ./JennicModuleProgrammer -V 6 -P 115200 -f ../zigate_fws/ZiGate_v30f.bin -s /dev/ttyUSB0
JennicModuleProgrammer Version: 0.6 (r56124)
Setting baudrate: 115200
Error setting baudrate
J'ai retesté plusieurs fois la procédure mais ça veut pas.
Une idée ?
Re: Firmware Officiel 3.0f
Publié : 21 févr. 2019, 17:38
par pipiche
Aucune idée, ca ressemble comme le message d'erreur l'indique à un problème de communication.
Tu appuis bien sur le bouton en même temps que tu mets la clef dans le port USB ? Tu confirmes qu'elle s'allume de façon différente ?
par contre là :
https://github.com/fairecasoimeme/ZiGate/issues/58
Est-ce que tu passes par un Hub USB, ou en direct ? Si Hub essayes en direct
Re: Firmware Officiel 3.0f
Publié : 21 févr. 2019, 19:15
par ark
Je la branche en direct.
J'appuie bien en même temps de la brancher, par contre elle s'allume de la même façon dans les 2 cas.
testé sur un autre pc, exactement le même comportement

Re: Firmware Officiel 3.0f
Publié : 21 févr. 2019, 20:19
par pipiche
Contact le fournisseur de la Zigate, ou sur le github
https://github.com/fairecasoimeme/
Re: Firmware Officiel 3.0f
Publié : 22 févr. 2019, 22:27
par coolplay54
J'avais aussi un probléme de connection sous W10. J'ai desinstallé le pilote et re-installer, ensuite cela à fonctionné...la magie Windows!!
Re: Firmware Officiel 3.0f
Publié : 04 mars 2019, 14:29
par ark
Hello,
Le problème était bien matériel, après en avoir reçu une nouvelle, l'upgrade a fonctionné du 1er coup.
C'est par contre au niveau du plugin que j'ai un souci maintenant, je suis sur la branche beta :
Code : Tout sélectionner
2019-03-04 14:25:47.693 Status: (Zigate) Initialized version 4.0.8, author 'zaraki673 pipiche38'
2019-03-04 14:25:47.750 Status: (Zigate) Zigate plugin (pre 4.1.x) started
2019-03-04 14:25:47.750 Status: (Zigate) Python Version - 3.4.4 (default, Apr 17 2016, 16:02:33)
2019-03-04 14:25:47.750 [GCC 5.3.1 20160409]
2019-03-04 14:25:47.751 Status: (Zigate) Switching Hearbeat to 5 s interval
2019-03-04 14:25:47.751 Status: (Zigate) DomoticzVersion: 4.9700
2019-03-04 14:25:47.751 Status: (Zigate) DomoticzHash: a3a45906
2019-03-04 14:25:47.751 Status: (Zigate) DomoticzBuildTime: 2018-06-23 16:24:51
2019-03-04 14:25:47.751 Status: (Zigate) The current Domoticz version doesn't support the plugin to enable a number of features
2019-03-04 14:25:47.751 Status: (Zigate) switching to Domoticz V 4.10355 and above would help
2019-03-04 14:25:47.751 Status: (Zigate) load PluginConf
2019-03-04 14:25:47.751 Status: (Zigate) PluginConf: /opt/domoticz/plugins/Domoticz-Zigate//Conf/PluginConf.txt
2019-03-04 14:25:47.753 Status: (Zigate) Plugin Database: DeviceList-9.txt
2019-03-04 14:25:47.767 Status: (Zigate) DeviceConf loaded
2019-03-04 14:25:47.767 Status: (Zigate) load ListOfDevice
2019-03-04 14:25:47.767 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-03-04 14:25:47.770 Status: (Zigate) ZigateConf - Setting UTC Time to : 605024747
2019-03-04 14:25:47.770 Status: (Zigate) Start network
2019-03-04 14:25:57.237 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:02.246 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:02.246 (Zigate) Try to get Firmware version once more 2
2019-03-04 14:26:07.215 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:12.224 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:17.233 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:22.242 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:22.242 (Zigate) Try to get Firmware version once more 6
2019-03-04 14:26:27.250 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:32.210 (Zigate) FirmwareVersion not ready
2019-03-04 14:26:37.219 (Zigate) FirmwareVersion not ready
Je n'ai pas cette erreur sur la branche stable.
Merci
Re: Firmware Officiel 3.0f
Publié : 04 mars 2019, 14:39
par pipiche
Les logs montre que c'est la branche stable. Je pense donc que entre de changement de branche tu ne redémarres pas Domoticz ce qui est une erreur. Lors d'une mise-à-jour du plugin, il est important de redémarrer Domoticz afin que l'ensemble de l'update soit pris en compte.
La branche stable ne fait pas autant de controle que ce qui est fait en pre-4.1, donc que ce passe-t-il si tu insistes et tu relances le plugin ?
Re: Firmware Officiel 3.0f
Publié : 04 mars 2019, 15:09
par ark
Au temps pour moi, un peu perdu dans mes tests :p
donc après un restart complet :
Code : Tout sélectionner
2019-03-04 15:03:36.011 Status: Python EventSystem: Initalizing event module.
2019-03-04 15:03:36.011 Status: EventSystem: Started
2019-03-04 15:03:36.011 Status: EventSystem: Queue thread started...
2019-03-04 15:03:36.254 Status: PluginSystem: Entering work loop.
2019-03-04 15:03:36.363 Status: OpenZWave: using config in: /opt/domoticz/Config/
2019-03-04 15:03:36.365 Status: OpenZWave: Starting...
2019-03-04 15:03:36.365 Status: OpenZWave: Version: 1.4-2888-g54682370-dirty
2019-03-04 15:03:36.472 Status: (Zigate) Entering work loop.
2019-03-04 15:03:36.473 Status: (Zigate) Initialized version pre-4.1, author 'zaraki673 pipiche38'
2019-03-04 15:03:36.480 Status: (Zigate) Zigate plugin (pre 4.1.x) started
2019-03-04 15:03:36.480 Status: (Zigate) Python Version - 3.4.4 (default, Apr 17 2016, 16:02:33)
2019-03-04 15:03:36.480 [GCC 5.3.1 20160409]
2019-03-04 15:03:36.480 Status: (Zigate) Switching Hearbeat to 5 s interval
2019-03-04 15:03:36.480 Status: (Zigate) DomoticzVersion: 4.9700
2019-03-04 15:03:36.480 Status: (Zigate) DomoticzHash: a3a45906
2019-03-04 15:03:36.480 Status: (Zigate) DomoticzBuildTime: 2018-06-23 16:24:51
2019-03-04 15:03:36.481 Status: (Zigate) The current Domoticz version doesn't support the plugin to enable a number of features
2019-03-04 15:03:36.481 Status: (Zigate) switching to Domoticz V 4.10355 and above would help
2019-03-04 15:03:36.481 Status: (Zigate) load PluginConf
2019-03-04 15:03:36.481 Status: (Zigate) PluginConf: /opt/domoticz/plugins/Domoticz-Zigate//Conf/PluginConf.txt
2019-03-04 15:03:36.483 Status: (Zigate) Plugin Database: DeviceList-9.txt
2019-03-04 15:03:36.497 Status: (Zigate) DeviceConf loaded
2019-03-04 15:03:36.497 Status: (Zigate) load ListOfDevice
2019-03-04 15:03:36.497 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-03-04 15:03:36.500 Status: (Zigate) ZigateConf - Setting UTC Time to : 605027016
2019-03-04 15:03:36.500 Status: (Zigate) Start network
2019-03-04 15:03:46.016 (Zigate) FirmwareVersion not ready
2019-03-04 15:03:50.981 (Zigate) FirmwareVersion not ready
2019-03-04 15:03:50.981 (Zigate) Try to get Firmware version once more 2
2019-03-04 15:03:55.991 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:01.000 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:06.008 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:11.016 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:11.016 (Zigate) Try to get Firmware version once more 6
2019-03-04 15:04:16.025 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:20.984 (Zigate) FirmwareVersion not ready
Je sais pas non plus si vous affichez la bonne version de python, quand je le lance sur mon système je suis bien en 3.5 :
Code : Tout sélectionner
# /usr/bin/env python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
Re: Firmware Officiel 3.0f
Publié : 04 mars 2019, 15:14
par pipiche
ark a écrit : 04 mars 2019, 15:09
Au temps pour moi, un peu perdu dans mes tests :p
donc après un restart complet :
Code : Tout sélectionner
2019-03-04 15:03:36.011 Status: Python EventSystem: Initalizing event module.
2019-03-04 15:03:36.011 Status: EventSystem: Started
2019-03-04 15:03:36.011 Status: EventSystem: Queue thread started...
2019-03-04 15:03:36.254 Status: PluginSystem: Entering work loop.
2019-03-04 15:03:36.363 Status: OpenZWave: using config in: /opt/domoticz/Config/
2019-03-04 15:03:36.365 Status: OpenZWave: Starting...
2019-03-04 15:03:36.365 Status: OpenZWave: Version: 1.4-2888-g54682370-dirty
2019-03-04 15:03:36.472 Status: (Zigate) Entering work loop.
2019-03-04 15:03:36.473 Status: (Zigate) Initialized version pre-4.1, author 'zaraki673 pipiche38'
2019-03-04 15:03:36.480 Status: (Zigate) Zigate plugin (pre 4.1.x) started
2019-03-04 15:03:36.480 Status: (Zigate) Python Version - 3.4.4 (default, Apr 17 2016, 16:02:33)
2019-03-04 15:03:36.480 [GCC 5.3.1 20160409]
2019-03-04 15:03:36.480 Status: (Zigate) Switching Hearbeat to 5 s interval
2019-03-04 15:03:36.480 Status: (Zigate) DomoticzVersion: 4.9700
2019-03-04 15:03:36.480 Status: (Zigate) DomoticzHash: a3a45906
2019-03-04 15:03:36.480 Status: (Zigate) DomoticzBuildTime: 2018-06-23 16:24:51
2019-03-04 15:03:36.481 Status: (Zigate) The current Domoticz version doesn't support the plugin to enable a number of features
2019-03-04 15:03:36.481 Status: (Zigate) switching to Domoticz V 4.10355 and above would help
2019-03-04 15:03:36.481 Status: (Zigate) load PluginConf
2019-03-04 15:03:36.481 Status: (Zigate) PluginConf: /opt/domoticz/plugins/Domoticz-Zigate//Conf/PluginConf.txt
2019-03-04 15:03:36.483 Status: (Zigate) Plugin Database: DeviceList-9.txt
2019-03-04 15:03:36.497 Status: (Zigate) DeviceConf loaded
2019-03-04 15:03:36.497 Status: (Zigate) load ListOfDevice
2019-03-04 15:03:36.497 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-03-04 15:03:36.500 Status: (Zigate) ZigateConf - Setting UTC Time to : 605027016
2019-03-04 15:03:36.500 Status: (Zigate) Start network
2019-03-04 15:03:46.016 (Zigate) FirmwareVersion not ready
2019-03-04 15:03:50.981 (Zigate) FirmwareVersion not ready
2019-03-04 15:03:50.981 (Zigate) Try to get Firmware version once more 2
2019-03-04 15:03:55.991 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:01.000 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:06.008 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:11.016 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:11.016 (Zigate) Try to get Firmware version once more 6
2019-03-04 15:04:16.025 (Zigate) FirmwareVersion not ready
2019-03-04 15:04:20.984 (Zigate) FirmwareVersion not ready
Je sais pas non plus si vous affichez la bonne version de python, quand je le lance sur mon système je suis bien en 3.5 :
Code : Tout sélectionner
# /usr/bin/env python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
Est-ce systématique ?
Pour la version de python, le plugin affiche la version python qui est utilisée. Peux-tu vérifier que tu n'as pas python3.4 et python3.5 ? Notamment au niveau des libpythons :
dpkg --get-selections | grep libpython
Re: Firmware Officiel 3.0f
Publié : 04 mars 2019, 16:02
par ark
Jusque là c'était systématique oui ^^
Pour python j'avais effectivement les 2 d'installés, j'ai désisntallé les 3.4 :
Code : Tout sélectionner
# dpkg --get-selections | grep libpython
libpython-stdlib:armhf install
libpython2.7:armhf install
libpython2.7-dev:armhf install
libpython2.7-minimal:armhf install
libpython2.7-stdlib:armhf install
libpython3-stdlib:armhf install
libpython3.4-minimal:armhf deinstall
libpython3.5:armhf install
libpython3.5-minimal:armhf install
libpython3.5-stdlib:armhf install
Et là c'est assez bizarre, le plugin ne veut plus démarrer, disant qu'il n'y a plus de libpython d'installé :
Code : Tout sélectionner
2019-03-04 15:45:36.452 Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
2019-03-04 15:45:36.453 Status: PluginSystem: 'Zigate' Registration ignored, Plugins are not enabled.
J'ai forcé la reinstall des 3.5, mais ça change rien.