Page 5 sur 11

Re: Domoticz, Homebridge et Homekit

Publié : 05 mai 2017, 09:56
par Sopalin
Tout est installé sur un PI3, mon syno ne stocke que mes fichiers (film + backup) donc aucun lien normalement.

Re: Domoticz, Homebridge et Homekit

Publié : 05 mai 2017, 13:59
par TroisSix
J'ai aussi un pi3, et Siri exécute bien mes demandes immédiatement dès qu'il a compris ma demande et que le système est bien atteignable.
C'est sur, ce n'est pas aussi immédiat qu'un appui sur un bouton dans ImperiHome ou Pilot, mais la commande est bien exécutée moins d'une seconde après que Siri a compris le message.
Tu as des délais importants?

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 11:37
par fab0030
Bonjour,
je galère pour installer homebridge
voici les erreurs que j obtient après

Code : Tout sélectionner

sudo npm install -g homebridge --unsafe-perm

Code : Tout sélectionner

npm ERR! Linux 4.1.19-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "homebridge" "--unsafe-perm"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

npm ERR! mdns@2.3.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mdns@2.3.3 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mdns package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs mdns
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls mdns
npm ERR! There is likely additional logging output above.
Avez vous une idée pour m aider
merci bcp

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 11:51
par schwinny
Il te dit de vérifier si tu as bien nom et node installer.
Make sure you have the latest version of node.js and npm installed.
as tu essayer a tout hasard avant d'installer de réinstaller ces application en faisant

Code : Tout sélectionner

sudo apt install nodejs npm
avant ?

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 12:08
par fab0030
Alors le retour de

Code : Tout sélectionner

pi@raspberrypi / $ sudo apt-get install nodejs npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version.
nodejs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
version nodejs : 4.2.2
version npm : 3.10.3

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 12:11
par schwinny
linux n'étant pas trop mon fort mais a tout hasard, as tu tenté la commande suivante AVANT de lancer tes commandes d'install ?

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 12:12
par schwinny
Apres, je vois la ligne suivante dans ton log:
If you do, this is most likely a problem with the mdns package,
Je dirais que le package téléchargé est pourri et il faudrait le retelecharger je pense non ?

Edit: As tu testé les commandes suivantes avant de lancer l'installe de homebridge ?

Code : Tout sélectionner

 sudo apt-get update
puis

Code : Tout sélectionner

sudo apt-get upgrade

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 12:17
par schwinny
euh...

la comande que tu lance est a l'envers non ?
sur le domo, il faut lancer

Code : Tout sélectionner

sudo npm install -g --unsafe-perm homebridge
et non

Code : Tout sélectionner

sudo npm install -g homebridge --unsafe-perm
as tu tester ?

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 12:26
par fab0030
update upgrade j avais fait

j ai rebooté et inversé comme tu me l'as dit
maintenant j ai ça :

Code : Tout sélectionner

pi@raspberrypi ~ $ sudo npm install -g --unsafe-perm homebridge
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/usr/lib
âââ homebridge@0.0.0

pi@raspberrypi ~ $ sudo npm install -g --unsafe-perm homebridge-edomoticz
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
/usr/lib
âââ homebridge-edomoticz@1.0.12

Re: Domoticz, Homebridge et Homekit

Publié : 06 mai 2017, 12:29
par schwinny
deprecated veux dire que c'est pas a jour...
il t'indique que les paquets sont pas a jour mais sont installé

pour moi c'est correctement installé...

peux tu tenté maintenant un

Code : Tout sélectionner

sudo apt-get update
puis

Code : Tout sélectionner

sudo apt-get upgrade
et me dire ce que ça fait ?