NEWS
UNSOLVED Homebridge Adapter beendet sich / startet ständig neu
-
Hallo,
ich habe in meiner Neuinstallation das Problem, dass ich den Homebridge Adapter nicht zum Laufen bekommen. Ich benötige diesen für die Integration meiner Nest Protect Melder. In einer Älteren Installation des Pi hatte ich alles schon mal am laufen, hatte da aber vorher homebridge separate zu iobroker installiert und nur den Service gestoppt und den Inhalt der Konfig kopiert. Blöderweise hat die Homebridge Installation dabei (im alten Stand) durch Update auf nodejs die Zigbee Instanz gekillt... nach 3 Tagen Reparaturversuchen habe ich aufgegeben und diese, aktuelle Installation neu aufgesetzt - diesmal nur mit Homebridge Adapter und nicht Homebridge Installation vorab.
Installation wie vorher: Adapter installiert, in Warapper Modus geschaltet und den Inhalt des alten (schon mal funktionierenden Config-Files eingefügt...)
Problem: Adapter startet, läuft ein paar Sekunden und steht dann / startet ständig neu
LOG:
Caught by controller[3]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) Caught by controller[3]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:103452) Caught by controller[3]: at objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3558:25) Caught by controller[3]: at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:177:27) Caught by controller[3]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:276:39) Caught by controller[3]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:111:23) Caught by controller[3]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js:223:17) Caught by controller[3]: at Server.run (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:90:36) Caught by controller[3]: at Server._loadPlatforms (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:327:45) Caught by controller[3]: at API.platform (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/api.js:134:13) Caught by controller[3]: Error: The requested platform 'config' was not registered by any plugin. Warning: skipping plugin found at '/usr/lib/node_modules/homebridge-nest' since we already loaded the same plugin from '/opt/iobroker/node_modules/iobr Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. Warning: skipping plugin found at '/opt/iobroker/node_modules/homebridge-nest' since we already loaded the same plugin from '/opt/iobroker/node_modules
Hat jemand eine Idee?
Vielen, vielen Dank schon mal im Voraus!
Systemdata Bitte Ausfüllen Hardwaresystem: Pi4 Arbeitsspeicher: 1GB Festplattenart: SD-Karte Betriebssystem: Ubuntu Node-Version: 10.19.0 Nodejs-Version: 10.19.0 NPM-Version: 6.13.4 Installationsart: über Adapter Image genutzt: Nein -
@ujoerk sagte in Homebridge Adapter beendet sich / startet ständig neu:
Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
Mal danach geschaut?
-
@wendy2702 Hmm... dort steht nur 2 mal der Block vom homebrige wrapper drin... was müsste denn da drin stehen?
"_from": "homebridge-plugin-wrapper@^1.1.1", "_id": "homebridge-plugin-wrapper@1.1.1", "_inBundle": false, "_integrity": "hab ich ausgeblendet "_location": "/homebridge-plugin-wrapper", "_phantomChildren": { "escape-string-regexp": "1.0.5", "has-ansi": "2.0.0", "strip-ansi": "3.0.1" }, "_requested": { "type": "range", "registry": true, "raw": "homebridge-plugin-wrapper@^1.1.1", "name": "homebridge-plugin-wrapper", "escapedName": "homebridge-plugin-wrapper", "rawSpec": "^1.1.1", "saveSpec": null,
-
anbei noch mal ein etwas ausführlicheres og, habe gesehen, es gibt vorher schon Fehler:
host.pihome 2020-04-07 20:41:27.511 info instance system.adapter.ham.0 started with pid 19968 host.pihome 2020-04-07 20:40:57.486 info Restart adapter system.adapter.ham.0 because enabled host.pihome 2020-04-07 20:40:57.486 info instance system.adapter.ham.0 terminated with code 0 (NO_ERROR) host.pihome 2020-04-07 20:40:57.485 error Caught by controller[3]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) host.pihome 2020-04-07 20:40:57.485 error Caught by controller[3]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:103452) host.pihome 2020-04-07 20:40:57.484 error Caught by controller[3]: at objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3558:25) host.pihome 2020-04-07 20:40:57.484 error Caught by controller[3]: at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:177:27) host.pihome 2020-04-07 20:40:57.483 error Caught by controller[3]: at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:276:39) host.pihome 2020-04-07 20:40:57.483 error Caught by controller[3]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:111:23) host.pihome 2020-04-07 20:40:57.482 error Caught by controller[3]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js:223:17) host.pihome 2020-04-07 20:40:57.482 error Caught by controller[3]: at Server.run (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:90:36) host.pihome 2020-04-07 20:40:57.481 error Caught by controller[3]: at Server._loadPlatforms (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:327:45) host.pihome 2020-04-07 20:40:57.481 error Caught by controller[3]: at API.platform (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/api.js:134:13) host.pihome 2020-04-07 20:40:57.480 error Caught by controller[3]: Error: The requested platform 'config' was not registered by any plugin. host.pihome 2020-04-07 20:40:57.479 error Caught by controller[2]: [2020-4-7 8:40:56 PM] Warning: skipping plugin found at '/usr/lib/node_modules/homebridge-nest' since we already loaded the same plugin from '/opt/iobroker/node_modules/iobro host.pihome 2020-04-07 20:40:57.479 error Caught by controller[1]: [2020-4-7 8:40:55 PM] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. host.pihome 2020-04-07 20:40:57.477 error Caught by controller[0]: [2020-4-7 8:40:55 PM] Warning: skipping plugin found at '/opt/iobroker/node_modules/homebridge-nest' since we already loaded the same plugin from '/opt/iobroker/node_modules/ ham.0 2020-04-07 20:40:56.944 info (19903) Terminated (NO_ERROR): Without reason ham.0 2020-04-07 20:40:56.942 info (19903) terminating ham.0 2020-04-07 20:40:56.937 warn (19903) Exception: Error: The requested platform 'config' was not registered by any plugin. ham.0 2020-04-07 20:40:56.926 info (19903) cleaned everything up... ham.0 2020-04-07 20:40:56.925 error at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23) ham.0 2020-04-07 20:40:56.925 error at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:1:103452) ham.0 2020-04-07 20:40:56.925 error at objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3558:25) ham.0 2020-04-07 20:40:56.925 error at adapter.getDevices (/opt/iobroker/node_modules/iobroker.ham/main.js:177:27) ham.0 2020-04-07 20:40:56.925 error at loadExistingAccessories (/opt/iobroker/node_modules/iobroker.ham/main.js:276:39) ham.0 2020-04-07 20:40:56.925 error at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:111:23) ham.0 2020-04-07 20:40:56.925 error at HomebridgeWrapper.init (/opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js:223:17) ham.0 2020-04-07 20:40:56.925 error at Server.run (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:90:36) ham.0 2020-04-07 20:40:56.925 error at Server._loadPlatforms (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:327:45) ham.0 2020-04-07 20:40:56.925 error at API.platform (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/api.js:134:13) ham.0 2020-04-07 20:40:56.925 error (19903) Error: The requested platform 'config' was not registered by any plugin. ham.0 2020-04-07 20:40:56.924 error (19903) uncaught exception: The requested platform 'config' was not registered by any plugin. ham.0 2020-04-07 20:40:54.011 info (19903) All Libraries installed/updated ham.0 2020-04-07 20:40:53.856 info (19903) found 0 vulnerabilities ham.0 2020-04-07 20:40:53.853 info run `npm fund` for details ham.0 2020-04-07 20:40:53.853 info 17 packages are looking for funding ham.0 2020-04-07 20:40:53.853 info (19903) ham.0 2020-04-07 20:40:53.638 info added 212 packages from 177 contributors and audited 341 packages in 18.757s ham.0 2020-04-07 20:40:53.638 info (19903) + homebridge-nest@4.4.4 ham.0 2020-04-07 20:40:53.043 info > node scripts/postinstall ham.0 2020-04-07 20:40:53.043 info > protobufjs@6.8.9 postinstall /opt/iobroker/node_modules/iobroker.ham/node_modules/protobufjs ham.0 2020-04-07 20:40:53.043 info (19903) ham.0 2020-04-07 20:40:33.002 info (19903) npm install homebridge-nest --production --prefix "/opt/iobroker/node_modules/iobroker.ham" (System call) ham.0 2020-04-07 20:40:33.001 info (19903) Install/Update homebridge-nest ham.0 2020-04-07 20:40:33.000 info (19903) Install/Update the following Libraries: homebridge-nest ham.0 2020-04-07 20:40:32.974 info (19903) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v10.19.0 host.pihome 2020-04-07 20:40:31.537 info instance system.adapter.ham.0 started with pid 19903
-
Muss gestehen das ich selber mit der Homebridge in iobroker nichts mache.
Wollte erstmal bezwecken das du eventuell notwendige Information lieferst damit andere es leichter haben zu helfen.
Pauschal würde ich sagen deine Konfig ist fehlerhaft.
Dazu würde ich mal auf der Gibthub Seite oder hier im Forum nach Beispielen suchen und vergleichen.
Vielleicht meldet sich aber auch noch ein Homebridge Nutzer.