Plugin is not started ...

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Gaz
Messages : 224
Inscription : 17 oct. 2015, 10:30

Plugin is not started ...

Message par Gaz »

Bonjour,
Je me lance à mon tour dans l'aventure Zigate.
Config simple car machine de test sous linux, version de Domoticz 4.10421, Version Python : 3.6.7
Installation à la mano suivante le point 4 du github (https://github.com/pipiche38/Domoticz-Z ... llation.md)
Utilisation de la branche stable et MAJ OK.

J'ai testé la communication de la passerelle avec ZGWUI et j'ai pris pour tests un module Xiaomi aqara de température et d'humidité, pas de problème, ça communique correctement.

Sous Domoticz le plugin est bien installé, le dongle est aussi bien détecté et les deux dummy (Zigate - Zigate Status 2 + Zigate - Zigate Notifications 2) sont bien présent.
Mais dans les logs cela se complique :

2019-04-06 10:37:43.500 (Zigate) FirmwareVersion not ready
2019-04-06 10:37:43.500 Error: (Zigate) Plugin is not started ...
2019-04-06 10:37:43.500 Error: (Zigate) - Communication issue with the Zigate
2019-04-06 10:37:43.500 Error: (Zigate) - restart once the plugin, and if this remain the same
2019-04-06 10:37:43.500 Error: (Zigate) - unplug/plug the zigate


Reboot, unplug/plug de la Zigate : idem

Du coup j'ai mis à jour le firmware en V3.0F mais coté Domoticz toujours pareil.
Une idée ???
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plugin is not started ...

Message par pipiche »

Bonjour,

cela ressemble à un probleme de communication entre le plugin et la Zigate.

Essaye de voir avec le fournisseur de la Zigate.
JPdom
Messages : 29
Inscription : 08 avr. 2019, 12:51

Re: Plugin is not started ...

Message par JPdom »

Bonjour,

j'ai le meme problème avec une PiZiGate fraichement reçue...

Installation toute neuve de Domoticz sur Raspberry Pi 2B (v4.9700), Python v3.5.3, Raspbian 9.8
Installation manuelle comme dit plus haut.
La PiZiGate est bien en mode production (led bleue forte)

Je n'ai pas touché au firmware. Comme je viens de la recevoir je pense qu'elle a déjà la dernière mise à jour ?

Aussi le test Pizigate indique ceci :

Code : Tout sélectionner

./PiZiGate_test /dev/ttyAMA0
Searching /dev/ttyAMA0...
+ Port : /dev/ttyAMA0 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/ttyAMA0 ...
- Error - Unable to open UART.  Ensure it is not in use by another application
Domoticz Stable + PiZigate
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plugin is not started ...

Message par pipiche »

Si PiZigate n'est pas OK. il faut regler le problème, car cela est donc independent du Plugin.
Pour plus d'info, voir avec le fournisseur de la PiZigate
JPdom
Messages : 29
Inscription : 08 avr. 2019, 12:51

Re: Plugin is not started ...

Message par JPdom »

re,

ca à l'air mieux

j'ai réussi à faire que le test soit OK puis j'ai réactivé le plugin sous Domoticz :

En exécutant "sudo raspi-config" choix 5, choix 6, répondre Non puis répondre Oui. Reboot.
Source : https://zigate.fr/documentation/tester- ... elpie-sp-2

Code : Tout sélectionner

./PiZiGate_test /dev/ttyAMA0
Searching /dev/ttyAMA0...
+ Port : /dev/ttyAMA0 is not used
Verif GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Config GPIOs ...
+ GPIO 0 (RESET) --> OK
+ GPIO 2 (FLASH) --> OK
Opening : /dev/ttyAMA0 ...
+ /dev/ttyAMA0 opened --> OK
+ Packet received --> OK
Release : 0003
Version : 030f
Maintenant, la Zigate affiche un channel et se présente comme "Ready" dans les Devices.

Il y a juste ce type d'erreur maintenant. Est-ce "normal" ?

Code : Tout sélectionner

 2019-04-08 14:21:01.023 Status: (PiZigate) DeviceConf loaded
2019-04-08 14:21:01.023 Status: (PiZigate) load ListOfDevice
2019-04-08 14:21:01.027 Status: (PiZigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyAMA0
2019-04-08 14:21:01.180 Status: (PiZigate) Major Version Num: 0003
2019-04-08 14:21:01.181 Status: (PiZigate) Installer Version Number: 030f
2019-04-08 14:21:01.383 Status: (PiZigate) Permit Join: Off
2019-04-08 14:21:01.490 Status: (PiZigate) Zigate addresses ieee: 00158d0001ed4732 , short addr: ffff
2019-04-08 14:21:01.490 Status: (PiZigate) Network state UP, PANID: acaf extPANID: 0x0000000000000000 Channel: 11
2019-04-08 14:21:01.607 Status: (PiZigate) Number of devices recently active in Zigate = 0
2019-04-08 14:21:10.527 Status: (PiZigate) Plugin with Zigate firmware 030f correctly initialized
2019-04-08 14:22:05.531 Error: (PiZigate) 'onHeartbeat' failed 'KeyError'.
2019-04-08 14:22:05.531 Error: (PiZigate) ----> Line 618 in /home/jp/domoticz/plugins/Domoticz-Zigate/plugin.py, function onHeartbeat
2019-04-08 14:22:05.531 Error: (PiZigate) ----> Line 498 in /home/jp/domoticz/plugins/Domoticz-Zigate/plugin.py, function onHeartbeat
2019-04-08 14:22:05.531 Error: (PiZigate) ----> Line 418 in /home/jp/domoticz/plugins/Domoticz-Zigate/Modules/heartbeat.py, function processListOfDevices
2019-04-08 14:22:05.531 Error: (PiZigate) ----> Line 759 in /home/jp/domoticz/plugins/Domoticz-Zigate/Modules/output.py, function processConfigureReporting
2019-04-08 14:23:05.534 Error: (PiZigate) 'onHeartbeat' failed 'KeyError'.
2019-04-08 14:23:05.534 Error: (PiZigate) ----> Line 618 in /home/jp/domoticz/plugins/Domoticz-Zigate/plugin.py, function onHeartbeat
2019-04-08 14:23:05.534 Error: (PiZigate) ----> Line 498 in /home/jp/domoticz/plugins/Domoticz-Zigate/plugin.py, function onHeartbeat
2019-04-08 14:23:05.534 Error: (PiZigate) ----> Line 418 in /home/jp/domoticz/plugins/Domoticz-Zigate/Modules/heartbeat.py, function processListOfDevices
2019-04-08 14:23:05.534 Error: (PiZigate) ----> Line 759 in /home/jp/domoticz/plugins/Domoticz-Zigate/Modules/output.py, function processConfigureReporting 
Domoticz Stable + PiZigate
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plugin is not started ...

Message par pipiche »

Faire un update 'git pull', le problème a été corrigé durant le week-end
JPdom
Messages : 29
Inscription : 08 avr. 2019, 12:51

Re: Plugin is not started ...

Message par JPdom »

Merci.
Du coup j'ai désinstallé le plugin et je l'ai réinstallé via le Plugin Manager Plugin, ca sera plus facile pour les mises à jours.

Tout à l'air bon. Je n'ai plus qu'à attendre de recevoir mes premiers capteurs...
Domoticz Stable + PiZigate
Wolfen38
Messages : 1983
Inscription : 19 oct. 2017, 14:49

Re: Plugin is not started ...

Message par Wolfen38 »

Je profite du sejet, il me semble avoir lu qu'on en était à la 4.1.3, j'ai fait un git pull hier, et je suis toujours en 4.1.1, pourtant pas de message d'erreur.

C'est bizarre non ?
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Plugin is not started ...

Message par pipiche »

Wolfen38 a écrit : 09 avr. 2019, 12:25 Je profite du sejet, il me semble avoir lu qu'on en était à la 4.1.3, j'ai fait un git pull hier, et je suis toujours en 4.1.1, pourtant pas de message d'erreur.

C'est bizarre non ?
As-tu bien fait un redemarrage de Domoticz ?
Wolfen38
Messages : 1983
Inscription : 19 oct. 2017, 14:49

Re: Plugin is not started ...

Message par Wolfen38 »

pipiche a écrit :
Wolfen38 a écrit : 09 avr. 2019, 12:25 Je profite du sejet, il me semble avoir lu qu'on en était à la 4.1.3, j'ai fait un git pull hier, et je suis toujours en 4.1.1, pourtant pas de message d'erreur.

C'est bizarre non ?
As-tu bien fait un redemarrage de Domoticz ?
Oui j'ai fait
Stop domoticz
Git pull dans le répertoire du plugin
Start domoticz

Et c'est au redémarrage de dz que j'ai vu que j'étais encore en 4.1.1

Envoyé de mon Mi A1 en utilisant Tapatalk

Répondre