[Résolu] Mise a jour firmware (j'y arrive pas ;)

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
supeve
Messages : 85
Inscription : 21 oct. 2020, 18:41

Re: Mise a jour firmware (j'y arrive pas ;)

Message par supeve »

Ca avance, j'ai pu faire la mise à jour sur win8.
MAIS.
Ca ne marche pas.
Dans les logs de domoticz :

Code : Tout sélectionner

2021-12-15 12:47:20.064 Error: MaZiGate: (MaZiGate) We are having difficulties to start Zigate. Basically we are not receiving what we expect from Zigate
2021-12-15 12:47:20.090 Error: MaZiGate: (MaZiGate) Plugin is not started ...
2021-12-15 12:47:20.136 Error: MaZiGate: (MaZiGate) Zigate not correctly initialized 
Dans l'interface web de la zigate (dans le bandeau vert, onglet acceuil) :
Plugin 5.1.015
Version c'est vide
Et domoticz toujours en 2021.1 j'ai rien touché de ce coté.


Dans domoticz dans les paramètres de la zigate, l'adresse IP était passé à 0.0.0.0 donc je l'ai remise.
J'ai tenté aussi de passé Initialize ZiGate à true puis remis à false
J'ai redémarré plusieurs fois le pi4.

Pour l'instant je bloque.

J'ai un .json mais je ne peux pas le mettre en piece jointe
supeve
Messages : 85
Inscription : 21 oct. 2020, 18:41

Re: Mise a jour firmware (j'y arrive pas ;)

Message par supeve »

Petite évolution.
Comme vu ici :https://zigate.fr/forum/topic/zigate-us ... alisation/ j'ai exécuté la procédure de test de la zigate.
Tout c'est bien passé.
Mais pas de changement.

Alors j'ai flasher avec le firmware 3.20.
Après multiple reboot il est apparemment bien reconnu, et démarre bien.
Mais pas de communication avec mes devices.

J'ai 4 erreurs dans les logs

1 sans importance l'ampoule répond bien

Code : Tout sélectionner

2021-12-15 14:56:04.744 Error: Yeelight: Exception: send_to: Network is unreachable
3 autre
les 2 premieres, les IP sont celles du PI numeros des ports sont inconnu
la derniere est l'adresse IP du PC à partir duquel je me connect port inconnu aussi

Code : Tout sélectionner

2021-12-15 14:57:55.343 Error: MaZiGate: (MaZiGate) No transport, write directive to '192.168.0.80:58034' ignored.
2021-12-15 14:57:55.343 Error: MaZiGate: (MaZiGate) No transport, write directive to '192.168.0.80:58036' ignored.
2021-12-15 15:06:16.148 Error: MaZiGate: (MaZiGate) No transport, write directive to '192.168.0.13:50580' ignored.

Code : Tout sélectionner

 2021-12-15 14:55:57.097 Sunrise: 08:37:00 SunSet: 16:52:00
2021-12-15 14:55:57.097 Day length: 08:15:00 Sun at south: 12:44:00
2021-12-15 14:55:57.097 Civil twilight start: 08:00:00 Civil twilight end: 17:29:00
2021-12-15 14:55:57.097 Nautical twilight start: 07:19:00 Nautical twilight end: 18:10:00
2021-12-15 14:55:57.097 Astronomical twilight start: 06:40:00 Astronomical twilight end: 18:48:00
2021-12-15 14:55:57.436 Active notification Subsystems: email (1/13)
2021-12-15 14:55:57.682 Starting shared server on: :::6144
2021-12-15 14:55:57.004 Status: Domoticz V2021.1 (c)2012-2021 GizMoCuz
2021-12-15 14:55:57.004 Status: Build Hash: 8547c5b7e, Date: 2021-04-17 17:29:11
2021-12-15 14:55:57.004 Status: Startup Path: /home/pi/domoticz/
2021-12-15 14:55:57.433 Status: PluginSystem: Started, Python version '3.7.3'.
2021-12-15 14:55:57.670 Status: WebServer(HTTP) started on address: :: with port 8080
2021-12-15 14:55:57.680 Status: WebServer(SSL) started on address: :: with port 443
2021-12-15 14:55:57.682 Status: TCPServer: shared server started...
2021-12-15 14:55:57.682 Status: RxQueue: queue worker started...
2021-12-15 14:55:59.683 MaZiGate hardware started.
2021-12-15 14:55:59.683 Status: MaZiGate: (MaZiGate) Entering work loop.
2021-12-15 14:55:59.683 Status: MaZiGate: (MaZiGate) Started.
2021-12-15 14:55:59.683 Status: YeeLightXiaomi: Worker started...
2021-12-15 14:55:59.683 Status: NotificationSystem: thread started...
2021-12-15 14:55:59.684 Status: EventSystem: reset all events...
2021-12-15 14:55:59.749 Status: EventSystem: reset all device statuses...
2021-12-15 14:56:00.421 MaZiGate: (MaZiGate) ZiGate plugin started!
2021-12-15 14:56:00.422 MaZiGate: (MaZiGate) load PluginConf
2021-12-15 14:56:00.424 MaZiGate: (MaZiGate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-12-15 14:56:00.424 MaZiGate: (MaZiGate) is_domoticz_db_available: True
2021-12-15 14:56:00.424 MaZiGate: (MaZiGate) /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json timestamp is 1639574593.377716
2021-12-15 14:56:00.424 MaZiGate: (MaZiGate) Dz PluginConf is older than Json Dz: 0 Json: 1639574593.377716
2021-12-15 14:56:00.425 MaZiGate: (MaZiGate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-12-15 14:56:00.425 MaZiGate: (MaZiGate) is_domoticz_db_available: True
2021-12-15 14:56:00.426 MaZiGate: (MaZiGate) Starting LoggingManagement thread
2021-12-15 14:56:00.426 MaZiGate: (MaZiGate) start_logging_thread
2021-12-15 14:56:00.427 MaZiGate: (MaZiGate) logging_thread - listening
2021-12-15 14:56:00.457 MaZiGate: (MaZiGate) Plugin Database: DeviceList-2.txt
2021-12-15 14:56:00.125 Status: PluginSystem: 1 plugins started.
2021-12-15 14:56:00.418 Status: MaZiGate: (MaZiGate) Initialized version 5.1, author 'zaraki673 pipiche38'
2021-12-15 14:56:00.425 Status: MaZiGate: (MaZiGate) enablegroupmanagement set to 1
2021-12-15 14:56:00.425 Status: MaZiGate: (MaZiGate) Lang set to fr-FR
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) Certification set to FCC
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) CertificationCode set to 2
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) channel set to 11
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-02.json
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2021-12-15 14:56:00.426 Status: MaZiGate: (MaZiGate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2021-12-15 14:56:00.433 Status: MaZiGate: (MaZiGate) Zigate plugin stable5-5.1.015 started
2021-12-15 14:56:00.466 Status: MaZiGate: (MaZiGate) DeviceConf loaded
2021-12-15 14:56:01.036 MaZiGate: (MaZiGate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-12-15 14:56:01.036 MaZiGate: (MaZiGate) is_domoticz_db_available: True
2021-12-15 14:56:01.093 MaZiGate: (MaZiGate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-12-15 14:56:01.093 MaZiGate: (MaZiGate) is_domoticz_db_available: True
2021-12-15 14:56:01.614 MaZiGate: (MaZiGate) Connection open: Serial<id=0xabc9de70, open=True>(port='/dev/ttyUSB11', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2021-12-15 14:56:01.037 Status: MaZiGate: (MaZiGate) load ListOfDevice
2021-12-15 14:56:01.098 Status: MaZiGate: (MaZiGate) 4 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-2.txt
2021-12-15 14:56:01.099 Status: MaZiGate: (MaZiGate) Transport mode: V2-USB
2021-12-15 14:56:01.100 Status: MaZiGate: (MaZiGate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB11
2021-12-15 14:56:01.609 Status: MaZiGate: (MaZiGate) ZigateTransport: Serial Connection open: Serial<id=0xabc9de70, open=True>(port='/dev/ttyUSB11', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2021-12-15 14:56:01.611 Status: MaZiGate: (MaZiGate) ZigateTransport: writer_thread Thread start.
2021-12-15 14:56:01.613 Status: MaZiGate: (MaZiGate) ZigateTransport: thread_processing_and_sending Thread start.
2021-12-15 14:56:01.614 Status: MaZiGate: (MaZiGate) Start Web Server connection
2021-12-15 14:56:01.636 Status: MaZiGate: (MaZiGate) Web backend for Web User Interface started on port: 9440
2021-12-15 14:56:01.707 Status: Python EventSystem: Initalizing event module.
2021-12-15 14:56:01.707 Status: EventSystem: Started
2021-12-15 14:56:01.707 Status: EventSystem: Queue thread started...
2021-12-15 14:56:04.744 Error: Yeelight: Exception: send_to: Network is unreachable
2021-12-15 14:56:05.093 Status: MaZiGate: (MaZiGate) ==> Transport Mode switch to full mode
2021-12-15 14:56:05.099 Status: MaZiGate: (MaZiGate) ZiGate+ (V2)
2021-12-15 14:56:05.099 Status: MaZiGate: (MaZiGate) Installer Version Number: 0320
2021-12-15 14:56:05.099 Status: MaZiGate: (MaZiGate) Branch Version: ==> Production <==
2021-12-15 14:56:15.131 Status: MaZiGate: (MaZiGate) Upgrade Serial line to RTS/CTS HW flow control
2021-12-15 14:56:15.157 Status: MaZiGate: (MaZiGate) Zigate addresses ieee: 00158d0005007217 , short addr: 0000
2021-12-15 14:56:15.157 Status: MaZiGate: (MaZiGate) Network state UP, PANID: 5629 extPANID: 0xc4decd2739e3f8db Channel: 11
2021-12-15 14:56:20.054 Status: MaZiGate: (MaZiGate) Request Disabling Accepting new Hardware
2021-12-15 14:56:20.729 Status: MaZiGate: (MaZiGate) Accepting new Hardware: Disable (Off)
2021-12-15 14:56:25.062 MaZiGate: (MaZiGate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-12-15 14:56:25.062 MaZiGate: (MaZiGate) is_domoticz_db_available: True
2021-12-15 14:56:25.065 MaZiGate: (MaZiGate) is_domoticz_db_available: Fashion: True , Major: 2021, Minor: 1
2021-12-15 14:56:25.065 MaZiGate: (MaZiGate) is_domoticz_db_available: True
2021-12-15 14:56:25.066 MaZiGate: (MaZiGate) Switch Blue Led On
2021-12-15 14:56:25.066 Status: MaZiGate: (MaZiGate) Zigate set to Certification : FCC
2021-12-15 14:56:25.066 Status: MaZiGate: (MaZiGate) Start Group Management
2021-12-15 14:56:25.071 Status: MaZiGate: (MaZiGate) Plugin with Zigate+, firmware 0320 correctly initialized
2021-12-15 14:56:44.151 Status: MaZiGate: (MaZiGate) There is a newer Zigate Firmware version available
2021-12-15 14:57:55.343 Error: MaZiGate: (MaZiGate) No transport, write directive to '192.168.0.80:58034' ignored.
2021-12-15 14:57:55.343 Error: MaZiGate: (MaZiGate) No transport, write directive to '192.168.0.80:58036' ignored.
2021-12-15 15:00:28.298 MaZiGate: (MaZiGate) UpdateDevice - ( LumTABLE) 0:Off
2021-12-15 15:00:28.234 Status: User: Admin (IP: 192.168.0.80) initiated a switch command (17/LumTABLE/Off)
2021-12-15 15:00:34.713 MaZiGate: (MaZiGate) timeout_widget unit LumTABLE -> True from 0:Off
2021-12-15 15:00:34.730 MaZiGate: (MaZiGate) Receive NACK from LumTABLE (0a57) clusterId: 0006 Status: a7
2021-12-15 15:02:57.889 Status: Incoming connection from: 192.168.0.13
2021-12-15 15:06:16.148 Error: MaZiGate: (MaZiGate) No transport, write directive to '192.168.0.13:50580' ignored. 
Donc pour résumé, l'état actuel :
Zigate en 5.1.015 / 3.20
Domoticz en 2021.1
A priori des les logs tout va bien.
Mais pas de communication avec mes devices (j'en ai que 3).
Besoin d'autres infos ?
supeve
Messages : 85
Inscription : 21 oct. 2020, 18:41

Re: Mise a jour firmware (j'y arrive pas ;)

Message par supeve »

APPAREMMENT C'EST OK.
Dans appareil, j'ai supprimer et remis la zigate, on dirait que c'est bon.
Bien sur j'ai perdu mes devices au passage, mais j'en ai pas beaucoup.

J'attends un peu pour passer en résolu, voir si c'est stable, J'ai eu des erreurs dans l'interface de la zigate, faut voir si ca revient.

En attendent, merci a vous.
supeve
Messages : 85
Inscription : 21 oct. 2020, 18:41

Re: Mise a jour firmware (j'y arrive pas ;)

Message par supeve »

Donc ca fonctionne, je suis passé de 3.1e à 3.20 avec succès, la 3.21 j'ai pas réussi, c'est pas très grave pour l'instant.

Si ca peut servir à d'autre, ce qui à fonctionné pour moi est la procédure ici https://zigate.fr/documentation/mise-a- ... -zigate-2/ en mode windows.
La ligne de commande finale est (chez moi)

Code : Tout sélectionner

DK6Programmer -s COM3 -P 500000 -Y -p ZiGatev2-320.bin
Ensuite, j'ai été obligé de supprimer et remettre la zigate pour que ca fonctionne (dans domoticz onglet matériel)
J'ai énormément gagné en réactivité (avant j'avais une latence de 6 sec parfois).

Merci à ceux qui m'ont aidé.
Répondre