« Installation du module ZigBee » : différence entre les versions
De wiki_pcwiki2
Aller à la navigationAller à la recherche
Page créée avec « KEYWORDS: DOMOTICZ, ZIGBEE '''Le 03/03/2023:''' Il y a un petit bémol dans la doc pour installer zigbee (réf: https://zigbeefordomoticz.github.io/wiki/fr-fr/Plugin_In... » |
Aucun résumé des modifications |
||
| (2 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
KEYWORDS: DOMOTICZ, ZIGBEE | KEYWORDS: DOMOTICZ, ZIGBEE | ||
'''Le 03/03/2023:''' | '''Le 03/03/2023:''' ''ADDENDUM: en fin de compte, domoticz ne marche pas en bullseye, il faut re passer en buster (cf VM IP 018 - debian10-domoticz'' | ||
Il y a un petit bémol dans la doc pour installer zigbee (réf: https://zigbeefordomoticz.github.io/wiki/fr-fr/Plugin_Installation.html ): | Il y a un petit bémol dans la doc domoticz pour installer zigbee (réf: https://zigbeefordomoticz.github.io/wiki/fr-fr/Plugin_Installation.html ): | ||
''' | |||
'''cd domoticz/plugins/''' | |||
Exécuter la commande : '''git clone https://github.com/zigbeefordomoticz/Domoticz-Zigbee.git''' | Exécuter la commande : '''git clone https://github.com/zigbeefordomoticz/Domoticz-Zigbee.git''' | ||
Le répertoire Domoticz-Zigbee sera créé dans le dossier plugins. | Le répertoire Domoticz-Zigbee sera créé dans le dossier plugins. | ||
| Ligne 10 : | Ligne 10 : | ||
Installer les paquets Python nécessaires avec la commande : '''pip3 install -r requirements.txt''' | Installer les paquets Python nécessaires avec la commande : '''pip3 install -r requirements.txt''' | ||
'''chown -R pi:pi .''' | '''chown -R pi:pi .''' | ||
C'est ici qu'il y a le problème: | ''C'est ici qu'il y a le ptrmirt problème:'' | ||
Il faut rajouter: | ''Il faut rajouter:'' | ||
'''git pull''' | '''git pull''' | ||
'''git config --global --add safe.directory /home/pi/domoticz/plugins/Domoticz-Zigbee''' | '''git config --global --add safe.directory /home/pi/domoticz/plugins/Domoticz-Zigbee''' | ||
| Ligne 20 : | Ligne 20 : | ||
'''git submodule update --init --recursive''' | '''git submodule update --init --recursive''' | ||
''NB: j'ai rencontré un dernier problème ici:'''' | |||
Il faut exécuter tout ce que dit le git: '''git config --global --add safe.directory /home/pi/domoticz/plugins/Domoticz-Zigbee/...''''' | |||
''Il y en a trois ou quatre à lancer et après, cela a l'air de passer pour le'' '''git submodule update --init --recursive''' | |||
'''chmod +x plugin.py''' | '''chmod +x plugin.py''' | ||
systemctl restart domoticz | systemctl restart domoticz | ||
Dernière version du 3 mars 2023 à 16:46
KEYWORDS: DOMOTICZ, ZIGBEE
Le 03/03/2023: ADDENDUM: en fin de compte, domoticz ne marche pas en bullseye, il faut re passer en buster (cf VM IP 018 - debian10-domoticz Il y a un petit bémol dans la doc domoticz pour installer zigbee (réf: https://zigbeefordomoticz.github.io/wiki/fr-fr/Plugin_Installation.html ): cd domoticz/plugins/ Exécuter la commande : git clone https://github.com/zigbeefordomoticz/Domoticz-Zigbee.git Le répertoire Domoticz-Zigbee sera créé dans le dossier plugins. cd Domoticz-Zigbee/ Installer les paquets Python nécessaires avec la commande : pip3 install -r requirements.txt chown -R pi:pi . C'est ici qu'il y a le ptrmirt problème: Il faut rajouter: git pull git config --global --add safe.directory /home/pi/domoticz/plugins/Domoticz-Zigbee Maintenant, on peut reprendre le cours de la documentation: git config --add submodule.recurse true git submodule update --init --recursive NB: j'ai rencontré un dernier problème ici:'' Il faut exécuter tout ce que dit le git: git config --global --add safe.directory /home/pi/domoticz/plugins/Domoticz-Zigbee/... Il y en a trois ou quatre à lancer et après, cela a l'air de passer pour le git submodule update --init --recursive chmod +x plugin.py systemctl restart domoticz