NEWS
Ikea tradfri
-
Hallo,
Ich versuche den Ikea Adapter zu installieren leider bekomme ich es nicht hin das er sich verbindet.
Hat jemand es erfolgreich hinbekommen.
host.ioBroker-Pi 2018-11-04 16:04:12.360 error instance system.adapter.tradfri.0 terminated with code 1 ()
Caught 2018-11-04 16:04:12.360 error by controller[0]: at Function.Module._load (module.js:445:3)
Caught 2018-11-04 16:04:12.360 error by controller[0]: at tryModuleLoad (module.js:453:12)
Caught 2018-11-04 16:04:12.360 error by controller[0]: at Module.load (module.js:494:32)
Caught 2018-11-04 16:04:12.360 error by controller[0]: at Object.Module._extensions..js (module.js:586:10)
Caught 2018-11-04 16:04:12.359 error by controller[0]: at Module._compile (module.js:577:32)
Caught 2018-11-04 16:04:12.359 error by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/node_modules/node
Caught 2018-11-04 16:04:12.359 error by controller[0]: at require (internal/module.js:20:19)
Caught 2018-11-04 16:04:12.359 error by controller[0]: at Module.require (module.js:504:17)
Caught 2018-11-04 16:04:12.359 error by controller[0]: at Function.Module._load (module.js:424:25)
Caught 2018-11-04 16:04:12.358 error by controller[0]: at Function.Module._resolveFilename (module.js:476:15)
Caught 2018-11-04 16:04:12.358 error by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/node_modules/node
Caught 2018-11-04 16:04:12.358 error by controller[0]: ^
Caught 2018-11-04 16:04:12.358 error by controller[0]: throw err;
Caught 2018-11-04 16:04:12.357 error by controller[0]: module.js:478
Das sind die Fehler die ich bekomme.
Wäre für jeden Ratschlag dankbar.</anonymous>
-
Bitte das log von der Installation des Adapters Posten. Scheinbar ist da was nicht sauber gelaufen. Ggf nochmal neu installieren.
Gesendet vom Handy …
-
Also ich habe es bereits 3x neu installiert.
Gruß
-
Dann hast du ja 3 Logs von der Installation die du Posten kannst
Gesendet vom Handy …
-
wo finde ich die..
-
/opt/iobroker/log/…
Gesendet vom Handy ...
-
2018-11-04 15:36:30.854 - [32minfo[39m: iobroker NPM version: 2.15.11
2018-11-04 15:36:31.773 - [32minfo[39m: iobroker npm install iobroker.tradfri@1.4.1 –production --save --prefix "/opt/iobroker" (System call)
2018-11-04 15:36:42.999 - [32minfo[39m: iobroker npm
2018-11-04 15:36:43.001 - [32minfo[39m: iobroker WARN engine node-tradfri-client@1.4.3: wanted: {"node":">= 6.0.0"} (current: {"node":"4.8.0","npm":"2.15.11"})
2018-11-04 15:36:43.736 - [32minfo[39m: iobroker npm
2018-11-04 15:36:43.738 - [32minfo[39m: iobroker WARN engine node-coap-client@1.0.1: wanted: {"node":">= 6.0.0"} (current: {"node":"4.8.0","npm":"2.15.11"})
2018-11-04 15:36:44.592 - [32minfo[39m: iobroker npm
2018-11-04 15:36:44.593 - [32minfo[39m: iobroker
2018-11-04 15:36:44.595 - [32minfo[39m: iobroker WARN
2018-11-04 15:36:44.596 - [32minfo[39m: iobroker
2018-11-04 15:36:44.598 - [32minfo[39m: iobroker engine
2018-11-04 15:36:44.599 - [32minfo[39m: iobroker node-dtls-client@0.5.6: wanted: {"node":">=6"} (current: {"node":"4.8.0","npm":"2.15.11"})
2018-11-04 15:36:45.104 - [32minfo[39m: iobroker npm
2018-11-04 15:36:45.105 - [32minfo[39m: iobroker
2018-11-04 15:36:45.106 - [32minfo[39m: iobroker WARN
2018-11-04 15:36:45.108 - [32minfo[39m: iobroker
2018-11-04 15:36:45.109 - [32minfo[39m: iobroker engine
2018-11-04 15:36:45.111 - [32minfo[39m: iobroker node-aead-crypto@2.0.0: wanted: {"node":">4 <10"} (current: {"node":"4.8.0","npm":"2.15.11"})
2018-11-04 15:36:47.619 - [32minfo[39m: host.ioBroker-Pi instance system.adapter.tradfri.0 started with pid 1837
Meinst Du das.
-
Ja … und jetzt ließ es mal ....
Was siehst du?
Tip: hat was mit deiner nodejs Version zu tun und dem was der Adapter als minimal Version will
Gesendet vom Handy ...
-
richtig habe ich auch bereits gelesen…leider traue ich mich upzudaten da ich dann bestimmt wieder probleme mit einigen anderen Adaptern bekomme.. habe ich bereits gehabt..
Was mache ich denn nun..
-
Aber eigentlich ist es doch richtig oder?
-
Ich finde leider den Fehler nicht.
-
Node und nodejs sollen (müssen?) gleich sein.
Vielleicht kommst du mit dieser Anleitung weiter:
http://www.iobroker.net/docu/?page_id=5 … ion_Nodejs
Enrico
-
Danke damit habe ich es bereits versucht. wenn ich alles update dann geht der Adapter Tradfri aber meine Adapter Dash Button und Rflink nicht mehr..
-
Naja mit einem "vermurksten" System wirst Du mittelfristig mehr Probleme als Freude haben.
Von daher: schau das Du es sauber hinbekommst. Die Adapter laufen alle unter node 8 oder 6 sauber … such Dir ewas aus, richte Dein System dazu ein und dann fixe die Probleme. Oder setze parallel sauber neu auf, spiele Backup ein
-
Hast du dich dabei genau an die Anleitung gehalten? Ich meine speziell die Version? Vielleicht ist die Version 8 inkompatibel mit dem Dash Button.
Die Deinstallation hast du auch geprüft? Und wenn die erfolgreich war dann einfach anstelle der 8 die 6 eingeben.
Enrico
-
Hallo,
Habe mein System neu aufgesetzt aber bekomme immer noch eine Fehlermeldung von Tradfri..
[31merror[39m: Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/node_modules/node-aead-crypto/build/Release/node-v57-linux-arm/node_aead_crypto.node'
2018-11-06 21:53:51.179 - [31merror[39m: Caught by controller[0]: at Function.Module._resolveFilename (module.js:548:15)
2018-11-06 21:53:51.179 - [31merror[39m: Caught by controller[0]: at Function.Module._load (module.js:475:25)
2018-11-06 21:53:51.179 - [31merror[39m: Caught by controller[0]: at Module.require (module.js:597:17)
2018-11-06 21:53:51.179 - [31merror[39m: Caught by controller[0]: at require (internal/module.js:11:18)
2018-11-06 21:53:51.179 - [31merror[39m: Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/node_modules/node-aead-crypto/index.js:4:15)
2018-11-06 21:53:51.180 - [31merror[39m: Caught by controller[0]: at Module._compile (module.js:653:30)
2018-11-06 21:53:51.180 - [31merror[39m: Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
2018-11-06 21:53:51.180 - [31merror[39m: Caught by controller[0]: at Module.load (module.js:566:32)
2018-11-06 21:53:51.180 - [31merror[39m: Caught by controller[0]: at tryModuleLoad (module.js:506:12)
2018-11-06 21:53:51.180 - [31merror[39m: Caught by controller[0]: at Function.Module._load (module.js:498:3)
was kann ich denn noch probieren..
Bin über jeden Vorschlag dankbar.</anonymous>
-
Welche Version hast du denn installiert? Ich habe kürzlich etwas an der Installationsroutine geändert, damit das Problem nicht mehr auftreten sollte. Dein Installationslog ist leider nicht vollständig
In deinem Fall sollte helfen
cd /opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/node_modules/node-aead-crypto npm i --production
bzw wenn das nicht geht
cd /opt/iobroker/node_modules/iobroker.tradfri/node_modules/node-tradfri-client/node_modules/node-coap-client/node_modules/node-dtls-client/ npm i --production --unsafe-perm
-
Du meinst Tradri version… habe ich die 1.4.1 installiert.
-
Ok sieht aus als hätte ich vergessen das zu veröffentlichen.
Probier mal die manuelle Installation von Version 1.5.2:
cd /opt/iobroker npm i iobroker.tradfri@1.5.2
-
Also leider hat es alles nichts gebracht..
Habe meinen Raspi nun komplett neu aufgesetzt und meine Sicherung wieder eingebracht.
Leider immer wieder Fehlermeldungen.
host.ioBroker-RasPi 2018-11-10 01:41:02.286 error instance system.adapter.tradfri.0 terminated with code 1 ()
host.ioBroker-RasPi 2018-11-10 01:41:02.285 error Caught by controller[5]: instead. Afterwards, restart this adapter.
host.ioBroker-RasPi 2018-11-10 01:41:02.285 error Caught by controller[4]: sudo npm install –production --unsafe-perm
host.ioBroker-RasPi 2018-11-10 01:41:02.285 error Caught by controller[3]: If that fails due to missing access rights, run
host.ioBroker-RasPi 2018-11-10 01:41:02.285 error Caught by controller[2]: npm install –production
host.ioBroker-RasPi 2018-11-10 01:41:02.284 error Caught by controller[1]: To try reinstalling it, goto "/opt/iobroker/node_modules/iobroker.tradfri" and run
host.ioBroker-RasPi 2018-11-10 01:41:02.284 error Caught by controller[0]: The module "node-aead-crypto" was not installed correctly!