NEWS
[Frage] Problem Installation OpenZWave
-
Hallo zusammen,
ich habe ioBroker 3.2.3 auf meinen Windows 10 Server installiert. Angeschlossen den zwave UZB USB Stick und den Windows Treiber installiert.
Danach wollte ich den zwave Adapter installieren und bekomme ihn mit verschiedensten Fehlern sowie dem Fehlercode 13 zum Schluss nicht installiert.
Logfile:
! ````
$ ./iobroker add zwave
NPM version: 2.15.9
npm install iobroker.zwave --unsafe-perm --production --save --prefix "C:/ioBroker" (System call)
win32 is currently not supported
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
! C:\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:147
throw err;
^
! Error: Can't find Python executable "python", you can set the PYTHON env variable.
at Object.failNoPython (C:\WINDOWS\TEMP\ozwinstall-pbxx0f6r\node_modules\node-gyp\lib\configure.js:483:19)
at Object. <anonymous>(C:\WINDOWS\TEMP\ozwinstall-pbxx0f6r\node_modules\node-gyp\lib\configure.js:508:16)
at C:\WINDOWS\TEMP\ozwinstall-pbxx0f6r\node_modules\node-gyp\node_modules\graceful-fs\polyfills.js:284:29
at FSReqWrap.oncomplete (fs.js:82:15)
! npm
ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--save" "--prefix" "C:/ioBroker"
npm
ERR! node v4.5.0npmERR!
npm v2.15.9
npmERR! code ELIFECYCLE
npm ERR!
openzwave-shared@1.4.1 preinstall:node lib/install-ozw.jsnpmERR!
Exit status 1
npmERR! npm ERR! Failed at the openzwave-shared@1.4.1 preinstall script 'node lib/install-ozw.js'.
npm ERR! This is most likely a problem with the openzwave-shared package,
npmERR! not with npm itself.
npm
ERR! Tell the author that this fails on your system:npm
ERR!
node lib/install-ozw.js
npm
ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs openzwave-shared
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!npm ERR! npm owner ls openzwave-sharednpm ERR! There is likely additional logging output above.
! npm
ERR! Please include the following file with any support request:
npm
ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log
host.HL-HOME install adapter zwave
NPM version: 2.15.9
npm install iobroker.zwave --unsafe-perm --production --save --prefix "C:/ioBroker" (System call)
win32 is currently not supported
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js! C:\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:147
throw err;
^
! Error: Can't find Python executable "python", you can set the PYTHON env variable.
at Object.failNoPython (C:\WINDOWS\TEMP\ozwinstall-98s8u9jm7vi\node_modules\node-gyp\lib\configure.js:483:19)
at Object. <anonymous>(C:\WINDOWS\TEMP\ozwinstall-98s8u9jm7vi\node_modules\node-gyp\lib\configure.js:508:16)
at C:\WINDOWS\TEMP\ozwinstall-98s8u9jm7vi\node_modules\node-gyp\node_modules\graceful-fs\polyfills.js:284:29
at FSReqWrap.oncomplete (fs.js:82:15)
! npm
ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--save" "--prefix" "C:/ioBroker"
npmERR!
node
v4.5.0
npm
ERR! npm v2.15.9npmERR!
code ELIFECYCLE! npm
ERR! openzwave-shared@1.4.1 preinstall:
node lib/install-ozw.jsnpm ERR! Exit status 1! npm
ERR!
npmERR! Failed at the openzwave-shared@1.4.1 preinstall script 'node lib/install-ozw.js'.npm ERR! This is most likely a problem with the openzwave-shared package,
npm ERR! not with npm itself.! npm
ERR!
Tell the author that this fails on your system:
npm
ERR!
node lib/install-ozw.jsnpm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs openzwave-shared
npm ERR! Or if that isn't available, you can get their info via:
npmERR! npm
ERR! npm owner ls openzwave-sharednpm ERR! There is likely additional logging output above.! npm ERR! Please include the following file with any support request:npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log
! host.HL-HOME install adapter zwave
NPM version: 2.15.9
npm install iobroker.zwave --unsafe-perm --production --save --prefix "C:/ioBroker" (System call)
win32 is currently not supported
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
! C:\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:147
throw err;
^
! Error: Can't find Python executable "python", you can set the PYTHON env variable.
at Object.failNoPython (C:\WINDOWS\TEMP\ozwinstall-d1y4jazia4i\node_modules\node-gyp\lib\configure.js:483:19)
at Object. <anonymous>(C:\WINDOWS\TEMP\ozwinstall-d1y4jazia4i\node_modules\node-gyp\lib\configure.js:508:16)
at C:\WINDOWS\TEMP\ozwinstall-d1y4jazia4i\node_modules\node-gyp\node_modules\graceful-fs\polyfills.js:284:29
at FSReqWrap.oncomplete (fs.js:82:15)
! npm
ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--save" "--prefix" "C:/ioBroker"
npm
ERR! node v4.5.0
npm
ERR! npm v2.15.9npmERR!
code ELIFECYCLE
! npm
ERR!
openzwave-shared@1.4.1 preinstall:node lib/install-ozw.js
npmERR!
Exit status 1
npm ERR! npm
ERR! Failed at the openzwave-shared@1.4.1 preinstall script 'node lib/install-ozw.js'.
npmERR!
This is most likely a problem with the openzwave-shared package,
npm
ERR!
not with npm itself.
npm
ERR! Tell the author that this fails on your system:npm
ERR! node lib/install-ozw.js
npm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs openzwave-shared
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls openzwave-shared
npm ERR! There is likely additional logging output above.! npm ERR! Please include the following file with any support request:npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log
! host.HL-HOME install adapter zwave
ERROR: host.HL-HOME Cannot install zwave
ERROR: process exited with code 13</anonymous></anonymous></anonymous>Jemand eine Idee? -
Sorry, ich muss nachfragen… bin neu im Heimautomatisierung aber IT und Etechnik versiert. Aber ich muss mir hier die Frage stellen, ob ich mit iobroker richtig aufgehoben bin oder nicht. Es scheitert ja schon an der Basis Installation dass ich den latest windows installer vorgestern heruntergeladen habe und da irgendwelche Module zu alt sind um den standard zwave Controller anzubinden?!
Daher die Frage, ist das nun aus diversen Gründen ein Zufall oder werde ich öfters mit iobroker anecken wo ich mich tief einarbeiten muss um Fehler zu fixen? Ich wollte nämlich iobroker mit 2 anderen Programmen testen und vergleichen.
-
Hi,
Also hier ist gar nichts zu alt!
Nodejs 4 ist noch vollständig als LTS supportet. Daran liegt es nicht.
Ja nodejs 4 sollte im April ggf. nicht mehr Mittel der Wahl sein, aber aktuell und auch danach noch ne Weile vollkommen ok.
Das Problem liegt egher daran das die im zWave-Adapter verwendete Library unter WIndows nicht funktioniert. Es tat irgendwann mal ist aber dann bei denen kaputt gegangen und die Owner der Library ignorieren das aktuell (z.B. https://github.com/OpenZWave/node-openz … issues/211). Häng dich gern an den thread dran um die Wichtigkeit zu erhöhen.
Ich denke inzwischen ist der Punkt erreicht wo man mal offiziell auch beim Adapter schreiben sollte das WIndows unsupportet ist - denke bisher hatten wir noch Hoffnung.
Zu Deiner zweiten Frage:
Wenn Du ioBroker mit anderen Open-Source Lösungen vergleichst dann wirst Du denke ggf bei allen Themen haben die du dir genauer ansehen musst. Die Herausforderung bei IoT und Home-Automation ist das so viele Dinge mitspielen. Wenn Du ioBroker gegen kommerzielle Systeme vergleichen willst dann hör gleich auf weil da ioBroker nur verlieren kann. WICHTIG: Das meine ich nicht auf der Funktionalen ebene, sondern auf der "Rundum sorglos Paket wo man nur User sein kann und sich nie mit DIngen auseinandersetzen muss"-Thematik.
Also kurz: ZWave kann ioBroker unter Windows gerade nicht supporten. Linux und macOS tun aber
-
Hi apollon,
vielen Dank für deine ausführliche Antwort.
Dann wird iobroker leider nichts für mich. Wollte es schon auf meinem Windows Server laufen lassen statt bspw. auf einem raspi oder in einer linux VM. Hauptgrund warum ich mir auch iobroker angucken wollte ist die Visualiserungsmöglichkeit sowie node-red. Es geht auch nicht darum kaum Zeit investieren zu müssen in denen man bspw. ohne Programmierkentnisse zum Ziel kommen könnte, sondern die grundlegenden Dinge wie eben Installation und Grundkonfiguration, dass diese einfach so klappen müssen.
Geht aber natürlich nicht, wenn es aktuell (offiziell/inoffiziell?!) nicht funktioniert.
-
sorry, hab mich falsch ausgedrückt. Das node red (vermutlich) funktioniert war mir klar bzw. gehofft. Aber wenn ich die Geräte schon nicht angesprochen bekomme, hilft mir alles andere innherlab iobroker nicht wirklich weiter (zumindest für meinen Anwendungsfall).
-
Kannst Dich ja hier (https://github.com/OpenZWave/node-openz … issues/222) subscriben ...
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden