Page 1 sur 1

Erreur avec le plugin zigate

Publié : 29 sept. 2020, 23:37
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

Re: Erreur avec le plugin zigate

Publié : 30 sept. 2020, 08:01
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

Re: Erreur avec le plugin zigate

Publié : 03 oct. 2020, 12:23
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...

Re: Erreur avec le plugin zigate

Publié : 03 oct. 2020, 12:53
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.

Re: Erreur avec le plugin zigate

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

Re: Erreur avec le plugin zigate

Publié : 03 oct. 2020, 14:54
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