Homebridge.service failed with Exit-Code.

  • Hallo,


    meine Homebridge lief bis gerade einwandfrei, jetzt scheint sie laut Terminal andauernd neu zu starten mit dem Hinweis: homebridge.service: Failed with result 'exit-code'


    Hatte nur zwei Plugins installiert. Beim Plugin für den Saugroboter habe ich wohl etwas falsch eingestellt. Aber kann das der Grund für den Reboot sein? Ich wäre für Hilfe sehr sehr dankbar.


    Hier das Log:


    Oct 03 16:42:19 raspberrypi homebridge[782]: [10/3/2020, 16:42:19] [Config] Homebridge Config UI X v4.28.0 is listening on :: port 8080

    Oct 03 16:42:28 raspberrypi systemd[1]: homebridge.service: Service RestartSec=10s expired, scheduling restart.

    Oct 03 16:42:28 raspberrypi systemd[1]: homebridge.service: Scheduled restart job, restart counter is at 5.

    Oct 03 16:42:28 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.

    Oct 03 16:42:28 raspberrypi systemd[1]: Started Node.js HomeKit Server.

    Oct 03 16:42:29 raspberrypi homebridge[826]: [10/3/2020, 16:42:29] Loaded config.json with 1 accessories and 2 platforms.

    Oct 03 16:42:29 raspberrypi homebridge[826]: [10/3/2020, 16:42:29] ---

    Oct 03 16:42:31 raspberrypi homebridge[826]: [10/3/2020, 16:42:31] Loaded plugin: [email protected]

    Oct 03 16:42:31 raspberrypi homebridge[826]: [10/3/2020, 16:42:31] Registering platform 'homebridge-config-ui-x.config'

    Oct 03 16:42:31 raspberrypi homebridge[826]: [10/3/2020, 16:42:31] ---

    Oct 03 16:42:31 raspberrypi homebridge[826]: [10/3/2020, 16:42:31] Loaded plugin: [email protected]

    Oct 03 16:42:31 raspberrypi homebridge[826]: [10/3/2020, 16:42:31] Registering platform 'homebridge-xiaomi-fan.xiaomifan'

    Oct 03 16:42:31 raspberrypi homebridge[826]: [10/3/2020, 16:42:31] ---

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] Loaded plugin: [email protected]

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] Registering accessory 'homebridge-xiaomi-roborock-vacuum.XiaomiRoborockVacuum'

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] ---

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] Loading 2 platforms...

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] [Config] Initializing config platform...

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] [Config] Spawning homebridge-config-ui-x with PID 846

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] [xiaomifan] Initializing xiaomifan platform...

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] Loading 1 accessories...

    Oct 03 16:42:32 raspberrypi homebridge[826]: [10/3/2020, 16:42:32] [Xiaomi Mi Robot Vaccum 1st Generation] Initializing XiaomiRoborockVacuum accessory...

    Oct 03 16:42:33 raspberrypi homebridge[826]: [10/3/2020, 16:42:33] Error: Both "autoroom" and "rooms" config options can't be used at the same time.

    Oct 03 16:42:33 raspberrypi homebridge[826]: Please, use "autoroom" to retrieve the "rooms" config and remove it when not needed.

    Oct 03 16:42:33 raspberrypi homebridge[826]: at new XiaomiRoborockVacuum (/usr/local/lib/node_modules/homebridge-xiaomi-roborock-vacuum/index.js:128:13)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at /usr/local/lib/node_modules/homebridge/src/server.ts:357:50

    Oct 03 16:42:33 raspberrypi homebridge[826]: at Array.forEach (<anonymous>)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:330:29)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:156:12)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at Module._compile (internal/modules/cjs/loader.js:1137:30)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)

    Oct 03 16:42:33 raspberrypi homebridge[826]: at Module.load (internal/modules/cjs/loader.js:985:32)

    Oct 03 16:42:33 raspberrypi homebridge[826]: [10/3/2020, 16:42:33] Got SIGTERM, shutting down Homebridge...

    Oct 03 16:42:38 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a

    Oct 03 16:42:38 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.

  • Oct 03 16:42:33 raspberrypi homebridge[826]: [10/3/2020, 16:42:33] Error: Both "autoroom" and "rooms" config options can't be used at the same time.

    Oct 03 16:42:33 raspberrypi homebridge[826]: Please, use "autoroom" to retrieve the "rooms" config and remove it when not needed.

    Sprach XiaomiRoborockVacuum, hatte danach keine Lust mehr und ließ die Homebridge in der Luft hängen. Möglicherweise möchtest du dem letzten Worten des Plugins Folge leisten.

  • Aber wie komme ich denn da hin? Die Oberfläche lädt ja gar nicht.

    Nach welcher Anleitung hast du die Homebridge denn installiert?

  • Log dich auf den Raspi ein und bearbeite die Konfiguration dort:

    sudo nano /var/homebridge/config.json


    Das hast du ja schon mal gemacht, in der Anleitung steht, wie man da was speichert.

  • Vielen Dank, das war zwar wieder etwas fummelig, hat aber gleich auch wieder geübt . Habe wieder Zugriff auf die Web-Oberfläche und mache mich dann mal an die Reparatur ;)