Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED BLE adapter startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • 4Josh
      4Josh last edited by

      @Yetiberg sagte in BLE adapter startet nicht mehr:

      npm rebuild.

      Folgendes hat geholfen:

      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`)
      

      Danke

      J M 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @4Josh last edited by

        @4Josh
        NPM rebuild nicht?

        1 Reply Last reply Reply Quote 0
        • M
          M477h145 @4Josh last edited by

          @4Josh

          Vielleicht eine doofe Frage, aber was muss ich bei "which node" eingeben

          Danke 🙂

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

            @M477h145

            Doofe Antwort : nichts 🙂
            Den Befehl so lassen

            1 Reply Last reply Reply Quote 0
            • J
              Joker971 last edited by

              Hallo, ich stehe vor exakt dem gleichen Problem aber wenn ich npm install an meinem PI3 (abgesetzter Client) eingebe kommt das hier :

              pi@ioBroker-Pi:~ $ npm install
              npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
              npm WARN pi No description
              npm WARN pi No repository field.
              npm WARN pi No README data
              npm WARN pi No license field.
              
              up to date in 0.856s
              found 0 vulnerabilities
              

              weiß jemand Rat ?

              haselchen AlCalzone 2 Replies Last reply Reply Quote 0
              • haselchen
                haselchen Most Active @Joker971 last edited by haselchen

                @Joker971
                vielleicht sudo davor

                Ich gehe immer nach try&error vor 🙂
                no risk no fun

                J 1 Reply Last reply Reply Quote 0
                • J
                  Jan1 @haselchen last edited by

                  @haselchen
                  sudo npm sollte man nicht machen

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

                    @Jan1

                    Wenn das der einzige Befehl ist, der für mich zum Erfolg führt, führe ich ihn aus 😁
                    Da bin ich (unwissend) hartnäckig 😉

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

                      @Joker971 sagte in BLE adapter startet nicht mehr:

                      npm install

                      Was soll das bringen? Du bist im Home-Verzeichnis deines Users. Probiere es in /opt/iobroker/node_modules/iobroker.ble

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joker971 last edited by

                        Danke, das war schonmal ein guter Ansatz 🙂 So läuft NPM Install und Rebuild. Ich probiere mal weiter 🙂

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @haselchen last edited by

                          @haselchen
                          Der wird nicht zum Erfolg führen, eher dazu, dass danach nichts mehr geht, aber aus Fehlern wird man ja klüger😊

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joker971 last edited by

                            Sodele, mein BLE Adapter steht wieder auf grün 🙂 AAAAbbbber im Driverstate steht "poweredOff" obwohl Bluetooth auf dem PI läuft, hier von Putty:

                            pi@ioBroker-Pi:~ $ sudo systemctl status bluetooth
                            â bluetooth.service - Bluetooth service
                               Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
                               Active: active (running) since Mon 2020-01-06 21:06:10 CET; 7min ago
                                 Docs: man:bluetoothd(8)
                             Main PID: 2250 (bluetoothd)
                               Status: "Running"
                                Tasks: 1 (limit: 4915)
                               CGroup: /system.slice/bluetooth.service
                                       ââ2250 /usr/lib/bluetooth/bluetoothd
                            

                            Restart vom ioBroker auf dem Pi bringt keine Lösung, Reload vom Adapter auch nicht.
                            Was nun ???

                            haselchen AlCalzone 2 Replies Last reply Reply Quote 0
                            • haselchen
                              haselchen Most Active @Joker971 last edited by

                              @Joker971

                              Bin da nicht so der Nerd.
                              Ich hab Bluez installiert. Versuch das mal nach der Anleitung.

                              https://scribles.net/updating-bluez-on-raspberry-pi-from-5-43-to-5-50/

                              Damit läuft mein BLE.

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

                                @Joker971 sagte in BLE adapter startet nicht mehr:

                                Driverstate steht "poweredOff"

                                Geht es nach sudo hcitool hci0 up?

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Joker971 @haselchen last edited by

                                  @haselchen sagte in BLE adapter startet nicht mehr:

                                  @Joker971

                                  Bin da nicht so der Nerd.
                                  Ich hab Bluez installiert. Versuch das mal nach der Anleitung.

                                  https://scribles.net/updating-bluez-on-raspberry-pi-from-5-43-to-5-50/

                                  Damit läuft mein BLE.

                                  Hab ich durchgezogen, hab jetzt auch die neue Version aber Driverstate ist immer noch "poweredOff"

                                  @AlCalzone sagte in BLE adapter startet nicht mehr:

                                  @Joker971 sagte in BLE adapter startet nicht mehr:

                                  Driverstate steht "poweredOff"

                                  Geht es nach sudo hcitool hci0 up?

                                  da steht dann "unknown command hci0"

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

                                    @Joker971

                                    sudo rfkill list

                                    gib das mal ein und poste das Ergebnis

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Joker971 @haselchen last edited by

                                      @haselchen

                                      pi@ioBroker-Pi:/ $ sudo rfkill list
                                      0: phy0: Wireless LAN
                                              Soft blocked: no
                                              Hard blocked: no
                                      
                                      haselchen 1 Reply Last reply Reply Quote 0
                                      • haselchen
                                        haselchen Most Active @Joker971 last edited by

                                        @Joker971

                                        sudo hciconfig hci0 up

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Joker971 @haselchen last edited by

                                          @haselchen

                                          pi@ioBroker-Pi:/ $ sudo hciconfig hci0 up
                                          Can't get device info: No such device
                                          
                                          haselchen 1 Reply Last reply Reply Quote 0
                                          • haselchen
                                            haselchen Most Active @Joker971 last edited by haselchen

                                            @Joker971
                                            Okay...weiter gehts

                                            sudo bluetoothctl

                                            dann

                                            scan on

                                            Discovery started müsste dann kommen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            873
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            ble adapter startet nicht
                                            11
                                            69
                                            5174
                                            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