Guten Abend,
mit der kurzen config.json funktioniert es:
Code
{
"bridge": {
"name": "Homebridge",
"username": "B8:27:EB:3B:50:44",
"port": 51826,
"pin": "031-45-154"
},
"description": "Home Smart Home",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8080,
"auth": "form",
"theme": "red",
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge"
}
}
],
"accessories": []
}
Alles anzeigen
Wenn es aber um den Teil für das PlugIn "homebridge-fritz" ergänzt wird, ist die Homebridge auf einmal nicht mehr erreichbar:
Code
{
"bridge": {
"name": "Homebridge",
"username": "B8:27:EB:3B:50:44",
"port": 51826,
"pin": "031-45-154"
},
"description": "Home Smart Home",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8080,
"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": "Fritz!Box",
"name": "My FritzBox",
"username": "USER",
"password": "PASS",
"url": "http://192.168.158.1",
"interval": 60,
"hide": ["wifi"],
"concurrent": true,
"wifiName": "Guest WLAN",
"debug": true,
"options": {
"strictSSL": false
}
}
],
"accessories": []
}
Alles anzeigen
Im Terminal bekomme ich im Fehlerfall nur diese Ausgabe:
Code
Dez 03 18:26:52 raspberrypi systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Dez 03 18:26:52 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Dez 03 18:26:52 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] Loaded config.json with 0 accessories and 2 platforms.
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] ---
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] Loaded plugin: homebridge-config-ui-x
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] Registering platform 'homebridge-config-ui-x.config'
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] ---
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] Loaded plugin: homebridge-fakebulb
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] Registering accessory 'homebridge-fakebulb.FakeBulb'
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] ---
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] Loaded plugin: homebridge-fritz-platform
Dez 03 18:26:54 raspberrypi homebridge[13676]: [2018-12-3 18:26:54] ---
Dez 03 18:26:55 raspberrypi homebridge[13676]: [2018-12-3 18:26:55] Loaded plugin: homebridge-fritzbox
Dez 03 18:26:55 raspberrypi homebridge[13676]: [2018-12-3 18:26:55] Registering platform 'homebridge-fritzbox.FRITZ!Box'
Dez 03 18:26:55 raspberrypi homebridge[13676]: [2018-12-3 18:26:55] ---
Dez 03 18:26:55 raspberrypi homebridge[13676]: [2018-12-3 18:26:55] Loading 2 platforms...
Dez 03 18:26:55 raspberrypi homebridge[13676]: [2018-12-3 18:26:55] [Config] Initializing config platform...
Dez 03 18:26:55 raspberrypi homebridge[13676]: [2018-12-3 18:26:55] [Config] Spawning homebridge-config-ui-x with PID 13696
Dez 03 18:26:55 raspberrypi homebridge[13676]: /usr/local/lib/node_modules/homebridge/lib/api.js:122
Dez 03 18:26:55 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Dez 03 18:26:55 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Dez 03 18:26:55 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Alles anzeigen
Vielleicht hat ja jemand von Euch eine Idee?
Liebe Grüße & vielen Dank!
Muckel