Erreur avec le plugin zigate

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
kioub
Messages : 11
Inscription : 29 sept. 2020, 23:22

Erreur avec le plugin zigate

Message par kioub »

Bonjour,

Avant de décrire mon problème, je précise que je débute avec ma Raspberry.

Matériel :
- Raspberry PI 3+,
- un SSD pour l'os,
- un RFXcom,
- un Pizigate tout neuf.

Je n'ai rien installé sur le raspberry à part :
- raspbian,
- domoticz,
- plugin zigate.

Tout a été installé avec l'utilisateur PI.

La zigate a passé le test comme indiqué dans le wiki.

Au démarrage de la PI, tout se lance automatiquement sauf le plugin Zigate qui plante :
(Zigate essais) Entering work loop.
(Zigate essais) Initialized version 4.9, author 'zaraki673 pipiche38'
(Zigate essais) Zigate plugin stable-4.9.005 started
(Zigate essais) Debug: 16
(Zigate essais) load PluginConf
(Zigate essais) 'onStart' failed 'PermissionError'.
(Zigate essais) ----> Line 968 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
(Zigate essais) ----> Line 248 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onStart
(Zigate essais) ----> Line 297 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/PluginConf.py', function __init__
(Zigate essais) ----> Line 415 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/PluginConf.py', function _load_Settings

Si quelqu'un pouvait m'aider à trouver une solution à mon problème....

Merci
Kioub
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Erreur avec le plugin zigate

Message par pipiche »

Verified les droits d’accès a priori le plugin n’a pas à accès lecture ou écriture sur des fichiers qui se trouvent dans
Domoticz-Zigate/Conf ou Domoticz-Zigate/Data
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
kioub
Messages : 11
Inscription : 29 sept. 2020, 23:22

Re: Erreur avec le plugin zigate

Message par kioub »

Bonjour,

Effectivement, j'ai modifié des droits et les erreurs ont disparu. Malheureusement, cela ne fonctionne toujours pas.
Du coup, j'ai tout réinstallé hier soir pour partir d'un Raspberry neuf mais ça ne marche pas :

Status: RFXCOM: Async Disabled
Status: (Zigate de kioub) ==> Transport Mode: auto
Status: (Zigate de kioub) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyAMA0
Status: (Zigate de kioub) Connection open: Name: 'ZiGate', Transport: 'Serial', Protocol: 'None', Address: '/dev/ttyAMA0', Port: '', Baud: 115200, Connected: False, Parent: 'None'
Status: (Zigate de kioub) 'Factory new' Restart status: STARTUP
Status: (Zigate de kioub) Firmware < 31d switching to Mode: ZiGate31c
Status: (Zigate de kioub) Major Version Num: 0003
Status: (Zigate de kioub) Installer Version Number: 031a
Error: (Zigate de kioub) Zigate not correctly initialized
Error: (Zigate de kioub) Zigate not correctly initialized
Error: (Zigate de kioub) Zigate not correctly initialized
Error: (Zigate de kioub) We are having difficulties to start Zigate. Basically we are not receiving what we expect from Zigate
Error: (Zigate de kioub) Plugin is not started ...
Error: (Zigate de kioub) Zigate not correctly initialized
Error: (Zigate de kioub) We are having difficulties to start Zigate. Basically we are not receiving what we expect from Zigate
Error: (Zigate de kioub) Plugin is not started ...
Error: (Zigate de kioub) Zigate not correctly initialized

Je ne sais pas quoi faire...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Erreur avec le plugin zigate

Message par pipiche »

as-tu comme expliqué sur le Wiki fait un ErasePDM lors du premier lancement du plugin avec la Zigate pour l'initialiser ?

https://github.com/pipiche38/Domoticz-Z ... llation.md
In the Domoticz Web UI, navigate to the Hardware page.

In the hardware dropdown there will be an entry called "Zigate plugin".
On the first use of the Zigate, you have also to set True the Initialize ZiGate (Erase Memory) (previously name: ErasePDM in order to reset the ZIgate and get it initialized with the plugin.
kioub
Messages : 11
Inscription : 29 sept. 2020, 23:22

Re: Erreur avec le plugin zigate

Message par kioub »

Non je ne l'ai pas fait ! Un grand merci, ça fonctionne.
Bon week-end,
Mathieu
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Erreur avec le plugin zigate

Message par pipiche »

kioub a écrit : 03 oct. 2020, 14:46 Non je ne l'ai pas fait ! Un grand merci, ça fonctionne.
Bon week-end,
Mathieu
top
Répondre