Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BLE Adapter crasht Raspi 4 4GB - System tot

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    BLE Adapter crasht Raspi 4 4GB - System tot

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

      HI
      wollte mal ein update geben.
      Also nachdem ich überhaupt nicht weitergekommen bin mit der fehlereingrenzung, habe ich ne neue SD karte genommen und alles neu aufgesetzt. Seit 24h läuft alles einwandfrei soweit.

      Ich kann also definitiv ausschliessen, dass es der BLE Adapter war, eher die SD-Karte oder evtl. eine unsaubere installation vorher. Sorry @AlCalzone & @Homoran , dass ich Eure Zeit vergeudet habe . hauptverneig !

      Das einzige was bleibt ist, dass von den beiden nicht "funktionierenden" mi-flora sensoren aus dem anderen system (andere einrichtung bei meinen eltern, nicht die versuche bei mir) jetzt einer nun doch komplett erkannt wird. der zweite versagt die essntiellen messwerte wie beim anderen system auch.
      so als ob man nur einen mi-flora sensor betreiben könnte.
      Ich werde mehr beschaffen und dann weitersehen.
      Nochmals danke für die Unterstützung !!!

      Bleibt gesund!
      Milo

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

        @mwp007 sagte in BLE Adapter crasht Raspi 4 4GB - System tot:

        so als ob man nur einen mi-flora sensor betreiben könnte.

        Denke ich nicht, da die nur "dumm" senden. Eventuell ein Empfangsproblem oder Batterie oder ...

        1 Reply Last reply Reply Quote 0
        • A
          Alex821 last edited by

          Hi,
          ich bin von einem Raspi 3 auf einen Raspi 4 umgezogen und habe jetzt das gleiche Problem wie mwp007. Vorher ist der Raspi 3 nur sehr oft abgeschmiert, also hat keinen Daten von meinen Flower Sensors erfasst. Hab ihn dann einfach per cron jede Stunde einmal neu gestartet. Jetzt auf dem Raspi 4 ist aber nach einigen Sekunden nach Start des Adapters der komplette Raspi tot, es hilft nur Strom aus und wieder an. Das ist echt nervig. Kurz nach dem Start werden die Flower Sensors noch erkannt und die Objekte erstellt.

          Habe es auch mit einer neuen SD-Karte und einer frischen Installation mit nur dem ble-Adapter als einziger Adapter versucht, gleiches Ergebnis.

          Gibt es irgendwas was ich tun kann? Ich würde gerne wieder meine Blumensensoren wieder auslesen. Danke.

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

            @Alex821 Bitte mal logfiles posten, wenn das passiert.
            Nodejs ist sauber installiert? ble in welcher Version? Capabilities gesetzt?

            AlCalzone A 2 Replies Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer @Thomas Braun last edited by

              @Thomas-Braun sagte in BLE Adapter crasht Raspi 4 4GB - System tot:

              Capabilities gesetzt?

              Macht die Installation bzw. der Fixer bereits - sollte also kein Problem sein, wenn nicht Node nach der Installation von ioBroker aktualisiert wurde.

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

                @Thomas-Braun ble.0 2020-06-27 15:46:30.253
                Das sind die letzten Logeinträge, wenn ich die Instanz starte. Ble-Version ist 0.11.6, NodeJS-Version ist 12.18.1. Wie finde ich heraus, ob es sauber installiert ist? Hab alles gemäß Doku gemacht. Was sind Capabilities?

                info (4560) starting scan for services ["fe95"]
                ble.0 2020-06-27 15:46:26.862 info (4560) monitored services: fe95
                ble.0 2020-06-27 15:46:26.860 info (4560) enabled plugins: Xiaomi, _default
                ble.0 2020-06-27 15:46:26.858 info (4560) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                ble.0 2020-06-27 14:46:26.858 info (4560) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                ble.0 2020-06-27 14:46:26.714 info (4560) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v10.21.0, js-controller: 3.1.4
                host.raspi4-iob 2020-06-27 14:46:25.106 info instance system.adapter.ble.0 started with pid 4560
                host.raspi4-iob 2020-06-27 14:46:25.093 info "system.adapter.ble.0" enabled

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

                  @Alex821 Bitte Ausgaben in CodeTags setzen.

                  Da scheint mir aber mal wieder node nicht richtig installiert zu sein

                  which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                  
                  1 Reply Last reply Reply Quote 0
                  • A
                    Alex821 last edited by Alex821

                    @Thomas-Braun said in BLE Adapter crasht Raspi 4 4GB - System tot:

                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

                    Sorry, beim Erstellen des Posts eben habe ich auch gemerkt, dass die NodeJs Version noch eine alte war. Das Log ist noch von davor. Habe aber mittlerweile geupdated, Adpater deinstalliert und wieder installiert und immer noch das gleiche Bild.

                    Hier die Ausgabe des Befehls

                    pi@raspi4-iob:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                    /usr/bin/nodejs
                    v12.18.1
                    /usr/bin/node
                    v12.18.1
                    /usr/bin/npm
                    6.14.5
                    nodejs:
                      Installed: 12.18.1-1nodesource1
                      Candidate: 12.18.1-1nodesource1
                      Version table:
                     *** 12.18.1-1nodesource1 500
                            500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                            100 /var/lib/dpkg/status
                         10.21.0~dfsg-1~deb10u1+rpi1 500
                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                    pi@raspi4-iob:~ $
                    

                    Hier eine aktuelle Ausgabe des Logs, diesmal direkt aus dem Logfile:

                    2020-06-27 15:23:20.335  - info: host.raspi4-iob "system.adapter.ble.0" enabled
                    2020-06-27 15:23:20.371  - info: host.raspi4-iob instance system.adapter.ble.0 started with pid 1411
                    2020-06-27 15:23:21.579  - info: ble.0 (1411) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v12.18.1, js-controller: 3.1.6
                    2020-06-27 15:23:21.703  - info: ble.0 (1411) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                    2020-06-27 15:23:21.704  - info: ble.0 (1411) enabled plugins: Xiaomi, _default
                    2020-06-27 15:23:21.706  - info: ble.0 (1411) monitored services: fe95
                    2020-06-27 15:23:21.973  - info: ble.0 (1411) starting scan for services ["fe95"]
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Alex821 last edited by

                      @Alex821 Bitte CodeTags setzen.

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

                        @Thomas-Braun
                        Sorry, habe den Post bearbeitet.

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

                          @Alex821

                          iobroker fix
                          
                          Thomas Braun A 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Thomas Braun last edited by Thomas Braun

                            Da scheint aber auch deine Systemzeit nicht korrekt zu sein.

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

                              @Thomas-Braun
                              Habe iobroker fix ausgeführt. Leider keine Verbesserung.

                              Habe jetzt auch noch die Zeitzone richtig eingestellt, ändert leider auch nichts:

                              2020-06-27 16:40:54.012  - info: host.raspi4-iob "system.adapter.ble.0" enabled
                              2020-06-27 16:40:54.631  - info: host.raspi4-iob instance system.adapter.ble.0 started with pid 1220
                              2020-06-27 16:40:56.191  - info: ble.0 (1220) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v12.18.1, js-controller: 3.1.6
                              2020-06-27 16:40:56.320  - info: ble.0 (1220) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                              2020-06-27 16:40:56.321  - info: ble.0 (1220) enabled plugins: Xiaomi, _default
                              2020-06-27 16:40:56.322  - info: ble.0 (1220) monitored services: fe95
                              2020-06-27 16:40:56.580  - info: ble.0 (1220) starting scan for services ["fe95"]
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Alex821 last edited by Thomas Braun

                                @Alex821
                                Merkwürdig.

                                sudo apt update
                                sudo apt dist-upgrade
                                

                                mall versucht? Danach die ganze Kiste rebooten.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Alex821 last edited by

                                  pi@raspi4-iob:~ $ sudo apt update
                                  Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                                  Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                  Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  All packages are up to date.
                                  pi@raspi4-iob:~ $ sudo apt dist-upgrade
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  Calculating upgrade... Done
                                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                  

                                  Es wurde nichts aktualisiert, weil ich die Installation ja gerade erst aufgesetzt habe. Ich habe eine "Test microSd" drin, wo wirklich nur der ble-Adapter drauf läuft, damit ich andere Einflüsse ausschließen kann.

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

                                    @Alex821 Keine Ahnung dann. Dem Log kann man ja auch nichts entnehmen.

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

                                      @Thomas-Braun

                                      Danke trotzdem. Hat denn irgendjemand hier den Ble-Adapter auf einem Raspi 4 mit 4GB erfoglrich laufen? Es muss ja am Adapter, bzw am Zusammenspiel mit der NodeJs Version oder sowas liegen.

                                      Vielleicht hat ja auch @AlCalzone noch eine Idee? 🙂

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

                                        @Alex821 Ja, bei mir läuft der ble auf einem Raspi4 4 GB.

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

                                          @Thomas-Braun
                                          Und du benutzt auch das interne Bluetooth Modul?

                                          Fehlt mir denn vielleicht noch irgendwas an Software oder so? Habe nur das gemacht, was auf der Seite von dem Adapter steht:

                                          sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
                                          

                                          Muss das vielleicht für den Raspi 4 noch was anderes sein?

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

                                            @Alex821 Ja, auch das interne Bluetooth Modul hier.

                                            1 Reply 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

                                            779
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            ble crash raspberry 4
                                            5
                                            41
                                            2643
                                            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