Hallo Zusammen,
Nutz jemand von euch Bluetooth in Homebridge?
Ich habe vor einiger zeit das
Bluetooth Presence Plugin vernwendec. Leider funktioniert es nicht mehr. Das Plugin schein nur mit älteren Node Versionen zu funktionieren. Das Plugin benötigt Bluetooth-hci-socket. Wenn ich also das Plugin installiere und in meinem fall Node 12.16.1 nutze kommt:
Code
pi@raspberrypi2:~ $ sudo automation-bt-detect-devices
internal/modules/cjs/loader.js:985
throw err;
^
Error: Cannot find module 'bluetooth-hci-socket'
Require stack:
- /usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/lib/hci-socket/hci.js
- /usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/lib/hci-socket/bindings.js
- /usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/lib/resolve-bindings.js
- /usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/index.js
- /usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/detect.js
- /usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/bin/automation-bt-detect-devices
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:982:15)
at Function.Module._load (internal/modules/cjs/loader.js:864:27)
at Module.require (internal/modules/cjs/loader.js:1044:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/lib/hci-socket/hci.js:6:26)
at Module._compile (internal/modules/cjs/loader.js:1158:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
at Module.load (internal/modules/cjs/loader.js:1002:32)
at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/lib/hci-socket/hci.js',
'/usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/lib/hci-socket/bindings.js',
'/usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/lib/resolve-bindings.js',
'/usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/node_modules/noble/index.js',
'/usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/detect.js',
'/usr/local/lib/node_modules/homebridge-automation-bluetooth-presence/bin/automation-bt-detect-devices'
]
}
Alles anzeigen
Also frage in die Runde. Nutz von euch jemand ein Plugin um die Bluetooth gerate in Homebridge zu bekommen?
Oder hat jemand einen Tipp wie ich das Plugin am besten zum laufen bekommen kann?
Lg