« 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
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

Version du 3 mars 2023 à 10:02

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_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 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