NEWS
Conbee II - BLE funktionier nicht
-
@Thomas-Braun Also im IO.Broker wird mir folgendes angezeigt:
ble.0 2020-10-11 13:45:04.326 error at process._tickCallback (internal/process/next_tick.js:61:11) ble.0 2020-10-11 13:45:04.326 error at process.nextTick (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:60:24) ble.0 2020-10-11 13:45:04.326 error at NobleBindings.init (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:78:13) ble.0 2020-10-11 13:45:04.326 error at Hci.init (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js:100:35) ble.0 2020-10-11 13:45:04.326 error (10562) Error: ENODEV, No such device ble.0 2020-10-11 13:45:04.324 error (10562) uncaught exception: ENODEV, No such device
-
- Benutze pi 3B+
- BLE ist dementsprechend integriert
- Raspberry Pi OS Lite
-
@Moe-Ven
Vermutlich greifen die beide auf die gleichen devices zu.dmesg | grep tty hciconfig
-
@Thomas-Braun Hmm, das wäre aber echt komisch
dmesg | grep tty [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835 .enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_ba se=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root =PARTUUID=00ab5a78-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [ 0.000868] printk: console [tty1] enabled [ 2.511459] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2 [ 6.821183] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device [ 7.612105] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
Bei hciconfig passiert nichts
-
-
@Thomas-Braun said in Conbee II - BLE funktionier nicht:
sudo systemctl start bluetooth
$ service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: inactive (dead) Docs: man:bluetoothd(8)
nach dem starten:
service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2020-10-11 13:59:16 CEST; 4s ago Docs: man:bluetoothd(8) Main PID: 7309 (bluetoothd) Status: "Running" Tasks: 1 (limit: 2065) CGroup: /system.slice/bluetooth.service └─7309 /usr/lib/bluetooth/bluetoothd Okt 11 13:59:16 raspberrypi systemd[1]: Starting Bluetooth service... Okt 11 13:59:16 raspberrypi bluetoothd[7309]: Bluetooth daemon 5.50 Okt 11 13:59:16 raspberrypi systemd[1]: Started Bluetooth service. Okt 11 13:59:16 raspberrypi bluetoothd[7309]: Starting SDP server Okt 11 13:59:16 raspberrypi bluetoothd[7309]: Bluetooth management interface 1.14 initialized
Hat aber leider nicht geholfen:
lsusb Bus 001 Device 006: ID 1cf1:0030 Dresden Elektronik Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-
hciconfig
-
@Thomas-Braun said in Conbee II - BLE funktionier nicht:
hciconfig
Da passiert leider immer noch nichts
-
@Moe-Ven
Der service läuft aber noch?service bluetooth status
-
@Thomas-Braun said in Conbee II - BLE funktionier nicht:
service bluetooth status
ja
service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2020-10-11 13:59:16 CEST; 11min ago Docs: man:bluetoothd(8) Main PID: 7309 (bluetoothd) Status: "Running" Tasks: 1 (limit: 2065) CGroup: /system.slice/bluetooth.service └─7309 /usr/lib/bluetooth/bluetoothd Okt 11 13:59:16 raspberrypi systemd[1]: Starting Bluetooth service... Okt 11 13:59:16 raspberrypi bluetoothd[7309]: Bluetooth daemon 5.50 Okt 11 13:59:16 raspberrypi systemd[1]: Started Bluetooth service. Okt 11 13:59:16 raspberrypi bluetoothd[7309]: Starting SDP server Okt 11 13:59:16 raspberrypi bluetoothd[7309]: Bluetooth management interface 1.14 initialized
-
@Moe-Ven
System auf Stand?sudo apt update sudo apt dist-upgrade sudo reboot
-
@Thomas-Braun said in Conbee II - BLE funktionier nicht:
sudo apt dist-upgrade
Jap
sudo apt update Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB] OK:2 http://archive.raspberrypi.org/debian buster InRelease OK:3 https://phoscon.de/apt/deconz buster InRelease OK:4 https://deb.nodesource.com/node_10.x buster InRelease Es wurden 15,0 kB in 2 s geholt (8.413 B/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell.
sudo apt dist-upgrade Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
-
@Moe-Ven sagte in Conbee II - BLE funktionier nicht:
node_10.x
Würde ich allerdings auf node12 heben.
-
Okay, kannst du mir kurz sagen wie ich das mache?
-
@Moe-Ven Okay, schon gefunden.
bin wie folgt vorgegangen:
https://computingforgeeks.com/how-to-install-nodejs-on-ubuntu-debian-linux-mint/ -
@Thomas-Braun Bekomme allerdings jetzt nach dem reboot service bluetooth status
nicht mehr gestartet:sudo systemctl start bluetooth
dann
service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset Active: inactive (dead) Docs: man:bluetoothd(8) Okt 11 14:25:39 raspberrypi systemd[1]: Condition check resulted in Bluetooth se Okt 11 14:25:55 raspberrypi systemd[1]: Condition check resulted in Bluetooth se Okt 11 14:26:52 raspberrypi systemd[1]: Condition check resulted in Bluetooth se log file: udo systemctl start bluetooth
-
@Moe-Ven
Zu viel Overhead.
Mach es künftig danach:
https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian -
@Thomas-Braun Okay, mache ich danke.
Nach 10 versuche bekomme ich dann doch
service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2020-10-11 14:28:59 CEST; 2s ago Docs: man:bluetoothd(8) Main PID: 4393 (bluetoothd) Status: "Running" Tasks: 1 (limit: 2065) CGroup: /system.slice/bluetooth.service └─4393 /usr/lib/bluetooth/bluetoothd Okt 11 14:28:59 raspberrypi systemd[1]: Starting Bluetooth service... Okt 11 14:28:59 raspberrypi bluetoothd[4393]: Bluetooth daemon 5.50 Okt 11 14:28:59 raspberrypi systemd[1]: Started Bluetooth service. Okt 11 14:28:59 raspberrypi bluetoothd[4393]: Starting SDP server Okt 11 14:28:59 raspberrypi bluetoothd[4393]: Bluetooth management interface 1.14 initialized
-
@Moe-Ven Ändert aber leider nichts
-
apt policy pi-bluetooth