Page 1 sur 1

[Résolu] Installation du plugin Zigate fait bugger Domoticz

Publié : 08 févr. 2022, 19:12
par wawan44
Bonjour messieurs,

Je me suis lancer dans domoticz il y a peut j'ai pour cela un RPI3B :

Code : Tout sélectionner

PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
J'ai suivi à la lettre le git https://github.com/zigbeefordomoticz/wi ... c-raspbian (qui est d'ailleurs très bien expliqué)

Le test de ma PiZigate+

Code : Tout sélectionner

pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigate $ sudo /home/pi/domoticz/plugins/PiZiGate-tools/test/./PiZiGate_test /dev/ttyAMA0
RPI Model searching ...
Warning !!! you must modify /boot/config.txt
Verifying /boot/cmdline.txt ...
+ /boot/cmdline.txt seems to be OK
Verifying /boot/config.txt ...
+ /boot/config.txt seems to be OK
Warning !!! if it's not the case, you have to execute the following commands :
sudo systemctl disable hciuart
sudo usermod -aG gpio pi
then reboot the PI
Searching /dev/ttyAMA0...
sh: 1: lsof: not found
+ 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 01 02 10 10 02 10 02 10 10 03 sent --> OK
+ Packet received --> OK
size : 120
 01 00 03 02 00 02 03 00 00 03
01 80 07 00 02 85 00 00 03
01 80 01 00 22 ce 06 41 50 50 3a 20 4e 4f 54 20 65 6e 74 65 72 69 6e 67 20 41 50 50 5f 76 4e 63 69 53 74 61 72 74 28 29 03
01 80 00 00 09 99 00 00 00 10 00 00 00 00 00 03
01 80 10 00 05 b2 00 05 03 21 00 03
Mais lorsque j'installe le plugin Zigate j'ai ce message qui apparait et qui plante mon interface web domoticz

Code : Tout sélectionner

2022-02-08 18:08:34.661 Zigate: Worker thread started.
2022-02-08 18:08:34.661 Status: Zigate: Entering work loop.
2022-02-08 18:08:34.661 Status: Zigate: Started.
2022-02-08 18:08:37.898 Zigate: ZiGate plugin started!
2022-02-08 18:08:37.898 Zigate: load PluginConf
2022-02-08 18:08:37.901 Zigate: is_domoticz_db_available: Fashion: True , Major: 2022, Minor: 1
2022-02-08 18:08:37.901 Zigate: is_domoticz_db_available: True
2022-02-08 18:08:37.902 Zigate: Starting LoggingManagement thread
2022-02-08 18:08:37.902 Zigate: start_logging_thread
2022-02-08 18:08:37.904 Zigate: logging_thread - listening
2022-02-08 18:08:37.895 Status: Zigate: Initialized version 5.1, author 'zaraki673 pipiche38'
2022-02-08 18:08:37.902 Status: Zigate: filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-13.json
2022-02-08 18:08:37.902 Status: Zigate: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-02-08 18:08:37.902 Status: Zigate: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-02-08 18:08:37.902 Status: Zigate: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2022-02-08 18:08:37.902 Status: Zigate: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2022-02-08 18:08:37.902 Status: Zigate: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2022-02-08 18:08:37.902 Status: Zigate: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2022-02-08 18:08:37.902 Status: Zigate: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2022-02-08 18:08:37.902 Status: Zigate: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2022-02-08 18:08:37.904 Status: Zigate: Log history not found, no error logged
2022-02-08 18:08:37.908 Status: Zigate: Zigate plugin stable5-5.1.018 started
2022-02-08 18:08:37.930 Error: Domoticz(pid:1793, tid:1841('Zigate')) received fatal signal 11 (Segmentation fault)
2022-02-08 18:08:37.930 Error: siginfo address=0x701, address=(nil)

Pouvez-vous m'aidez svp

Merci d'avance,

Re: Installation du plugin Zigate fait bugger Domoticz

Publié : 08 févr. 2022, 19:15
par pipiche
A ma connaissance il y a un probleme entre Python et la distribution bullseye.

Les alternatives sont:

- utiliser buster
- compiler/linker domoticz
- downgrader python3

Re: Installation du plugin Zigate fait bugger Domoticz

Publié : 08 févr. 2022, 20:53
par Keros
Bonjour wawan44 et bienvenu sur le forum ;)

Malheureusement et même si DomoticZ a eu une release stable il y a quelques-jours, DomoticZ a toujours un souci avec les versions python 9 et supérieure qui se trouve par défaut maintenant dans Debian 11 et dans Raspberry pi OS Bullseye.

Nous en parlons ici Eviter de faire la mise à jour Raspbian Bullseye.

Re: Installation du plugin Zigate fait bugger Domoticz

Publié : 08 févr. 2022, 22:01
par wawan44
Bonsoir
Merci beaucoup messieurs pour toutes les informations

J'ai downgrade le python en 3.8.7 et c'est complètement opérationnel 😉

Re: Installation du plugin Zigate fait bugger Domoticz

Publié : 08 févr. 2022, 22:43
par Keros
Super !

Bonne découverte du monde de la domotique ;)


Si le sujet est terminé, merci de bien vouloir modifier le premier message de cette discussion pour indiquer [Résolu] dans le titre du sujet. Comment faire ? Voir le sujet [A lire avant de poster] Guide pour bien formuler une demande.