Hallo,
ich bin neu hier und ein kompletter Anfänger was den Raspberry betrifft.
Hab den heute nachmittag bekommen und versuche mit der Anleitung die Homebridge zu installieren.
Wenn ich das eingebe: sudo systemctl restart homebridge; sudo journalctl -fau homebridge
kommt folgende Fehlermeldung in Dauerschleife bis ich sie mit contrl-c abbreche:
Jul 07 19:14:58 raspberrypi systemd[1]: homebridge.service: Service RestartSec=10s expired, scheduling restart.
Jul 07 19:14:58 raspberrypi systemd[1]: homebridge.service: Scheduled restart job, restart counter is at 13.
Jul 07 19:14:58 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Jul 07 19:14:58 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Jul 07 19:15:00 raspberrypi homebridge[9104]: [7/7/2020, 19:15:00] There was a problem reading your config.json file.
Jul 07 19:15:00 raspberrypi homebridge[9104]: [7/7/2020, 19:15:00] Please try pasting your config.json file here to validate it: http://jsonlint.com
Jul 07 19:15:00 raspberrypi homebridge[9104]: [7/7/2020, 19:15:00]
Jul 07 19:15:00 raspberrypi homebridge[9104]: SyntaxError: Unexpected number in JSON at position 3
Jul 07 19:15:00 raspberrypi homebridge[9104]: at JSON.parse (<anonymous>)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at Function._loadConfig (/usr/local/lib/node_modules/homebridge/src/server.ts:218:21)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at new Server (/usr/local/lib/node_modules/homebridge/src/server.ts:120:44)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:54:18)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at Module.load (internal/modules/cjs/loader.js:986:32)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
Jul 07 19:15:00 raspberrypi homebridge[9104]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
Jul 07 19:15:00 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Jul 07 19:15:00 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
^C
Was läuft da falsch?
Ich würde mich über eure Unterstützung freuen!
Danke,
Tomii