Endlich lief die Homebridge perfekt - und nun kein Start mehr

  • Hi,


    Habe eine doch inzwischen recht komplexe Homebridge mit vielen Plugins. Hatte sie noch mal aufgesetzt, da sie nicht von extern erreichbar war. Geht nun. Habe heute morgen endlich ein Problem mit dem Fritzbox Platform Plugin gefixt. Lief sauber.


    Und nun startet sie nicht mehr. Das Log weist keine außergewöhnlichen Einträge auf. Finde keine Hinweise wo ich suchen soll. Habe aus Verzweiflung ein Rebuild probiert, eine Installation drübergebügelt, alle Plugins reinstalliert... einzelne Geräte aus dem Cache gelöscht.


    Was kann ich noch machen? :/


    Danke vorab für eure Ideen!

    T


    ...es wird schräger: nun konnte sie starten. Aber laut Home App antworten alle damit eingebrachten 63 Geräte nicht. :rolleyes:


    Im Log sehen Stati einzelner Geräte komplett korrekt aus: TV läuft, erkennt die Homebridge, Lampe an, erkennt die Homebridge. Unter Geräte werden auf der Homebridge alle Stati korrekt dargegestellt - alles online, alles OK.


    Nur die Kommunikation zwischen Zentrale und App nicht in Ordnung? Netzwerkthema?

  • Klingt nach Netzwerkthema für mich. Hatte sowas auch ab und an mal gehabt und war irgendwie fast immer auf Updates der Zentrale zurückzuführen. Was für eine Zentrale hast du denn? Homepod und Apple TV bekamen vor ca. 1-2 Wochen alle ein neues Update geliefert.

    Mein Homepod läuft auf 13.4.6 und das ohne Probleme. Mal alles kurz vom Strom genommen, so weird das klingt?

  • Ein Apple TV 4K. Stromlos war es schon - ohne Effekt.


    Bin im Zuge der Homebridge-Tools hier darauf gekommen, dass es mit einem falschen Pfad zu tun haben könnte. Meine Homebridge liegt in /var/lib/homebridge, nicht aber in /var/homebridge. Im Netztool (netz_tool.sh) wird dies bemängelt. Hinweis dort war mit einem systemd-escape zu maskieren.


    Hint:

    Invalid unit name "lib/homebridge" was escaped as "lib-homebridge" (maybe you should use systemd-escape?)


    Das bekomme ich allerdings nicht hin... Kann mir hier wer helfen?

  • Das bekomme ich allerdings nicht hin... Kann mir hier wer helfen?

    Wie hast du die Homebridge installiert?

  • Hallo hab grade das Update durchgeführt, eigenmltich wollte ich erstmal kucken was sich geändert hat...

    Zack ist Homebridge weg. Ich kann über config UE nicht mehr drauf und auch über ssh nicht.

    Das Passwort sitmmt ncht mehr.

    Der Pi läuft aber. Ich komme über VNC auf die Oberfläche....


    SCHEIBENKLEISTER

  • Also dein Update, vermutlich homebridge-config-ui-x v4.25.2, wird dir kaum dein Passwort ändern. Deshalb scheint wohl was anderes dein Problem zu sein.

    Hast du mal dein Raspi neu gestartet?

    Wenn du über SSH nicht mehr drauf gibt es eher ein Verbindungsproblem.

  • ja hab ich gemacht

    ich kann mich anmelden mit ssh er fragt nach dem PW dann verweigert er den Zugriff

  • Ehrlich gesagt weiss ich garnicht wo ich jetzt ansetzen soll.

    Das Terminalfenster per VNC auf der Pi Oberfläche geht aber.

  • Da könnt ich jetzt echt Hilfe brauchen, hoffe ich muss nicht Alles wieder neu aufsetzen


    Grüsse

  • Ich krieg das nicht mehr hin

    Der Pi ich kann per ssh und VNC drauf habe die Cofig ui x und auch shelly deinstalliert und dann wieder installiert.

    Aber es startet nicht.

    anbei der log

    [Config] Homebridge Config UI X v4.25.2 is listening on :: port 8082

    Aug 14 19:27:34 raspberrypi homebridge[2510]: [2020-8-14 19:27:34] [FRITZ!Box] Alarm sensors found: none

    Aug 14 19:27:34 raspberrypi homebridge[2510]: [2020-8-14 19:27:34] [FRITZ!Box] Buttons found: none

    Aug 14 19:27:35 raspberrypi homebridge[2510]: [2020-8-14 19:27:35] [FRITZ!Box] Outlets found: 087610044135,116570097390,087610169353,087610111120

    Aug 14 19:27:35 raspberrypi homebridge[2510]: [2020-8-14 19:27:35] [FRITZ!Box] Updating outlet 087610044135

    Aug 14 19:27:35 raspberrypi homebridge[2510]: [2020-8-14 19:27:35] [FRITZ!Box] Updating outlet 116570097390

    Aug 14 19:27:35 raspberrypi homebridge[2510]: [2020-8-14 19:27:35] [FRITZ!Box] Updating outlet 087610169353

    Aug 14 19:27:35 raspberrypi homebridge[2510]: [2020-8-14 19:27:35] [FRITZ!Box] Updating outlet 087610111120

    Aug 14 19:27:35 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a

    Aug 14 19:27:35 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Aug 14 19:27:45 raspberrypi systemd[1]: homebridge.service: Service RestartSec=10s expired, scheduling restart.

    Aug 14 19:27:45 raspberrypi systemd[1]: homebridge.service: Scheduled restart job, restart counter is at 26.

    Aug 14 19:27:45 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

    Aug 14 19:27:45 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Aug 14 19:27:46 raspberrypi homebridge[2600]: [2020-8-14 19:27:46] Loaded config.json with 1 accessories and 5 platforms.

    Aug 14 19:27:46 raspberrypi homebridge[2600]: [2020-8-14 19:27:46] ---

    Aug 14 19:27:46 raspberrypi homebridge[2600]: [2020-8-14 19:27:46] Loaded plugin: [email protected]

    Aug 14 19:27:46 raspberrypi homebridge[2600]: [2020-8-14 19:27:46] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'

    Aug 14 19:27:46 raspberrypi homebridge[2600]: [2020-8-14 19:27:46] ---

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] Loaded plugin: [email protected]

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] Registering platform 'homebridge-config-ui-x.config'

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] ---

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] Loaded plugin: [email protected]

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] Registering accessory 'homebridge-dummy.DummySwitch'

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] ---

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] Loaded plugin: [email protected]

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] Registering platform 'homebridge-fritz.FRITZ!Box'

    Aug 14 19:27:47 raspberrypi homebridge[2600]: [2020-8-14 19:27:47] ---

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] Loaded plugin: [email protected]

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] Registering platform 'homebridge-hue.Hue'

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] ---

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] Loading 5 platforms...

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] [Config] Initializing config platform...

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] [Config] Spawning homebridge-config-ui-x with PID 2622

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] [ aussen] Initializing Camera-ffmpeg platform...

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] [FRITZ!Box] Initializing FRITZ!Box platform...

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] Error loading platform requested in your config.json at position 4

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] Error: The requested platform 'Shelly' was not registered by any plugin.

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:224:15)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at /usr/local/lib/node_modules/homebridge/src/server.ts:387:37

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Array.forEach (<anonymous>)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:374:27)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:153:29)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Module._compile (internal/modules/cjs/loader.js:1137:30)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Module.load (internal/modules/cjs/loader.js:985:32)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

    Aug 14 19:27:49 raspberrypi homebridge[2600]: at internal/main/run_main_module.js:17:47

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] Got SIGTERM, shutting down Homebridge...

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] [FRITZ!Box] FRITZ!Box platform login successful

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] [FRITZ!Box] Discovering accessories

    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] [FRITZ!Box] Using tr64 api for guest Wifi

    Aug 14 19:27:51 raspberrypi homebridge[2600]: [2020-8-14 19:27:51] [FRITZ!Box] Updating guest WLAN

    Aug 14 19:27:52 raspberrypi homebridge[2600]: [2020-8-14 19:27:52]

  • Also nach diesem Log würde ich behaupten, das Shelly in dein Config.json eingetragen ist, aber das Plugin nicht installiert ist.


    Code
    Aug 14 19:27:49 raspberrypi homebridge[2600]: [2020-8-14 19:27:49] Error: The requested platform 'Shelly' was not registered by any plugin.
  • ja das hab ich grade gemacht, ich hatte mehrer Versionen probiert das ist jetzt drauf.

    es startet aber immer noch nicht

    /usr/local/lib

    ├── [email protected]

    ├── [email protected]

    ├── [email protected]

    ├── [email protected]

    ├── [email protected]

    ├── [email protected]

    ├── [email protected]

    ├── [email protected]

    └── [email protected]



    Log:

    Aug 14 20:05:03 raspberrypi homebridge[3832]: [2020-8-14 20:05:03] [FRITZ!Box] Alarm sensors found: none

    Aug 14 20:05:03 raspberrypi homebridge[3832]: [2020-8-14 20:05:03] [FRITZ!Box] Buttons found: none

    Aug 14 20:05:03 raspberrypi homebridge[3832]: [2020-8-14 20:05:03] [Hue] goodbye

    Aug 14 20:05:03 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a

    Aug 14 20:05:03 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Aug 14 20:05:13 raspberrypi systemd[1]: homebridge.service: Service RestartSec=10s expired, scheduling restart.

    Aug 14 20:05:13 raspberrypi systemd[1]: homebridge.service: Scheduled restart job, restart counter is at 14.

    Aug 14 20:05:13 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

    Aug 14 20:05:13 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Aug 14 20:05:14 raspberrypi homebridge[4131]: [2020-8-14 20:05:14] Loaded config.json with 1 accessories and 5 platforms.

    Aug 14 20:05:14 raspberrypi homebridge[4131]: [2020-8-14 20:05:14] ---

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] Loaded plugin: [email protected]

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg'

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] ---

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] Loaded plugin: [email protected]

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] Registering platform 'homebridge-config-ui-x.config'

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] ---

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] Loaded plugin: [email protected]

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] Registering accessory 'homebridge-dummy.DummySwitch'

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] ---

    Aug 14 20:05:15 raspberrypi homebridge[4131]: [2020-8-14 20:05:15] Loaded plugin: [email protected]

    Aug 14 20:05:16 raspberrypi homebridge[4131]: [2020-8-14 20:05:16] Registering platform 'homebridge-fritz.FRITZ!Box'

    Aug 14 20:05:16 raspberrypi homebridge[4131]: [2020-8-14 20:05:16] ---

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] Loaded plugin: [email protected]

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] Registering platform 'homebridge-hue.Hue'

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] ---

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] Loaded plugin: [email protected]

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] Registering platform 'homebridge-shelly.Shelly'

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] ---

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] Loading 5 platforms...

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] [Config] Initializing config platform...

    Aug 14 20:05:17 raspberrypi homebridge[4131]: [2020-8-14 20:05:17] [Config] Spawning homebridge-config-ui-x with PID 4170

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Eiberg 12 aussen] Initializing Camera-ffmpeg platform...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [FRITZ!Box] Initializing FRITZ!Box platform...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Shelly] Initializing Shelly platform...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Hue] Initializing Hue platform...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Hue] homebridge-hue v0.11.75, node v12.18.3, homebridge v1.1.2

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] Loading 1 accessories...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Türsummertaster] Initializing DummySwitch accessory...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Türsummertaster] Setting switch to false

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] TypeError: Cannot read property 'getCharacteristic' of undefined

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at SwitchAbility.get characteristic [as characteristic] (/usr/local/lib/node_modules/homebridge-shelly/abilities/base.js:340:27)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at SwitchAbility._setupEventHandlers (/usr/local/lib/node_modules/homebridge-shelly/abilities/base.js:385:14)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at SwitchAbility.setup (/usr/local/lib/node_modules/homebridge-shelly/abilities/base.js:29:12)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at ShellyRelaySwitchAccessory.setup (/usr/local/lib/node_modules/homebridge-shelly/accessories/base.js:74:11)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Object.createAccessory (/usr/local/lib/node_modules/homebridge-shelly/accessories/factory.js:659:17)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at ShellyPlatform.createAccessoryFromContext (/usr/local/lib/node_modules/homebridge-shelly/platform.js:235:42)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at ShellyPlatform.configureAccessory (/usr/local/lib/node_modules/homebridge-shelly/platform.js:201:12)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at /usr/local/lib/node_modules/homebridge/src/server.ts:307:25

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Array.filter (<anonymous>)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Server.restoreCachedPlatformAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:270:69)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:158:10)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Module._compile (internal/modules/cjs/loader.js:1137:30)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: at Module.load (internal/modules/cjs/loader.js:985:32)

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] Got SIGTERM, shutting down Homebridge...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [FRITZ!Box] FRITZ!Box platform login successful

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [FRITZ!Box] Discovering accessories

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [FRITZ!Box] Using tr64 api for guest Wifi

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Hue] Phoscon-GW: dresden elektronik deCONZ gateway v2.5.77, api v1.16.0

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Hue] Phoscon-GW: warning: not using recommended deCONZ gateway version 2.5.79

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Hue] Phoscon-GW: 2 accessories

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Hue] masked debug info dumped to /var/homebridge/homebridge-hue.json.gz

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] Initializing platform accessory 'Phoscon-GW'...

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] [Hue] Phoscon-GW: 2 services

    Aug 14 20:05:18 raspberrypi homebridge[4131]: [2020-8-14 20:05:18] Initializing platform accessory 'Smart Switch'...

    Aug 14 20:05:20 raspberrypi homebridge[4131]: [2020-8-14 20:05:20] [FRITZ!Box] Updating guest WLAN

  • Versuch die Beta 4...hatte das gleiche Problem.

    Code
    sudo npm install -g [email protected]
  • Keine Ahnung was da passiert ist

    jetzt bin ich gespannt

  • YESSSS


    😬


    👌



    DANKE


    Ich muss sagen das ist das einzige Forum wo wirklich jeder einfach hilft ohne die neunmalklugen Idioten die sich sonst überall rumtreiben.

  • jetzt meine 2,5 Shutter Shellies in Homekit als einzelne Schalter angezeigt und antworten nicht. mit Zugriff über die IP Adresse sind Sie aber richtig konfiguriert. Kann man das refreshen?

  • Mit Beta 4 darfst du dann aber deine Shellys nicht auf 1.8 updaten, sonst hast du neue Probleme.

  • achso das hab ich schon :) mist