Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  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.2k

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

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

[gelöst] BLE Adapter läuft nicht

Geplant Angeheftet Gesperrt Verschoben Gelöst Error/Bug
ble bluetooth
30 Beiträge 5 Kommentatoren 3.4k Aufrufe 6 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • R rotamint

    @Thomas-Braun

    Perfekt! Wieder was gelernt!

    Danke. Stefan.

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von
    #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 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #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 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #17

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

        1 Antwort Letzte Antwort
        1
        • R Offline
          R Offline
          rotamint
          schrieb am zuletzt editiert von
          #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 :disappointed:

          blemalwieder.JPG

          Wer hat eine Idee?

          AlCalzoneA 1 Antwort Letzte Antwort
          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 :disappointed:

            blemalwieder.JPG

            Wer hat eine Idee?

            AlCalzoneA Offline
            AlCalzoneA Offline
            AlCalzone
            Developer
            schrieb am zuletzt editiert von
            #19

            @rotamint Das poweredOff ist das Problem.

            sudo hciconfig hci0 up
            

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

            R 1 Antwort Letzte Antwort
            0
            • D Offline
              D Offline
              Dragon
              schrieb am zuletzt editiert von
              #20

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

              hilft bei mir immer wunder!

              1 Antwort Letzte Antwort
              0
              • AlCalzoneA AlCalzone

                @rotamint Das poweredOff ist das Problem.

                sudo hciconfig hci0 up
                
                R Offline
                R Offline
                rotamint
                schrieb am zuletzt editiert von
                #21

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

                sudo hciconfig hci0 up

                Danke! :)

                1 Antwort Letzte Antwort
                0
                • R Offline
                  R Offline
                  rotamint
                  schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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 Abwesend
                        crunchipC Abwesend
                        crunchip
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                        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
                          schrieb am zuletzt editiert von
                          #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 Antwort Letzte Antwort
                          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
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            0
                            • R Offline
                              R Offline
                              rotamint
                              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                              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
                                schrieb am zuletzt editiert von
                                #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 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

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

                                  R Offline
                                  R Offline
                                  rotamint
                                  schrieb am zuletzt editiert von
                                  #30

                                  @thomas-braun

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

                                  Frohe Ostertage.
                                  Danke. Stefan.

                                  1 Antwort Letzte Antwort
                                  0
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  383

                                  Online

                                  32.4k

                                  Benutzer

                                  81.4k

                                  Themen

                                  1.3m

                                  Beiträge
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Anmelden

                                  • Du hast noch kein Konto? Registrieren

                                  • Anmelden oder registrieren, um zu suchen
                                  • Erster Beitrag
                                    Letzter Beitrag
                                  0
                                  • Home
                                  • Aktuell
                                  • Tags
                                  • Ungelesen 0
                                  • Kategorien
                                  • Unreplied
                                  • Beliebt
                                  • GitHub
                                  • Docu
                                  • Hilfe