Page 2 sur 2

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 25 nov. 2023, 22:49
par Phil35
Merci
espaces supprimés

Je continue
Ah clic sur modifier après avoir supprimés les espaces
et de nouveau les mêmes messages
faut il redémarrer domoticz après chaque appui sur "modifier" du plugin ?

Code : Tout sélectionner

 2023-11-25 22:48:39.324 Error: coordinateur1-conbeeII: Call to function 'onStart' failed, exception details:
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: Traceback (most recent call last):
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/home/domoticz/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1581, in onStart
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: _plugin.onStart()
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/home/domoticz/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 618, in onStart
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: from zigpy.config import (CONF_DEVICE, CONF_DEVICE_PATH,
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/usr/local/lib/python3.9/dist-packages/zigpy/config/__init__.py", line 34, in <module>
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: from zigpy.config.validators import (
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/usr/local/lib/python3.9/dist-packages/zigpy/config/validators.py", line 9, in <module>
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: import zigpy.zdo.types as zdo_t
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/usr/local/lib/python3.9/dist-packages/zigpy/zdo/__init__.py", line 10, in <module>
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: import zigpy.util
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/usr/local/lib/python3.9/dist-packages/zigpy/util.py", line 15, in <module>
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: from cryptography.hazmat.primitives.ciphers import Cipher
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/usr/local/lib/python3.9/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module>
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: from cryptography.hazmat.primitives.ciphers.base import (
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: File "/usr/local/lib/python3.9/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module>
2023-11-25 22:48:39.331 Error: coordinateur1-conbeeII: from cryptography.exceptions import (
2023-11-25 22:48:39.332 Error: coordinateur1-conbeeII: File "/usr/local/lib/python3.9/dist-packages/cryptography/exceptions.py", line 9, in <module>
2023-11-25 22:48:39.332 Error: coordinateur1-conbeeII: from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
2023-11-25 22:48:39.332 Error: coordinateur1-conbeeII: ImportError: PyO3 modules may only be initialized once per interpreter process
2023-11-25 22:49:48.099 Error: coordinateur1-conbeeII: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue 

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 09:38
par pipiche

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 14:23
par Phil35
Merci @pipiche

Fait :

Code : Tout sélectionner

sudo python3 -m pip install cryptography==40.0.2 --upgrade
[sudo] password for domoticz: 
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting cryptography==40.0.2
  Downloading cryptography-40.0.2-cp36-abi3-manylinux_2_28_aarch64.whl (3.5 MB)
     |████████████████████████████████| 3.5 MB 3.2 MB/s 
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/dist-packages (from cryptography==40.0.2) (1.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.12->cryptography==40.0.2) (2.21)
Installing collected packages: cryptography
  Attempting uninstall: cryptography
    Found existing installation: cryptography 41.0.5
    Uninstalling cryptography-41.0.5:
      Successfully uninstalled cryptography-41.0.5
Successfully installed cryptography-40.0.2

comme je suis en mode candide ;-) je partage
lors du démarrage de la page sur le port 9440, y a une url sur laquelle il est possible de cliquer pour accéder à des informations .. bon 404 pour l'URL https://zigbeefordomoticz.github.io/wik ... Stastiques
404 sur l'URL https://zigbeefordomoticz.github.io/wiki/fr-fr/WebUI_Stastiques
404 sur l'URL https://zigbeefordomoticz.github.io/wiki/fr-fr/WebUI_Stastiques
Capture d’écran du 2023-11-26 14-18-33.png (57.39 Kio) Consulté 668 fois

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 15:18
par Phil35
un typo trouvé
https://zigbeefordomoticz.github.io/wik ... ation.html
"Par défaut, ce menu est ajouté automatiquement au lancement du plugin et enlever à l’arrêt du plugin."

enlever -> enlevé

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 16:09
par Keros
J'ai trouvé le lien générant l'erreur. J'ai mis un peu de temps à trouver lequel dont tu parlais (j'aurais préféré un screenshot du lien plutôt que la page d'erreur :mrgreen: ).
Par contre, c'est dans les fichiers du WebUI > ce sera mis à jour qu'à la sortie de la prochaine version du plugin.

La typo du wiki est corrigé. Tu peux également nous soumettre des corrections directement sur GitHub.

Merci de tes retours.

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 17:21
par Phil35
Ah désolé, keros :-(

Une question bête, pourquoi la con bee II n'est pas listée ?
https://zigbeefordomoticz.github.io/wik ... ators.html

Con bee II
Micro contrôleur : ATSAMR21B18 ARM® Cortex®-M0+

J'ai quatre prises "NOUS Smart zigbee socket A1Z"
et deux détecteurs d'ouvertures Aquara "Door and Window Sensor"

J'ai commencé par essayer avec une prise, cela fonctionne nickel, la documentation de "NOUS" est trompeuse ...
In fine installer l'application sur le téléphone ne sert pas ..
cf : https://nous.technology/product/pdf?slug=a1z-1&alias=fr
"(votre hub ZigBee doit déjà être connecté à l'application)"

les prises : https://zigbee.blakadder.com/Nous_A1Z.html
les détecteurs d'ouverture : https://zigbee.blakadder.com/Aqara_MCCGQ11LM.html

Première prise Ok,
Top - Merci pour votre temps et réponses bienveillantes

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 18:28
par Keros
Pour la ConBee, c'est un oubli. Pipiche fait tellement de choses sur le plugin qu'il est difficile de le suivre :mrgreen:
Et puis surtout, on oublie que l'on a écrit des pages ;)
C'est en cours de correction.

Maintenant que tu utilises le ZigBee via DomoticZ, cela remplace toutes les passerelles/hub ZigBee*. La seule info dont tu peux avoir besoin dans les notices désormais est "comment faire le reset de l'objet pour lancer le mode appairage".

*Je précise que le plugin n'a pas été testé avec tous les objets ;)

Re: problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 19:50
par Phil35
Super
je continue la découverte zigbee - ayant zwave sur la plateforme de production
Merci beaucoup à tous les deux
(je passe en résolu :-) )

Re: [résolu] : problème à l'installation : zigbeefordomoticz et conbee, sur pi3

Publié : 26 nov. 2023, 20:21
par Keros
Bonne continuation.

N'hésite pas si tu as des questions, ou si tu vois d'autres coquilles ;)