Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] BLE Adapter läuft nicht

    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 [gelöst] BLE Adapter läuft nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rotamint @Thomas Braun last edited by

      @Thomas-Braun

      
      pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v10.21.0
      /usr/bin/node
      v10.21.0
      /usr/bin/npm
      6.14.4
      nodejs:
        Installed: 10.21.0-1nodesource1
        Candidate: 10.21.0-1nodesource1
        Version table:
       *** 10.21.0-1nodesource1 500
              500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.21.0~dfsg-1~deb10u1+rpi1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      pi@raspberrypi:~ $
      
      

      In welchen (un)-regelmäßigen Abständen führst Du das "Zweisatz-Update" aus?

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @rotamint last edited by

        @rotamint Immer, wenn ich mich per ssh auf dem raspberry anmelde.
        Ein 'sudo apt update' ist der erste Befehl, den ich eingebe, dann sehe ich ob da was ansteht.
        Ich würde aber mindestens einmal im Monat danach schauen.

        R 1 Reply Last reply Reply Quote 0
        • R
          rotamint @Thomas Braun last edited by

          @Thomas-Braun

          Perfekt! Wieder was gelernt!

          Danke. Stefan.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @rotamint last edited by

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

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

              @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 1 Reply Last reply Reply Quote 1
              • R
                rotamint @AlCalzone last edited by

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

                1 Reply Last reply Reply Quote 1
                • R
                  rotamint last edited by

                  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 😞

                  blemalwieder.JPG

                  Wer hat eine Idee?

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

                    @rotamint Das poweredOff ist das Problem.

                    sudo hciconfig hci0 up
                    
                    R 1 Reply Last reply Reply Quote 0
                    • D
                      Dragon last edited by

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

                      hilft bei mir immer wunder!

                      1 Reply Last reply Reply Quote 0
                      • R
                        rotamint @AlCalzone last edited by

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

                        sudo hciconfig hci0 up

                        Danke! 🙂

                        1 Reply Last reply Reply Quote 0
                        • R
                          rotamint last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @rotamint last edited by Thomas Braun

                            @rotamint
                            Das ist das interne Bluetooth des Pi?

                            Hau mal prophylaktisch den Fixer drüber:

                            iobroker stop
                            iobroker fix
                            iobroker start
                            
                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rotamint @Thomas Braun last edited by

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

                              crunchip 1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @rotamint last edited by 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 1 Reply Last reply Reply Quote 0
                                • R
                                  rotamint @crunchip last edited by

                                  @crunchip Danke. Hat nicht geholfen...

                                  
                                  pi@raspberrypi:~ $ sudo hciconfig hci0 version
                                  Can't get device info: No such device
                                  pi@raspberrypi:~ $
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @rotamint last edited by

                                    @rotamint

                                    Ist Bluetooth aktiv in raspi-config? Ich meine mich erinnern zu können das es dazu einen Eintrag dort gibt.

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      rotamint last edited by rotamint

                                      @thomas-braun Hallo Thomas, ich denke / vermute der Bluetooth-Adapter ist nicht aktiviert. In der Raspi-config finde ich dazu nichts...

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @rotamint last edited by

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

                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          rotamint @Thomas Braun last edited by

                                          @thomas-braun

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

                                          Frohe Ostertage.
                                          Danke. Stefan.

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          654
                                          Online

                                          31.9k
                                          Users

                                          80.1k
                                          Topics

                                          1.3m
                                          Posts

                                          ble bluetooth
                                          5
                                          30
                                          2536
                                          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