Hm, nun bin ich doch auf ein Problem gestoßen, nach jedem Neustart von Homebridge.
Zur Erklärung:
Die Fritzbox 6490 stellt Verbindung zum Internet her (KDG) und verwaltet die DECT200 Steckdosen.
Eine Fritzbox 3490 ist als IP-Client via LAN an die 6490 angeschlossen.
Die 3490 ist der zentrale WLAN-Router, daran sind per WLAN noch 2 Fritz 1750E Repeater angeschlossen.
Wenn ich die Homebridge neu starten muss oder die config.json anpasse, erscheint beigefügte Fehlermeldung.
Wenn ich aus accessories & persist alle Einträge lösche, startet Homebridge ohne Fehler - dafür müssen dann alle Geräte die über Homebridge in Homekit landen den Räumen neu zugeordnet werden
Bin für jeden Tipp dankbar
Fehlermeldung:
[2018-9-18 20:17:54] Homebridge is running on port 51826.
[2018-9-18 20:17:55] [FritzBox6490] [INIT] Device initialized: FRITZ!Box 6490 Cable (kdg)
[2018-9-18 20:17:56] [FritzBox3490] [INIT] Device initialized: FRITZ!Box 3490
[2018-9-18 20:17:59] [FritzBox6490] [INIT] Repeater initialized: FRITZ-REPEATER-OG
[2018-9-18 20:18:04] [FritzBox3490] [INIT] Publishing new accessory: FRITZ!Box 3490
Uncaught exception error: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 888e3251-29ef-496c-b70d-49cc93fa6d20
at Bridge.Accessory.addBridgedAccessory (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:264:13)
at Bridge.Accessory.addBridgedAccessories (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:290:10)
at Server._handleRegisterPlatformAccessories (/usr/lib/node_modules/homebridge/lib/server.js:473:16)
at Server.<anonymous> (/usr/lib/node_modules/homebridge/lib/server.js:41:10)
at API.emit (events.js:180:13)
at API.registerPlatformAccessories (/usr/lib/node_modules/homebridge/lib/api.js:159:8)
at Fritz_Box.addAccessory (/usr/lib/node_modules/homebridge-fritz-platform/src/accessory.js:217:23)
at new Fritz_Box (/usr/lib/node_modules/homebridge-fritz-platform/src/accessory.js:63:12)
at FritzPlatform.initPlatform (/usr/lib/node_modules/homebridge-fritz-platform/src/platform.js:170:9)
at Timeout._onTimeout (/usr/lib/node_modules/homebridge-fritz-platform/src/platform.js:436:34)
at ontimeout (timers.js:466:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:267:5)
[2018-9-18 20:18:05] [FritzBox6490] [INIT] Repeater initialized: FRITZ!WLAN Repeater 1750E
[2018-9-18 20:18:05] [FritzBox6490] [INIT] Encrypted communication started with: FRITZ-REPEATER-OG
[2018-9-18 20:18:05] [FritzBox6490] [INIT] Adding Reboot Characteristic to Fritz-Repeater-OG
[2018-9-18 20:18:05] [FritzBox6490] [INIT] Encrypted communication started with: FRITZ!WLAN Repeater 1750E
[2018-9-18 20:18:05] [FritzBox6490] [INIT] Adding Reboot Characteristic to Fritz-Repeater-EG
Hier der zugehörige Abschnitt der config.json:
{
"platform": "FritzPlatform",
"name": "FritzBox3490",
"host": "192.168.178.2",
"port": 49000,
"type": "dsl",
"timeout": 5,
"username": "XXXXXXXXXX",
"password": "XXXXXXXXXX",
"polling": 5,
"wifi": {
"2.4ghz": true,
"5ghz": true,
"guest": true,
"wps": true,
"refreshChannel": true
},
"options": {
"answeringMachine": false,
"devicelock": true,
"debug": false,
"phoneBook": false,
"broadband": {
"disable": false,
"maxTime": 5,
"polling": 60
}
}
},
{
"platform": "FritzPlatform",
"name": "FritzBox6490",
"host": "192.168.178.1",
"port": 49000,
"type": "cable",
"timeout": 5,
"username": "XXXXXXXXXX",
"password": "XXXXXXXXXX",
"polling": 5,
"options": {
"answeringMachine": true,
"devicelock": true,
"debug": false,
"phoneBook": false,
"broadband": {
"disable": false,
"maxTime": 5,
"polling": 60
}
},
"callmonitor": {
"disable": false,
"ip": "192.168.178.1",
"port": 1012,
"telegram": true,
"token": "XXXXXXXXXXXXXXXXXXX",
"chatID": "XXXXXXXXXXX",
"messages": {
"incoming": "Eingehender Anruf von @ an %",
"disconnected": "Anrufer @ hat aufgelegt!"
}
},
"repeater": {
"Fritz-Repeater-EG": {
"disable": false,
"ip": "192.168.178.4",
"port": 49000,
"username": "XXXXXXXXXX",
"password": "XXXXXXXXXX",
"led": true,
"reboot": true,
"wifi": {
"2.4ghz": true,
"5ghz": true,
"guest": true
}
},
"Fritz-Repeater-OG": {
"disable": false,
"ip": "192.168.178.5",
"port": 49000,
"username": "XXXXXXXXXX",
"password": "XXXXXXXXXX",
"led": true,
"reboot": true,
"wifi": {
"2.4ghz": true,
"5ghz": true,
"guest": true
}
}
},
"smarthome": {
"Waschmaschine": {
"disable": false,
"type": "plug",
"ain": "XXXXXXXXXXXX"
},
"Trockner": {
"disable": false,
"type": "plug",
"ain": "XXXXXXXXXXXX"
},
"Kamera": {
"disable": false,
"type": "plug",
"ain": "XXXXXXXXXXXX"
}
}
}
Alles anzeigen