Homebridge Fehler 143?

  • Ok nun auch ich. Ich versuche es mal ruhig zu formulieren.


    Nach der Installation des Plugin Messenger kam die Homebridge nicht mehr hoch. Der RasPi ist per command line ansprechbar.


    Natürlich habe ich als erstes Homebridge gestoppt, per Nano die Config aufgerufen, die kaputte Config mit der alten funktionierenden überschrieben, abgesichert und HB neu gestartet. Leider immer noch mit all den Fehlern und HB kam immer noch nicht hoch.


    Gestern meine neuere Config mit den Messenger Einträgen nochmals unter Nano überprüft. Nochmals unter "https://jsonlint.com/" geprüft und grün. Und dann Zeile für Zeile in Nano händisch in meine Config geschrieben. 5 x geprüft. Neustart. Immer noch tot.


    Log

    homebridge.service - Node.js HomeKit Server

    Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)

    Active: inactive (dead) since Mon 2020-09-21 18:50:18 CEST; 16min ago

    Process: 313 ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=143)

    Main PID: 313 (code=exited, status=143)

    Tasks: 0 (limit: 4915)

    Memory: 81.9M

    CGroup: /system.slice/homebridge.service


    Sep 21 18:50:13 raspberrypi homebridge[313]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Sep 21 18:50:13 raspberrypi homebridge[313]: at Module._compile (internal/modules/cjs/loader.js:1137:30)

    Sep 21 18:50:13 raspberrypi homebridge[313]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)

    Sep 21 18:50:13 raspberrypi homebridge[313]: at Module.load (internal/modules/cjs/loader.js:985:32)

    Sep 21 18:50:13 raspberrypi homebridge[313]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    Sep 21 18:50:13 raspberrypi homebridge[313]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

    Sep 21 18:50:13 raspberrypi homebridge[313]: at internal/main/run_main_module.js:17:47

    Sep 21 18:50:13 raspberrypi homebridge[313]: [9/21/2020, 18:50:13] Got SIGTERM, shutting down Homebridge...

    Sep 21 18:50:18 raspberrypi homebridge[313]: [9/21/2020, 18:50:18] [Config] Homebridge Config UI X v4.27.1 is listening on :: port 8080

    Sep 21 18:50:18 raspberrypi systemd[1]: homebridge.service: Succeeded.


    Jemand eine Idee was ich noch machen könnte außer neu aufsetzen?


    Ja und ich verspreche das nächste mal VORHER ein Backup zu ziehen.

  • Jemand eine Idee was ich noch machen könnte außer neu aufsetzen?

    Klar. Reparieren.


    Einfach mal das Log vorzeigen:

    sudo systemctl restart homebridge; sudo journalctl -fau homebridge


    Das Log beginnt übrigens nicht irgendwo, sondern bei dem Eintrag

    Starting Homebridge...

  • Ok dann mal los.


    Hier kommt der Klotz:

    --

    -- Logs begin at Mon 2020-09-21 19:17:01 CEST. --

    Sep 21 19:39:39 raspberrypi homebridge[313]: at Module._compile (internal/modules/cjs/loader.js:1137:30)

    Sep 21 19:39:39 raspberrypi homebridge[313]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)

    Sep 21 19:39:39 raspberrypi homebridge[313]: at Module.load (internal/modules/cjs/loader.js:985:32)

    Sep 21 19:39:39 raspberrypi homebridge[313]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    Sep 21 19:39:39 raspberrypi homebridge[313]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

    Sep 21 19:39:39 raspberrypi homebridge[313]: at internal/main/run_main_module.js:17:47

    Sep 21 19:39:39 raspberrypi homebridge[313]: [9/21/2020, 19:39:39] Got SIGTERM, shutting down Homebridge...

    Sep 21 19:39:44 raspberrypi homebridge[313]: [9/21/2020, 19:39:44] [Config] Homebridge Config UI X v4.27.1 is listening on :: port 8080

    Sep 21 19:39:44 raspberrypi systemd[1]: homebridge.service: Succeeded.

    Sep 22 16:34:18 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] Loaded config.json with 4 accessories and 2 platforms.

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] ---

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] Loaded plugin: [email protected]

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] Registering platform 'homebridge-config-ui-x.config'

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] ---

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] Loaded plugin: [email protected]

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] Registering accessory 'homebridge-dummy.DummySwitch'

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] ---

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] Loaded plugin: [email protected]

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] Registering accessory 'homebridge-messenger.HomebridgeMessenger'

    Sep 22 16:34:19 raspberrypi homebridge[836]: [9/22/2020, 16:34:19] ---

    Sep 22 16:34:20 raspberrypi homebridge[836]: [9/22/2020, 16:34:20] Loaded plugin: [email protected]

    Sep 22 16:34:20 raspberrypi homebridge[836]: [9/22/2020, 16:34:20] Registering platform 'homebridge-platform-wemo.BelkinWeMo'

    Sep 22 16:34:20 raspberrypi homebridge[836]: [9/22/2020, 16:34:20] ---

    Sep 22 16:34:20 raspberrypi homebridge[836]: [9/22/2020, 16:34:20] Loaded plugin: [email protected]

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] Registering accessory 'homebridge-raspberrypi-info.RaspberryPiInfo'

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] ---

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] Loading 2 platforms...

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [Config] Initializing config platform...

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [Config] Spawning homebridge-config-ui-x with PID 865

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [Belkin WeMo] Initializing BelkinWeMo platform...

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] Loading 4 accessories...

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [RaspberryPi Info] Initializing RaspberryPiInfo accessory...

    Sep 22 16:34:21 raspberrypi homebridge[836]: HAP Warning: Characteristic db766c37-3a88-4587-8b69-19baf0af6337 not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.

    Sep 22 16:34:21 raspberrypi homebridge[836]: HAP Warning: Characteristic 4146a74a-cdbc-41e6-9dac-946f55f31fbe not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [Schalter F 01] Initializing DummySwitch accessory...

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [Schalter F 01] Setting switch to false

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [Schalter F 02] Initializing DummySwitch accessory...

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] [Schalter F 02] Setting switch to false

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] Error loading accessory requested in your config.json at position 4

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] Error: The requested accessory 'Homebridge Messenger' was not registered by any plugin.

    Sep 22 16:34:21 raspberrypi homebridge[836]: at PluginManager.getPluginForAccessory (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:198:15)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at /usr/local/lib/node_modules/homebridge/src/server.ts:345:37

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Array.forEach (<anonymous>)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:328:29)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:154:12)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Module._compile (internal/modules/cjs/loader.js:1137:30)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Module.load (internal/modules/cjs/loader.js:985:32)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

    Sep 22 16:34:21 raspberrypi homebridge[836]: at internal/main/run_main_module.js:17:47

    Sep 22 16:34:21 raspberrypi homebridge[836]: [9/22/2020, 16:34:21] Got SIGTERM, shutting down Homebridge...

    Sep 22 16:34:24 raspberrypi homebridge[836]: [9/22/2020, 16:34:24] [Config] Homebridge Config UI X v4.27.1 is listening on :: port 8080

    Sep 22 16:34:26 raspberrypi systemd[1]: homebridge.service: Succeeded.

    --

  • Man (FACEPALM) ich hab´s selbst gefunden.


    Vorher:

    "accessory": "Homebridge Messenger",


    Nachher und korrekt:

    "accessory": "HomebridgeMessenger",


    Ein Leerzeichen!


    Oder gibt´s laut Log noch andere Schmuddelecken?

  • Oder gibt´s laut Log noch andere Schmuddelecken?

    Nichts, was ich nicht einfach ignorieren würde.

    Sep 22 16:34:21 raspberrypi homebridge[836]: HAP Warning: Characteristic db766c37-3a88-4587-8b69-19baf0af6337 not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.

    Sep 22 16:34:21 raspberrypi homebridge[836]: HAP Warning: Characteristic 4146a74a-cdbc-41e6-9dac-946f55f31fbe not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.

    Zwei Warnungen, die möglicherweise darauf hindeuten, dass irgendetwas in Zukunft vielleicht nicht mehr funktionieren wird, aber wirklich schlau werde ich daraus nicht. Die Warnungen gehören zu der Kategorie, die man nicht selbst beheben kann. Weglächeln.

  • Danke euch für die Rückmeldungen. :thumbup:


    Aber das einzige was die HB verwaltet sind 2 verschiedene Belkin Wemo Smart Plugs, die HB Temperaturaufzeichnung, 2 Dummy Switches und nun hinzugekommene Messenger Plugin Schalter.