Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. ble.0 Adapter startet nicht

NEWS

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

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

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

ble.0 Adapter startet nicht

Scheduled Pinned Locked Moved Solved Error/Bug
errorbluetoothble adapter
21 Posts 9 Posters 2.4k Views 2 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.
  • P Offline
    P Offline
    pat3195
    wrote on last edited by Negalein
    #1

    Hallo zusammen,

    ich bin neu in der Welt von ioBroker und versuche nun schon seit einiger Zeit den ble.0 Adapter zum laufen zu bekommen. Anscheinend bin ich aber zu dumm dafür. :white_frowning_face:

    Ich würde nämlich gerne meine Elgato Avea Bluetooth-Lampe abrufen können.
    Der ioBroker läuft auf einem Raspberry 3B+. Über SSH konnte ich den Raspberry Bluetooth Suchlauf starten und er hat auch schon die Lampe und andere Geräte gefunden.
    Nun zum Problem: Wenn ich den ble.0 Adapter installiere, haben alle drei Punkte (Verbunden mit Host, Lebenszeichen und Verbunden mit ble) den Status "falsch".

    Im Log steht dann folgender Error:

    host.raspberrypi	2019-06-20 16:01:40.044	info	Do not restart adapter system.adapter.ble.0 because desired by instance
    host.raspberrypi	2019-06-20 16:01:40.043	error	instance system.adapter.ble.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
    

    Wäre sehr dankbar, wenn jemand helfen könnte! :)

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arnold
      wrote on last edited by Negalein
      #16

      @haselchen habe
      erst alles gelöscht dann

      sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
      
      cd /opt/iobroker/node_modules/iobroker.ble
      npm install
      npm rebuild
      

      und mein Ble.0 ist grün
      wollte das hier schließen aber weiß nicht wie?

      haselchenH 1 Reply Last reply
      1
      • R Offline
        R Offline
        ramses
        wrote on last edited by
        #2

        Leider sagt das Log nichts aus um dir helfen zu können. Bite Adapter auf Debug stellen und Log posten und einen Screenshot von deiner BLE Konfigurationsseite.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Andre R.
          wrote on last edited by
          #3

          HAst du schon nen anderen Adapter laufen der Bluetooth verwendet?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            m76
            wrote on last edited by Negalein
            #4

            Hallo,

            habe das gleiche Problem nach wechsel auf raspi4 buster:

            2019-07-26 17:15:45.010  - info: host.raspi4 "system.adapter.ble.0" disabled
            2019-07-26 17:15:48.770  - info: host.raspi4 object change system.adapter.ble.0
            2019-07-26 17:15:48.793  - info: host.raspi4 instance system.adapter.ble.0 started with pid 13873
            2019-07-26 17:15:50.971  - debug: ble.0 objectDB connected
            2019-07-26 17:15:51.003  - debug: ble.0 statesDB connected
            2019-07-26 17:15:51.052  - info: ble.0 starting. Version 0.7.4 in /opt/iobroker/node_modules/iobroker.ble, node: v10.15.2
            2019-07-26 17:15:51.123  - info: ble.0 loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
            2019-07-26 17:15:51.377  - error: host.raspi4 instance system.adapter.ble.0 terminated by request of the instance itself and will not be restarted, before user restarts it.
            2019-07-26 17:15:51.377  - info: host.raspi4 Do not restart adapter system.adapter.ble.0 because desired by instance
            

            liegt das an den Versionen?

            root@raspi4:~# npm -v
            6.10.1
            root@raspi4:~# nodejs -v
            v10.15.2
            root@raspi4:~# node -v
            v10.15.2
            

            PS: Wo finde ich die Info was man aktuell benutzen sollte an npm,node etc.?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              m76
              wrote on last edited by
              #5

              Update zu meinem Problem, hatte die Version 0.7.4, ein Downgrade auf 0.7.2 hat geholfen. (Downgrade über die Adapter seite gemacht)

              Grüße
              Markus

              J 1 Reply Last reply
              0
              • M m76

                Update zu meinem Problem, hatte die Version 0.7.4, ein Downgrade auf 0.7.2 hat geholfen. (Downgrade über die Adapter seite gemacht)

                Grüße
                Markus

                J Offline
                J Offline
                Jan1
                wrote on last edited by
                #6

                @m76
                blöde Frage, warum ein Downgrade und nicht ein Update auf 0.8.1?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arnold
                  wrote on last edited by
                  #7

                  Habe auchble.0 adapter auf rot ,ich will Xiaomi Mija einbinden (rund)

                  Ble.0 ist 0.10.1
                  ''''
                  45b88aa6-ca47-4eaf-ad23-ba020d69014d-image.png
                  ''''

                  AlCalzoneA 1 Reply Last reply
                  0
                  • A arnold

                    Habe auchble.0 adapter auf rot ,ich will Xiaomi Mija einbinden (rund)

                    Ble.0 ist 0.10.1
                    ''''
                    45b88aa6-ca47-4eaf-ad23-ba020d69014d-image.png
                    ''''

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

                    @arnold

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

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

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      arnold
                      wrote on last edited by Negalein
                      #9

                      Hallo.
                      mein ble.0ist schon grün
                      aber ich habe

                      cd /opt/iobroker/node_modules/iobroker.ble
                      npm install
                      npm rebuild
                      sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
                      sudo setcap cap_net_raw+eip $(eval readlink -f which node)
                      

                      unterschied zu

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

                      ???
                      sonst Danke

                      AlCalzoneA haselchenH 2 Replies Last reply
                      0
                      • A Offline
                        A Offline
                        arnold
                        wrote on last edited by
                        #10

                        aber jetzt habe ich
                        so viele geräte . nur eine richtig

                        ac4dbf7c-7beb-4ef2-b0cd-8bba20666e8a-image.png

                        1 Reply Last reply
                        0
                        • A arnold

                          Hallo.
                          mein ble.0ist schon grün
                          aber ich habe

                          cd /opt/iobroker/node_modules/iobroker.ble
                          npm install
                          npm rebuild
                          sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
                          sudo setcap cap_net_raw+eip $(eval readlink -f which node)
                          

                          unterschied zu

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

                          ???
                          sonst Danke

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

                          @arnold sagte in ble.0 Adapter startet nicht:

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

                          ist nur dann nötig, wenn du ein Node.JS-Upgrade gemacht hast (aber dann fehlen ggf. andere Berechtigungen). Besser gleich den Fixer ausführen.

                          sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin

                          sollte bestenfalls VOR der Installation des Adapters geschehen, nicht danach

                          npm install
                          npm rebuild

                          Eins von beiden reicht. npm install ohne --production installiert aber auch sämtliche Entwicklungs-Dependencies mit, die für den Betrieb absolut unnötig sind.

                          so viele geräte . nur eine richtig

                          1. https://github.com/AlCalzone/ioBroker.ble/issues/268#issuecomment-561525803
                          2. Alle unnötigen Objekte vom ble.0 löschen

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

                          1 Reply Last reply
                          0
                          • A arnold

                            Hallo.
                            mein ble.0ist schon grün
                            aber ich habe

                            cd /opt/iobroker/node_modules/iobroker.ble
                            npm install
                            npm rebuild
                            sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
                            sudo setcap cap_net_raw+eip $(eval readlink -f which node)
                            

                            unterschied zu

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

                            ???
                            sonst Danke

                            haselchenH Offline
                            haselchenH Offline
                            haselchen
                            Most Active
                            wrote on last edited by
                            #12

                            @arnold

                            Wir haben so lange gedoktort, nun verrat (mir) mal ,
                            was den Adapter "grün" gemacht hat? ;)

                            Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                            AlCalzoneA 1 Reply Last reply
                            0
                            • haselchenH haselchen

                              @arnold

                              Wir haben so lange gedoktort, nun verrat (mir) mal ,
                              was den Adapter "grün" gemacht hat? ;)

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

                              @haselchen Kannst mal versuchen, den Adapter manuell zu starten, ggf. sieht man dann mehr:

                              cd /opt/iobroker/node_modules/iobroker.ble
                              node build/main.js --force --logs
                              

                              Laut einem kurzen Blick in den Code kann entweder @abandonware/noble nicht geladen werden oder die Bluetooth-Hardware wird nicht unterstützt.

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

                              haselchenH 1 Reply Last reply
                              0
                              • AlCalzoneA AlCalzone

                                @haselchen Kannst mal versuchen, den Adapter manuell zu starten, ggf. sieht man dann mehr:

                                cd /opt/iobroker/node_modules/iobroker.ble
                                node build/main.js --force --logs
                                

                                Laut einem kurzen Blick in den Code kann entweder @abandonware/noble nicht geladen werden oder die Bluetooth-Hardware wird nicht unterstützt.

                                haselchenH Offline
                                haselchenH Offline
                                haselchen
                                Most Active
                                wrote on last edited by
                                #14

                                @AlCalzone

                                Äh,öh, ich hab keine Probleme :grimacing: :grimacing:
                                Bei mir ist alles grün und tip top.
                                Bin , wie Du , der Helfer hier :)

                                Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                AlCalzoneA 1 Reply Last reply
                                0
                                • haselchenH haselchen

                                  @AlCalzone

                                  Äh,öh, ich hab keine Probleme :grimacing: :grimacing:
                                  Bei mir ist alles grün und tip top.
                                  Bin , wie Du , der Helfer hier :)

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

                                  @haselchen Na dann halt die anderen mit Problemen ;)

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

                                  M 1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    arnold
                                    wrote on last edited by Negalein
                                    #16

                                    @haselchen habe
                                    erst alles gelöscht dann

                                    sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
                                    
                                    cd /opt/iobroker/node_modules/iobroker.ble
                                    npm install
                                    npm rebuild
                                    

                                    und mein Ble.0 ist grün
                                    wollte das hier schließen aber weiß nicht wie?

                                    haselchenH 1 Reply Last reply
                                    1
                                    • A arnold

                                      @haselchen habe
                                      erst alles gelöscht dann

                                      sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
                                      
                                      cd /opt/iobroker/node_modules/iobroker.ble
                                      npm install
                                      npm rebuild
                                      

                                      und mein Ble.0 ist grün
                                      wollte das hier schließen aber weiß nicht wie?

                                      haselchenH Offline
                                      haselchenH Offline
                                      haselchen
                                      Most Active
                                      wrote on last edited by
                                      #17

                                      @arnold

                                      Einfach in den ersten Post auf bearbeiten klicken und [gelöst] vor den Text schreiben

                                      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                      1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        arnold
                                        wrote on last edited by
                                        #18

                                        [gelöst]

                                        1 Reply Last reply
                                        0
                                        • AlCalzoneA AlCalzone

                                          @haselchen Na dann halt die anderen mit Problemen ;)

                                          M Offline
                                          M Offline
                                          Medy
                                          wrote on last edited by Medy
                                          #19

                                          @AlCalzone

                                          ich versuche es auf windows zum laufen zu kommen für eine xiomi sensor aber bekomme fehler:

                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	instance system.adapter.ble.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:61:11)
                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	Caught by controller[0]: at Noble.<anonymous> (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\noble\lib\noble.js:57:24)
                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	Caught by controller[0]: at NobleBindings.init (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\noble\lib\hci-socket\bindings.js:82:13)
                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: at Hci.init (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\noble\lib\hci-socket\hci.js:101:35)
                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: at BluetoothHciSocket.bindRaw (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:43:8)
                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: at BluetoothHciSocket.bindUser (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:87:11)
                                          host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: Error: No compatible USB Bluetooth 4.0 device found!
                                          

                                          habe bereits npm install und rebuild gemacht
                                          davor hatte der log gesat abondonware hci adapter fehlt

                                          AlCalzoneA 1 Reply Last reply
                                          0
                                          • M Medy

                                            @AlCalzone

                                            ich versuche es auf windows zum laufen zu kommen für eine xiomi sensor aber bekomme fehler:

                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	instance system.adapter.ble.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:61:11)
                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	Caught by controller[0]: at Noble.<anonymous> (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\noble\lib\noble.js:57:24)
                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.852	error	Caught by controller[0]: at NobleBindings.init (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\noble\lib\hci-socket\bindings.js:82:13)
                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: at Hci.init (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\noble\lib\hci-socket\hci.js:101:35)
                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: at BluetoothHciSocket.bindRaw (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:43:8)
                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: at BluetoothHciSocket.bindUser (C:\iobroker\SmartHome\node_modules\iobroker.ble\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:87:11)
                                            host.NewSilver(SmartHome)	2020-01-11 19:21:44.851	error	Caught by controller[0]: Error: No compatible USB Bluetooth 4.0 device found!
                                            

                                            habe bereits npm install und rebuild gemacht
                                            davor hatte der log gesat abondonware hci adapter fehlt

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

                                            @Medy sagte in ble.0 Adapter startet nicht:

                                            No compatible USB Bluetooth 4.0 device found!

                                            Hast du denn BLE 4.0-Hardware?

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

                                            M 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

                                            922

                                            Online

                                            32.4k

                                            Users

                                            81.5k

                                            Topics

                                            1.3m

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

                                            • Don't have an account? Register

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