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

                                533
                                Online

                                31.6k
                                Users

                                79.6k
                                Topics

                                1.3m
                                Posts

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