NEWS
Apple Homekit Siri
-
Hallo zusammen,
konnte die Fehler beheben und der Adapter läuft nun stabil. Ich hatte nicht unterstütze Geräte in mein enum aufgenommen. Es klappt bei mir derzeit NUR mit der Ist-Temperatur der neuen Heizungsthermostaten. Allerdings erkennt die App auf meinem iPhone den Adapter nicht.. Gibt es da einen Trick?
Viele Grüße
Fabian
-
Hallo,
ich schaffe es gar nicht, den Adapter zu installieren.
-
Neueste Version von Github geladen, zip-Datei in iobroker/node_modules/iobroker.homekit entpackt.
-
Adapter erscheint in ioBroker.admin Oberfläche (Version 0.0.3). Beim Installieren einer Instanz dieser Fehler:
! ````
$ ./iobroker add homekit
host.MacMini-Ethernet.fritz.box install adapter homekitnpm install --production --prefix "/Users/pix/Documents/iobroker/node_modules/iobroker.homekit" (System call)
! sudo: no tty present and no askpass program specified
! npm
ERR! ioBroker.homekit@0.0.3 preinstall:sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
npm ERR!
Exit status 1
npm ERR!
npm ERR! Failed at the ioBroker.homekit@0.0.3 preinstall script.npm
ERR! This is most likely a problem with the ioBroker.homekit package,npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
npm ERR! You can get their info via:
npm
ERR! npm owner ls ioBroker.homekitnpm ERR!
There is likely additional logging output above.npm ERR!
System Darwin 14.5.0npm ERR! command "node" "/usr/local/bin/npm" "install" "--production" "--prefix" "/Users/pix/Documents/iobroker/node_modules/iobroker.homekit"
npm ERR! cwd /Users/pix/Documents
npm ERR!
node -v v0.10.33npm
ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/pix/Documents/npm-debug.log
npm ERR! not ok code 0
! Cannot install iobroker.homekit: 1
ERROR: process exited with code 25Ist OS X Terminal, deshalb kein apt. Homebrew ging auch nicht. Hat jemand eine Idee? Gruß, Pix __EDIT (10.12.2015): Bei einem weiteren Versuch, eine Instanz zu installieren, lief alles sauber durch. Kann es nicht erklären, aber freue mich__ :?: :D
-
-
Hi,
hab jetzt auf dem Cubie parallel die homebridge laufen. Klappt auf Anhieb mit allen Devices. Echt sehr cool. Blöd ist nur die fehlende Integration in IO-Broker. Die Räume und Gerätenamen sind nicht synchron :). Ich denke es lohnt sich auf jeden Fall hier mal reinzuschauen! Vielleicht wird es eher ein "homebridge" Adapter für ioBroker?
> [https://github.com/thkl/homebridge](https://github.com/thkl/homebridge)
Der homekit-adapter wird leider nicht von der App auf dem iPhone erkannt….
Viele Grüße
Trident
-
Hallo zusammen,
könnte mal einer das mit der Einrichtung der enums etwas erläutern.
Wenn es nicht zu viel Aufwand ist, eventuell mit ein paar Bilder und 1-2 Beispielen.
Ich hab den Adapter soweit problemlos installieren können. Jetzt scheitere ich aber an der enum-Konfiguration.
Danke & Gruss
Silvio
-
Hallo, war die letzten Wochen leider außer Gefecht gesetzt.
Hab gestern auf meinem Github eine neue Version hochgeladen.
Gesendet von meinem iPhone mit Tapatalk
-
hallo, ich würde mich gerne beteiligen.
habe den adapter auch per console installiert aber bekomme bei den Adaptern einen Fehler?
Mit freundlichen Grüßen
909_bildschirmfoto_2015-12-09_um_22.05.37.png -
Das Installationsproblem hatte ich auch. In dem Verzeichnis der Adapter heißt das Verzeichnis "ioBroker.homekit". Habe mit "mv ioBroker.homekit/ iobroker.homekit" das Verzeichnis umbenannt. Jetzt kann man Instanzen von Adaptern installieren.
-
top sache, danke hat geklappt
Mit freundlichen Grüßen
-
Hallo,
Instanz installiert und einen Homematic Switch in den Aufzählungen eingefügt.
Beim Start der Instanz erhalte ich diesen Fehler:
! ````
2015-12-09 23:30:20.894 - info: host.MacMini-Ethernet.fritz.box object change system.adapter.homekit.0
2015-12-09 23:30:20.902 - info: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 started with pid 14256
2015-12-09 23:30:21.876 - error: uncaught exception: Could not locate the bindings file. Tried:
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/default/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/compiled/5.0.0/darwin/x64/curve.node
2015-12-09 23:30:21.882 - error: Error: Could not locate the bindings file. Tried:
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/default/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/compiled/5.0.0/darwin/x64/curve.node
at bindings (/Users/pix/Documents/iobroker/node_modules/bindings/bindings.js:88:9)
at Object. <anonymous>(/Users/pix/Documents/iobroker/node_modules/curve25519/index.js:1:96)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. <anonymous>(/Users/pix/Documents/iobroker/node_modules/HAP-NodeJS/lib/util/encryption.js:3:18)
at Module._compile (module.js:425:26)
2015-12-09 23:30:21.929 - debug: homekit.0 objectDB connected
2015-12-09 23:30:21.934 - debug: homekit.0 statesDB connected
2015-12-09 23:30:22.064 - info: homekit.0 starting. Version 0.0.3 in /Users/pix/Documents/iobroker/node_modules/iobroker.homekit
2015-12-09 23:30:22.067 - info: homekit.0 requesting all states
2015-12-09 23:30:22.068 - info: homekit.0 requesting all objects
2015-12-09 23:30:22.914 - error: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 terminated with code 6 (uncaught exception)</anonymous></anonymous>error: Error: Could not locate the bindings file Was kann das sein? Gruß, Pix
-
Hallo, hab dich nicht vergessen, hatte nur unter der Woche noch keine Zeit, schau mir den Fehler gleich mal an, bin ja grad mit einem Freund am erweitern der Konfiguration.
LG Christian
-
Weil ich's grad gesehen habe, kannst du bitte die letzte Version installieren?
Ist mittlerweile 0.0.5 auf GitHub.
-
servus, hab den adapter installiert und mir auch eve runtergelassen nur findet eve das homefit nicht, gibt es da ne Lösung?
Mit freundlichen Grüßen
-
Weil ich's grad gesehen habe, kannst du bitte die letzte Version installieren?
Ist mittlerweile 0.0.5 auf GitHub. `
Hallo,hab das Update versucht, ging leider nicht durch:
! ````
MacMini-Ethernet:iobroker pix$ npm install https://github.com/husky-koglhof/ioBroker.homekit/tarball/master --production
npm WARN addRemoteGit git://github.com/KhaosT/node-srp.git resetting remote /Users/pix/.npm/_git-remotes/git-github-com-KhaosT-node-srp-git-2835e45f024c21e40cb2d65bd72f2b3c because of error: git: error: couldn't open cache file '/var/folders/qh/p1_kkf_x1fzdqzjpj7t18xqr0000gq/T/xcrun_db' (errno=File exists)
npm WARN addRemoteGit git://github.com/KhaosT/node-curve25519.git resetting remote /Users/pix/.npm/_git-remotes/git-github-com-KhaosT-node-curve25519-git-33ca66a69c843d2ebb70497fca566be0 because of error: git: error: couldn't open cache file '/var/folders/qh/p1_kkf_x1fzdqzjpj7t18xqr0000gq/T/xcrun_db' (errno=File exists)
npm WARN addRemoteGit git://github.com/KhaosT/ed25519.git resetting remote /Users/pix/.npm/_git-remotes/git-github-com-KhaosT-ed25519-git-cef11b6e9b2bb55b3b8f0a59f5a2d6bf because of error: git: error: couldn't open cache file '/var/folders/qh/p1_kkf_x1fzdqzjpj7t18xqr0000gq/T/xcrun_db' (errno=File exists)
! > ioBroker.homekit@0.0.5 preinstall /Users/pix/Documents/iobroker/node_modules/.staging/ioBroker.homekit-2481c4b93d734e6c4c816539f7b84a58
sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
! Password:
Sorry, try again.
Password:
sudo: apt-get: command not found- nan@2.1.0 node_modules/bignum/node_modules/nan
- nan@1.9.0 node_modules/curve25519/node_modules/nan
- nan@2.1.0 node_modules/ed25519/node_modules/nan
- ansi-regex@2.0.0 node_modules/iobroker.homekit/node_modules/ansi-regex
- ansi-styles@2.1.0 node_modules/iobroker.homekit/node_modules/ansi-styles
- camelcase@2.0.1 node_modules/iobroker.homekit/node_modules/camelcase
- decamelize@1.1.1 node_modules/iobroker.homekit/node_modules/decamelize
- invert-kv@1.0.0 node_modules/iobroker.homekit/node_modules/invert-kv
- lcid@1.0.0 node_modules/iobroker.homekit/node_modules/lcid
- number-is-nan@1.0.0 node_modules/iobroker.homekit/node_modules/number-is-nan
- is-fullwidth-code-point@1.0.0 node_modules/iobroker.homekit/node_modules/is-fullwidth-code-point
- code-point-at@1.0.0 node_modules/iobroker.homekit/node_modules/code-point-at
- os-locale@1.4.0 node_modules/iobroker.homekit/node_modules/os-locale
- strip-ansi@3.0.0 node_modules/iobroker.homekit/node_modules/strip-ansi
- string-width@1.0.1 node_modules/iobroker.homekit/node_modules/string-width
- window-size@0.1.4 node_modules/iobroker.homekit/node_modules/window-size
- wrap-ansi@1.0.0 node_modules/iobroker.homekit/node_modules/wrap-ansi
- cliui@3.1.0 node_modules/iobroker.homekit/node_modules/cliui
- y18n@3.2.0 node_modules/iobroker.homekit/node_modules/y18n
- yalm@2.0.0 node_modules/iobroker.homekit/node_modules/yalm
- yargs@3.31.0 node_modules/iobroker.homekit/node_modules/yargs
- nan@2.0.9 node_modules/mdns/node_modules/nan
- HAP-NodeJS@0.0.1 node_modules/HAP-NodeJS
/Users/pix/Documents/iobroker
├── mdns@2.2.11
└── srp@0.2.0 (git://github.com/KhaosT/node-srp.git#7feff53254897a0b1b9f0667ad17a8beb78acbb9)
! npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/package.json'
npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/ftp-response-parser/package.json'
npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/jsftp/package.json'
npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/mqtt-packet/package.json'
npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/node_modules/package.json'
npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/socket.io-parser/package.json'
npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/through2/package.json'
npm WARN EPACKAGEJSON iobroker No description
npm WARN EPACKAGEJSON iobroker No repository field.
npm WARN EPACKAGEJSON iobroker No README data
npm WARN EPACKAGEJSON iobroker No license field.
npm ERR! Darwin 15.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "https://github.com/husky-koglhof/ioBroker.homekit/tarball/master" "--production"
npm ERR! node v5.0.0
npm ERR! npm v3.4.0
npm ERR! code ELIFECYCLE
! npm ERR! ioBroker.homekit@0.0.5 preinstall:sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ioBroker.homekit@0.0.5 preinstall script 'sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y'.
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 ioBroker.homekit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! sudo apt-get install git-core libnss-mdns libavahi-compat-libdnssd-dev -y
npm ERR! You can get their info via:
npm ERR! npm owner ls ioBroker.homekit
npm ERR! There is likely additional logging output above.
! npm ERR! Please include the following file with any support request:
npm ERR! /Users/pix/Documents/iobroker/npm-debug.lognpm install [https://github.com/husky-koglhof/ioBrok … all/master](https://github.com/husky-koglhof/ioBroker.homekit/tarball/master) --production Das updaten in Admin wird noch nicht angeboten. Gruß, Pix
-
Guten Morgen!
Hab eine neue Version in GitHub hochgeladen, auf Mac und Raspian liess es sich installieren.
Das sind die Änderungen:
-
Added new Devices
-
Temperature can now be a negative Value (Needed for Outdoor Temperature)
-
Package Name changed to lowercase
-
Removed Dependency for installation of Packages
Bitte mal testen ob die Installation nun korrekt funktioniert.
Es sind im Moment nicht viele Geräte aktiviert, muss erst mal schauen, das diese korrekt funktionieren.
-
-
Hallo,
die Installation lief jetzt fast glatt durch, danke:
!
MacMini-Ethernet:iobroker pix$ npm install https://github.com/husky-koglhof/ioBroker.homekit/tarball/master --production /Users/pix/Documents/iobroker └── iobroker.homekit@0.0.6 ! npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/package.json' npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/ftp-response-parser/package.json' npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/jsftp/package.json' npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/mqtt-packet/package.json' npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/node_modules/package.json' npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/socket.io-parser/package.json' npm WARN ENOENT ENOENT: no such file or directory, open '/Users/pix/Documents/iobroker/node_modules/through2/package.json' npm WARN EPACKAGEJSON iobroker No description npm WARN EPACKAGEJSON iobroker No repository field. npm WARN EPACKAGEJSON iobroker No README data npm WARN EPACKAGEJSON iobroker No license field. MacMini-Ethernet:iobroker pix$ !
allerdings habe ich bei Aktivierung der Instanz wieder diesen Fehler:
! ````
2015-12-12 15:01:07.886 - info: host.MacMini-Ethernet.fritz.box object change system.adapter.homekit.0
2015-12-12 15:01:07.896 - info: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 started with pid 16645
2015-12-12 15:01:08.712 - error: uncaught exception: Could not locate the bindings file. Tried:
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/default/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/compiled/5.0.0/darwin/x64/curve.node
2015-12-12 15:01:08.717 - error: Error: Could not locate the bindings file. Tried:
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Debug/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/out/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/Release/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/build/default/curve.node
→ /Users/pix/Documents/iobroker/node_modules/curve25519/compiled/5.0.0/darwin/x64/curve.node
at bindings (/Users/pix/Documents/iobroker/node_modules/bindings/bindings.js:88:9)
at Object. <anonymous>(/Users/pix/Documents/iobroker/node_modules/curve25519/index.js:1:96)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. <anonymous>(/Users/pix/Documents/iobroker/node_modules/hap-nodejs/lib/util/encryption.js:3:18)
at Module._compile (module.js:425:26)
2015-12-12 15:01:08.762 - debug: homekit.0 objectDB connected
2015-12-12 15:01:08.766 - debug: homekit.0 statesDB connected
2015-12-12 15:01:08.911 - info: homekit.0 starting. Version 0.0.6 in /Users/pix/Documents/iobroker/node_modules/iobroker.homekit
2015-12-12 15:01:08.914 - info: homekit.0 requesting all states
2015-12-12 15:01:08.914 - info: homekit.0 requesting all objects
2015-12-12 15:01:09.768 - error: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 terminated with code 6 (uncaught exception)</anonymous></anonymous>Hast du noch einen Tipp? Pix
-
Hallo, so sieht es bei mir aus:
Christians-Mac-mini:tmp christian$ npm install https://github.com/husky-koglhof/ioBroker.homekit/tarball/master --production > ed25519@0.0.3 install /private/tmp/node_modules/iobroker.homekit/node_modules/hap-nodejs/node_modules/ed25519 > node-gyp rebuild CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o CC(target) Release/obj.target/ed25519/src/ed25519/sign.o CC(target) Release/obj.target/ed25519/src/ed25519/open.o CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o CXX(target) Release/obj.target/ed25519/src/ed25519.o SOLINK_MODULE(target) Release/ed25519.node > curve25519@1.1.0 install /private/tmp/node_modules/iobroker.homekit/node_modules/hap-nodejs/node_modules/curve25519 > node-gyp rebuild CXX(target) Release/obj.target/curve/node_curve.o SOLINK_MODULE(target) Release/curve.node > bignum@0.11.0 install /private/tmp/node_modules/iobroker.homekit/node_modules/hap-nodejs/node_modules/srp/node_modules/bignum > node-gyp configure build CXX(target) Release/obj.target/bignum/bignum.o SOLINK_MODULE(target) Release/bignum.node > mdns@2.2.11 install /private/tmp/node_modules/iobroker.homekit/node_modules/hap-nodejs/node_modules/mdns > node-gyp rebuild CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_browse.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_enumerate_domains.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_get_addr_info.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_process_result.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_ref_sock_fd.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_register.o CXX(target) Release/obj.target/dns_sd_bindings/src/dns_service_resolve.o CXX(target) Release/obj.target/dns_sd_bindings/src/mdns_utils.o CXX(target) Release/obj.target/dns_sd_bindings/src/network_interface.o CXX(target) Release/obj.target/dns_sd_bindings/src/socket_watcher.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_ref.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_create.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_deallocate.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_set_value.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_get_length.o CXX(target) Release/obj.target/dns_sd_bindings/src/txt_record_buffer_to_object.o SOLINK_MODULE(target) Release/dns_sd_bindings.node iobroker.homekit@0.0.6 node_modules/iobroker.homekit ├── yalm@2.0.0 (ansi-styles@2.1.0) ├── yargs@3.31.0 (decamelize@1.1.1, camelcase@2.0.1, window-size@0.1.4, y18n@3.2.0, cliui@3.1.0, os-locale@1.4.0, string-width@1.0.1) └── hap-nodejs@0.0.7 (debug@2.2.0, node-persist@0.0.6, ed25519@0.0.3, curve25519@1.1.0, srp@0.2.0, mdns@2.2.11)
Welche Node Version hast du bei dir am laufen?
Christians-Mac-mini:tmp christian$ node -v v0.12.7 Christians-Mac-mini:tmp christian$ npm -v 2.11.3
-
Schätze, da liegt wohl das Problem :roll:
MacMini-Ethernet:iobroker pix$ node -v v5.0.0 MacMini-Ethernet:iobroker pix$ npm -v 3.4.0
Gruß
Pix
-
Ok, kannst du versuchen eine ältere Version zu installieren?
Geht ja beim Mac an sich recht fix.
Du musst halt davor iobroker komplett stoppen, bzw. danach alles wieder hochfahren.
-
Ok, habe jetzt die "zuverlässige" https://nodejs.org/en/download/ installiert (vorher iobroker gestoppt, backups). Neustart ioBroker ohne Probleme.
Bei der AKtivierung der homekit-Instanz erscheint nun dieser Fehler
! ````
2015-12-12 16:45:04.900 - info: host.MacMini-Ethernet.fritz.box instance system.adapter.vis-google-fonts.0 terminated while should be started once
2015-12-12 16:45:06.934 - info: host.MacMini-Ethernet.fritz.box object change system.adapter.homekit.0
2015-12-12 16:45:06.940 - info: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 started with pid 16823
2015-12-12 16:45:07.389 - error: uncaught exception: Module version mismatch. Expected 46, got 47.
2015-12-12 16:45:07.394 - error: Error: Module version mismatch. Expected 46, got 47.
at Error (native)
at Object.Module._extensions..node (module.js:460:18)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. <anonymous>(/Users/pix/Documents/iobroker/node_modules/mdns/lib/dns_sd.js:24:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
2015-12-12 16:45:07.455 - debug: homekit.0 objectDB connected
2015-12-12 16:45:07.461 - debug: homekit.0 statesDB connected
2015-12-12 16:45:07.625 - info: homekit.0 starting. Version 0.0.6 in /Users/pix/Documents/iobroker/node_modules/iobroker.homekit
2015-12-12 16:45:07.627 - info: homekit.0 requesting all states
2015-12-12 16:45:07.628 - info: homekit.0 requesting all objects
2015-12-12 16:45:07.756 - error: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 terminated with code 6 (uncaught exception)
2015-12-12 16:45:07.756 - info: host.MacMini-Ethernet.fritz.box Restart adapter system.adapter.homekit.0 because enabled</anonymous>Deshalb lösche ich den Adapter komplett und installiere ganz neu: Tataa! :lol: >! ```` MacMini-Ethernet:iobroker pix$ npm install https://github.com/husky-koglhof/ioBroker.homekit/tarball/master --production / > curve25519@1.1.0 install /Users/pix/Documents/iobroker/node_modules/iobroker.homekit/node_modules/hap-nodejs/node_modules/curve25519 > node-gyp rebuild >! CXX(target) Release/obj.target/curve/node_curve.o SOLINK_MODULE(target) Release/curve.node >! > ed25519@0.0.3 install /Users/pix/Documents/iobroker/node_modules/iobroker.homekit/node_modules/hap-nodejs/node_modules/ed25519 > node-gyp rebuild >! CC(target) Release/obj.target/ed25519/src/ed25519/keypair.o CC(target) Release/obj.target/ed25519/src/ed25519/sign.o CC(target) Release/obj.target/ed25519/src/ed25519/open.o CC(target) Release/obj.target/ed25519/src/ed25519/crypto_verify_32.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_double_scalarmult.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_scalarmult_base.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_precomp_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p2_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_0.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_dbl.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_to_cached.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p3_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_madd.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_add.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_msub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p3.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_p1p1_to_p2.o CC(target) Release/obj.target/ed25519/src/ed25519/ge_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_0.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_1.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_cmov.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_copy.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_neg.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_add.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sub.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_mul.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_sq2.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_invert.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_tobytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnegative.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_isnonzero.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_frombytes.o CC(target) Release/obj.target/ed25519/src/ed25519/fe_pow22523.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_reduce.o CC(target) Release/obj.target/ed25519/src/ed25519/sc_muladd.o CXX(target) Release/obj.target/ed25519/src/ed25519.o SOLINK_MODULE(target) Release/ed25519.node iobroker.homekit@0.0.6 node_modules/iobroker.homekit └── hap-nodejs@0.0.7 (srp@0.2.0, node-persist@0.0.6, curve25519@1.1.0, ed25519@0.0.3)
Bei Installation der Instanz erscheint ein kleiner Fehler
!
2015-12-12 16:50:06.409 - info: iobroker add homekit 2015-12-12 16:50:07.233 - info: iobroker host.MacMini-Ethernet.fritz.box install adapter homekit 2015-12-12 16:50:07.259 - info: iobroker got /Users/pix/Documents/iobroker/node_modules/iobroker.homekit/admin 2015-12-12 16:50:07.288 - info: iobroker upload [1] homekit.admin /Users/pix/Documents/iobroker/node_modules/iobroker.homekit/admin/index.html index.html text/html 2015-12-12 16:50:07.355 - info: iobroker upload [0] homekit.admin /Users/pix/Documents/iobroker/node_modules/iobroker.homekit/admin/homekit.png homekit.png image/png 2015-12-12 16:50:07.437 - info: iobroker host.MacMini-Ethernet.fritz.box command: node "adapter/homekit/main.js" --install 2015-12-12 16:50:07.577 - info: iobroker module.js:339 throw err; ^ ! Error: Cannot find module '/Users/pix/Documents/adapter/homekit/main.js' at Function.Module._resolveFilename (module.js:337:15) at Function.Module._load (module.js:287:25) at Function.Module.runMain (module.js:467:10) at startup (node.js:136:18) at node.js:963:3 ! 2015-12-12 16:50:07.592 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit created 2015-12-12 16:50:07.691 - info: iobroker host.MacMini-Ethernet.fritz.box create instance homekit 2015-12-12 16:50:07.703 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit.0.uptime created 2015-12-12 16:50:07.737 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit.0.memRss created 2015-12-12 16:50:07.771 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit.0.memHeapTotal created 2015-12-12 16:50:07.805 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit.0.memHeapUsed created 2015-12-12 16:50:07.841 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit.0.connected created 2015-12-12 16:50:07.875 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit.0.alive created 2015-12-12 16:50:07.907 - info: host.MacMini-Ethernet.fritz.box object change system.adapter.homekit.0 2015-12-12 16:50:07.909 - info: iobroker host.MacMini-Ethernet.fritz.box object system.adapter.homekit.0 created 2015-12-12 16:50:07.916 - info: iobroker exit 0 !
.. läuft aber durch.und schließlich die Instanz aktiviert und … :evil: (siehe oben)
! ````
2015-12-12 16:51:30.493 - info: host.MacMini-Ethernet.fritz.box object change system.adapter.homekit.0
2015-12-12 16:51:30.503 - info: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 started with pid 18771
2015-12-12 16:51:30.992 - error: uncaught exception: Module version mismatch. Expected 46, got 47.
2015-12-12 16:51:30.999 - error: Error: Module version mismatch. Expected 46, got 47.
at Error (native)
at Object.Module._extensions..node (module.js:460:18)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. <anonymous>(/Users/pix/Documents/iobroker/node_modules/mdns/lib/dns_sd.js:24:20)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
2015-12-12 16:51:31.062 - debug: homekit.0 objectDB connected
2015-12-12 16:51:31.067 - debug: homekit.0 statesDB connected
2015-12-12 16:51:31.280 - info: homekit.0 starting. Version 0.0.6 in /Users/pix/Documents/iobroker/node_modules/iobroker.homekit
2015-12-12 16:51:31.283 - info: homekit.0 requesting all states
2015-12-12 16:51:31.284 - info: homekit.0 requesting all objects
2015-12-12 16:51:31.405 - error: host.MacMini-Ethernet.fritz.box instance system.adapter.homekit.0 terminated with code 6 (uncaught exception)</anonymous>Welche Node-Version sollte ich nehmen? Deine 0.12.7 erscheint ja geradezu alpha, wenn ich nur die VErsionsnummern vergleiche :?: Pix
-
Ich probiere nachher mal die Version 4.2.3 aus, ev. kann ich es kurzfristig fixen.