Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. ble.0 Adapter startet nicht

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    SOLVED ble.0 Adapter startet nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      m76 last edited by Negalein

      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 Reply Quote 0
      • A
        arnold last edited by Negalein

        @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?

        haselchen 1 Reply Last reply Reply Quote 1
        • M
          m76 last edited by

          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 Reply Quote 0
          • J
            Jan1 @m76 last edited by

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

            1 Reply Last reply Reply Quote 0
            • A
              arnold last edited by

              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
              ''''

              AlCalzone 1 Reply Last reply Reply Quote 0
              • AlCalzone
                AlCalzone Developer @arnold last edited by

                @arnold

                cd /opt/iobroker/node_modules/iobroker.ble
                npm install --production
                
                1 Reply Last reply Reply Quote 0
                • A
                  arnold last edited by Negalein

                  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

                  AlCalzone haselchen 2 Replies Last reply Reply Quote 0
                  • A
                    arnold last edited by

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

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

                    1 Reply Last reply Reply Quote 0
                    • AlCalzone
                      AlCalzone Developer @arnold last edited by

                      @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
                      moschnetwork created this issue in AlCalzone/ioBroker.ble

                      closed ble adapter found 29.456 devices?!? #268

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

                        @arnold

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

                        AlCalzone 1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer @haselchen last edited by

                          @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.

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

                            @AlCalzone

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

                            AlCalzone 1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer @haselchen last edited by

                              @haselchen Na dann halt die anderen mit Problemen 😉

                              M 1 Reply Last reply Reply Quote 0
                              • A
                                arnold last edited by Negalein

                                @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?

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

                                  @arnold

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

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    arnold last edited by

                                    [gelöst]

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Medy @AlCalzone last edited by 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

                                      AlCalzone 1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer @Medy last edited by

                                        @Medy sagte in ble.0 Adapter startet nicht:

                                        No compatible USB Bluetooth 4.0 device found!

                                        Hast du denn BLE 4.0-Hardware?

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Medy @AlCalzone last edited by Medy

                                          @AlCalzone Ja
                                          schaue mal hier rein... da ist auch ein link zu meinem motherboard
                                          da steht mit 4.0 unterstützung

                                          https://forum.iobroker.net/topic/28850/ble-adapter-startet-nicht-windows/5

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          872
                                          Online

                                          31.6k
                                          Users

                                          79.5k
                                          Topics

                                          1.3m
                                          Posts

                                          ble adapter bluetooth error
                                          9
                                          21
                                          1798
                                          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