Beiträge von henkhar
-
-
Steuerzentrale ist ein HomePod.. und ein Apple TV in der " Verlängerung".
Stecker rein und raus bei denen bringt keine Änderungen... alle andren Home gerate laufen ja auch.
Frage: wo finde ich das log?
-
Hallo zusammen,
es lief ja lange zeit stabil, doch in letzter Zeit kommt immer wieder mal die Anzeige "Keine Antwort" in der Home Oberfläche aller angeschlossenen IOS Geräte. Sowohl von aussen als auch im WLAN
Betroffen ist nur die Homebridge samt aller darüber laufenden Geräte.
Seltsamerweise bekomme ich am Mac, der zusätzlich noch am LAN hängt eine Verbindung und kann die Geräte schalten.
Nach gefühlten 10 Neustarts (Stecker am RasPi rein und raus) läuft es dann wieder eine paar Tage stabil, dann wieder das gleiche Bild
Hat einer eine Idee, woran da liegen kann?
-
Genial, alles läuft und startet automatisch!!
Vielen Dank, ich schulde Dir einen Kaffee :-))
-
scheint nichts zu bringen.
pi@raspberrypi:~ $ sudo journalctl -fau homebridge
-- Logs begin at Thu 2016-11-03 18:16:42 CET. --
Apr 25 23:08:00 raspberrypi homebridge[339]: [2019-4-25 23:08:00] Error: EACCES: permission denied, open '/usr/local/lib/node_modules/homebridge-people/node_modules/node-persist/storage/.node-persist/storage/lastSuccessfulPing_192.168.178.40'
Apr 25 23:08:00 raspberrypi homebridge[339]: at Object.fs.openSync (fs.js:667:18)
Apr 25 23:08:00 raspberrypi homebridge[339]: at Object.fs.writeFileSync (fs.js:1326:33)
Apr 25 23:08:00 raspberrypi homebridge[339]: at LocalStorage.persistKeySync (/usr/local/lib/node_modules/homebridge-people/node_modules/node-persist/local-storage.js:457:12)
Apr 25 23:08:00 raspberrypi homebridge[339]: at LocalStorage.setItemSync (/usr/local/lib/node_modules/homebridge-people/node_modules/node-persist/local-storage.js:275:14)
Apr 25 23:08:00 raspberrypi homebridge[339]: at Object.nodePersist.setItemSync (/usr/local/lib/node_modules/homebridge-people/node_modules/node-persist/node-persist.js:99:29)
Apr 25 23:08:00 raspberrypi homebridge[339]: at PeopleAccessory.<anonymous> (/usr/local/lib/node_modules/homebridge-people/index.js:209:43)
Apr 25 23:08:00 raspberrypi homebridge[339]: at ChildProcess.<anonymous> (/usr/local/lib/node_modules/homebridge-people/node_modules/ping/lib/ping-sys.js:82:17)
Apr 25 23:08:00 raspberrypi homebridge[339]: at ChildProcess.emit (events.js:180:13)
Apr 25 23:08:00 raspberrypi homebridge[339]: at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
Meine Homebridge lässt sich zudemj etzt gar nicht mehr starten
sudo hombridge bringt eine Fehlermeldung:
[2019-4-25 23:23:39] Error: listen EADDRINUSE :::51828
at Server.setupListenHandle [as _listen2] (net.js:1345:14)
at listenInCluster (net.js:1386:12)
at Server.listen (net.js:1474:7)
at PeoplePlatform.startServer (/usr/local/lib/node_modules/homebridge-people/index.js:120:24)
at PeoplePlatform.accessories (/usr/local/lib/node_modules/homebridge-people/index.js:60:14)
at Server._loadPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:403:20)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:341:16)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
[2019-4-25 23:23:39] Homebridge is running on port 51826.
[2019-4-25 23:23:39] iPhone 4 is running on port 36017.
[2019-4-25 23:23:39] Please add [iPhone 4] manually in Home app. Setup Code: 031-45-485
[2019-4-25 23:23:39] Front is running on port 34491.
[2019-4-25 23:23:39] Please add [Front] manually in Home app. Setup Code: 031-45-485
[2019-4-25 23:23:39] Got SIGTERM, shutting down Homebridge...
-
1. ja steht so da
2. hab ich geändert in /root/. homebridge (mit slash vor root ?!)
ja, ...!! die alte Fehlermeldung ist weg, allerdings kommt jetzt bei "...-fau" eine Fehlermeldung bezüglich Zugriffsrechten:
Apr 25 22:52:34 raspberrypi homebridge[283]: [2019-4-25 22:52:34] Error: EACCES: permission denied, open '/root/.homebridge/accessories/cachedAccessories'
-
Hallo,
Danke für deine Hilfe.
1. Bin da nicht sicher, die config,json liegt unter root/.homebridge
2.:
[Unit]
Description=Node.js HomeKit Server
After=syslog.target network-online.target
[Service]
Type=simple
User=pi
EnvironmentFile=/etc/default/homebridge
ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS
Restart=on-failure
RestartSec=10
KillMode=process
[Install]
WantedBy=multi-user.target
3.
# Defaults / Configuration options for homebridge
# The following settings tells homebridge where to find the config.json file an$
HOMEBRIDGE_OPTS=-I -U /var/homebridge
# If you uncomment the following line, homebridge will log more
# You can display this via systemd's journalctl: journalctl -f -u homebridge
# DEBUG=*
-
Hallo zusammen,
ich benötige mal bitte Eure Hilfe,
rasp mit homebridge habe ich mit Hilfe der homebridge app aus diesem Forum erfolgreich unter "root " installiert, plugins laufen auch alle. Bin begeistert

Nun wollte ich noch einen automatischen Start beim hochfahren des rasp. Hierzu ebenfalls wieder mit Hilfe einer Beschreibung aus diesem Forum:
https://smartapfel.de/homebridge/homebridge-installieren/
dort habe ich dann alles ab dem text: System-Startskript erstellen gemacht, , den Nutzer Namen habe ich in Pi geändert
Leider startet die Bridge nicht nach dem einschalten,
sudo journalctl -fau homebridge wirft folgendes aus:
Apr 25 21:13:37 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Apr 25 21:13:39 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Apr 25 21:13:39 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Apr 25 21:13:39 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Apr 25 21:13:49 raspberrypi systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Apr 25 21:13:49 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Apr 25 21:13:49 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Apr 25 21:13:51 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Apr 25 21:13:51 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Apr 25 21:13:51 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Apr 25 21:14:01 raspberrypi systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Apr 25 21:14:01 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
.....
Wo klemmt das? ..weil es unter root installiert ist?
Viele Grüße
Harald