Bonjour Pipiche,
Le plugin Zigate à bien été copié dans le répertoire plugins mais même en arrêtant le paquet et redémarrant (stop/lancer) il n'apparaît pas dans la liste de matériels.
@DiskStation:/volume2$ cd /usr/local/domoticz/var/plugins admin@DiskStation:/usr/local/domoticz/var/plugins$ dir
total 12
drwxr-xr-x 3 domoticz root 4096 Feb 17 11:04 .
drwxr-sr-x 5 domoticz root 4096 Feb 17 12:47 ..
drwxr-xr-x 7 root root 4096 Feb 17 11:04 Domoticz-Zigate
admin@DiskStation:/usr/local/domoticz/var/plugins$
Voilà ce que donne la commande git
ge: git [--version] [--help] [-C <path>] [-c <name>=<value>]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
These are common Git commands used in various situations:
start a working area (see also: git help tutorial)
clone Clone a repository into a new directory
init Create an empty Git repository or reinitialize an existing one
work on the current change (see also: git help everyday)
add Add file contents to the index
mv Move or rename a file, a directory, or a symlink
reset Reset current HEAD to the specified state
rm Remove files from the working tree and from the index
examine the history and state (see also: git help revisions)
bisect Use binary search to find the commit that introduced a bug
grep Print lines matching a pattern
log Show commit logs
show Show various types of objects
status Show the working tree status
grow, mark and tweak your common history
branch List, create, or delete branches
checkout Switch branches or restore working tree files
commit Record changes to the repository
diff Show changes between commits, commit and working tree, etc
merge Join two or more development histories together
rebase Reapply commits on top of another base tip
tag Create, list, delete or verify a tag object signed with GPG
collaborate (see also: git help workflows)
fetch Download objects and refs from another repository
pull Fetch from and integrate with another repository or a local branch
push Update remote refs along with associated objects
'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
admin@DiskStation:/usr/local/domoticz/var/plugins$
Merci encore pour la patience et pour votre aide, je crois qu'il ne manque pas grand chose pour que ça fonctionne
Cordialement
Zigate n'apparait pas dans ajout de matériel
Re: Zigate n'apparait pas dans ajout de matériel
Alors, c'est simple:
Le répertoire dans lequel le plugin a été installé appartient à domoticz:root. Mais le répertoire Domoticz-Zigate lui appartient à root:root
le process domoticz n'a pas les droit d'accès sur le plugin et du coup ne le vvoie pas ... C'est tout l'avantage de Linux.
Donc tu fais la commande suivante:
Si tu bloques avec la commande , il s'agit d'une commande qui te permet d’être administrateur. Vraisemblablement tu vas avoir a rentrer un mot de passe, qui est normalement le mot de passe de l'utilisateur depuis lequel tu exécutes cette commande (a priori l'utilisateur admin).
Après quoi tu devrais avoir
Domoticz-Zigate qui appartient à domoticz:root
Là tu relances domoticz, et il n'y a pas de raison qu'il ne voie pas le plugin ... ON y croit
Le répertoire dans lequel le plugin a été installé appartient à domoticz:root. Mais le répertoire Domoticz-Zigate lui appartient à root:root
le process domoticz n'a pas les droit d'accès sur le plugin et du coup ne le vvoie pas ... C'est tout l'avantage de Linux.
Donc tu fais la commande suivante:
Si tu bloques avec la commande
Code : Tout sélectionner
sudoCode : Tout sélectionner
cd /usr/local/domoticz/var/plugins
sudo chown domoticz:root Domoticz-Zigate
ls -lDomoticz-Zigate qui appartient à domoticz:root
Là tu relances domoticz, et il n'y a pas de raison qu'il ne voie pas le plugin ... ON y croit
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.
Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
Re: Zigate n'apparait pas dans ajout de matériel
Pipiche,
Est-ce que les lignes de commandes ont fonctionné ?
Car malheureusement malgré cette opération, zigate n'est toujours pas visible ?
Cordialement
root@DiskStation:~# cd /usr/local/domoticz/var/plugins root@DiskStation:/usr/local/domoticz/var/plugins# sudo chown domoticz:root Domoticz-Zigate root@DiskStation:/usr/local/domoticz/var/plugins# ls -l total 4
drwxr-xr-x 7 domoticz root 4096 Feb 17 11:04 Domoticz-Zigate
root@DiskStation:/usr/local/domoticz/var/plugins#
Est-ce que les lignes de commandes ont fonctionné ?
Car malheureusement malgré cette opération, zigate n'est toujours pas visible ?
Cordialement
root@DiskStation:~# cd /usr/local/domoticz/var/plugins root@DiskStation:/usr/local/domoticz/var/plugins# sudo chown domoticz:root Domoticz-Zigate root@DiskStation:/usr/local/domoticz/var/plugins# ls -l total 4
drwxr-xr-x 7 domoticz root 4096 Feb 17 11:04 Domoticz-Zigate
root@DiskStation:/usr/local/domoticz/var/plugins#
Re: Zigate n'apparait pas dans ajout de matériel
root@DiskStation:/volume2/@appstore/domoticz/var/plugins# dir
total 12
drwxr-xr-x 3 domoticz root 4096 Feb 17 11:04 .
drwxr-sr-x 5 domoticz root 4096 Feb 17 20:36 ..
drwxr-xr-x 7 domoticz root 4096 Feb 17 11:04 Domoticz-Zigate
root@DiskStation:/volume2/@appstore/domoticz/var/plugins#
total 12
drwxr-xr-x 3 domoticz root 4096 Feb 17 11:04 .
drwxr-sr-x 5 domoticz root 4096 Feb 17 20:36 ..
drwxr-xr-x 7 domoticz root 4096 Feb 17 11:04 Domoticz-Zigate
root@DiskStation:/volume2/@appstore/domoticz/var/plugins#
Re: Zigate n'apparait pas dans ajout de matériel
Salut,
je t'envoie un MP
je t'envoie un MP
Re: Zigate n'apparait pas dans ajout de matériel
Un grand merci a vous !!! J'ai fini par résoudre mon problème grâce a votre fil 