Hallo Normsen
Besten Dank für deine Antwort.
Das Log sieht dann so aus:
homebridge : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/kill -9 1714
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
[1/19/2021, 6:20:56 PM] [Homebridge UI] Starting terminal session
homebridge : TTY=pts/1 ; PWD=/var/homebridge ; USER=root ; COMMAND=/usr/bin/systemctl restart homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
[1/19/2021, 6:21:01 PM] Got SIGTERM, shutting down Homebridge...
Stopping Node.js HomeKit Server...
[1/19/2021, 6:21:05 PM] [Homebridge UI] Terminal session ended.
homebridge : TTY=pts/2 ; PWD=/var/homebridge ; USER=root ; COMMAND=/usr/bin/journalctl -o cat -n 500 -f -u homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
homebridge.service: Main process exited, code=exited, status=143/n/a
homebridge.service: Failed with result 'exit-code'.
Stopped Node.js HomeKit Server.
homebridge.service: Found left-over process 1690 (homebridge-conf) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1724 (sudo) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1725 (systemctl) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1726 (systemd-tty-ask) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1727 (sudo) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
homebridge.service: Found left-over process 1729 (journalctl) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Started Node.js HomeKit Server.
pam_unix(sudo:session): session closed for user root
pam_unix(sudo:session): session closed for user root
[1/19/2021, 6:21:11 PM] Loaded config.json with 0 accessories and 2 platforms.
[1/19/2021, 6:21:12 PM] ---
[1/19/2021, 6:21:17 PM] Loaded plugin: [email protected]
[1/19/2021, 6:21:17 PM] Registering platform 'homebridge-config-ui-x.config'
[1/19/2021, 6:21:17 PM] ---
[1/19/2021, 6:21:17 PM] Loaded plugin: [email protected]
[1/19/2021, 6:21:19 PM] Registering platform 'homebridge-ikea-tradfri-gateway.Ikea Trådfri Gateway'
[1/19/2021, 6:21:19 PM] ---
[1/19/2021, 6:21:19 PM] Loading 2 platforms...
[1/19/2021, 6:21:19 PM] [Config] Initializing config platform...
[1/19/2021, 6:21:19 PM] [Config] Spawning homebridge-config-ui-x with PID 1751
[1/19/2021, 6:21:19 PM] [Ikea Trådfri Gateway] Initializing Ikea Trådfri Gateway platform...
[1/19/2021, 6:21:19 PM] [Ikea Trådfri Gateway] didFinishLaunching
[1/19/2021, 6:21:21 PM] [Ikea Trådfri Gateway] Loading devices...
[1/19/2021, 6:21:22 PM] [Ikea Trådfri Gateway] Loading groups and scenes...
[1/19/2021, 6:21:53 PM] [Homebridge UI] Homebridge Config UI X v4.36.0 is listening on :: port 8081
homebridge : TTY=pts/0 ; PWD=/var/homebridge ; USER=root ; COMMAND=/usr/bin/journalctl -o cat -n 500 -f -u homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
Alles anzeigen
An den geschweiften Klammern kann es nicht liegen. Die Konfiguration habe ich zwar geändert, aber erst nachdem die Homebridge nicht mehr lief.
Ich glaube mich daran zu errinern, dass zu diesem Zeitpunkt, als es aufhörte zu funktionieren, das IKEA Gateway ein update bekommen hat.
Die Homebridge läuft mit dem in der Fusszeile genannten Plugin.
Hier noch die geprüfte Konfiguration meiner Homebridge:
{
"bridge": {
"name": "Homebridge",
"username": "Mac-adresse",
"manufacturer": "homebridge.io",
"model": "homebridge",
"port": 51826,
"pin": "xxx-xx-xxx"
},
"description": "Home Smart Home",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8081,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge"
}
},
{
"platform": "Ikea Trådfri Gateway",
"name": "Ikea Trådfri Gateway",
"securityCode": "xxx",
"host": "192.168.0.20",
"expose": [
"non-ikea-lightbulbs",
"non-ikea-outlets",
"non-ikea-blinds"
]
}
],
"accessories": []
}
Alles anzeigen