Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. ble adapter keine Verbindung mehr

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    883

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

ble adapter keine Verbindung mehr

Geplant Angeheftet Gesperrt Verschoben Ungelöst Error/Bug
ble adapter
15 Beiträge 5 Kommentatoren 789 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Marty56

    nochmal mit debug option:

    ble.0	2020-05-17 14:33:33.112	debug	(15616) system.adapter.admin.0: logging true
    ble.0	2020-05-17 14:33:29.676	info	(15616) monitored services: fe95
    ble.0	2020-05-17 14:33:29.673	info	(15616) enabled plugins: mi-flora, _default
    ble.0	2020-05-17 14:33:29.671	info	(15616) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
    ble.0	2020-05-17 14:33:29.586	info	(15616) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v12.16.3, js-controller: 3.1.4
    ble.0	2020-05-17 14:33:28.624	debug	(15616) statesDB connected
    ble.0	2020-05-17 14:33:28.623	debug	(15616) States connected to redis: 127.0.0.1:6379
    ble.0	2020-05-17 14:33:28.614	debug	(15616) States create System PubSub Client
    ble.0	2020-05-17 14:33:28.612	debug	(15616) States create User PubSub Client
    ble.0	2020-05-17 14:33:28.605	debug	(15616) Redis States: Use Redis connection: 127.0.0.1:6379
    ble.0	2020-05-17 14:33:28.602	debug	(15616) objectDB connected
    ble.0	2020-05-17 14:33:28.594	debug	(15616) Objects connected to redis: 127.0.0.1:9001
    ble.0	2020-05-17 14:33:28.580	debug	(15616) Objects client initialize lua scripts
    ble.0	2020-05-17 14:33:28.579	debug	(15616) Objects create User PubSub Client
    ble.0	2020-05-17 14:33:28.578	debug	(15616) Objects create System PubSub Client
    ble.0	2020-05-17 14:33:28.574	debug	(15616) Objects client ready ... initialize now
    ble.0	2020-05-17 14:33:28.539	debug	(15616) Redis Objects: Use Redis connection: 127.0.0.1:9001
    host.nuc	2020-05-17 14:33:27.773	info	instance system.adapter.ble.0 started with pid 15616
    host.nuc	2020-05-17 14:33:25.240	info	instance system.adapter.ble.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
    ble.0	2020-05-17 14:33:24.711	info	(15594) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
    ble.0	2020-05-17 14:33:24.710	info	(15594) terminating
    host.nuc	2020-05-17 14:33:24.708	info	stopInstance system.adapter.ble.0 send kill signal
    ble.0	2020-05-17 14:33:24.707	info	(15594) Got terminate signal TERMINATE_YOURSELF
    host.nuc	2020-05-17 14:33:24.698	info	stopInstance system.adapter.ble.0 (force=false, process=true)
    ble.0	2020-05-17 14:31:42.142	info	(15594) monitored services: fe95
    ble.0	2020-05-17 14:31:42.140	info	(15594) enabled plugins: mi-flora, _default
    ble.0	2020-05-17 14:31:42.138	info	(15594) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
    ble.0	2020-05-17 14:31:42.051	info	(15594) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v12.16.3, js-controller: 3.1.4
    host.nuc	2020-05-17 14:31:40.006	info	instance system.adapter.ble.0 started with pid 15594
    host.nuc	2020-05-17 14:31:39.949	info	"system.adapter.ble.0" enabled
    
    haselchenH Offline
    haselchenH Offline
    haselchen
    Most Active
    schrieb am zuletzt editiert von
    #5

    @Marty56

    Was steht im Datenpunkt driverState?

    Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

    M 1 Antwort Letzte Antwort
    0
    • M Marty56

      nochmal mit debug option:

      ble.0	2020-05-17 14:33:33.112	debug	(15616) system.adapter.admin.0: logging true
      ble.0	2020-05-17 14:33:29.676	info	(15616) monitored services: fe95
      ble.0	2020-05-17 14:33:29.673	info	(15616) enabled plugins: mi-flora, _default
      ble.0	2020-05-17 14:33:29.671	info	(15616) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
      ble.0	2020-05-17 14:33:29.586	info	(15616) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v12.16.3, js-controller: 3.1.4
      ble.0	2020-05-17 14:33:28.624	debug	(15616) statesDB connected
      ble.0	2020-05-17 14:33:28.623	debug	(15616) States connected to redis: 127.0.0.1:6379
      ble.0	2020-05-17 14:33:28.614	debug	(15616) States create System PubSub Client
      ble.0	2020-05-17 14:33:28.612	debug	(15616) States create User PubSub Client
      ble.0	2020-05-17 14:33:28.605	debug	(15616) Redis States: Use Redis connection: 127.0.0.1:6379
      ble.0	2020-05-17 14:33:28.602	debug	(15616) objectDB connected
      ble.0	2020-05-17 14:33:28.594	debug	(15616) Objects connected to redis: 127.0.0.1:9001
      ble.0	2020-05-17 14:33:28.580	debug	(15616) Objects client initialize lua scripts
      ble.0	2020-05-17 14:33:28.579	debug	(15616) Objects create User PubSub Client
      ble.0	2020-05-17 14:33:28.578	debug	(15616) Objects create System PubSub Client
      ble.0	2020-05-17 14:33:28.574	debug	(15616) Objects client ready ... initialize now
      ble.0	2020-05-17 14:33:28.539	debug	(15616) Redis Objects: Use Redis connection: 127.0.0.1:9001
      host.nuc	2020-05-17 14:33:27.773	info	instance system.adapter.ble.0 started with pid 15616
      host.nuc	2020-05-17 14:33:25.240	info	instance system.adapter.ble.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      ble.0	2020-05-17 14:33:24.711	info	(15594) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      ble.0	2020-05-17 14:33:24.710	info	(15594) terminating
      host.nuc	2020-05-17 14:33:24.708	info	stopInstance system.adapter.ble.0 send kill signal
      ble.0	2020-05-17 14:33:24.707	info	(15594) Got terminate signal TERMINATE_YOURSELF
      host.nuc	2020-05-17 14:33:24.698	info	stopInstance system.adapter.ble.0 (force=false, process=true)
      ble.0	2020-05-17 14:31:42.142	info	(15594) monitored services: fe95
      ble.0	2020-05-17 14:31:42.140	info	(15594) enabled plugins: mi-flora, _default
      ble.0	2020-05-17 14:31:42.138	info	(15594) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
      ble.0	2020-05-17 14:31:42.051	info	(15594) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v12.16.3, js-controller: 3.1.4
      host.nuc	2020-05-17 14:31:40.006	info	instance system.adapter.ble.0 started with pid 15594
      host.nuc	2020-05-17 14:31:39.949	info	"system.adapter.ble.0" enabled
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #6

      @Marty56
      Seltsamerweise hatte ich das eben auch.
      Ein Neustart hat es gerichtet.
      [Edit:] Doch nicht, ist doch wieder Gelb geworden.
      [Editedit:] Jetzt wieder Grün... :-)

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      0
      • haselchenH haselchen

        @Marty56

        Was steht im Datenpunkt driverState?

        M Offline
        M Offline
        Marty56
        schrieb am zuletzt editiert von Marty56
        #7

        @haselchen Not connected

        Neustart habe ich auch gemacht.
        Außerdem den Adapter neuinstalliert

        HW:NUC (16 GB Ram)
        OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

        1 Antwort Letzte Antwort
        0
        • M Marty56

          Hallo,

          Ich bin auf eine neue Platform (Intel NUC, Debian 10) umgezogen und (zu meinem Erstaunen) lief der BLE Adapter auf Anhieb!
          Heute habe ich "iobroker fix" gemacht. Jetzt kann der Adapter nicht mehr Zugreifen und connect is auf false.
          Natürlich habe ich "sudo setcap cap_net_raw+eip $(eval readlink -f which node)" gemacht.

          Hat jemand einen Tip?

          crunchipC Abwesend
          crunchipC Abwesend
          crunchip
          Forum Testing Most Active
          schrieb am zuletzt editiert von crunchip
          #8

          @Marty56 läuft zufällig auch der radar2 Adapter auf deinem System? Wenn ja, geht das nämlich nicht beides zusammen. Je nach dem würde da mal der radar oder mal der ble funktionieren.
          Andernfalls bräuchtest du dann nen externen Bluetooth Stick wenn du beides nutzen möchtest.
          Bei einem Adapter kannst du dann hci0 und beim anderen hci1 auswählen.
          Was steht bei ble.0.info.driverState?

          umgestiegen von Proxmox auf Unraid

          M 1 Antwort Letzte Antwort
          0
          • crunchipC crunchip

            @Marty56 läuft zufällig auch der radar2 Adapter auf deinem System? Wenn ja, geht das nämlich nicht beides zusammen. Je nach dem würde da mal der radar oder mal der ble funktionieren.
            Andernfalls bräuchtest du dann nen externen Bluetooth Stick wenn du beides nutzen möchtest.
            Bei einem Adapter kannst du dann hci0 und beim anderen hci1 auswählen.
            Was steht bei ble.0.info.driverState?

            M Offline
            M Offline
            Marty56
            schrieb am zuletzt editiert von
            #9

            @crunchip der Radar Adapter läuft nicht.

            connection: false
            driverState:poweredOFF

            Es werde natürlich auch keine BLE Geräte erkannt.

            HW:NUC (16 GB Ram)
            OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

            crunchipC AlCalzoneA 2 Antworten Letzte Antwort
            0
            • M Marty56

              @crunchip der Radar Adapter läuft nicht.

              connection: false
              driverState:poweredOFF

              Es werde natürlich auch keine BLE Geräte erkannt.

              crunchipC Abwesend
              crunchipC Abwesend
              crunchip
              Forum Testing Most Active
              schrieb am zuletzt editiert von crunchip
              #10

              @Marty56 mal testweise mit der version zurück gehen, v0.11.0
              mit anschliessendem
              sudo setcap cap_net_raw+eip $(eval readlink -f which node)

              mal so nebenbei,
              bei meinem Server gibt es manchmal so ne Art "Spannungsproblem" mit dem internen Bluetooth.
              In dem Fall steht dann ebenfalls der ble.0.info.driverState auf poweredOFF
              Abhilfe schafft dann bei mir nur, den Server auszuschalten und kurz vom Strom zu nehmen.
              Danach läuft er wieder wie gewünscht.

              umgestiegen von Proxmox auf Unraid

              1 Antwort Letzte Antwort
              0
              • M Marty56

                @crunchip der Radar Adapter läuft nicht.

                connection: false
                driverState:poweredOFF

                Es werde natürlich auch keine BLE Geräte erkannt.

                AlCalzoneA Offline
                AlCalzoneA Offline
                AlCalzone
                Developer
                schrieb am zuletzt editiert von
                #11

                @Marty56 sagte in ble adapter keine Verbindung mehr:

                Natürlich habe ich "sudo setcap cap_net_raw+eip $(eval readlink -f which node)" gemacht.

                Das macht der Fixer auch.

                poweredOFF

                Probier mal hciconfig hci0 up

                Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                M 1 Antwort Letzte Antwort
                0
                • AlCalzoneA AlCalzone

                  @Marty56 sagte in ble adapter keine Verbindung mehr:

                  Natürlich habe ich "sudo setcap cap_net_raw+eip $(eval readlink -f which node)" gemacht.

                  Das macht der Fixer auch.

                  poweredOFF

                  Probier mal hciconfig hci0 up

                  M Offline
                  M Offline
                  Marty56
                  schrieb am zuletzt editiert von Marty56
                  #12

                  @AlCalzone sagte in ble adapter keine Verbindung mehr:

                  hciconfig hci0 up

                  liefert

                  hciconfig hci0 up
                  Can't init device hci0: Connection timed out (110)
                  
                   hciconfig -a
                  hci0:	Type: Primary  Bus: USB
                  	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
                  	DOWN 
                  	RX bytes:0 acl:0 sco:0 events:0 errors:0
                  	TX bytes:9 acl:0 sco:0 commands:3 errors:0
                  	Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
                  	Packet type: DM1 DH1 HV1 
                  	Link policy: 
                  	Link mode: SLAVE ACCEPT 
                  

                  HW:NUC (16 GB Ram)
                  OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                  AlCalzoneA 1 Antwort Letzte Antwort
                  0
                  • M Marty56

                    @AlCalzone sagte in ble adapter keine Verbindung mehr:

                    hciconfig hci0 up

                    liefert

                    hciconfig hci0 up
                    Can't init device hci0: Connection timed out (110)
                    
                     hciconfig -a
                    hci0:	Type: Primary  Bus: USB
                    	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
                    	DOWN 
                    	RX bytes:0 acl:0 sco:0 events:0 errors:0
                    	TX bytes:9 acl:0 sco:0 commands:3 errors:0
                    	Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
                    	Packet type: DM1 DH1 HV1 
                    	Link policy: 
                    	Link mode: SLAVE ACCEPT 
                    
                    AlCalzoneA Offline
                    AlCalzoneA Offline
                    AlCalzone
                    Developer
                    schrieb am zuletzt editiert von
                    #13

                    @Marty56 sagte in ble adapter keine Verbindung mehr:

                    Can't init device hci0: Connection timed out (110)

                    Google das mal. Gibt ein paar Ansätze, aber das per stille Post durchzuspielen macht keinen Sinn.

                    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                    M 1 Antwort Letzte Antwort
                    0
                    • AlCalzoneA AlCalzone

                      @Marty56 sagte in ble adapter keine Verbindung mehr:

                      Can't init device hci0: Connection timed out (110)

                      Google das mal. Gibt ein paar Ansätze, aber das per stille Post durchzuspielen macht keinen Sinn.

                      M Offline
                      M Offline
                      Marty56
                      schrieb am zuletzt editiert von
                      #14

                      @AlCalzone Das habe ich auch schon versucht, aber ich komme nicht weiter.

                      HW:NUC (16 GB Ram)
                      OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                      M 1 Antwort Letzte Antwort
                      0
                      • M Marty56

                        @AlCalzone Das habe ich auch schon versucht, aber ich komme nicht weiter.

                        M Offline
                        M Offline
                        Marty56
                        schrieb am zuletzt editiert von
                        #15

                        War wohl ein Hardwaredefekt. Ein USB Kabel war defekt und hat wohl den USB Hub außer Funktion gesetzt.

                        HW:NUC (16 GB Ram)
                        OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        768

                        Online

                        32.6k

                        Benutzer

                        82.1k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe