Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (gelöst)BLE-Adapter

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    (gelöst)BLE-Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jan1 @Thomas Braun last edited by

      @thomas-braun

      jan@Beelink:~$ sudo hciconfig hci0 reset
      Can't init device hci0: Connection timed out (110)
      
      1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active last edited by

        @jan1 mal probiert, deinen beelink kurz vom Strom zu nehmen, bei meinem zotac gab es auch hin und wieder Probleme mit dem internen bluetooth, musst dann den rechner kurz vom Strom nehmen, danach funktionierte es wieder

        J 1 Reply Last reply Reply Quote 0
        • J
          Jan1 @crunchip last edited by Jan1

          @crunchip
          das hatte ich zwar schon gemacht, aber eben gerade noch mal und siehe da:

          jan@Beelink:~$ sudo hciconfig
          hci0:   Type: Primary  Bus: USB
                  BD Address: F4:D1:08:43:46:D9  ACL MTU: 1021:5  SCO MTU: 96:6
                  UP RUNNING
                  RX bytes:1303 acl:0 sco:0 events:83 errors:0
                  TX bytes:2840 acl:0 sco:0 commands:83 errors:0
          
          1 Reply Last reply Reply Quote 0
          • J
            Jan1 last edited by

            Die Freude war nur kurz, gestern zwar beide Sensoren gefunden und Adapter grün. Heute Adapter grün aber keine Daten von den Sensoren.
            Immer die Kiste runter fahren und stromlos schalten ist daher auch keine wirkliche Alternative um den wieder zu beleben, zumal der auch schon mal zuverlässiger lief. Kein Plan warum der BLE so zickig ist.

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active last edited by

              @jan1 alternativ nen externen Stick nehmen

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @crunchip last edited by

                @crunchip
                Hatte ich auch schon, wobei der interne ja lief.

                1 Reply Last reply Reply Quote 0
                • D
                  Dennis.80 @ostseereiter last edited by

                  @ostseereiter Habe das gleiche Problem, sitze nun schon seit Stunden an der Lösungen bzw. Ursachenforschung.
                  iob ble.JPG

                  Schon jemand weiter gekommen?
                  Zusätzlich taucht übrigens noch folgende Meldung auf:

                  host.Jarvis4iob 2022-03-14 10:16:15.096 warn adapter "ble" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt

                  Bedanke mich schonmal im Voraus
                  Dennis

                  crunchip ostseereiter J 3 Replies Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @Dennis.80 last edited by

                    @dennis-80 hast du schon,wie weiter oben erwähnt, ein npm rebuild ausgeführt?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Dennis.80 @crunchip last edited by

                      @crunchip schon probiert.
                      derweil sind auch wieder alle drei Ampeln rot

                      1 Reply Last reply Reply Quote 0
                      • ostseereiter
                        ostseereiter @Dennis.80 last edited by

                        @dennis-80
                        Ich hatte den Adapter neu installiert. vielleicht auch mal die angeschlossenen Geräte anzeigen lassen ob der Stick erkannt wurde mit

                        lsusb
                        

                        ansonsten mal Stick raus und wieder rein wenn du ein Stick hast vorausgesetzt.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          Dennis.80 @ostseereiter last edited by

                          @ostseereiter ich verwende den internen bluetooth chip. dieser wird mir allerdings nicht mehr angezeigt. werde wohl mal ein backup einspielen müssen, haben beim versuch den adapter wieder ans laufen zu bekommen wohl eher etwas verschlimmbessert.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • crunchip
                            crunchip Forum Testing Most Active last edited by

                            @dennis-80 sagte in (gelöst)BLE-Adapter:

                            dieser wird mir allerdings nicht mehr angezeigt.

                            dann ist aber etwas anderes faul, da nutzt auch kein backup oder Adapter installieren

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Dennis.80 last edited by

                              @dennis-80

                              rfkill
                              

                              zeigt?

                              D 2 Replies Last reply Reply Quote 0
                              • D
                                Dennis.80 @Thomas Braun last edited by

                                @thomas-braun nach dem backup wird zumindest die bluetooth hardware wieder gefunden:

                                ID TYPE DEVICE SOFT HARD
                                0 wlan phy0 blocked unblocked
                                1 bluetooth hci0 unblocked unblocked

                                Die Ampeln bleiben aber weiterhin auf rot

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Jan1 @Dennis.80 last edited by

                                  @dennis-80
                                  hattest Du das was Thomas oben geschrieben hat gemacht:

                                  Ändere
                                  
                                  ExecStart=/usr/lib/bluetooth/bluetoothd
                                  
                                  in
                                  
                                  ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sap 
                                  

                                  Wenn ja, da bin ich reingefallen, weil das bei mir andere Pfade waren und ich einfach die Zeile so übernommen hatte 😉

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    Dennis.80 @Thomas Braun last edited by

                                    @thomas-braun ich komme langsam voran. Die Ampel ist schonmal wieder auf gelb gesprungen. Die Hardware wird nun wieder erkannt. Folgende Probleme bleiben: Bluetoothstatus: Failed to set privacy: Rejected (0x0b) und Cannot find module '@abandonware/bluetooth-hci-socket 😞

                                    iob ble 3.JPG iob ble 2.JPG

                                    Hast du evtl. noch eine Idee? Will eigentlich nicht auf den Adapter verzichten 😞

                                    AlCalzone 1 Reply Last reply Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer @Dennis.80 last edited by

                                      @dennis-80 Hab nicht alles gelesen. Mal folgendes probiert?

                                      cd /opt/iobroker/node_modules/iobroker.ble
                                      npm i --production
                                      
                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        Dennis.80 @AlCalzone last edited by

                                        @alcalzone said in (gelöst)BLE-Adapter:

                                        cd /opt/iobroker/node_modules/iobroker.ble
                                        npm i --production

                                        oh, stimmt mich jetzt nicht optimistischer...

                                        iob ble 4.JPG

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Dennis.80 last edited by

                                          @dennis-80

                                          Bitte keine Screenshots, kann ich nicht lesen unterwegs.

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            Dennis.80 @Thomas Braun last edited by

                                            @thomas-braun

                                            IOBROKER LOG:
                                            ble.0 2022-03-15 12:55:58.987 error - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
                                            ble.0 2022-03-15 12:55:58.987 error - /opt/iobroker/node_modules/@abandonware/noble/index.js
                                            ble.0 2022-03-15 12:55:58.987 error - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
                                            ble.0 2022-03-15 12:55:58.987 error - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
                                            ble.0 2022-03-15 12:55:58.987 error - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
                                            ble.0 2022-03-15 12:55:58.987 error Require stack:
                                            ble.0 2022-03-15 12:55:58.987 error (1784) Cannot find module '@abandonware/bluetooth-hci-socket'

                                            sudo systemctl status bluetooth
                                            ● bluetooth.service - Bluetooth service
                                            Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                                            Active: active (running) since Tue 2022-03-15 12:19:09 CET; 41min ago
                                            Docs: man:bluetoothd(8)
                                            Main PID: 494 (bluetoothd)
                                            Status: "Running"
                                            Tasks: 1 (limit: 3720)
                                            CGroup: /system.slice/bluetooth.service
                                            └─494 /usr/lib/bluetooth/bluetoothd --compat --noplugin=sap -E

                                            Mär 15 12:19:09 Jarvis4iob systemd[1]: Starting Bluetooth service...
                                            Mär 15 12:19:09 Jarvis4iob bluetoothd[494]: Bluetooth daemon 5.50
                                            Mär 15 12:19:09 Jarvis4iob systemd[1]: Started Bluetooth service.
                                            Mär 15 12:19:09 Jarvis4iob bluetoothd[494]: Starting SDP server
                                            Mär 15 12:19:09 Jarvis4iob bluetoothd[494]: Excluding (cli) sap
                                            Mär 15 12:19:09 Jarvis4iob bluetoothd[494]: Bluetooth management interface 1.18 initialize
                                            Mär 15 12:19:09 Jarvis4iob bluetoothd[494]: Failed to set privacy: Rejected (0x0b)

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            389
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            84
                                            4698
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo