Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Adapter BLE auf Gelb

    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

    UNSOLVED Adapter BLE auf Gelb

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      J-Lind last edited by

      Hallo

      ich habe nach dem update auf den neusten BLE adapter - Adapter 0.11.6 das problem, dass er auf gelb bleibt. Er geht nicht auf Gruen 😞
      Config ist: Node :12.x / JS Controller 3.1.4 / BT service auf RPi läuft

      pi@raspberrypi:/opt/iobroker $ sudo service bluetooth status
      ● bluetooth.service - Bluetooth service
         Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
         Active: active (running) since Mon 2020-05-11 18:23:09 CEST; 3 weeks 3 days ago
           Docs: man:bluetoothd(8)
       Main PID: 458 (bluetoothd)
         Status: "Running"
          Tasks: 1 (limit: 4915)
         Memory: 1.9M
         CGroup: /system.slice/bluetooth.service
                 └─458 /usr/lib/bluetooth/bluetoothd
      
      pi@raspberrypi:/opt/iobroker $ sudo hciconfig
      hci0:	Type: Primary  Bus: UART
      	BD Address: DC:A6:32:36:DC:1C  ACL MTU: 1021:8  SCO MTU: 64:1
      	UP RUNNING 
      	RX bytes:1005972825 acl:10047 sco:680289 events:22031273 errors:0
      	TX bytes:4781 acl:0 sco:0 commands:453 errors:0
      
      pi@raspberrypi:/opt/iobroker $ sudo bluetoothctl
      Agent registered
      [bluetooth]# scan on
      Failed to start discovery: org.bluez.Error.InProgress
      [bluetooth]# 
      

      leider weiss ich hier nicht mehr weiter. Kann Mir jemand von euch vielleicht einen Tip geben

      Gruss Juergen

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @J-Lind last edited by Thomas Braun

        @J-Lind

        iobroker stop
        iobroker fix
        iobroker start
        
        J 1 Reply Last reply Reply Quote 0
        • J
          J-Lind @Thomas Braun last edited by

          @Thomas-Braun
          hallo Thomas - danke erstmal
          hab das alles schon gemacht - hab nach dem update von Nodejs von den iobroker fixer laufen lassen.

          dann habe ich folgendes gemacht

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

          hab dann noch die permissions gecheckt usw

          Hilft alles nichts

          hast du noch Ideen?

          Gruss Juergen

          Thomas Braun AlCalzone 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @J-Lind last edited by Thomas Braun

            @J-Lind
            Node gerade im System?

            nodejs -v && which nodejs && node -v && which node && npm -v && which npm && apt policy nodejs
            
            AlCalzone 1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer @J-Lind last edited by

              @J-Lind sagte in Adapter BLE auf Gelb:

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

              Und damit hast du den Fixer-Aufruf wieder kaputt gemacht. Der Fixer macht das auch (und setzt noch mehr Permissions, die von anderen Adaptern benötigt werden).

              Was steht denn im Adapter-Datenpunkt "info.driverState"?

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

                @Thomas-Braun Verstehe nicht, warum du nach node-Versionen suchst, wenn der Bluetooth-Stack Fehler meldet:

                [bluetooth]# scan on

                Failed to start discovery: org.bluez.Error.InProgress

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

                  @AlCalzone Vorsichtiges herantasten.

                  1 Reply Last reply Reply Quote 0
                  • J
                    J-Lind @AlCalzone last edited by

                    @AlCalzone
                    also ich hab das Ding mit der Keule jetzt zum laufen gebracht.

                    Hab node/nodejs und den IOBroker neu installiert

                    jetzt ist das din auf grün und erkennt auch meine BLE Geräte

                    Super vielen Dank

                    Gruss Juergen

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Mapio90 @J-Lind last edited by

                      Hallo, kann mir jemand helfen, ob ich hier nur den fixer drüber laufen lassen muss?
                      Mein BLE Adapter vom SLave bleibt auf Gelb hier das Log dazu

                      
                      pi@second-device:~ $ sudo service bluetooth status
                      ● bluetooth.service - Bluetooth service
                         Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
                         Active: active (running) since Sat 2020-12-05 00:16:10 CET; 23h ago
                           Docs: man:bluetoothd(8)
                       Main PID: 562 (bluetoothd)
                         Status: "Running"
                          Tasks: 1 (limit: 4915)
                         CGroup: /system.slice/bluetooth.service
                                 └─562 /usr/lib/bluetooth/bluetoothd
                      
                      Dez 05 00:16:10 second-device systemd[1]: Starting Bluetooth service...
                      Dez 05 00:16:10 second-device bluetoothd[562]: Bluetooth daemon 5.43
                      Dez 05 00:16:10 second-device systemd[1]: Started Bluetooth service.
                      Dez 05 00:16:10 second-device bluetoothd[562]: Starting SDP server
                      Dez 05 00:16:10 second-device bluetoothd[562]: Bluetooth management interface 1.
                      Dez 05 00:16:10 second-device bluetoothd[562]: Failed to obtain handles for "Ser
                      Dez 05 00:16:10 second-device bluetoothd[562]: Sap driver initialization failed.
                      Dez 05 00:16:10 second-device bluetoothd[562]: sap-server: Operation not permitt
                      Dez 05 00:16:10 second-device bluetoothd[562]: Failed to set privacy: Rejected (
                      lines 1-19/19 (END)
                      
                      

                      Auf meinem Master ist der Adapter grün, aber er findet meinen flower Care auch nicht.
                      (Master und Slave habe ich vorrübergehend beide nebeneinander)

                      Log vom Master

                      
                      pi@Master:~ $ sudo service bluetooth status
                      ● bluetooth.service - Bluetooth service
                         Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
                         Active: active (running) since Fri 2020-12-04 21:33:20 CET; 1 day 2h ago
                           Docs: man:bluetoothd(8)
                       Main PID: 754 (bluetoothd)
                         Status: "Running"
                          Tasks: 1 (limit: 4915)
                         CGroup: /system.slice/bluetooth.service
                                 └─754 /usr/lib/bluetooth/bluetoothd
                      
                      Dez 04 21:33:20 Master systemd[1]: Starting Bluetooth service...
                      Dez 04 21:33:20 Master bluetoothd[754]: Bluetooth daemon 5.43
                      Dez 04 21:33:20 Master systemd[1]: Started Bluetooth service.
                      Dez 04 21:33:20 Master bluetoothd[754]: Starting SDP server
                      Dez 04 21:33:20 Master bluetoothd[754]: Bluetooth management interface 1.14 init
                      Dez 04 21:33:20 Master bluetoothd[754]: Failed to obtain handles for "Service Ch
                      Dez 04 21:33:20 Master bluetoothd[754]: Sap driver initialization failed.
                      Dez 04 21:33:20 Master bluetoothd[754]: sap-server: Operation not permitted (1)
                      Dez 04 21:33:20 Master bluetoothd[754]: Failed to set privacy: Rejected (0x0b)
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Mapio90 last edited by

                        @Mapio90

                        iobroker fix
                        
                        M 1 Reply Last reply Reply Quote 1
                        • M
                          Mapio90 @Thomas Braun last edited by

                          @Thomas-Braun sagte in Adapter BLE auf Gelb:

                          iobroker fix

                          bei beiden?

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

                            @Mapio90 Auf dem System wo der BLE klemmt.

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              Mapio90 @Thomas Braun last edited by

                              @Thomas-Braun jawoll das funktionierte. Danke dir vielmals

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              926
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              ble ble adapter
                              4
                              13
                              719
                              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