Hallo zusammen,
ich habe das Problem, dass ich den TADO AC Smart Control in meine HB einbauen möchte. Nachdem ich den Smart Control soweit eingerichtet habe, bekomme ich es nicht hin, das Plugin zu installieren....(https://www.npmjs.com/package/homebridge-tado-ac)
Sobald ich die Config abändere, startet die HB nicht mehr. WEnn ich es rauslösche funktioniert es wieder. Laut JSONLINT ist die Config in Ordnung und mittlerweile bin ich verzweifelt und weiß nicht mehr was ich noch machen soll(klar die required Felder sind ausgefüllt):
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:31",
"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": "TadoAC",
"name": "Klimaanlage",
"username": "[email protected]",
"password": "XXXX",
"homeID": XXXX,
"weatherSensorsEnabled": false,
"weatherPollingInterval": 10,
"occupancySensorsEnabled": false,
"occupancyPollingInterval": 10,
"anyoneSensor": false,
"tadoMode": "AUTO",
"durationInMinutes": 100,
"autoFanOnly": false,
"manualControlSwitch": true,
"disableHumiditySensor": false,
"extraHumiditySensor": ["Living Room", 3],
"disableFan": false
}],
"accessories": []
}
Das Log sieht so aus :
Mar 11 10:49:17 raspberrypi homebridge[716]: [2019-3-11 10:49:17] [Config] Using Form Authentication
Mar 11 10:49:17 raspberrypi homebridge[716]: [2019-3-11 10:49:17] [Config] Console v3.9.6 is listening on port 8080.
Mar 11 10:49:58 raspberrypi homebridge[716]: [2019-3-11 10:49:58] [Config] Changes to config.json saved.
Mar 11 10:50:24 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...
Mar 11 10:50:24 raspberrypi homebridge[716]: [2019-3-11 10:50:24] Got SIGTERM, shutting down Homebridge...
Mar 11 10:50:29 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a
Mar 11 10:50:29 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Mar 11 10:50:29 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Mar 11 10:50:29 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Mar 11 10:50:29 raspberrypi systemd[1]: Started Node.js HomeKit Server.
Mar 11 10:50:31 raspberrypi homebridge[776]: [2019-3-11 10:50:31] Loaded config.json with 1 accessories and 2 platforms.
Mar 11 10:50:31 raspberrypi homebridge[776]: [2019-3-11 10:50:31] ---
Mar 11 10:50:31 raspberrypi homebridge[776]: [2019-3-11 10:50:31] Loaded plugin: homebridge-config-ui-x
Mar 11 10:50:31 raspberrypi homebridge[776]: [2019-3-11 10:50:31] Registering platform 'homebridge-config-ui-x.config'
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] Loaded plugin: homebridge-tado-ac
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] Registering platform 'homebridge-tado-ac.TadoAC'
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] ---
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] Loading 2 platforms...
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] [Config] Initializing config platform...
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] [Config] Spawning homebridge-config-ui-x with PID 806
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] [Tado AC] Initializing TadoAC platform...
Mar 11 10:50:33 raspberrypi homebridge[776]: [2019-3-11 10:50:33] Loading 1 accessories...
Mar 11 10:50:33 raspberrypi homebridge[776]: /usr/local/lib/node_modules/homebridge-tado-ac/index.js:119
Mar 11 10:50:33 raspberrypi homebridge[776]: zones = zones.filter(zone => zone.type === "AIR_CONDITIONING")
Mar 11 10:50:33 raspberrypi homebridge[776]: ^
Mar 11 10:50:33 raspberrypi homebridge[776]: TypeError: zones.filter is not a function
Mar 11 10:50:33 raspberrypi homebridge[776]: at tadoApi.getZones (/usr/local/lib/node_modules/homebridge-tado-ac/index.js:119:39)
Mar 11 10:50:33 raspberrypi homebridge[776]: at IncomingMessage.res.on (/usr/local/lib/node_modules/homebridge-tado-ac/lib/tadoApi.js:118:17)
Mar 11 10:50:33 raspberrypi homebridge[776]: at IncomingMessage.emit (events.js:185:15)
Mar 11 10:50:33 raspberrypi homebridge[776]: at endReadableNT (_stream_readable.js:1106:12)
Mar 11 10:50:33 raspberrypi homebridge[776]: at process._tickCallback (internal/process/next_tick.js:178:19)
Mar 11 10:50:33 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Mar 11 10:50:33 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Mar 11 10:50:33 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Kann mir da einer helfen????