Zigbee ne marche plus.
Publié : 05 avr. 2026, 18:54
Bonjour,
J'ai une installation de Domoticz qui fonctionne bien. Un de mes capteurs est zigbee, et j'avais installé il y a 2 ans, je crois, ce qu'il fallait pour le connecter à Domoticz.
Pour une raison que j'ignore, ça a arrêté de marcher, et j'ai entrepris de reconnecter ce capteur à Domoiticz. Mais j'avais oublié un mot de passe dont j'avais besoin pour Deconz, la procédure de réinitialisation du mot de passe a mal tourné, et j'ai finalement décidé de repartir d'un tuto.
Je suis tombé là-dessus : https://zigbeefordomoticz.github.io/wik ... ation.html
C'est très bien exposé, mais dans mon cas ça ne marche pas. J'avais des erreurs pas claires, alors j'ai essayé de corriger ces erreurs en appliquant des recettes trouvées ailleurs. Ca a effectivement fait disparaitre les problèmes observés, mais en en faisant apparaitre d'autres, et je commence à me demander où je vais comme ça.
Alors voilà le sympôme : lorsque j'active le "hardware" zigbee que j'ai ajouté, le log me donne ça :
Il y a une ligne d'erreur au début : et effectivement, le fichier PluginConf.txt dans /home/jeannot/domoticz/plugins/Domoticz-Zigbee/Conf/ n'existe pas.
Et puis trois liognes d'erreur vers la fin : l'histoire du charset-normalizer, ça ne me parle pas du tout. Lorsque je saisis l'instruction indiquée, j'ai un message d'erreur "This environment is externally managed". Et si j'ajoute l'option --break-system-packages, j'ai un message d'erreur m'indiquant que requirement.txt n'existe pas.
Voilà, merci pour toute aide.
J'ai une installation de Domoticz qui fonctionne bien. Un de mes capteurs est zigbee, et j'avais installé il y a 2 ans, je crois, ce qu'il fallait pour le connecter à Domoticz.
Pour une raison que j'ignore, ça a arrêté de marcher, et j'ai entrepris de reconnecter ce capteur à Domoiticz. Mais j'avais oublié un mot de passe dont j'avais besoin pour Deconz, la procédure de réinitialisation du mot de passe a mal tourné, et j'ai finalement décidé de repartir d'un tuto.
Je suis tombé là-dessus : https://zigbeefordomoticz.github.io/wik ... ation.html
C'est très bien exposé, mais dans mon cas ça ne marche pas. J'avais des erreurs pas claires, alors j'ai essayé de corriger ces erreurs en appliquant des recettes trouvées ailleurs. Ca a effectivement fait disparaitre les problèmes observés, mais en en faisant apparaitre d'autres, et je commence à me demander où je vais comme ça.
Alors voilà le sympôme : lorsque j'active le "hardware" zigbee que j'ai ajouté, le log me donne ça :
Code : Tout sélectionner
2026-04-05 18:34:12.871 Status: zigbee: Stop directive received.
2026-04-05 18:34:12.871 Status: zigbee: Stopping threads.
2026-04-05 18:34:12.871 Status: zigbee: Exiting work loop.
2026-04-05 18:34:12.872 Status: zigbee: Stopped.
2026-04-05 18:34:19.394 Status: zigbee: Entering work loop.
2026-04-05 18:34:19.394 Status: zigbee: Started.
2026-04-05 18:34:19.693 RFXCOM: Temp (Etage)
2026-04-05 18:34:20.273 Status: zigbee: Initialized version 8.1, author 'pipiche38'
2026-04-05 18:34:20.275 Status: zigbee: Welcome to Zigbee for Domoticz (Z4D) plugin. (c)pipiche38 - 2018 - 2025
2026-04-05 18:34:20.275 zigbee: PYTHONPATH is not set
2026-04-05 18:34:20.275 Status: zigbee: Z4D requires python3.9 or above and you are running 3.11
2026-04-05 18:34:20.275 Status: zigbee: Z4D is loading configuration settings
2026-04-05 18:34:20.276 Error: zigbee: Cannot access path: /home/jeannot/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2026-04-05 18:34:20.276 Status: zigbee: filename set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf.txt
2026-04-05 18:34:20.276 Status: zigbee: pluginHome set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee
2026-04-05 18:34:20.276 Status: zigbee: homedirectory set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee
2026-04-05 18:34:20.276 Status: zigbee: pluginData set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/Data
2026-04-05 18:34:20.276 Status: zigbee: pluginConfig set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/Conf
2026-04-05 18:34:20.276 Status: zigbee: pluginOTAFirmware set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/OTAFirmware
2026-04-05 18:34:20.276 Status: zigbee: pluginReports set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/Reports
2026-04-05 18:34:20.276 Status: zigbee: pluginWWW set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/www
2026-04-05 18:34:20.276 Status: zigbee: pluginLogs set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/Logs
2026-04-05 18:34:20.276 Status: zigbee: SSLCertificate set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/certs/server.crt
2026-04-05 18:34:20.276 Status: zigbee: SSLPrivateKey set to /home/jeannot/domoticz/plugins/Domoticz-Zigbee/certs/server.key
2026-04-05 18:34:20.276 Status: zigbee: expJsonDatabase set to 0
2026-04-05 18:34:20.442 Status: zigbee: Z4D is checking the python modules requirements
2026-04-05 18:34:20.443 Status: zigbee: Checking Python modules /home/jeannot/domoticz/plugins/Domoticz-Zigbee/constraints.txt
2026-04-05 18:34:20.444 Status: zigbee: - zigpy==0.83.0 version required 0.83.0 installed 0.83.0
2026-04-05 18:34:20.444 Status: zigbee: - zigpy_znp==0.14.1 version required 0.14.1 installed 0.14.1
2026-04-05 18:34:20.445 Status: zigbee: - zigpy_deconz==0.25.2 version required 0.25.2 installed 0.25.2
2026-04-05 18:34:20.445 Status: zigbee: - bellows==0.46.2 version required 0.46.2 installed 0.46.2
2026-04-05 18:34:20.446 Status: zigbee: - dnspython==2.7.0 version required 2.7.0 installed 2.7.0
2026-04-05 18:34:20.446 Status: zigbee: - pyserial>=3.5 version required 3.5 installed 3.5
2026-04-05 18:34:20.447 Error: zigbee: Looks like charset-normalizer==2.0.11 Python module is not installed or does not meet the required version. Requires 2.0.11, Installed 3.0.1.Make sure to install the required Python3 module with the correct version.
2026-04-05 18:34:20.447 Error: zigbee: Use the command:
2026-04-05 18:34:20.447 Error: zigbee: sudo python3 -m pip install -r requirements.txt --upgrade
2026-04-05 18:34:20.447 zigbee: onStop()
2026-04-05 18:34:20.589 zigbee: Remaining active threads:
2026-04-05 18:34:20.589 zigbee: - Thread MainThread: alive=True, ident=140732186747136, daemon=FalseEt puis trois liognes d'erreur vers la fin : l'histoire du charset-normalizer, ça ne me parle pas du tout. Lorsque je saisis l'instruction indiquée, j'ai un message d'erreur "This environment is externally managed". Et si j'ajoute l'option --break-system-packages, j'ai un message d'erreur m'indiquant que requirement.txt n'existe pas.
Voilà, merci pour toute aide.