Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] BLE Adapter testen (v0.6.0)

    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

    [Aufruf] BLE Adapter testen (v0.6.0)

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reini last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • G
        gaso last edited by

        Hallo

        ich bin seit Tagen beschäftigt den ble Adapter zum laufen zu bringen

        bleibt immer Gelb

        ble 0.5.5

        Node.js v8.14.0

        NPM 6.4.1

        LOG ble.0 2018-12-11 19:47:19.424 info monitored services:

        ble.0 2018-12-11 19:47:19.423 info enabled plugins: _default

        ble.0 2018-12-11 19:47:19.422 info loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default

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

        kann mich jemadn unterstützen ??

        Vielen DANK 11401_ble.jpg

        1 Reply Last reply Reply Quote 0
        • Neuschwansteini
          Neuschwansteini last edited by

          @gaso:

          Hallo

          ich bin seit Tagen beschäftigt den ble Adapter zum laufen zu bringen

          bleibt immer Gelb

          ble 0.5.5

          Node.js v8.14.0

          NPM 6.4.1

          LOG ble.0 2018-12-11 19:47:19.424 info monitored services:

          ble.0 2018-12-11 19:47:19.423 info enabled plugins: _default

          ble.0 2018-12-11 19:47:19.422 info loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default

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

          kann mich jemadn unterstützen ??

          Vielen DANKble.jpg `

          Setze die Instanz bitte mal auf DEBUG und poste dann, den Logfile-Auszug

          ( cd /opt/iobroker/log, dann less iobroker.2018-11-11.log | grep ble.0 )

          1 Reply Last reply Reply Quote 0
          • G
            gaso last edited by

            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 Reply Quote 0
            • H
              Hardwearhansi last edited by

              Habe genau dass selbe Problem

              1 Reply Last reply Reply Quote 0
              • B
                BeautyBoyBob last edited by

                Ich ebenfalls.

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

                  Was sagt denn der Datenpunkt "info.driverState"?

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

                    @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

                    1 Reply Last reply Reply Quote 0
                    • G
                      gaso last edited by

                      @BeautyBoyBob:

                      Ich ebenfalls. `

                      schon eine Lösung gefunden ?

                      bei mir ist er immnoch gelb !?

                      1 Reply Last reply Reply Quote 0
                      • B
                        BeautyBoyBob last edited by

                        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 Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer last edited by

                          Lest bitte mal meinen letzten Post 🙂 und den vorletzten

                          1 Reply Last reply Reply Quote 0
                          • R
                            reini last edited by

                            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 Reply Quote 0
                            • G
                              gaso last edited by

                              driverState

                              state

                              bluetooth driver state

                              state indicator.state unsupported

                              1 Reply Last reply Reply Quote 0
                              • G
                                gaso last edited by

                                @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 Reply Quote 0
                                • B
                                  BeautyBoyBob last edited by

                                  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 Reply Quote 0
                                  • B
                                    BeautyBoyBob last edited by

                                    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 Reply Quote 0
                                    • AlCalzone
                                      AlCalzone Developer last edited by

                                      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?

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

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

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          BeautyBoyBob last edited by

                                          @AlCalzone:

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

                                          Das sind meine Versionen.
                                          8070_ble3.png

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            gaso last edited by

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

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            936
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            59
                                            370
                                            65833
                                            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