SeydX
die TR064 ist aktiviert wie in der Doku und hab eine Nummer in incommingTo entfernt.
Ich habe alle Plugins deinstalliert die auch auf die FritzBox zu greifen.
homebridge-fritz
homebridge-callmonitor
Beim starten der Hauptinstanz kommt nun:
Mar 6 08:25:16 hbridge3 homebridge[30339]: Load homebridge-fritz-platform.FritzPlatform
Mar 6 08:25:16 hbridge3 homebridge[30339]: /usr/local/lib/node_modules/homebridge-fritz-platform/src/platform.js:46
Mar 6 08:25:16 hbridge3 homebridge[30339]: this.devices = config.devices||{};
Mar 6 08:25:16 hbridge3 homebridge[30339]: ^
Mar 6 08:25:16 hbridge3 homebridge[30339]: TypeError: Cannot read property 'devices' of null
Mar 6 08:25:16 hbridge3 homebridge[30339]: at new FritzPlatform (/usr/local/lib/node_modules/homebridge-fritz-platform/src/platform.js:46:25)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Server._loadDynamicPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:347:30)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:88:8)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Module._compile (internal/modules/cjs/loader.js:738:30)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Module.load (internal/modules/cjs/loader.js:630:32)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Function.Module._load (internal/modules/cjs/loader.js:562:3)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at Function.Module.runMain (internal/modules/cjs/loader.js:801:12)
Mar 6 08:25:16 hbridge3 homebridge[30339]: at internal/main/run_main_module.js:21:11
Mar 6 08:25:16 hbridge3 systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Mar 6 08:25:16 hbridge3 systemd[1]: homebridge.service: Unit entered failed state.
Mar 6 08:25:16 hbridge3 systemd[1]: homebridge.service: Failed with result 'exit-code'.
Mar 6 08:25:26 hbridge3 systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Mar 6 08:25:26 hbridge3 systemd[1]: Stopped Node.js HomeKit homebridge.service.
Mar 6 08:25:26 hbridge3 systemd[1]: Started Node.js HomeKit homebridge.service.
Alles anzeigen
- habe jetzt homebridge-fritz-platform deinstalliert und di Hauptinstanz startet wieder.
- nachdem die Hauptinstanz läuft, Homebridge-fritz-platform installiert un diese Instanz gestartet
es kommt dieser Fehler
Mar 6 08:35:03 hbridge3 homebridge[14107]: Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
Mar 6 08:35:03 hbridge3 homebridge[14107]:
Mar 6 08:35:03 hbridge3 homebridge[14107]: ??????????????
Mar 6 08:35:03 hbridge3 homebridge[14107]: ? 031-45-135 ?
Mar 6 08:35:03 hbridge3 homebridge[14107]: ??????????????
Mar 6 08:35:03 hbridge3 homebridge[14107]:
Mar 6 08:35:03 hbridge3 homebridge[14107]: [2019-3-6 08:35:03] Homebridge is running on port 51835.
Mar 6 08:35:06 hbridge3 homebridge[14107]: [2019-3-6 08:35:06] [FritzPlatform] [INIT] Device initialized: FRITZ!WLAN Repeater 450E
Mar 6 08:35:06 hbridge3 homebridge[14107]: [2019-3-6 08:35:06] [FritzPlatform] [INIT] Encrypted communication started with: FRITZ!WLAN Repeater 450E
Mar 6 08:35:08 hbridge3 homebridge[14107]: [2019-3-6 08:35:08] [FritzPlatform] [INIT] Device initialized: FRITZ!Box 7490
Mar 6 08:35:08 hbridge3 homebridge[14107]: [2019-3-6 08:35:08] [FritzPlatform] [INIT] Encrypted communication started with: FRITZ!Box 7490
Mar 6 08:35:10 hbridge3 homebridge[14107]: [2019-3-6 08:35:10] [FritzPlatform] [ERROR] An error occured while getting new host list, trying again in 15 seconds...
Mar 6 08:35:10 hbridge3 homebridge[14107]: [2019-3-6 08:35:10] [FritzPlatform] [ERROR] {
Mar 6 08:35:10 hbridge3 homebridge[14107]: "error": "Not Found",
Mar 6 08:35:10 hbridge3 homebridge[14107]: "errorCode": 404
Mar 6 08:35:10 hbridge3 homebridge[14107]: }
Mar 6 08:35:11 hbridge3 homebridge[14107]: #033[0;37m[2019-3-6 08:35:11]#033[0m #033[0;36m[Config-UI35]#033[0m Using Form Authentication
Mar 6 08:35:11 hbridge3 homebridge[14107]: #033[0;37m[2019-3-6 08:35:11]#033[0m #033[0;36m[Config-UI35]#033[0m Console v3.9.6 is listening on port 8035.
Mar 6 08:35:25 hbridge3 homebridge[14107]: [2019-3-6 08:35:25] [FritzPlatform] [ERROR] An error occured while getting new host list, trying again in 15 seconds...
Mar 6 08:35:25 hbridge3 homebridge[14107]: [2019-3-6 08:35:25] [FritzPlatform] [ERROR] {
Mar 6 08:35:25 hbridge3 homebridge[14107]: "error": "Not Found",
Mar 6 08:35:25 hbridge3 homebridge[14107]: "errorCode": 404
Mar 6 08:35:25 hbridge3 homebridge[14107]: }
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Initializing platform...
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: FritzBox
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Stop polling because of bandwith measurement...
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: FritzRepeater
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: Det-iPhone
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [WARN] No valid IP/MAC adresse for Det-iPad! Skipping...
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [WARN] No valid IP/MAC adresse for Det-iPad-Pro! Skipping...
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: Det-iPadAir2
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [WARN] No valid IP/MAC adresse for iPhone5s! Skipping...
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: Anyone
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: Mac mini
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: PC-Det
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: homebridge3
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INIT] Callmonitor connection established with 192.168.23.1:1012
Mar 6 08:35:26 hbridge3 homebridge[14107]: [2019-3-6 08:35:26] [FritzPlatform] [INFO] Configuring accessory: Callmonitor Incoming
Mar 6 08:35:27 hbridge3 homebridge[14107]: [2019-3-6 08:35:27] [FritzPlatform] [INFO] Configuring accessory: Callmonitor Outgoing
Mar 6 08:35:49 hbridge3 homebridge[14107]: [2019-3-6 08:35:49] [FritzPlatform] [INFO] Download: 11 mb/s
Mar 6 08:35:49 hbridge3 homebridge[14107]: [2019-3-6 08:35:49] [FritzPlatform] [INFO] Upload: 9 mb/s
Mar 6 08:35:49 hbridge3 homebridge[14107]: [2019-3-6 08:35:49] [FritzPlatform] [INFO] Ping: 58 ms
Mar 6 08:35:50 hbridge3 homebridge[14107]: [2019-3-6 08:35:50] [FritzPlatform] [ERROR] An error occured while getting new host list, trying again in 15 seconds...
Mar 6 08:35:50 hbridge3 homebridge[14107]: [2019-3-6 08:35:50] [FritzPlatform] [ERROR] {
Mar 6 08:35:50 hbridge3 homebridge[14107]: "error": "Not Found",
Mar 6 08:35:50 hbridge3 homebridge[14107]: "errorCode": 404
Mar 6 08:35:50 hbridge3 homebridge[14107]: }
Alles anzeigen
mit diese config:
{
"bridge": {
"name": "Homebridge-fritz-platform",
"username": "CC:22:3D:E3:CE:35",
"port": 51835,
"pin": "031-45-135"
},
"description": "This is an sample-config for selective load homebridge-fritz-platform from det",
"plugins": [
"homebridge-config-ui-x",
"homebridge-fritz-platform"
],
"accessories": [],
"platforms": [
{
"platform": "FritzPlatform",
"devices": {
"FritzBox": {
"name": "FritzBox",
"host": "192.168.23.1",
"port": 49000,
"username": "xxx",
"password": "xxxxx",
"type": "dsl",
"wifi2": true,
"wifi5": true,
"wifiGuest": false,
"phoneBook": false,
"wps": false,
"aw": true,
"deflection": true,
"led": true,
"lock": true,
"beta": false,
"mesh": false,
"master": true
},
"FritzRepeater": {
"host": "192.168.23.2",
"port": 49000,
"username": "xxx",
"password": "xxxx",
"type": "repeater",
"wifi2": true,
"wifi5": false,
"wifiGuest": false,
"led": false,
"beta": false
}
},
"callmonitor": {
"active": true,
"ip": "192.168.23.1",
"port": 1012,
"country": "DE",
"incomingTo": "3xx1",
"outgoingFrom": "3xxxx1"
},
"presence": {
"Det-iPhone": "1C:5C:F2:xx:1A:xx",
"Det-iPad": "14:10:9f:xx:ea:xx",
"Det-iPad-Pro": "9c:e6:5e:xx:3a:xx",
"Det-iPadAir2": "4C:32:75:xx:9C:xx",
"iPhone5s": "90:b9:31:xx:d2:xx"
},
"wol": {
"Mac mini": "3C:07:54:xx:B6:xx",
"PC-Det": "C8:60:00:xx:98:xx",
"homebridge3": "B8:27:EB:xx:BD:xx"
},
"alarm": {
"active": true,
"telNr": "01xxxxxx",
"duration": 30
},
"wakeup": {
"active": true,
"internNr": "**620",
"duration": 60
},
"ringlock": {
"active": true,
"DECTphones": 1,
"start": "15:00",
"end": "21:00"
},
"broadband": {
"active": true,
"measureTime": 5,
"polling": 30
},
"extReboot": {
"active": true,
"cmdOn": "sh /var/homebridge-fritz-platform/reboot-start.sh",
"cmdOff": "sh /var/homebridge-fritz-platform/reboot-finished.sh"
},
"telegram": {
"active": true,
"token": "xxxxx",
"chatID": "xxxxx",
"presence": {
"in": "Willkommen zu Hause @",
"out": "Auf Wiedersehen @",
"anyoneIn": "Jemand ist zu Hause!",
"anyoneOut": "Niemand zu Hause!"
},
"callmonitor": {
"incoming": "Ankommende Anruf! @",
"disconnected": "Anruf mit @ wurde beendet!"
}
},
"readOnlySwitches": false,
"anyone": true,
"delay": 60,
"polling": 5,
"timeout": 5
},
{
"name": "Config-UI35",
"port": 8035,
"auth": "form",
"theme": "blue-grey",
"restart": "sudo -n systemctl restart homebridge-fritz-platform",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"tempUnits": "c",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge-fritz-platform",
"command": "sudo journalctl -fau homebridge-fritz-platform"
},
"platform": "config"
}
]
}
Alles anzeigen
Ich kann mir das leider nich erklären,

