Hallo zusammen,
ich hab nach der Installation folgendes Problem:
Beim Laden des Plugins:
Feb 19 14:47:09 raspberrypi homebridge[11174]: [2020-2-19 14:47:09] ERROR LOADING PLUGIN homebridge-flower-sensor:
Feb 19 14:47:09 raspberrypi homebridge[11174]: [2020-2-19 14:47:09] Error: Cannot find module '../build/Release/binding.node'
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Function.Module._resolveFilename (module.js:543:15)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Function.Module._load (module.js:470:25)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Module.require (module.js:593:17)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at require (internal/module.js:11:18)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge-flower-sensor/node_modules/bluetooth-hci-socket/lib/native.js:3:15)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Module._compile (module.js:649:30)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Object.Module._extensions..js (module.js:660:10)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Module.load (module.js:561:32)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at tryModuleLoad (module.js:501:12)
Feb 19 14:47:09 raspberrypi homebridge[11174]: at Function.Module._load (module.js:493:3)
Beim Abrufen der Daten:
Feb 19 14:37:30 raspberrypi homebridge[10692]: [2020-2-19 14:37:30] Error: The requested platform 'FlowerSensors' was not registered by any plugin.
Feb 19 14:37:30 raspberrypi homebridge[10692]: at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:134:13)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:327:45)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:90:36)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:59:10)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Module._compile (module.js:649:30)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Object.Module._extensions..js (module.js:660:10)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Module.load (module.js:561:32)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at tryModuleLoad (module.js:501:12)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Function.Module._load (module.js:493:3)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at Function.Module.runMain (module.js:690:10)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at startup (bootstrap_node.js:194:16)
Feb 19 14:37:30 raspberrypi homebridge[10692]: at bootstrap_node.js:666:3
Vielleicht funktioniert mein Bluetooth aber auch gar nicht.
Bei der Installation von
sudo apt-get install bluetooth bluez libbluetooth-dev libudev
kommt folgender Fehler:
systemd is already the newest version (241-7~deb10u2+rpi1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
pi@raspberrypi:~ $ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
bluetooth is already the newest version (5.50-1+rpt1).
bluez is already the newest version (5.50-1+rpt1).
libbluetooth-dev is already the newest version (5.50-1+rpt1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libudev-dev : Depends: libudev1 (= 232-25+deb9u12) but 241-7~deb10u2+rpi1 is to be installed
E: Unable to correct problems, you have held broken packages.
Abfrage des Bluetooth Status hat folgenden Error:
pi@raspberrypi:~ $ sudo service bluetooth status
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset:
Active: inactive (dead)
Docs: man:bluetoothd(8)
Feb 19 13:51:51 raspberrypi systemd[1]: Condition check resulted in Bluetooth serv
Feb 19 14:02:17 raspberrypi systemd[1]: Condition check resulted in Bluetooth serv
lines 1-7/7 (END)...skipping...
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:bluetoothd(8)
Feb 19 13:51:51 raspberrypi systemd[1]: Condition check resulted in Bluetooth service being skipped.
Feb 19 14:02:17 raspberrypi systemd[1]: Condition check resulted in Bluetooth service being skipped.
Kann es am Bluetooth liegen oder warum funktioniert das Plugin nicht?
Danke und Gruß,
Julian