Homebridge Image mit VNC - Raspbian Stretch Full - Raspberry Pi

  • Wer hat denn hier über jemanden geurteilt?

    Ich hab von meiner Seite nur helfen wollen und geh erstmal davon aus, dass jemand sich mit der Materie noch nicht auskennt.

    Es sollte keineswegs beleidigend rüberkommen.

    Freue mich doch wenn alles läuft, wo es vorher Probleme gab.

  • Deine Antworten waren für mich zielführend , die Bemerkung mit der SD-Karte eher nicht. Okay, will hier keine beleidigte Leberwurst spielen. Die homebridge läuft sauber. Demnächst werde ich mal den Account überarbeiten. Als Selbstständiger hat man nicht soviel Zeit . Hab mich heut an dem homebridge-radioplayer versucht. Leider ohne Erfolg. Also, danke nochmal, war evtl. bissl blöd von mir mit dem PiBaker, sorry. Gruß Olaf



    Sent from my iPhone using Community

  • Das radioplayer Plugin kenne ich leider nicht.

    Aber ich drück Dir die Daumen, dass Du es zum Laufen bekommst.

    Hab auch schon mit manch Plugin gekämpft bis ich es besiegt oder es mich besiegt hatte. :)

  • Hallo Det,

    ich habe deine image RasPi3_hbridge_stretch_full_4gb_krnl4.14_21052018_shrink.img geladen und installiert.

    Nach update und plugin Installation mit Anpassung der config.json läuft die homebridge auch bei manuellen Start.

    Allerdings funktioniert der Autostart über den Systemservice nicht.

    Folgende Meldung wird angezeigt:

    Code
    [email protected]:~ $ sudo systemctl status homebridge -l
    ? homebridge.service - Node.js HomeKit Server Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sun 2018-11-11 11:54:51 CET; 4s ago Process: 1866 ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE) Main PID: 1866 (code=exited, status=1/FAILURE)
    Nov 11 11:54:51 homebridge systemd[1]: homebridge.service: Unit entered failed state.
    Nov 11 11:54:51 homebridge systemd[1]: homebridge.service: Failed with result 'exit-code'.


    Hast Du einen Tipp für mich?


    VG Charly-Man

  • hier das ergebnis:


    [email protected]:~ $ ls -al /var/log/*

    -rw-r--r-- 1 root root 2515 Nov 11 11:14 /var/log/alternatives.log

    -rw-r----- 1 root adm 1351 Nov 18 10:34 /var/log/auth.log

    -rw-r----- 1 root adm 140108 Nov 18 06:25 /var/log/auth.log.1

    -rw-r--r-- 1 root root 3097 Nov 13 18:10 /var/log/boot.log

    -rw-r--r-- 1 root root 0 Apr 18 2018 /var/log/bootstrap.log

    -rw------- 1 root utmp 6528 Nov 11 11:19 /var/log/btmp

    -rw-r----- 1 root adm 3816916 Nov 18 10:34 /var/log/daemon.log

    -rw-r----- 1 root adm 150254735 Nov 18 06:25 /var/log/daemon.log.1

    -rw-r----- 1 root adm 0 Nov 18 06:25 /var/log/debug

    -rw-r----- 1 root adm 18779 Nov 13 18:10 /var/log/debug.1

    -rw-r--r-- 1 root root 312159 Nov 13 18:10 /var/log/dpkg.log

    -rw-r--r-- 1 root root 24000 Mai 20 16:48 /var/log/faillog

    -rw-r--r-- 1 root root 2538 Mai 21 11:06 /var/log/fontconfig.log

    -rw-r----- 1 root adm 0 Nov 18 06:25 /var/log/kern.log

    -rw-r----- 1 root adm 402075 Nov 13 18:11 /var/log/kern.log.1

    -rw-rw-r-- 1 root utmp 292292 Nov 18 10:34 /var/log/lastlog

    -rw-r----- 1 root adm 158 Nov 18 06:25 /var/log/messages

    -rw-r----- 1 root adm 402444 Nov 18 06:25 /var/log/messages.1

    -rw-r----- 1 root adm 3817761 Nov 18 10:34 /var/log/syslog

    -rw-r----- 1 root adm 22065595 Nov 18 06:25 /var/log/syslog.1

    -rw-r----- 1 root adm 1015113 Nov 17 06:25 /var/log/syslog.2.gz

    -rw-r----- 1 root adm 1017095 Nov 16 06:25 /var/log/syslog.3.gz

    -rw-r----- 1 root adm 1014337 Nov 15 06:25 /var/log/syslog.4.gz

    -rw-r----- 1 root adm 1069018 Nov 14 06:25 /var/log/syslog.5.gz

    -rw-r----- 1 root adm 1954543 Nov 13 06:25 /var/log/syslog.6.gz

    -rw-r----- 1 root adm 0 Nov 18 06:25 /var/log/user.log

    -rw-r----- 1 root adm 21274 Nov 13 18:11 /var/log/user.log.1

    -rw-rw-r-- 1 root utmp 57600 Nov 18 10:34 /var/log/wtmp

    -rw-r--r-- 1 root root 6983 Nov 13 18:10 /var/log/Xorg.0.log

    -rw-r--r-- 1 root root 7055 Nov 13 18:10 /var/log/Xorg.0.log.old


    /var/log/apt:

    insgesamt 232

    drwxr-xr-x 2 root root 4096 Nov 13 18:09 .

    drwxr-xr-x 5 root root 4096 Nov 18 06:25 ..

    -rw-r--r-- 1 root root 41844 Nov 13 18:09 eipp.log.xz

    -rw-r--r-- 1 root root 18819 Nov 13 18:10 history.log

    -rw-r----- 1 root adm 157448 Nov 13 18:10 term.log

    ls: Öffnen von Verzeichnis '/var/log/lightdm' nicht möglich: Keine Berechtigung


    /var/log/samba:

    insgesamt 8

    drwxr-x--- 2 root adm 4096 Mär 5 2018 .

    drwxr-xr-x 5 root root 4096 Nov 18 06:25 ..

    [email protected]:~ $

  • Linux homebridge 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l


    The programs included with the Debian GNU/Linux system are free software;

    the exact distribution terms for each program are described in the

    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent

    permitted by applicable law.

    Last login: Sun Nov 18 14:50:56 2018 from 192.168.1.122

    [email protected]:~ $ sudo tail -f /var/log/syslog

    Nov 18 14:55:00 homebridge homebridge[984]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)

    Nov 18 14:55:00 homebridge homebridge[984]: at Module.load (internal/modules/cjs/loader.js:589:32)

    Nov 18 14:55:00 homebridge homebridge[984]: at tryModuleLoad (internal/modules/cjs/loader.js:528:12)

    Nov 18 14:55:00 homebridge homebridge[984]: at Function.Module._load (internal/modules/cjs/loader.js:520:3)

    Nov 18 14:55:00 homebridge homebridge[984]: at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)

    Nov 18 14:55:00 homebridge homebridge[984]: at startup (internal/bootstrap/node.js:228:19)

    Nov 18 14:55:00 homebridge homebridge[984]: at bootstrapNodeJSCore (internal/bootstrap/node.js:576:3)

    Nov 18 14:55:00 homebridge systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE

    Nov 18 14:55:00 homebridge systemd[1]: homebridge.service: Unit entered failed state.

    Nov 18 14:55:00 homebridge systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Nov 18 14:55:10 homebridge systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.

    Nov 18 14:55:10 homebridge systemd[1]: Stopped Node.js HomeKit Server.

    Nov 18 14:55:10 homebridge systemd[1]: Started Node.js HomeKit Server.

    Nov 18 14:55:13 homebridge homebridge[1014]: [2018-11-18 14:55:13] Loaded plugin: homebridge-fritz

    Nov 18 14:55:14 homebridge homebridge[1014]: [2018-11-18 14:55:14] Registering platform 'homebridge-fritz.Fritz!Box'

    Nov 18 14:55:14 homebridge homebridge[1014]: [2018-11-18 14:55:14] ---

    Nov 18 14:55:14 homebridge homebridge[1014]: [2018-11-18 14:55:14] Loaded plugin: homebridge-harmonyhub

    Nov 18 14:55:15 homebridge homebridge[1014]: [2018-11-18 14:55:15] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    Nov 18 14:55:15 homebridge homebridge[1014]: [2018-11-18 14:55:15] ---

    Nov 18 14:55:16 homebridge homebridge[1014]: [2018-11-18 14:55:16] Loaded plugin: homebridge-netatmo

    Nov 18 14:55:16 homebridge homebridge[1014]: [2018-11-18 14:55:16] Registering platform 'homebridge-netatmo.netatmo'

    Nov 18 14:55:16 homebridge homebridge[1014]: [2018-11-18 14:55:16] ---

    Nov 18 14:55:16 homebridge homebridge[1014]: [2018-11-18 14:55:16] Loaded plugin: homebridge-rademacher-homepilot

    Nov 18 14:55:16 homebridge homebridge[1014]: [2018-11-18 14:55:16] Registering platform 'homebridge-rademacher-homepilot.RademacherHomePilot'

    Nov 18 14:55:16 homebridge homebridge[1014]: [2018-11-18 14:55:16] ---

    Nov 18 14:55:17 homebridge homebridge[1014]: [2018-11-18 14:55:17] Loaded plugin: homebridge-zway

    Nov 18 14:55:17 homebridge homebridge[1014]: [2018-11-18 14:55:17] Registering accessory 'homebridge-zway.ZWayServer'

    Nov 18 14:55:17 homebridge homebridge[1014]: [2018-11-18 14:55:17] Registering platform 'homebridge-zway.ZWayServer'

    Nov 18 14:55:17 homebridge homebridge[1014]: [2018-11-18 14:55:17] ---

    Nov 18 14:55:17 homebridge homebridge[1014]: [2018-11-18 14:55:17] There was a problem reading your config.json file.

    Nov 18 14:55:17 homebridge homebridge[1014]: [2018-11-18 14:55:17] Please try pasting your config.json file here to validate it: http://jsonlint.com

    Nov 18 14:55:17 homebridge homebridge[1014]: [2018-11-18 14:55:17]

    Nov 18 14:55:17 homebridge homebridge[1014]: /usr/local/lib/node_modules/homebridge/lib/server.js:207

    Nov 18 14:55:17 homebridge homebridge[1014]: throw err;

    Nov 18 14:55:17 homebridge homebridge[1014]: ^

    Nov 18 14:55:17 homebridge homebridge[1014]: SyntaxError: Unexpected token , in JSON at position 79

    Nov 18 14:55:17 homebridge homebridge[1014]: at JSON.parse (<anonymous>)

    Nov 18 14:55:17 homebridge homebridge[1014]: at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:201:19)

    Nov 18 14:55:17 homebridge homebridge[1014]: at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:38)

    Nov 18 14:55:17 homebridge homebridge[1014]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)

    Nov 18 14:55:17 homebridge homebridge[1014]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Nov 18 14:55:17 homebridge homebridge[1014]: at Module._compile (internal/modules/cjs/loader.js:678:30)

    Nov 18 14:55:17 homebridge homebridge[1014]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)

    Nov 18 14:55:17 homebridge homebridge[1014]: at Module.load (internal/modules/cjs/loader.js:589:32)

    Nov 18 14:55:17 homebridge homebridge[1014]: at tryModuleLoad (internal/modules/cjs/loader.js:528:12)

    Nov 18 14:55:17 homebridge homebridge[1014]: at Function.Module._load (internal/modules/cjs/loader.js:520:3)

    Nov 18 14:55:17 homebridge homebridge[1014]: at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)

    Nov 18 14:55:17 homebridge homebridge[1014]: at startup (internal/bootstrap/node.js:228:19)

    Nov 18 14:55:17 homebridge homebridge[1014]: at bootstrapNodeJSCore (internal/bootstrap/node.js:576:3)

    Nov 18 14:55:17 homebridge systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE

    Nov 18 14:55:17 homebridge systemd[1]: homebridge.service: Unit entered failed state.

    Nov 18 14:55:17 homebridge systemd[1]: homebridge.service: Failed with result 'exit-code'.

    Nov 18 14:55:27 homebridge systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.

    Nov 18 14:55:27 homebridge systemd[1]: Stopped Node.js HomeKit Server.

    Nov 18 14:55:27 homebridge systemd[1]: Started Node.js HomeKit Server.

    Nov 18 14:55:29 homebridge homebridge[1039]: [2018-11-18 14:55:29] Loaded plugin: homebridge-fritz

    Nov 18 14:55:30 homebridge homebridge[1039]: [2018-11-18 14:55:30] Registering platform 'homebridge-fritz.Fritz!Box'

    Nov 18 14:55:30 homebridge homebridge[1039]: [2018-11-18 14:55:30] ---

    Nov 18 14:55:30 homebridge homebridge[1039]: [2018-11-18 14:55:30] Loaded plugin: homebridge-harmonyhub

    Nov 18 14:55:32 homebridge homebridge[1039]: [2018-11-18 14:55:32] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    Nov 18 14:55:32 homebridge homebridge[1039]: [2018-11-18 14:55:32] ---

    Nov 18 14:55:32 homebridge homebridge[1039]: [2018-11-18 14:55:32] Loaded plugin: homebridge-netatmo

    Nov 18 14:55:32 homebridge homebridge[1039]: [2018-11-18 14:55:32] Registering platform 'homebridge-netatmo.netatmo'

    Nov 18 14:55:32 homebridge homebridge[1039]: [2018-11-18 14:55:32] ---

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] Loaded plugin: homebridge-rademacher-homepilot

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] Registering platform 'homebridge-rademacher-homepilot.RademacherHomePilot'

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] ---

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] Loaded plugin: homebridge-zway

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] Registering accessory 'homebridge-zway.ZWayServer'

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] Registering platform 'homebridge-zway.ZWayServer'

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] ---

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] There was a problem reading your config.json file.

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33] Please try pasting your config.json file here to validate it: http://jsonlint.com

    Nov 18 14:55:33 homebridge homebridge[1039]: [2018-11-18 14:55:33]

    Nov 18 14:55:33 homebridge homebridge[1039]: /usr/local/lib/node_modules/homebridge/lib/server.js:207

    Nov 18 14:55:33 homebridge homebridge[1039]: throw err;

    Nov 18 14:55:33 homebridge homebridge[1039]: ^

    Nov 18 14:55:33 homebridge homebridge[1039]: SyntaxError: Unexpected token , in JSON at position 79

    Nov 18 14:55:33 homebridge homebridge[1039]: at JSON.parse (<anonymous>)

    Nov 18 14:55:33 homebridge homebridge[1039]: at Server._loadConfig (/usr/local/lib/node_modules/homebridge/lib/server.js:201:19)

    Nov 18 14:55:33 homebridge homebridge[1039]: at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:38)

    Nov 18 14:55:33 homebridge homebridge[1039]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:26:16)

    Nov 18 14:55:33 homebridge homebridge[1039]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)

    Nov 18 14:55:33 homebridge homebridge[1039]: at Module._compile (internal/modules/cjs/loader.js:678:30)

    Nov 18 14:55:33 homebridge homebridge[1039]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)

    Nov 18 14:55:33 homebridge homebridge[1039]: at Module.load (internal/modules/cjs/loader.js:589:32)

    Nov 18 14:55:33 homebridge homebridge[1039]: at tryModuleLoad (internal/modules/cjs/loader.js:528:12)

    Nov 18 14:55:33 homebridge homebridge[1039]: at Function.Module._load (internal/modules/cjs/loader.js:520:3)

    Nov 18 14:55:33 homebridge homebridge[1039]: at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)

    Nov 18 14:55:33 homebridge homebridge[1039]: at startup (internal/bootstrap/node.js:228:19)

    Nov 18 14:55:33 homebridge homebridge[1039]: at bootstrapNodeJSCore (internal/bootstrap/node.js:576:3)

    Nov 18 14:55:34 homebridge systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE

    Nov 18 14:55:34 homebridge systemd[1]: homebridge.service: Unit entered failed state.

    Nov 18 14:55:34 homebridge systemd[1]: homebridge.service: Failed with result 'exit-code'.

    ^C

    [email protected]:~ $

  • Hallo det,


    Du hattest Recht, die config.json hatte Fehler, die Anführungszeichen hatten wohl den falschen Zeichensatz.

    sudo tail -f /var/log/syslog bringt auch keine Fehler mehr raus.

    Was ich leider nicht verstehe ist, wenn ich den PI neustarte (shutdown Stecker raus) läuft die Homebridge immer noch nicht

    im Autostart. Diese muss ich erst über den Terminal mit

    Code
    nohup homebridge &

    starten, sonst läuft Sie nicht.


    Habe ich einen Gedankenfehler, oder müsste die Homebridge jetzt nicht automatisch starten?


    Sollte es dazu schon Anleitungen von Dir geben, die ich abarbeiten sollte wäre ein Link dazu sehr nett ;-)


    Danke für Deine Hilfe.