Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. ble adapter keine Verbindung 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

    UNSOLVED ble adapter keine Verbindung mehr

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

      @Marty56 Logfile vom Start des Adapters bitte.

      1 Reply Last reply Reply Quote 0
      • M
        Marty56 last edited by

        völlig unauffällig.

        
        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
        host.nuc	2020-05-17 14:31:37.076	info	instance system.adapter.ble.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
        ble.0	2020-05-17 14:31:36.540	info	(14797) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
        ble.0	2020-05-17 14:31:36.538	info	(14797) terminating
        host.nuc	2020-05-17 14:31:36.534	info	stopInstance system.adapter.ble.0 send kill signal
        ble.0	2020-05-17 14:31:36.535	info	(14797) Got terminate signal TERMINATE_YOURSELF
        host.nuc	2020-05-17 14:31:36.530	info	stopInstance system.adapter.ble.0 (force=false, process=true)
        host.nuc	2020-05-17 14:31:36.524	info	"system.adapter.ble.0" disabled
        
        M 1 Reply Last reply Reply Quote 0
        • M
          Marty56 @Marty56 last edited by

          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
          
          haselchen Thomas Braun 2 Replies Last reply Reply Quote 0
          • haselchen
            haselchen Most Active @Marty56 last edited by

            @Marty56

            Was steht im Datenpunkt driverState?

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

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

              1 Reply Last reply Reply Quote 0
              • M
                Marty56 @haselchen last edited by Marty56

                @haselchen Not connected

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

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

                    @crunchip der Radar Adapter läuft nicht.

                    connection: false
                    driverState:poweredOFF

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

                    crunchip AlCalzone 2 Replies Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Marty56 last edited by crunchip

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

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

                        @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 1 Reply Last reply Reply Quote 0
                        • M
                          Marty56 @AlCalzone last edited by 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 
                          
                          AlCalzone 1 Reply Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer @Marty56 last edited by

                            @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 1 Reply Last reply Reply Quote 0
                            • M
                              Marty56 @AlCalzone last edited by

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

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                Marty56 @Marty56 last edited by

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

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                471
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                ble adapter
                                5
                                15
                                742
                                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