Habe gestern ein Plugin für den Ecovacs Deebot Saugroboter installiert. Alles in die Config.json eingetragen und beim starten der Homebridge irgend nen Fehler bekommen, aus den ich nicht schlau werde. Die Plattform wird ja geladen, nur dort auch drunter eine Meldung. Hoffe ihr könnt helfen.
Code
pi@raspberrypi:~ $ homebridge stop
/usr/local/lib/node_modules/npm/bin/npm-cli.js:87
let notifier = require('update-notifier')({pkg})
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
at node.js:962:3
[1/14/2021, 8:14:49 AM] Loaded config.json with 7 accessories and 1 platforms.
[1/14/2021, 8:14:49 AM] ---
[1/14/2021, 8:14:49 AM] Loaded plugin: homebridge-avea-bulb
[1/14/2021, 8:14:49 AM] Registering accessory 'homebridge-avea-bulb.AveaBulb'
[1/14/2021, 8:14:49 AM] ---
[1/14/2021, 8:14:49 AM] Loaded plugin: homebridge-pi
[1/14/2021, 8:14:49 AM] Registering accessory 'homebridge-pi.PiTemperature'
[1/14/2021, 8:14:49 AM] ---
[1/14/2021, 8:14:49 AM] Loading 1 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'DeebotEcovacs' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
at Server.str.replace.Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:316:45)
at Server.str.replace.Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
pi@raspberrypi:~ $ homebridge start
/usr/local/lib/node_modules/npm/bin/npm-cli.js:87
let notifier = require('update-notifier')({pkg})
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
at node.js:962:3
[1/14/2021, 8:15:13 AM] Loaded config.json with 7 accessories and 1 platforms.
[1/14/2021, 8:15:13 AM] ---
[1/14/2021, 8:15:13 AM] Loaded plugin: homebridge-avea-bulb
[1/14/2021, 8:15:13 AM] Registering accessory 'homebridge-avea-bulb.AveaBulb'
[1/14/2021, 8:15:13 AM] ---
[1/14/2021, 8:15:13 AM] Loaded plugin: homebridge-pi
[1/14/2021, 8:15:13 AM] Registering accessory 'homebridge-pi.PiTemperature'
[1/14/2021, 8:15:13 AM] ---
[1/14/2021, 8:15:13 AM] Loading 1 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'DeebotEcovacs' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
at Server.str.replace.Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:316:45)
at Server.str.replace.Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
pi@raspberrypi:~ $ sudo nano ~/.homebridge/config.json
Alles anzeigen
hier noch meine Config.json
Code
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"accessories": [
{
"accessory": "AveaBulb",
"name": "Schlafzimmer Ambiente",
"serialnumber": "Avea_4511",
"bluetoothid": "78a5048e1145"
},
{
"accessory": "AveaBulb",
"name": "Schlafzimmer Decke",
"serialnumber": "Avea_9CC8",
"bluetoothid": "20914833c89c"
},
{
"accessory": "AveaBulb",
"name": "Wohnzimmer Decke",
"serialnumber": "Avea_1829",
"bluetoothid": "84eb18482918"
},
{
"accessory": "AveaBulb",
"name": "Wohnzimmer Ambiente",
"serialnumber": "Avea_96FD",
"bluetoothid": "84eb1865fd96"
},
{
"accessory": "AveaBulb",
"name": "K chentisch",
"serialnumber": "Avea_6C38",
"bluetoothid": "84eb1848386c"
},
{
"accessory": "AveaBulb",
"name": "Badezimmer",
"serialnumber": "Avea_55A7",
"bluetoothid": "78a5048ea755"
},
{
"accessory": "PiTemperature",
"name": "Raspberry PI Temperature"
}
],
"platforms": [
{
"platform": "DeebotEcovacs",
"email": "[email protected]",
"password": "XXXXXX",
"countryCode" : "DE"
}
]
}
Alles anzeigen