Hallo liebe Homekitter,
langsam werde ich wahnsinnig: Heute bereits die dritte Homebridge nach der Anleitung (von sschuste - vielen Dank dafür erstmal) aufgesetzt (und frisch von der App gewechselt, die nur Probleme gemacht hat) und es hapert nun zu verschiedenen Zeitpunkten, mündet aber zum dritten Mal im selben Fehler.
Diesmal ist nach vier erfolgreichen Plugin-Installationen Schluss gewesen. Genauer bei der "homebridge-mi-hygrothermograph", die zusätzlich noch einen "bluetooth-hci-socket"-Fehler ausgegeben hat und vermeintlich durch ein Downgrade der Node in den Griff bekommen wurde.
Schlimmer sieht es mit der Homebridge aus, die nach der Installation des Plugins gar nicht erst starten möchte, da die config.json wohl nicht gefunden wird.
pi@raspberrypi:~ $ sudo homebridge
[2019-1-25 02:36:50] config.json (/root/.homebridge/config.json) not found.
[2019-1-25 02:36:50] Loaded plugin: homebridge-config-ui-x
[2019-1-25 02:36:50] Registering platform 'homebridge-config-ui-x.config'
[2019-1-25 02:36:50] ---
[2019-1-25 02:36:50] Loaded plugin: homebridge-fritz
[2019-1-25 02:36:51] Registering platform 'homebridge-fritz.Fritz!Box'
[2019-1-25 02:36:51] ---
[2019-1-25 02:36:51] Loaded plugin: homebridge-mi-hygrothermograph
[2019-1-25 02:36:53] Registering accessory 'homebridge-mi-hygrothermograph.Hygrotermograph'
[2019-1-25 02:36:53] ---
[2019-1-25 02:36:53] Loaded plugin: homebridge-mi-philips-light
Error: ENOENT: no such file or directory, open '/root/.homebridge/config.json'
at Object.fs.openSync (fs.js:660:18)
at Object.fs.readFileSync (fs.js:565:33)
at isConfig (/usr/local/lib/node_modules/homebridge-mi-philips-light/index.js:24:32)
at Plugin.module.exports [as initializer] (/usr/local/lib/node_modules/homebridge-mi-philips-light/index.js:10:9)
at Server.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/server.js:167:14)
at Array.forEach (<anonymous>)
at Server._loadPlugins (/usr/local/lib/node_modules/homebridge/lib/server.js:141:22)
at new Server (/usr/local/lib/node_modules/homebridge/lib/server.js:57:24)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:30:16)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
Alles anzeigen
Das Plugin einfach deinstallieren geht ebenfalls nicht:
pi@raspberrypi:~ $ sudo npm uninstall homebridge-mi-hygrothermograph-g
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.
up to date in 0.307s
Wäre über einen Tipp sehr dankbar! ![]()