Navigation

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

    BLE Startet nicht

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

      @larryxxl

      sudo hcitool lescan
      

      sagt?

      L 1 Reply Last reply Reply Quote 0
      • L
        LarryXXL @Thomas Braun last edited by

        @thomas-braun said in BLE Startet nicht:

        sudo hcitool lescan

        
        pi@iobrokerII:~$ sudo hcitool lescan
        [sudo] Passwort für pi:
        LE Scan ...
        C4:7C:8D:67:4D:75 (unknown)
        32:37:48:71:31:42 (unknown)
        5C:85:7E:13:24:5D (unknown)
        5C:85:7E:13:24:5D Flower care
        D8:D6:68:9E:43:9B (unknown)
        D8:D6:68:9E:43:9B (unknown)
        D8:D6:68:9E:43:9B TY
        6B:67:61:43:6C:36 (unknown)
        5C:85:7E:B1:25:58 (unknown)
        5C:85:7E:B1:25:58 Flower care
        08:A6:F7:3A:4C:96 (unknown)
        08:A6:F7:3A:4C:96 (unknown)
        C4:7C:8D:67:4D:75 Flower care
        08:A6:F7:3A:4C:96 (unknown)
        08:A6:F7:3A:4C:96 (unknown)
        08:A6:F7:3A:4C:96 (unknown)
        08:A6:F7:3A:4C:96 (unknown)
        08:A6:F7:3A:4C:96 (unknown)
        6B:67:61:43:6C:36 (unknown)
        6B:67:61:43:6C:36 EL_B2kgaCl6
        08:A6:F7:3A:4C:96 (unknown)
        08:A6:F7:3A:4C:96 (unknown)
        08:A6:F7:3A:4C:96 IPSTube_3A4C96
        C4:7C:8D:67:4E:78 (unknown)
        C4:7C:8D:67:4E:78 Flower care
        5C:85:7E:13:24:29 (unknown)
        5C:85:7E:13:24:29 Flower care
        54:EF:44:2B:0D:7A (unknown)
        4A:63:26:56:43:FD (unknown)
        4A:63:26:56:43:FD (unknown)
        5C:85:7E:13:26:95 (unknown)
        
        
        haselchen 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @LarryXXL last edited by Thomas Braun

          @larryxxl sagte in BLE Startet nicht:

          enabled plugins: _default

          Du wirst da noch plugins aktivieren müssen, wenn du die Flower care Dinger sehen willst.

          haselchen L 2 Replies Last reply Reply Quote 0
          • haselchen
            haselchen Most Active @LarryXXL last edited by haselchen

            @larryxxl

            BLE funktioniert doch?!
            Ich sehe da keine Fehler im Log.

            Wie sehen deine Radar Einstellungen aus?

            Edit:

            Was soll das _default in den Plugins?

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

              @thomas-braun

              Sind aktiviert

              ble.0
              2024-11-30 15:20:14.111 info loaded plugins: Xiaomi, mi-flora, ruuvi-tag, BTHome, _default

              L 1 Reply Last reply Reply Quote 0
              • L
                LarryXXL @Thomas Braun last edited by

                @thomas-braun

                Plugins xiaomi, mi-flora
                aber Adapter bleibt Gelb. nicht verbunden mit Gerät oder Dienst.

                1 Reply Last reply Reply Quote 0
                • L
                  LarryXXL @haselchen last edited by

                  @haselchen

                  Radar 2 läuft ebenfalls nicht. auch nicht mit Noble.

                  1 Reply Last reply Reply Quote 0
                  • L
                    LarryXXL @haselchen last edited by

                    @haselchen

                    BLE plugins sind Xiaomi, mi-flora im Log stehen noch andere Plugins.

                    ble.0
                    2024-11-30 16:12:35.326	info	starting scanner process...
                    
                    ble.0
                    2024-11-30 16:12:35.276	info	monitored services: fe95
                    
                    ble.0
                    2024-11-30 16:12:35.276	info	enabled plugins: Xiaomi, mi-flora, _default
                    
                    ble.0
                    2024-11-30 16:12:35.275	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, BTHome, _default
                    
                    ble.0
                    2024-11-30 16:12:35.212	info	starting. Version 0.14.0 in /opt/iobroker/node_modules/iobroker.ble, node: v20.18.1, js-controller: 7.0.3
                    
                    ble.0
                    2024-11-30 16:12:35.136	debug	States connected to redis: 127.0.0.1:9000
                    
                    ble.0
                    2024-11-30 16:12:35.080	debug	States create User PubSub Client
                    
                    ble.0
                    2024-11-30 16:12:35.079	debug	States create System PubSub Client
                    
                    ble.0
                    2024-11-30 16:12:35.073	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                    
                    ble.0
                    2024-11-30 16:12:35.059	debug	Objects connected to redis: 127.0.0.1:9001
                    
                    ble.0
                    2024-11-30 16:12:35.056	debug	Objects client initialize lua scripts
                    
                    ble.0
                    2024-11-30 16:12:35.037	debug	Objects create User PubSub Client
                    
                    ble.0
                    2024-11-30 16:12:35.036	debug	Objects create System PubSub Client
                    
                    ble.0
                    2024-11-30 16:12:35.035	debug	Objects client ready ... initialize now
                    
                    ble.0
                    2024-11-30 16:12:35.019	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                    
                    ble.0
                    2024-11-30 16:12:33.069	info	terminating
                    
                    ble.0
                    2024-11-30 16:12:32.568	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                    
                    ble.0
                    2024-11-30 16:12:32.568	info	terminating
                    
                    ble.0
                    2024-11-30 16:12:32.566	info	Got terminate signal TERMINATE_YOURSELF
                    
                    F 1 Reply Last reply Reply Quote 0
                    • F
                      funky4t @LarryXXL last edited by

                      Ich würd mich gern hier "anhängen"... Habe den Broker als VM in Proxmox laufen und der BLE lief bis dahin okay. Ich musste aus einem anderen Grunde heute ein Proxmox Backup einspielen, lief alles reibungslos bis ich merkte, dass meine BLE devices (Xiaomi Temp/Humidtiy) sich angeblich seit 7 Tagen (Date vom letzten Backup) nicht aktualisiert haben. Hab den BLE Adapter gecheckt, der DriverState steht auf unknown und die Objects werden nicht upgedatet. Ich hab die States gelöscht, danach wurden sie auch nach BLE Neustart nicht neu geschrieben. Adapter gelöscht, neu installiert, leider erfolglos.

                      Hab mit ChatGPT ebenfalls einiges getestet, leider erfolglos. Komisch war da, dass

                      sudo hcitool lescan
                      

                      auf der Broker wie hier diverse BLE Geräte anzeigte, die aber im BLE Adapter nicht angelegt wurden.

                      Bildschirmfoto 2024-12-07 um 21.10.00.png

                      iob logs --watch
                      

                      ergibt folgendes:

                      2024-12-07 21:12:38.011  - info: host.debianbroker stopInstance system.adapter.ble.0 (force=false, process=true)
                      2024-12-07 21:12:38.014  - info: ble.0 (8139) Got terminate signal TERMINATE_YOURSELF
                      2024-12-07 21:12:38.015  - info: ble.0 (8139) terminating
                      2024-12-07 21:12:38.015  - info: ble.0 (8139) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                      2024-12-07 21:12:38.106  - info: host.debianbroker stopInstance system.adapter.ble.0 send kill signal
                      2024-12-07 21:12:38.516  - info: ble.0 (8139) terminating
                      2024-12-07 21:12:38.558  - info: host.debianbroker instance system.adapter.ble.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                      2024-12-07 21:12:41.677  - info: host.debianbroker instance system.adapter.ble.0 in version "0.14.0" started with pid 10359
                      2024-12-07 21:12:41.954  - debug: ble.0 (10359) Redis Objects: Use Redis connection: 127.0.0.1:9001
                      2024-12-07 21:12:41.978  - debug: ble.0 (10359) Objects client ready ... initialize now
                      2024-12-07 21:12:41.979  - debug: ble.0 (10359) Objects create System PubSub Client
                      2024-12-07 21:12:41.979  - debug: ble.0 (10359) Objects create User PubSub Client
                      2024-12-07 21:12:42.034  - debug: ble.0 (10359) Objects client initialize lua scripts
                      2024-12-07 21:12:42.036  - debug: ble.0 (10359) Objects connected to redis: 127.0.0.1:9001
                      2024-12-07 21:12:42.116  - debug: ble.0 (10359) Redis States: Use Redis connection: 127.0.0.1:9000
                      2024-12-07 21:12:42.182  - debug: ble.0 (10359) States create System PubSub Client
                      2024-12-07 21:12:42.182  - debug: ble.0 (10359) States create User PubSub Client
                      2024-12-07 21:12:42.258  - debug: ble.0 (10359) States connected to redis: 127.0.0.1:9000
                      2024-12-07 21:12:42.334  - info: ble.0 (10359) starting. Version 0.14.0 in /opt/iobroker/node_modules/iobroker.ble, node: v20.18.1, js-controller: 7.0.3
                      2024-12-07 21:12:42.398  - info: ble.0 (10359) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, BTHome, _default
                      2024-12-07 21:12:42.398  - info: ble.0 (10359) enabled plugins: Xiaomi, _default
                      2024-12-07 21:12:42.398  - info: ble.0 (10359) monitored services: fe95
                      2024-12-07 21:12:42.448  - info: ble.0 (10359) starting scanner process...
                      2
                      

                      In der Vergangenheit hab ich die BLE Themen immer mit Google oder ChatGPT hinbekommen, aber heute stoße ich an meine Grenzen.

                      Falls ich hier völlig falsch bin seht es mir bitte nach, der Broker ist für mich Hobby und ich sehe ich eher als User. Aber wenn ich helfen kann einen Bug einzukreisen unterstütze ich gern. Falls der Bug vorm Bildschirm ist, lern ich gern dazu! 😉

                      Ergebnis von

                      iob diag
                      

                      findet ihr hier: iobdiag.rtf

                      Was ich noch versucht habe sind

                      iob fix
                      

                      ohne Fehlermeldung durchgelaufen

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

                      ohne Effekt, hat sonst immer funktioniert.

                      Ich werde morgen mal eine neue VM mit IOB und nur dem BLE aufsetzen und dann schauen, wie sich der BT Stick darin verhält....

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

                        @funky4t

                        Ja, der ble-Adapter ist gerade kaputt.
                        Gibt auch schon Issues dazu.

                        Und bitte die Ausgabe von iob diag nicht als rtf oder word-Dokument oder sowas hier rein klatschen, das kann ich mit meinem Editor nicht gut lesen.
                        Die reine Ausgabe in CodeTags eingebettet hier rein, mehr braucht es nicht.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          funky4t @Thomas Braun last edited by

                          Herzlichen Dank @thomas-braun für deine Info zum Adapter und dem DIAG, dann muss ich vorläufig nicht weiter probieren.👍

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

                            @funky4t

                            Genauer:

                            https://github.com/AlCalzone/ioBroker.ble/issues/871
                            Evtl. muss die alternative verwendet werden:
                            https://github.com/AlCalzone/ioBroker.ble/issues/870

                            chris299 created this issue in AlCalzone/ioBroker.ble

                            closed driverState shows "unknown" #871

                            Grothesk242 created this issue in AlCalzone/ioBroker.ble

                            closed Switch to @stoprocent/noble - abandonware fork does not build with nodejs23 #870

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            846
                            Online

                            31.8k
                            Users

                            79.9k
                            Topics

                            1.3m
                            Posts

                            4
                            21
                            1240
                            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