Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [gelöst] BLE Adapter läuft nicht

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

[gelöst] BLE Adapter läuft nicht

Scheduled Pinned Locked Moved Solved Error/Bug
ble bluetooth
30 Posts 5 Posters 3.3k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @rotamint
    Mit dem 'Zweisatz'

    sudo apt update 
    sudo apt upgrade
    

    wird dein Grundsystem aktualisiert. Und zwar inkl. einer node-Installation, wenn das entsprechende sog. Repostiory angelegt wurde.

    apt update schaut dabei nur, ob neue Versionen angeboten werden, apt upgrade installiert diese dann.

    Ob node 'sauber' angelegt wurde kann man hier entnehmen:

    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
    
    R Offline
    R Offline
    rotamint
    wrote on last edited by
    #12

    @Thomas-Braun

    
    pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
    /usr/bin/nodejs
    v10.21.0
    /usr/bin/node
    v10.21.0
    /usr/bin/npm
    6.14.4
    nodejs:
      Installed: 10.21.0-1nodesource1
      Candidate: 10.21.0-1nodesource1
      Version table:
     *** 10.21.0-1nodesource1 500
            500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
            100 /var/lib/dpkg/status
         10.21.0~dfsg-1~deb10u1+rpi1 500
            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
    pi@raspberrypi:~ $
    
    

    In welchen (un)-regelmäßigen Abständen führst Du das "Zweisatz-Update" aus?

    Thomas BraunT 1 Reply Last reply
    0
    • R rotamint

      @Thomas-Braun

      
      pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v10.21.0
      /usr/bin/node
      v10.21.0
      /usr/bin/npm
      6.14.4
      nodejs:
        Installed: 10.21.0-1nodesource1
        Candidate: 10.21.0-1nodesource1
        Version table:
       *** 10.21.0-1nodesource1 500
              500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.21.0~dfsg-1~deb10u1+rpi1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      pi@raspberrypi:~ $
      
      

      In welchen (un)-regelmäßigen Abständen führst Du das "Zweisatz-Update" aus?

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #13

      @rotamint Immer, wenn ich mich per ssh auf dem raspberry anmelde.
      Ein 'sudo apt update' ist der erste Befehl, den ich eingebe, dann sehe ich ob da was ansteht.
      Ich würde aber mindestens einmal im Monat danach schauen.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      R 1 Reply Last reply
      0
      • Thomas BraunT Thomas Braun

        @rotamint Immer, wenn ich mich per ssh auf dem raspberry anmelde.
        Ein 'sudo apt update' ist der erste Befehl, den ich eingebe, dann sehe ich ob da was ansteht.
        Ich würde aber mindestens einmal im Monat danach schauen.

        R Offline
        R Offline
        rotamint
        wrote on last edited by
        #14

        @Thomas-Braun

        Perfekt! Wieder was gelernt!

        Danke. Stefan.

        Thomas BraunT 1 Reply Last reply
        0
        • R rotamint

          @Thomas-Braun

          Perfekt! Wieder was gelernt!

          Danke. Stefan.

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #15

          @rotamint Noch so als Hinweis:
          Wenn du mal irgendwann auf ein node>10 wechseln willst/musst, dann muss die Installationsquelle angepasst werden. Ein Wechsel des Zweiges findet so ohneweiteres nicht statt.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Reply Last reply
          0
          • R rotamint

            @Thomas-Braun

            Lieber Thomas, vielen Dank für Deinen Hinweis, mir den Lösungsweg aufzuzeigen!

            sudo apt update hat einiges "nachgeladen (?),
            ebenso
            sudo apt upgrade, das hat lange gedauert und war wohl einiges.

            Danach war der BLE-Adapter "gelb".

            Nach "sudo setcap cap_net_raw+eip $(eval readlink -f which node)" ist der Adapter jetzt grün und hat die Datenpunkte angelegt!

            Vielen Dank für Eure Untersützung und Hilfestellung. Bitte, verratet mir noch folgendes.

            Was versteckt sich hinter "sudp apt update" und "sudo apt upgrade". Was wird hier upgedatet, wodurch untescheiden sich die beiden Punkte?
            Ich halte doch meinen ioBroker über die Admin-Oberfläche und den Host "js-controller" immer aktuell. Was musste hier "händisch" aktualisiert werden?

            Und ... Wo muss ich klicken um diesen Threat als "gelöst / erledigt" zu markieren?

            Nochmals vielen Dank an Euch beide, Thomas und AlCalzone!

            Stefan.

            AlCalzoneA Offline
            AlCalzoneA Offline
            AlCalzone
            Developer
            wrote on last edited by
            #16

            @rotamint sagte in [gelöst] BLE Adapter läuft nicht:

            sudo setcap cap_net_raw+eip $(eval readlink -f which node)

            Bitte nicht das Kommando händisch ausführen, sondern den Fixer nutzen. Der Fixer setzt zusätzlich zu cap_net_raw weitere Permissions, die von anderen Adaptern benötigt werden.

            Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

            R 1 Reply Last reply
            1
            • AlCalzoneA AlCalzone

              @rotamint sagte in [gelöst] BLE Adapter läuft nicht:

              sudo setcap cap_net_raw+eip $(eval readlink -f which node)

              Bitte nicht das Kommando händisch ausführen, sondern den Fixer nutzen. Der Fixer setzt zusätzlich zu cap_net_raw weitere Permissions, die von anderen Adaptern benötigt werden.

              R Offline
              R Offline
              rotamint
              wrote on last edited by
              #17

              @AlCalzone
              habe jetzt noch iobroker fix ausgeführt, war es das was Du meinstest?

              1 Reply Last reply
              1
              • R Offline
                R Offline
                rotamint
                wrote on last edited by
                #18

                Nach kompletter Neuinstallation und Installation auf Node 12 bis heute morgen problemlos gelaufen. Seitdem ist er wieder gelb, in den Logs sehe ich nichts nachteiliges. Einzig PowerOff macht mich etwas stutzig 😞

                blemalwieder.JPG

                Wer hat eine Idee?

                AlCalzoneA 1 Reply Last reply
                0
                • R rotamint

                  Nach kompletter Neuinstallation und Installation auf Node 12 bis heute morgen problemlos gelaufen. Seitdem ist er wieder gelb, in den Logs sehe ich nichts nachteiliges. Einzig PowerOff macht mich etwas stutzig 😞

                  blemalwieder.JPG

                  Wer hat eine Idee?

                  AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  wrote on last edited by
                  #19

                  @rotamint Das poweredOff ist das Problem.

                  sudo hciconfig hci0 up
                  

                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                  R 1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Dragon
                    wrote on last edited by
                    #20

                    curl -sL https://iobroker.net/fix.sh | bash -

                    hilft bei mir immer wunder!

                    1 Reply Last reply
                    0
                    • AlCalzoneA AlCalzone

                      @rotamint Das poweredOff ist das Problem.

                      sudo hciconfig hci0 up
                      
                      R Offline
                      R Offline
                      rotamint
                      wrote on last edited by
                      #21

                      @AlCalzone said in [gelöst] BLE Adapter läuft nicht:

                      sudo hciconfig hci0 up

                      Danke! 🙂

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        rotamint
                        wrote on last edited by rotamint
                        #22

                        @rotamint Hallo zusammen, ich bitte erneut um Hilfe zum BLE Adapter....

                        code_tepi@raspberrypi:~ $ sudo hciconfig hci0 up
                        Can't get device info: No such device
                        pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which n                                                                                        pm && npm -v && apt policy nodejs
                        /usr/bin/nodejs
                        v14.16.0
                        /usr/bin/node
                        v14.16.0
                        /usr/bin/npm
                        6.14.11
                        nodejs:
                          Installed: 14.16.0-1nodesource1
                          Candidate: 14.16.0-1nodesource1
                          Version table:
                         *** 14.16.0-1nodesource1 500
                                500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                100 /var/lib/dpkg/status
                             10.24.0~dfsg-1~deb10u1 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                        
                        

                        Der Adapter schreibt "connection = false, driverState = unknown"

                        pi@raspberrypi:~ $ sudo hciconfig hci0 up
                        Can't get device info: No such device
                        pi@raspberrypi:~ $ pi@raspberrypi:~ $ sudo systemctl status bluetooth.service
                        -bash: pi@raspberrypi:~: command not found
                           Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                           Active: inactive (dead)
                             Docs: man:bluetoothd(8)
                        pi@raspberrypi:~ $ sudo systemctl enable bluetooth.service
                        Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
                        Executing: /lib/systemd/systemd-sysv-install enable bluetooth
                        pi@raspberrypi:~ $ sudo systemctl start bluetooth.service
                        pi@raspberrypi:~ $ sudo systemctl status bluetooth.service
                        ● bluetooth.service - Bluetooth service
                           Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                           Active: active (running) since Wed 2021-03-24 17:47:46 CET; 15s ago
                             Docs: man:bluetoothd(8)
                         Main PID: 27375 (bluetoothd)
                           Status: "Running"
                        pi@raspberrypi:~ $ ● bluetooth.service - Bluetooth service
                            Tasks: 1 (limit: 3858)
                           CGroup: /system.slice/bluetooth.service
                                   └─27375 /usr/lib/bluetooth/bluetoothd
                        
                        Mar 24 17:47:46 raspberrypi systemd[1]: Starting Bluetooth service...
                        Mar 24 17:47:46 raspberrypi bluetoothd[27375]: Bluetooth daemon 5.50
                        Mar 24 17:47:46 raspberrypi systemd[1]: Started Bluetooth service.
                        Mar 24 17:47:46 raspberrypi bluetoothd[27375]: Starting SDP server
                        Mar 24 17:47:46 raspberrypi bluetoothd[27375]: Bluetooth management interface 1.18 initialized
                        pi@raspberrypi:~ $ sudo hciconfig hci0 up
                        Can't get device info: No such device
                        
                        

                        Danke für die Unterstützung!

                        Stefan.

                        Thomas BraunT 1 Reply Last reply
                        0
                        • R rotamint

                          @rotamint Hallo zusammen, ich bitte erneut um Hilfe zum BLE Adapter....

                          code_tepi@raspberrypi:~ $ sudo hciconfig hci0 up
                          Can't get device info: No such device
                          pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which n                                                                                        pm && npm -v && apt policy nodejs
                          /usr/bin/nodejs
                          v14.16.0
                          /usr/bin/node
                          v14.16.0
                          /usr/bin/npm
                          6.14.11
                          nodejs:
                            Installed: 14.16.0-1nodesource1
                            Candidate: 14.16.0-1nodesource1
                            Version table:
                           *** 14.16.0-1nodesource1 500
                                  500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                               10.24.0~dfsg-1~deb10u1 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          
                          

                          Der Adapter schreibt "connection = false, driverState = unknown"

                          pi@raspberrypi:~ $ sudo hciconfig hci0 up
                          Can't get device info: No such device
                          pi@raspberrypi:~ $ pi@raspberrypi:~ $ sudo systemctl status bluetooth.service
                          -bash: pi@raspberrypi:~: command not found
                             Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                             Active: inactive (dead)
                               Docs: man:bluetoothd(8)
                          pi@raspberrypi:~ $ sudo systemctl enable bluetooth.service
                          Synchronizing state of bluetooth.service with SysV service script with /lib/systemd/systemd-sysv-install.
                          Executing: /lib/systemd/systemd-sysv-install enable bluetooth
                          pi@raspberrypi:~ $ sudo systemctl start bluetooth.service
                          pi@raspberrypi:~ $ sudo systemctl status bluetooth.service
                          ● bluetooth.service - Bluetooth service
                             Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
                             Active: active (running) since Wed 2021-03-24 17:47:46 CET; 15s ago
                               Docs: man:bluetoothd(8)
                           Main PID: 27375 (bluetoothd)
                             Status: "Running"
                          pi@raspberrypi:~ $ ● bluetooth.service - Bluetooth service
                              Tasks: 1 (limit: 3858)
                             CGroup: /system.slice/bluetooth.service
                                     └─27375 /usr/lib/bluetooth/bluetoothd
                          
                          Mar 24 17:47:46 raspberrypi systemd[1]: Starting Bluetooth service...
                          Mar 24 17:47:46 raspberrypi bluetoothd[27375]: Bluetooth daemon 5.50
                          Mar 24 17:47:46 raspberrypi systemd[1]: Started Bluetooth service.
                          Mar 24 17:47:46 raspberrypi bluetoothd[27375]: Starting SDP server
                          Mar 24 17:47:46 raspberrypi bluetoothd[27375]: Bluetooth management interface 1.18 initialized
                          pi@raspberrypi:~ $ sudo hciconfig hci0 up
                          Can't get device info: No such device
                          
                          

                          Danke für die Unterstützung!

                          Stefan.

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by Thomas Braun
                          #23

                          @rotamint
                          Das ist das interne Bluetooth des Pi?

                          Hau mal prophylaktisch den Fixer drüber:

                          iobroker stop
                          iobroker fix
                          iobroker start
                          

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          R 1 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @rotamint
                            Das ist das interne Bluetooth des Pi?

                            Hau mal prophylaktisch den Fixer drüber:

                            iobroker stop
                            iobroker fix
                            iobroker start
                            
                            R Offline
                            R Offline
                            rotamint
                            wrote on last edited by
                            #24

                            @thomas-braun Hallo Thomas, danke für Deinen Hinweis. Hat aber nichts gebracht, den Fixer hatte ich schon ausgeführt.

                            Mir scheint es eher so, als ob das on-board-bluetooth nicht aktiv ist ?!?

                            pi@raspberrypi:~ $ hcitool dev
                            Devices:
                            pi@raspberrypi:~ $
                            
                            

                            Jemand eine andere Idee? Dankeschön! Stefan.

                            crunchipC 1 Reply Last reply
                            0
                            • R rotamint

                              @thomas-braun Hallo Thomas, danke für Deinen Hinweis. Hat aber nichts gebracht, den Fixer hatte ich schon ausgeführt.

                              Mir scheint es eher so, als ob das on-board-bluetooth nicht aktiv ist ?!?

                              pi@raspberrypi:~ $ hcitool dev
                              Devices:
                              pi@raspberrypi:~ $
                              
                              

                              Jemand eine andere Idee? Dankeschön! Stefan.

                              crunchipC Away
                              crunchipC Away
                              crunchip
                              Forum Testing Most Active
                              wrote on last edited by crunchip
                              #25

                              @rotamint hab zwar keinen PI laufen, aber bei meinem Zotac kommt es hin und wieder vor, wenn ich meine VM(Proxmox) neu starte, das bluetooth nicht mehr läuft, abhilfe, das ich ihn kurz mal vom Strom nehmen muss.( Interne Spannungsprobleme mit dem Bluetoothboard.
                              Vllt bringt es etwas wenn du deinen Pi mal runter fährst und 20 sec vom Strom trennst.

                              umgestiegen von Proxmox auf Unraid

                              R 1 Reply Last reply
                              0
                              • crunchipC crunchip

                                @rotamint hab zwar keinen PI laufen, aber bei meinem Zotac kommt es hin und wieder vor, wenn ich meine VM(Proxmox) neu starte, das bluetooth nicht mehr läuft, abhilfe, das ich ihn kurz mal vom Strom nehmen muss.( Interne Spannungsprobleme mit dem Bluetoothboard.
                                Vllt bringt es etwas wenn du deinen Pi mal runter fährst und 20 sec vom Strom trennst.

                                R Offline
                                R Offline
                                rotamint
                                wrote on last edited by
                                #26

                                @crunchip Danke. Hat nicht geholfen...

                                
                                pi@raspberrypi:~ $ sudo hciconfig hci0 version
                                Can't get device info: No such device
                                pi@raspberrypi:~ $
                                
                                Thomas BraunT 1 Reply Last reply
                                0
                                • R rotamint

                                  @crunchip Danke. Hat nicht geholfen...

                                  
                                  pi@raspberrypi:~ $ sudo hciconfig hci0 version
                                  Can't get device info: No such device
                                  pi@raspberrypi:~ $
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #27

                                  @rotamint

                                  Ist Bluetooth aktiv in raspi-config? Ich meine mich erinnern zu können das es dazu einen Eintrag dort gibt.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Reply Last reply
                                  0
                                  • R Offline
                                    R Offline
                                    rotamint
                                    wrote on last edited by rotamint
                                    #28

                                    @thomas-braun Hallo Thomas, ich denke / vermute der Bluetooth-Adapter ist nicht aktiviert. In der Raspi-config finde ich dazu nichts...

                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • R rotamint

                                      @thomas-braun Hallo Thomas, ich denke / vermute der Bluetooth-Adapter ist nicht aktiviert. In der Raspi-config finde ich dazu nichts...

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #29

                                      @rotamint
                                      Hast recht, da hatte ich mich getäuscht.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      R 1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @rotamint
                                        Hast recht, da hatte ich mich getäuscht.

                                        R Offline
                                        R Offline
                                        rotamint
                                        wrote on last edited by
                                        #30

                                        @thomas-braun

                                        Danke für Deine geduldige Hilfestellung, eine Neuinstallation hat's wieder fein gemacht 🙂

                                        Frohe Ostertage.
                                        Danke. Stefan.

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        416

                                        Online

                                        32.4k

                                        Users

                                        81.4k

                                        Topics

                                        1.3m

                                        Posts
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Recent
                                        • Tags
                                        • Unread 0
                                        • Categories
                                        • Unreplied
                                        • Popular
                                        • GitHub
                                        • Docu
                                        • Hilfe