Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [Aufruf] BLE Adapter testen (v0.6.0)

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

[Aufruf] BLE Adapter testen (v0.6.0)

Scheduled Pinned Locked Moved Tester
370 Posts 59 Posters 98.4k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gaso
    wrote on last edited by
    #205

    2018-12-11 20:12:07.293 - info: host.ioBrokerPROXMOX stopInstance system.adapter.ble.0

    2018-12-11 20:12:07.293 - info: host.ioBrokerPROXMOX stopInstance system.adapter.ble.0 killing pid 28033

    2018-12-11 20:12:07.312 - info: host.ioBrokerPROXMOX instance system.adapter.ble.0 terminated with code 0 (OK)

    2018-12-11 20:12:09.804 - info: host.ioBrokerPROXMOX instance system.adapter.ble.0 started with pid 28052

    2018-12-11 20:12:10.093 - debug: ble.0 objectDB connected

    2018-12-11 20:12:10.114 - debug: ble.0 statesDB connected

    2018-12-11 20:12:10.226 - info: ble.0 starting. Version 0.5.5 in /opt/iobroker/node_modules/iobroker.ble, node: v8.14.0

    2018-12-11 20:12:10.252 - info: ble.0 loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default

    2018-12-11 20:12:10.253 - info: ble.0 enabled plugins: _default

    2018-12-11 20:12:10.253 - info: ble.0 monitored services:

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hardwearhansi
      wrote on last edited by
      #206

      Habe genau dass selbe Problem

      1 Reply Last reply
      0
      • B Offline
        B Offline
        BeautyBoyBob
        wrote on last edited by
        #207

        Ich ebenfalls.

        1 Reply Last reply
        0
        • AlCalzoneA Offline
          AlCalzoneA Offline
          AlCalzone
          Developer
          wrote on last edited by
          #208

          Was sagt denn der Datenpunkt "info.driverState"?

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

          1 Reply Last reply
          0
          • AlCalzoneA Offline
            AlCalzoneA Offline
            AlCalzone
            Developer
            wrote on last edited by
            #209

            @reini:

            Hallo, bei meinem ble Adapter steht derzeit bei bluetooth driver state "unauthorized" - bekomme auch keine neuen Werte mom. (Version 0.5.5), was muss ich da tun? `
            Betriebssystem?

            NodeJS-Version?

            Edit: Falls Linux, dann bitte die Anweisungen hier beachten - Abschnitt "Running without root/sudo":

            https://github.com/noble/noble#running-without-rootsudo

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

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gaso
              wrote on last edited by
              #210

              @BeautyBoyBob:

              Ich ebenfalls. `

              schon eine Lösung gefunden ?

              bei mir ist er immnoch gelb !?

              1 Reply Last reply
              0
              • B Offline
                B Offline
                BeautyBoyBob
                wrote on last edited by
                #211

                Bei mir auch noch. Hatte leider noch keine Zeit mich damit zu beschäftigen.

                Ich vermute aber es liegt an irgendwelchen Versionen von npm, nodeJS usw…

                Ich hatte ziemlich wild alles mögliche upgedatet nach Problemen mit der einen Versionen des Javascript Adapters, danach kam das bei mir.

                1 Reply Last reply
                0
                • AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  wrote on last edited by
                  #212

                  Lest bitte mal meinen letzten Post :) und den vorletzten

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

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    reini
                    wrote on last edited by
                    #213

                    der letzte Beitrag von AlCalzone hat bei mir alle Probleme gelöst ("Running without root/sudo") - seitdem ist mein BLE Adapter immer auf "poweredOn" und nicht mehr ständig "unauthorized" (Hardware Raspi Zero)

                    TOP - danke!

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      gaso
                      wrote on last edited by
                      #214

                      driverState

                      state

                      bluetooth driver state

                      state indicator.state unsupported

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        gaso
                        wrote on last edited by
                        #215

                        @reini:

                        der letzte Beitrag von AlCalzone hat bei mir alle Probleme gelöst ("Running without root/sudo") - seitdem ist mein BLE Adapter immer auf "poweredOn" und nicht mehr ständig "unauthorized" (Hardware Raspi Zero)

                        TOP - danke! `

                        und was hast du bei dir eingetragen ?

                        mit dem Befehl

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

                        komme ich irgendwie nicht klar

                        1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          BeautyBoyBob
                          wrote on last edited by
                          #216

                          Ich leider auch nicht. Libcap2-bin konnte ich noch installieren. Aber die 2 Weiteren Commands gehen leider nicht. Mein ioBroker läuft im Docker auf einem Synology NAS.
                          8070_ble.png

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            BeautyBoyBob
                            wrote on last edited by
                            #217

                            Bei mir hat das allerdings andere Gründe, warum BLE nicht funktioniert.
                            8070_ble2.png

                            ble.0	2018-12-14 16:24:33.373	error	unhandled promise rejection: Error: Cannot find module 'bluetooth-hci-socket'
                            

                            Hat bei mir noch tiefgehendere Gründe durch andere Updates, hab mir da wohl ein wenig was zerschossen, bekomme jedenfalls bluetooth-hci-socket nicht einfach so installiert.

                            1 Reply Last reply
                            0
                            • AlCalzoneA Offline
                              AlCalzoneA Offline
                              AlCalzone
                              Developer
                              wrote on last edited by
                              #218
                              sudo apt-get install libcap2-bin
                              

                              hat nicht funktioniert?

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

                              habe ich einfach kopiert und in die Konsole eingefügt - läuft ohne Probleme durch

                              @gaso:

                              driverState

                              state

                              bluetooth driver state

                              state indicator.state unsupported `
                              https://github.com/noble/noble/issues/568 => Du benutzt nicht unterstützte Bluetooth Hardware. Was für ein Gerät/Dongle nutzt du?

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

                              1 Reply Last reply
                              0
                              • AlCalzoneA Offline
                                AlCalzoneA Offline
                                AlCalzone
                                Developer
                                wrote on last edited by
                                #219

                                @BeautyBoyBob:

                                Hat bei mir noch tiefgehendere Gründe durch andere Updates, hab mir da wohl ein wenig was zerschossen, bekomme jedenfalls bluetooth-hci-socket nicht einfach so installiert. `

                                Hast du NodeJS 10 installiert? Dann geht das (noch) nicht.

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

                                1 Reply Last reply
                                0
                                • B Offline
                                  B Offline
                                  BeautyBoyBob
                                  wrote on last edited by
                                  #220

                                  @AlCalzone:

                                  Hast du NodeJS 10 installiert? Dann geht das (noch) nicht. `

                                  Das sind meine Versionen.
                                  8070_ble3.png

                                  1 Reply Last reply
                                  0
                                  • G Offline
                                    G Offline
                                    gaso
                                    wrote on last edited by
                                    #221

                                    hat aber in der Kon­s­tel­la­ti­on schon mal funktioniert
                                    11401_usb.jpg

                                    1 Reply Last reply
                                    0
                                    • B Offline
                                      B Offline
                                      BeautyBoyBob
                                      wrote on last edited by
                                      #222

                                      @BeautyBoyBob:

                                      @AlCalzone:

                                      Hast du NodeJS 10 installiert? Dann geht das (noch) nicht. `

                                      Das sind meine Versionen.

                                      ble3.png `

                                      Okay, habe nun wie hier beschrieben auf Node js 8 downgegradet und nun ist der BLE Adapter wieder auf Grün :D

                                      https://smarthome.schimmer-media.de/for … ci-socket/

                                      1 Reply Last reply
                                      0
                                      • Deanna4711D Offline
                                        Deanna4711D Offline
                                        Deanna4711
                                        wrote on last edited by
                                        #223

                                        Auch ich bekomme meinen BLE Adapter nicht "grün", es werden aber keine echten Fehlermeldungen ausgegeben. Das System ist ein RockPi mit Debian Stretch, alle benötigten Pakete habe ich (meiner Newbie Meinung nach) nachinstalliert.

                                        Platform: linux
                                        Architecture: arm
                                        CPUs: 6
                                        Speed: 408 MHz
                                        Model: ARMv8 Processor rev 4 (v8l)
                                        RAM: 3.7 GB 
                                        System uptime: 00:50:43
                                        Node.js: v8.14.0
                                        NPM: 6.4.1
                                        adapters count: 208
                                        Uptime: 12:55:03
                                        
                                        ble.0	2018-12-15 12:07:27.008	debug	system.adapter.admin.0: logging true
                                        ble.0	2018-12-15 11:07:20.974	debug	system.adapter.admin.0: logging false
                                        ble.0	2018-12-15 11:06:43.429	debug	system.adapter.admin.0: logging true
                                        ble.0	2018-12-15 11:06:37.432	info	monitored services: ble.0.c4:7c:8d:62:6c:8c, ble.0.c4:7c:8d:64:43:6b, ble.0.c4:7c:8d:64:47:6e, ble.0.c4:7c:8d:65:5f:b7, fe95
                                        ble.0	2018-12-15 11:06:37.430	info	enabled plugins: Xiaomi, _default
                                        ble.0	2018-12-15 11:06:37.428	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                        ble.0	2018-12-15 11:06:37.349	info	starting. Version 0.5.5 in /opt/iobroker/node_modules/iobroker.ble, node: v8.14.0
                                        ble.0	2018-12-15 11:06:37.202	debug	statesDB connected
                                        ble.0	2018-12-15 11:06:37.159	debug	objectDB connected
                                        ble.0	2018-12-15 11:04:37.311	info	{"index":0,"bus":"UART"}
                                        ble.0	2018-12-15 11:04:30.670	info	{"index":0,"bus":"UART"}
                                        ble.0	2018-12-15 11:01:16.450	info	{"index":0,"bus":"UART"}
                                        ble.0	2018-12-15 11:01:11.138	info	{"index":0,"bus":"UART"}
                                        ble.0	2018-12-15 10:34:33.847	info	monitored services: ble.0.c4:7c:8d:62:6c:8c, ble.0.c4:7c:8d:64:43:6b, ble.0.c4:7c:8d:64:47:6e, ble.0.c4:7c:8d:65:5f:b7, fe95
                                        ble.0	2018-12-15 10:34:33.845	info	enabled plugins: Xiaomi, _default
                                        ble.0	2018-12-15 10:34:33.843	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                        ble.0	2018-12-15 10:34:33.760	info	starting. Version 0.5.5 in /opt/iobroker/node_modules/iobroker.ble, node: v8.14.0
                                        

                                        hciconfig liefert mir folgendes:

                                        linaro@linaro-alip:~$ hciconfig
                                        hci0:   Type: Primary  Bus: UART
                                                BD Address: 43:45:C5:00:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
                                                UP RUNNING
                                                RX bytes:922 acl:0 sco:0 events:65 errors:0
                                                TX bytes:5378 acl:0 sco:0 commands:78 errors:0
                                        
                                        

                                        hcitool lescan aber:

                                        linaro@linaro-alip:~$ sudo hcitool lescan
                                        Set scan parameters failed: Connection timed out
                                        
                                        

                                        Es läuft kein weiterer Adapter (Radar etc.) und BT müsste mindestens 20 verschiedene Objekte erkennen. U.a. eben die Xiaomi Sensoren. Ich habe keine weiteren Ideen mehr.

                                        1 Reply Last reply
                                        0
                                        • AlCalzoneA Offline
                                          AlCalzoneA Offline
                                          AlCalzone
                                          Developer
                                          wrote on last edited by
                                          #224

                                          Was steht im State "info.driverState"?

                                          Bitte auch hier lesen ==> viewtopic.php?p=203033#p203033

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

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          672

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe