Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (gelöst)BLE-Adapter

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    (gelöst)BLE-Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @ostseereiter last edited by

      @ostseereiter mit welcher Meldung?

      ostseereiter 1 Reply Last reply Reply Quote 0
      • ostseereiter
        ostseereiter @crunchip last edited by

        @crunchip
        das alles ok war ich hatte es nicht gespeichert aber ich kann ja nochmal

        ostseereiter 1 Reply Last reply Reply Quote 0
        • ostseereiter
          ostseereiter @ostseereiter last edited by

          @crunchip

          andy@debian:~$ cd /opt/iobroker
          andy@debian:/opt/iobroker$ iobroker rebuild ble
          Rebuilding native module "ble" ...
          
          Rebuilding native modules done
          
          
          crunchip 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @ostseereiter last edited by

            @ostseereiter dann weiss ich auch nicht mehr weiter

            welche Geräte sind denn eigentlich per ble verbunden?

            Homoran ostseereiter 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @crunchip last edited by Homoran

              @crunchip sagte in BLE-Adapter:

              dann weiss ich auch nicht mehr weiter

              wenn ich das richtig deute:

              @ostseereiter sagte in BLE-Adapter:

              Rebuilding native modules done

              werden die deps gar nicht neu gebaut.

              müsste man vielleicht mit npm rebuild im richtigen Verzeichnis nochmal versuchen

              ostseereiter 1 Reply Last reply Reply Quote 1
              • ostseereiter
                ostseereiter @crunchip last edited by

                @crunchip
                also nix was ich nicht entbehren kann sind von MI-flora

                1 Reply Last reply Reply Quote 0
                • ostseereiter
                  ostseereiter @Homoran last edited by

                  @homoran
                  ok aber welches Verzeichnes. oder ich werde den Adapter löschen und nochmal installieren ansonsten weg damit.

                  1 Reply Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active last edited by crunchip

                    @ostseereiter

                    cd /opt/iobroker/node_modules/iobroker.ble
                    npm rebuild
                    
                    ostseereiter 1 Reply Last reply Reply Quote 0
                    • ostseereiter
                      ostseereiter @crunchip last edited by

                      @crunchip sagte in BLE-Adapter:

                      npm rebuild

                      ja leider auch nicht nun werde ich dann den Adapter deinstallieren und neu und wenn dann nicht ok

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

                        nun neu installiert nun ist er ja schon mal gelb

                        	2022-03-09 18:24:26.455	error	ENODEV, No such device
                        
                        ble.0
                        2022-03-09 18:24:25.527	info	starting scanner process...
                        
                        ble.0
                        2022-03-09 18:24:25.524	info	monitored services: fe95
                        
                        ble.0
                        2022-03-09 18:24:25.521	info	enabled plugins: Xiaomi, mi-flora, _default
                        
                        ble.0
                        2022-03-09 18:24:25.519	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                        
                        ble.0
                        2022-03-09 18:24:25.332	info	starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v14.19.0, js-controller: 4.0.19
                        
                        ble.0
                        2022-03-09 18:24:23.559	debug	States connected to redis: 127.0.0.1:9000
                        
                        ble.0
                        2022-03-09 18:24:23.436	debug	States create User PubSub Client
                        
                        ble.0
                        2022-03-09 18:24:23.432	debug	States create System PubSub Client
                        
                        ble.0
                        2022-03-09 18:24:23.354	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                        
                        ble.0
                        2022-03-09 18:24:23.226	debug	Objects connected to redis: 127.0.0.1:9001
                        
                        ble.0
                        2022-03-09 18:24:23.190	debug	Objects client initialize lua scripts
                        
                        ble.0
                        2022-03-09 18:24:22.916	debug	Objects create User PubSub Client
                        
                        ble.0
                        2022-03-09 18:24:22.914	debug	Objects create System PubSub Client
                        
                        ble.0
                        2022-03-09 18:24:22.911	debug	Objects client ready ... initialize now
                        
                        ble.0
                        2022-03-09 18:24:22.778	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                        
                        ble.0
                        2022-03-09 18:24:16.856	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        
                        ble.0
                        2022-03-09 18:24:16.854	info	terminating
                        
                        ble.0
                        2022-03-09 18:24:16.851	info	Got terminate signal TERMINATE_YOURSELF
                        
                        ble.0
                        2022-03-09 18:23:52.187	error	ENODEV, No such device
                        
                        ble.0
                        2022-03-09 18:23:51.283	info	starting scanner process...
                        
                        ble.0
                        2022-03-09 18:23:51.279	info	monitored services: fe95
                        
                        ble.0
                        2022-03-09 18:23:51.274	info	enabled plugins: Xiaomi, mi-flora, _default
                        
                        ble.0
                        2022-03-09 18:23:51.273	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                        
                        ble.0
                        2022-03-09 18:23:51.075	info	starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v14.19.0, js-controller: 4.0.19
                        
                        ble.0
                        2022-03-09 18:23:42.411	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        
                        ble.0
                        2022-03-09 18:23:42.409	info	terminating
                        
                        ble.0
                        2022-03-09 18:23:42.407	info	Got terminate signal TERMINATE_YOURSELF
                        
                        ble.0
                        2022-03-09 18:22:07.322	error	ENODEV, No such device
                        
                        ble.0
                        2022-03-09 18:22:06.419	info	starting scanner process...
                        
                        ble.0
                        2022-03-09 18:22:06.407	info	monitored services: fe95
                        
                        ble.0
                        2022-03-09 18:22:06.403	info	enabled plugins: Xiaomi, mi-flora, _default
                        
                        ble.0
                        2022-03-09 18:22:06.399	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                        
                        ble.0
                        2022-03-09 18:22:06.187	info	starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v14.19.0, js-controller: 4.0.19
                        
                        ble.0
                        2022-03-09 18:21:56.769	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        
                        ble.0
                        2022-03-09 18:21:56.767	info	terminating
                        
                        ble.0
                        2022-03-09 18:21:56.765	info	Got terminate signal TERMINATE_YOURSELF
                        
                        ble.0
                        2022-03-09 18:21:42.115	error	ENODEV, No such device
                        
                        ble.0
                        2022-03-09 18:21:41.274	info	starting scanner process...
                        
                        ble.0
                        2022-03-09 18:21:41.271	info	monitored services:
                        
                        ble.0
                        2022-03-09 18:21:41.269	info	enabled plugins: _default
                        
                        ble.0
                        2022-03-09 18:21:41.267	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                        
                        ble.0
                        2022-03-09 18:21:40.971	info	starting. Version 0.12.0 in /opt/iobroker/node_modules/iobroker.ble, node: v14.19.0, js-controller: 4.0.19
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @ostseereiter last edited by

                          @ostseereiter sagte in BLE-Adapter:

                          ENODEV, No such device

                          Gerät in den Einstellungen angelegt?

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

                            @thomas-braun
                            so sieht es aus
                            Screenshot (157).png

                            Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @ostseereiter last edited by

                              @ostseereiter

                              Ist denn das noch hci0 oder ist das Gerät durch die Restarts vielleicht auf hci1 gewandert?

                              ostseereiter 1 Reply Last reply Reply Quote 1
                              • ostseereiter
                                ostseereiter @Thomas Braun last edited by

                                @thomas-braun

                                andy@debian:~$ hciconfig
                                hci1: Type: Primary Bus: USB
                                BD Address: 00:1A:7D:DA:71:0F ACL MTU: 310:10 SCO MTU: 64:8
                                UP RUNNING
                                RX bytes:6547330 acl:0 sco:0 events:183574 errors:0
                                TX bytes:14599 acl:0 sco:0 commands:1417 errors:0

                                ostseereiter 1 Reply Last reply Reply Quote 0
                                • ostseereiter
                                  ostseereiter @ostseereiter last edited by

                                  @ostseereiter
                                  ist auf der 1 danke an alle alles grün

                                  1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @ostseereiter last edited by

                                    @ostseereiter so nebenbei, das update intervall wieder anpassen, z.b. 20000

                                    ostseereiter 1 Reply Last reply Reply Quote 1
                                    • ostseereiter
                                      ostseereiter @crunchip last edited by

                                      @crunchip sagte in BLE-Adapter:

                                      20000

                                      ok erledigt

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        Jan1 @ostseereiter last edited by Jan1

                                        @ostseereiter
                                        @thomas-braun
                                        bei mir ist auch der Wurm drin:

                                        hier sieht noch alles gut aus

                                        jan@Beelink:~$ sudo systemctl status bluetooth                                  ● bluetooth.service - Bluetooth service
                                             Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>
                                             Active: active (running) since Wed 2022-03-09 19:08:57 CET; 54min ago
                                               Docs: man:bluetoothd(8)
                                           Main PID: 557 (bluetoothd)
                                             Status: "Running"
                                              Tasks: 1 (limit: 4459)
                                             Memory: 3.9M
                                                CPU: 31ms
                                             CGroup: /system.slice/bluetooth.service
                                                     └─557 /usr/libexec/bluetooth/bluetoothd
                                        

                                        hier ist das Ding down

                                        jan@Beelink:~$ sudo hciconfig
                                        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:4 acl:0 sco:0 commands:1 errors:0
                                        
                                        crunchip 1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @Jan1 last edited by

                                          @jan1

                                          sudo hcitool hci0 up
                                          
                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Jan1 @crunchip last edited by

                                            @crunchip

                                            wäre zu einfach gewesen :

                                            jan@Beelink:~$ sudo hcitool hci0 up
                                            [sudo] Passwort für jan:
                                            Unknown command - "hci0"
                                            
                                            
                                            Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            727
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            84
                                            4697
                                            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