Homebridge auf Pi2

Begonnen von Kai-Uwe, 28 Dezember 2016, 12:38:46

Vorheriges Thema - Nächstes Thema

Kai-Uwe

Nach langer Zeit habe ich nun mal wieder die Zeit gefunden mich mit meinem Pi2 und FHEM zu beschäftigen. Das System läuft hier seit langer Zeit wunderbar und nun würde ich gerne Homebridge dazu nehmen um z.B. Siri mit meinen Geräten zu nutzen.

Im Netz gibt es ja so einige Anleitungen dazu die an sich auch super geschrieben sind. Nur...... Keine davon scheint wirklich zu funktionieren. Ich weiss nicht wieviele Stunden ich inzwischen mit lesen, probieren,testen usw. verbracht habe. Es hakt scheinbar immer an der ungefähr gleichen Stelle.

Vorab: Ich bin blutiger Linux Anfänger....

Wenn ich z.B. die Anleitung im FHEM-Wicki durcharbeite läuft alles bis zum Punkt 1.2 (Installation Phyton) ohne sichtbare Fehler ab.

Die Installation von Homebridge mit:

npm install -g --unsafe-perm homebridge


Enthält dann u.a. aber folgende Fehler:

gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.1.19-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns
gyp ERR! node -v v4.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 4.1.19-v7+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "homebridge"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! curve25519-n@1.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the curve25519-n@1.1.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the curve25519-n 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 curve25519-n
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls curve25519-n
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/npm-debug.log


Damit kann ich leider gar nichts anfangen :-(

Alles weitere bringt dann natürlich auch nichts mehr. Wer kann mir helfen? Gibt es irgendwo im Netz eine funktionierende!! Anleitung zur Installation/Integration von Homebridge in FHEM?

Vielen Dank schon mal im Voraus!

SamNitro

Versuche mal
sudo npm install -g --unsafe-perm homebridge
(Intel-Nuc Proxmox) (Homematic) (EnOcean) (CUL868) (CUL433) (Zigbee2MQTT) (ESP8266) (Echo) (DUOFERN)

Kai-Uwe

Das steht ja auch so im Wiki.  Leider funktioniert das eben nicht. Egal ob als sudo oder nicht.

Trotzdem Danke für den Tipp.


Gesendet von iPad mit Tapatalk