Nachtrag:
so jetzt laufen erstmal alle Plugins und Instanzen wieder , nur leider bei dDeinem Plugin kommt dieser Fehler:
Mar 6 09:58:38 hbridge3 homebridge[6593]: [2019-3-6 09:58:38] [FritzPlatform] [ERROR] An error occured while getting new host list, trying again in 15 seconds...
Mar 6 09:58:38 hbridge3 homebridge[6593]: [2019-3-6 09:58:38] [FritzPlatform] [ERROR] {
Mar 6 09:58:38 hbridge3 homebridge[6593]: "error": "Not Found",
Mar 6 09:58:38 hbridge3 homebridge[6593]: "errorCode": 404
Mar 6 09:58:38 hbridge3 homebridge[6593]: }
Mar 6 09:58:40 hbridge3 homebridge[23264]: [2019-3-6 09:58:40] [Uschi Vacuum Cleaner] INF getBattery | rockrobo.vacuum.v1 | Batterylevel is 100%.
Mar 6 09:58:53 hbridge3 homebridge[6593]: [2019-3-6 09:58:53] [FritzPlatform] [ERROR] An error occured while getting new host list, trying again in 15 seconds...
Mar 6 09:58:53 hbridge3 homebridge[6593]: [2019-3-6 09:58:53] [FritzPlatform] [ERROR] {
Mar 6 09:58:53 hbridge3 homebridge[6593]: "error": "Not Found",
Mar 6 09:58:53 hbridge3 homebridge[6593]: "errorCode": 404
Mar 6 09:58:53 hbridge3 homebridge[6593]: }
Mar 6 09:59:08 hbridge3 homebridge[6593]: [2019-3-6 09:59:08] [FritzPlatform] [ERROR] An error occured while getting new host list, trying again in 15 seconds...
Mar 6 09:59:08 hbridge3 homebridge[6593]: [2019-3-6 09:59:08] [FritzPlatform] [ERROR] {
Mar 6 09:59:08 hbridge3 homebridge[6593]: "error": "Not Found",
Mar 6 09:59:08 hbridge3 homebridge[6593]: "errorCode": 404
Mar 6 09:59:08 hbridge3 homebridge[6593]: }
Mar 6 09:59:10 hbridge3 homebridge[23264]: [2019-3-6 09:59:10] [Uschi Vacuum Cleaner] INF getBattery
Alles anzeigen
Es ist immer ein und der selbe Fehler.
- Wlan schalten geht
- die Geräte (iPhone, iPad) werden angezeigt aber nicht als anwesend erkannt
- Incomming und Outgoing Call werden im LOG angezeigt
- LED ein/aus der FritzBox und Repeater geht
nochmal die aktuelle config:
{
"bridge": {
"name": "Homebridge-fritz-platform",
"username": "CC:22:3D:E3:CE:35",
"port": 51835,
"pin": "031-45-135"
},
"description": "This is an sample-config for selective load homebridge-fritz-platform from det",
"plugins": [
"homebridge-config-ui-x",
"homebridge-fritz-platform"
],
"accessories": [],
"platforms": [
{
"platform": "FritzPlatform",
"devices": {
"FritzBox": {
"name": "FritzBox",
"host": "192.168.23.1",
"port": 49000,
"username": "xxxx",
"password": "xxx",
"type": "dsl",
"wifi2": true,
"wifi5": true,
"wifiGuest": true,
"phoneBook": true,
"wps": true,
"aw": true,
"deflection": true,
"led": true,
"lock": true,
"beta": false,
"mesh": false,
"master": true
},
"FritzRepeater": {
"host": "192.168.23.2",
"port": 49000,
"username": "xxxx",
"password": "xxxx",
"type": "repeater",
"wifi2": true,
"wifi5": false,
"wifiGuest": true,
"led": true,
"beta": false
}
},
"callmonitor": {
"active": true,
"ip": "192.168.23.1",
"port": 1012,
"country": "DE",
"incomingTo": "3xxxx",
"outgoingFrom": "3xxx"
},
"presence": {
"Det-iPhone": "1C:5C:F2:xx:1A:xx",
"Det-iPad": "14:10:9f:xx:ea:xx",
"Det-iPad-Pro": "9c:e6:5e:xx:3a:xx",
"Det-iPadAir2": "4C:32:75:xx:9C:xx",
"iPhone5s": "90:b9:31:xx:d2:xx"
},
"wol": {
"Mac mini": "3C:07:54:xx:B6:xx",
"PC-Det": "C8:60:00:xx:98:xx",
"homebridge3": "B8:27:EB:xx:BD:xx"
},
"alarm": {
"active": true,
"telNr": "0xxxx",
"duration": 30
},
"wakeup": {
"active": true,
"internNr": "**620",
"duration": 60
},
"ringlock": {
"active": true,
"DECTphones": 1,
"start": "15:00",
"end": "21:00"
},
"broadband": {
"active": true,
"measureTime": 5,
"polling": 30
},
"extReboot": {
"active": true,
"cmdOn": "sh /var/homebridge-fritz-platform/reboot-start.sh",
"cmdOff": "sh /var/homebridge-fritz-platform/reboot-finished.sh"
},
"telegram": {
"active": true,
"token": "xxxxxxx",
"chatID": "xxxxx",
"presence": {
"in": "Willkommen zu Hause @",
"out": "Auf Wiedersehen @",
"anyoneIn": "Jemand ist zu Hause!",
"anyoneOut": "Niemand zu Hause!"
},
"callmonitor": {
"incoming": "Ankommende Anruf! @",
"disconnected": "Anruf mit @ wurde beendet!"
}
},
"readOnlySwitches": false,
"anyone": true,
"delay": 60,
"polling": 5,
"timeout": 5
},
{
"name": "Config-UI35",
"port": 8035,
"auth": "form",
"theme": "blue-grey",
"restart": "sudo -n systemctl restart homebridge-fritz-platform",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"tempUnits": "c",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge-fritz-platform",
"command": "sudo journalctl -fau homebridge-fritz-platform"
},
"platform": "config"
}
]
}
Alles anzeigen