Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. BLE funktioniert nicht

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    BLE funktioniert nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Tenor 0 last edited by Thomas Braun

      @tenor-0

      Schau mal in

      dmesg -T
      

      rein. Vielleicht steht da was drin.

      Edit:
      Besser

      dmesg -T | grep -i bluetooth
      
      T 1 Reply Last reply Reply Quote 0
      • T
        Tenor 0 @Thomas Braun last edited by

        @thomas-braun
        Danke!

        Der Server ist Neu. Bzw. er ist ein Thin Client (MINIS FORUM Mini PC UM560 XT AMD Ryzen 5 5600H 6 Kerne/12 Threads, 32 GB RAM).

        Für mich sieht die Ausgabe gut aus:

        matthias@server:~$ sudo dmesg -T | grep -i bluetooth
        [So Okt 22 15:28:22 2023] Bluetooth: Core ver 2.22
        [So Okt 22 15:28:22 2023] NET: Registered PF_BLUETOOTH protocol family
        [So Okt 22 15:28:22 2023] Bluetooth: HCI device and connection manager initialized
        [So Okt 22 15:28:22 2023] Bluetooth: HCI socket layer initialized
        [So Okt 22 15:28:22 2023] Bluetooth: L2CAP socket layer initialized
        [So Okt 22 15:28:22 2023] Bluetooth: SCO socket layer initialized
        [So Okt 22 15:28:22 2023] Bluetooth: hci0: Device setup in 134289 usecs
        [So Okt 22 15:28:27 2023] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
        [So Okt 22 15:28:27 2023] Bluetooth: BNEP filters: protocol multicast
        [So Okt 22 15:28:27 2023] Bluetooth: BNEP socket layer initialized
        [So Okt 22 15:28:27 2023] Bluetooth: hci0: Device setup in 143193 usecs
        [So Okt 22 15:51:51 2023] Bluetooth: hci0: Device setup in 132313 usecs
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Tenor 0 last edited by

          @tenor-0

          Sollte eigentlich passen.

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Thomas Braun last edited by

            @thomas-braun

            wie bekommt man das Modell heraus?

            T 1 Reply Last reply Reply Quote 0
            • T
              Tenor 0 @Homoran last edited by

              @homoran
              Laut Datenblatt: M.2 2230 WLAN-Unterstützung (Dual-Band Wi-Fi,BlueTooth) Minis

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Tenor 0 last edited by

                @tenor-0 sagte in BLE funktioniert nicht:

                @homoran
                Laut Datenblatt: M.2 2230 WLAN-Unterstützung (Dual-Band Wi-Fi,BlueTooth) Minis

                das ist nur der Anschluss und das Maß des Moduls. nicht was da verbaut ist

                T 1 Reply Last reply Reply Quote 0
                • T
                  Tenor 0 @Homoran last edited by

                  @homoran
                  hm,
                  Wi-Fi-6E-Modul von Mediatek laut Notebookcheck

                  Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Tenor 0 last edited by

                    @tenor-0

                    hcitool dev
                    

                    sagt?

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Tenor 0 @Thomas Braun last edited by

                      @thomas-braun said in BLE funktioniert nicht:

                      hcitool dev

                      server:~$ hcitool dev
                      Devices:
                              hci0    38:D5:7A:22:B7:20
                      

                      Nur seine eigene..

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Tenor 0 last edited by

                        @tenor-0

                        Und

                        hcitool scan
                        
                        T 1 Reply Last reply Reply Quote 0
                        • T
                          Tenor 0 @Thomas Braun last edited by Tenor 0

                          @thomas-braun
                          wie Eingangs erwähnt, gar nichts, aber er sucht auch nur 10 Sekunden.

                          matthias@server:~$ hcitool scan
                          Scanning ...
                          matthias@server:~$
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Tenor 0 last edited by

                            @tenor-0

                            Dann weiß ich nicht weiter.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Tenor 0 @Thomas Braun last edited by

                              @thomas-braun
                              Danke Trotzdem!

                              Ich denke dann muss ich es mit einem anderen Adapter probieren.
                              Hast du eine Idee welcher gut funktioniert?

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Tenor 0 last edited by Thomas Braun

                                @tenor-0

                                Schau mal in das Log, wenn der ble-Adapter neugestartet wird.
                                Bei mir spuckt das Ding sowas aus:

                                2023-10-23 21:51:57.006  - error: ble.0 (55088) Cannot find module '../build/Release/bluetooth_hci_socket.node'
                                Require stack:
                                - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js
                                - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/index.js
                                - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
                                - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
                                - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
                                - /opt/iobroker/node_modules/@abandonware/noble/with-custom-binding.js
                                - /opt/iobroker/node_modules/@abandonware/noble/index.js
                                - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
                                

                                Edit: Neuinstallation des ble-Adapters und das Ding lüppt wieder.

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  Tenor 0 @Thomas Braun last edited by

                                  @thomas-braun

                                  2023-10-23 20:24:31.603  - info: admin.0 (1277) ==> Connected system.user.admin from ::ffff:192.168.178.70
                                  2023-10-23 20:24:41.810  - info: host.server "system.adapter.ble.0" disabled
                                  2023-10-23 20:24:41.811  - info: host.server stopInstance system.adapter.ble.0 (force=false, process=true)
                                  2023-10-23 20:24:41.814  - info: ble.0 (421939) Got terminate signal TERMINATE_YOURSELF
                                  2023-10-23 20:24:41.856  - info: host.server stopInstance system.adapter.ble.0 send kill signal
                                  2023-10-23 20:24:41.860  - info: ble.0 (421939) terminating
                                  2023-10-23 20:24:41.862  - info: ble.0 (421939) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2023-10-23 20:24:42.364  - info: ble.0 (421939) terminating
                                  2023-10-23 20:24:42.431  - info: host.server instance system.adapter.ble.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  2023-10-23 20:24:45.231  - info: host.server "system.adapter.ble.0" enabled
                                  2023-10-23 20:24:45.268  - info: host.server instance system.adapter.ble.0 started with pid 2462829
                                  2023-10-23 20:24:45.735  - info: ble.0 (2462829) starting. Version 0.13.4 in /opt/iobroker/node_modules/iobroker.ble, node: v18.18.2, js-controller: 5.0.12
                                  2023-10-23 20:24:45.792  - info: ble.0 (2462829) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                  2023-10-23 20:24:45.793  - info: ble.0 (2462829) enabled plugins: Xiaomi, _default
                                  2023-10-23 20:24:45.793  - info: ble.0 (2462829) monitoring all services
                                  2023-10-23 20:24:45.842  - info: ble.0 (2462829) starting scanner process...
                                  2023-10-23 20:24:46.081  - info: ble.0 (2462829) starting scan for services []
                                  
                                  
                                  2023-10-23 20:24:31.603 - info: admin.0 (1277) ==> Connected system.user.admin from ::ffff:192.168.178.70
                                  2023-10-23 20:24:41.810 - info: host.server "system.adapter.ble.0" disabled
                                  2023-10-23 20:24:41.811 - info: host.server stopInstance system.adapter.ble.0 (force=false, process=true)
                                  2023-10-23 20:24:41.814 - info: ble.0 (421939) Got terminate signal TERMINATE_YOURSELF
                                  2023-10-23 20:24:41.856 - info: host.server stopInstance system.adapter.ble.0 send kill signal
                                  2023-10-23 20:24:41.860 - info: ble.0 (421939) terminating
                                  2023-10-23 20:24:41.862 - info: ble.0 (421939) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                  2023-10-23 20:24:42.364 - info: ble.0 (421939) terminating
                                  2023-10-23 20:24:42.431 - info: host.server instance system.adapter.ble.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                  2023-10-23 20:24:45.231 - info: host.server "system.adapter.ble.0" enabled
                                  2023-10-23 20:24:45.268 - info: host.server instance system.adapter.ble.0 started with pid 2462829
                                  2023-10-23 20:24:45.735 - info: ble.0 (2462829) starting. Version 0.13.4 in /opt/iobroker/node_modules/iobroker.ble, node: v18.18.2, js-controller: 5.0.12
                                  2023-10-23 20:24:45.792 - info: ble.0 (2462829) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                  2023-10-23 20:24:45.793 - info: ble.0 (2462829) enabled plugins: Xiaomi, _default
                                  2023-10-23 20:24:45.793 - info: ble.0 (2462829) monitoring all services
                                  2023-10-23 20:24:45.842 - info: ble.0 (2462829) starting scanner process...
                                  2023-10-23 20:24:46.081 - info: ble.0 (2462829) starting scan for services []
                                  

                                  Für mich sieht alles gut aus...
                                  Ich habe mir einfach mal einen neuen Stick bestellt und werde testen.

                                  Thomas Braun haselchen 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Tenor 0 last edited by

                                    @tenor-0

                                    Ist überhaupt irgendwas in der Nähe, was gescannt werden könnte?
                                    Für mich schaut das nämlich eigentlich gut aus.

                                    1 Reply Last reply Reply Quote 0
                                    • haselchen
                                      haselchen Most Active @Tenor 0 last edited by

                                      @tenor-0

                                      Kann mich da @Thomas-Braun nur anschliessen.
                                      Bisher ist alles okay lt. Log.
                                      Kommt auf die Reichweite Deines Gerätes an und die Adapter Einstellungen.
                                      Die haste glaube ich noch nicht gezeigt.
                                      Hol das mal bitte nach.

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        Tenor 0 @haselchen last edited by

                                        @haselchen
                                        31aed2c6-3497-40c9-b4bc-083982c76307-grafik.png
                                        Der steht 2 meter neben dem Raspi 4.
                                        Habe eben mein Handy auf Bluetooth Empfang gestellt, aber es kommt nichts.
                                        Der Raspi hat Seitenweise Einträge..
                                        Es stehen in 1m Entfernung auch ein Xiaomi Temp Sensor der permanent Daten liefert.
                                        Der ist ja nicht gepaired mit dem alten Raspi.

                                        haselchen 1 Reply Last reply Reply Quote 0
                                        • haselchen
                                          haselchen Most Active @Tenor 0 last edited by

                                          @tenor-0

                                          Spasseshalber den Haken bei "Neue Geräte ....." setzen?!

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            Tenor 0 @haselchen last edited by

                                            @haselchen
                                            Habe ich natürlich schon gemacht 😉
                                            Deswegen hatte ich auch den Screenshot in meinem ersten Post gewählt, da sieht man das der auf True steht.

                                            Habe gerade noch einen Fabrikneuen Xiaomi Sensor aus der Verpackung geholt und direkt neben den Server gestellt.
                                            Es passiert einfach nichts...

                                            haselchen 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            784
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            ble adapter
                                            4
                                            35
                                            1300
                                            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