Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BLE Adapter verliert Verbindung zu Xiaomi Temperatursensor

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    BLE Adapter verliert Verbindung zu Xiaomi Temperatursensor

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

      @harrym Bei mir läuft gar kein noble, denke ich:

      pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/no
      node-abi/               node-fetch/             node-pre-gyp/           noop-logger/
      node-addon-api/         node-forge/             node-schedule/          nopt/
      node-coap-client/       node-gyp/               node-ssdp/              normalize-package-data/
      node-dtls-client/       node-libcurl/           node-tradfri-client/    normalize-path/
      node.extend/            node-mndp/              node-wol/
      
      harrym 1 Reply Last reply Reply Quote 0
      • harrym
        harrym @Thomas Braun last edited by

        @Thomas-Braun der BLE adapter verwendet mWn noble .... gugg mal im git. es "lustige" ist .... unter linux direkt mim bescan funzt alles .... nur der adapter kann es ned mim miband ..... egal. hab jetzt nfc genommen fürs heimkommen und hellmachen ggggg

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

          @harrym Könntest recht haben:

          locate noble
          /opt/iobroker/node_modules/@abandonware/noble
          

          Ich habe aber dennoch noch keine Verbindungsabbrüche nach mehreren Stunden beobachten können.

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

            @Thomas-Braun der neue Radar adapter .... da kannste wählen .... zwischen hci und noble .... aber der tut ned mit meinem miband mim lescan ....

            verbindungsabbrüche .... dürften aufs gerät ankommen. Ich hab da noch keine logik dahinter gefunden.

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

              @harrym radar2 ist mir auch unheimlich... 🙂

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

                @Thomas-Braun 😁 der neue is scho gut!

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

                  Hallo,

                  um nicht direkt ein neues Thema im Forum aufmachen zu müssen, klinke ich mich hier mit ein. Mein Problem ist ähnlich, zumindest vermute ich das. Bei mir sind es die Xiaomi Flower Care Sensoren, die im BLE-Adapter wunderbar erkannt werden und auch ihre Werte aktualisieren. Leider bekomme ich im Log alle (schätzungsweise) 20 Sekunden folgenden Fehler:

                  host.raspberrypi4-iob	2020-05-27 23:18:54.926	info	Restart adapter system.adapter.ble.0 because enabled
                  host.raspberrypi4-iob	2020-05-27 23:18:54.926	info	instance system.adapter.ble.0 terminated with code 0 (NO_ERROR)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.925	error	Caught by controller[3]: noble: unknown peripheral 001a220754a6 handle notify!
                  host.raspberrypi4-iob	2020-05-27 23:18:54.925	error	Caught by controller[2]: at Hci.emit (events.js:310:20)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.925	error	Caught by controller[2]: at NobleBindings.onAclDataPkt (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:288:15)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.925	error	Caught by controller[2]: at AclStream.push (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/acl-stream.js:33:10)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.925	error	Caught by controller[2]: at AclStream.emit (events.js:322:22)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.924	error	Caught by controller[2]: at Gatt.onAclStreamData (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.924	error	Caught by controller[2]: at Object.callback (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:329:10)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.924	error	Caught by controller[2]: at Gatt.emit (events.js:310:20)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.924	error	Caught by controller[2]: at NobleBindings.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:277:8)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.924	error	Caught by controller[2]: at NobleBindings.emit (events.js:310:20)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.923	error	Caught by controller[2]: at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.923	error	Caught by controller[2]: TypeError: Cannot set property 'mtu' of undefined
                  host.raspberrypi4-iob	2020-05-27 23:18:54.923	error	Caught by controller[1]: at Hci.emit (events.js:310:20)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.923	error	Caught by controller[1]: at NobleBindings.onAclDataPkt (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:288:15)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.922	error	Caught by controller[1]: at AclStream.push (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/acl-stream.js:33:10)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.922	error	Caught by controller[1]: at AclStream.emit (events.js:322:22)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.922	error	Caught by controller[1]: at Gatt.onAclStreamData (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.922	error	Caught by controller[1]: at Object.callback (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:329:10)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.922	error	Caught by controller[1]: at Gatt.emit (events.js:310:20)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.921	error	Caught by controller[1]: at NobleBindings.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:277:8)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.921	error	Caught by controller[1]: at NobleBindings.emit (events.js:310:20)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.921	error	Caught by controller[1]: at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18)
                  host.raspberrypi4-iob	2020-05-27 23:18:54.920	error	Caught by controller[1]: TypeError: Cannot set property 'mtu' of undefined
                  host.raspberrypi4-iob	2020-05-27 23:18:54.908	error	Caught by controller[0]: noble: unknown peripheral 001a220754a6 connected!
                  ble.0	2020-05-27 23:18:54.388	info	(6538) Terminated (NO_ERROR): Without reason
                  ble.0	2020-05-27 23:18:54.387	info	(6538) terminating
                  ble.0	2020-05-27 23:18:54.380	error	(6538) TypeError: Cannot set property 'mtu' of undefined at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18) at NobleBindings.emit (events.js:310:20) at Nobl
                  ble.0	2020-05-27 23:18:54.380	error	(6538) uncaught exception: Cannot set property 'mtu' of undefined
                  ble.0	2020-05-27 23:18:54.371	info	(6538) stopping scan
                  ble.0	2020-05-27 23:18:54.370	error	(6538) TypeError: Cannot set property 'mtu' of undefined at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18) at NobleBindings.emit (events.js:310:20) at Nobl
                  ble.0	2020-05-27 23:18:54.369	error	(6538) uncaught exception: Cannot set property 'mtu' of undefined
                  

                  Folgende Versionen laufen bei mir:

                  pi@raspberrypi4-iob:/opt/iobroker $ nodejs -v
                  v12.17.0
                  pi@raspberrypi4-iob:/opt/iobroker $ node -v
                  v12.16.3
                  pi@raspberrypi4-iob:/opt/iobroker $ npm -v
                  6.14.5
                  pi@raspberrypi4-iob:/opt/iobroker $ which nodejs && which node && which npm
                  /usr/bin/nodejs
                  /usr/local/bin/node
                  /usr/local/bin/npm
                  pi@raspberrypi4-iob:/opt/iobroker $ lsb_release -a
                  No LSB modules are available.
                  Distributor ID: Raspbian
                  Description:    Raspbian GNU/Linux 10 (buster)
                  Release:        10
                  Codename:       buster
                  pi@raspberrypi4-iob:/opt/iobroker $ iobroker list adapters | grep ble
                  system.adapter.ble                     : ble            - v0.11.6
                  pi@raspberrypi4-iob:/opt/iobroker $ iobroker -v
                  2.2.10
                  

                  Was könnte der Fehler sein?

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

                    @r0b1zZle
                    node und nodejs sind schon mal falsch installiert. Die Versionen müssen gleich sein.

                    apt policy nodejs 
                    sudo rm /usr/local/bin/node
                    sudo rm /usr/local/bin/npm
                    sudo apt update
                    sudo  apt dist-upgrade 
                    sudo apt install nodejs --reinstall
                    
                    R 1 Reply Last reply Reply Quote 0
                    • R
                      r0b1zZle @Thomas Braun last edited by

                      @Thomas-Braun Danke. Habe ich ausgeführt:

                      pi@raspberrypi4-iob:~ $ node -v
                      -bash: /usr/sbin/node: Datei oder Verzeichnis nicht gefunden
                      pi@raspberrypi4-iob:~ $ nodejs -v
                      v12.17.0
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @r0b1zZle last edited by

                        @r0b1zZle
                        Bei

                        node -v
                        

                        muss das kommen:

                        pi@raspberrypi:~ $ node -v
                        v12.17.0
                        
                        R 1 Reply Last reply Reply Quote 0
                        • R
                          r0b1zZle @Thomas Braun last edited by

                          @Thomas-Braun Ja, ich wundere mich auch. Er hat alles installiert, offenbar ist node nicht mehr drauf!? Wie kann ich das wieder fixen?

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

                            @r0b1zZle
                            Hab ich oben schon Buchstabe für Buchstabe geschrieben.

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

                              @Thomas-Braun Ja, das habe ich bereits ausgeführt:

                              pi@raspberrypi4-iob:~ $ apt policy nodejs
                              nodejs:
                                Installiert:           12.17.0-1nodesource1
                                Installationskandidat: 12.17.0-1nodesource1
                                Versionstabelle:
                               *** 12.17.0-1nodesource1 500
                                      500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                      100 /var/lib/dpkg/status
                                   10.19.0~dfsg1-1+rpi1 500
                                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                              pi@raspberrypi4-iob:~ $ rm /usr/local/bin/node
                              rm: das Entfernen von '/usr/local/bin/node' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                              pi@raspberrypi4-iob:~ $ rm /usr/local/bin/npm
                              rm: das Entfernen von '/usr/local/bin/npm' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                              pi@raspberrypi4-iob:~ $ sudo apt update
                              OK:1 http://archive.raspberrypi.org/debian buster InRelease
                              OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut.
                              Statusinformationen werden eingelesen.... Fertig
                              Alle Pakete sind aktuell.
                              pi@raspberrypi4-iob:~ $ sudo  apt dist-upgrade
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut.
                              Statusinformationen werden eingelesen.... Fertig
                              Paketaktualisierung (Upgrade) wird berechnet... Fertig
                              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                              pi@raspberrypi4-iob:~ $ sudo apt install nodejs --reinstall
                              
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut.
                              Statusinformationen werden eingelesen.... Fertig
                              0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
                              Es müssen noch 0 B von 16,0 MB an Archiven heruntergeladen werden.
                              Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                              (Lese Datenbank ... 50779 Dateien und Verzeichnisse sind derzeit installiert.)
                              Vorbereitung zum Entpacken von .../nodejs_12.17.0-1nodesource1_armhf.deb ...
                              Detected old npm client, removing...
                              Entpacken von nodejs (12.17.0-1nodesource1) über (12.17.0-1nodesource1) ...
                              nodejs (12.17.0-1nodesource1) wird eingerichtet ...
                              Trigger für man-db (2.8.5-2) werden verarbeitet ...
                              pi@raspberrypi4-iob:~ $
                              
                              

                              PS: Ich stelle mich vermutlich einfach nur zu dumm an, aber wenn ich mal den IoBroker-Log checke, steht da:

                              ble.0	2020-05-27 23:46:04.412	info	(4851) starting. Version 0.11.6 in /opt/iobroker/node_modules/iobroker.ble, node: v12.17.0
                              

                              Also muss ja node installiert sein und offenbar auch die korrekte Version jetzt!?

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

                                @r0b1zZle

                                Versuch mal mit sudo:

                                sudo rm /usr/local/bin/node
                                sudo rm /usr/local/bin/npm
                                

                                Dann sollte es aber sauber sein:

                                nodejs -v && node -v && npm -v
                                which nodejs && which node && which npm
                                
                                R 1 Reply Last reply Reply Quote 0
                                • R
                                  r0b1zZle @Thomas Braun last edited by

                                  @Thomas-Braun Immer noch nicht!?

                                  pi@raspberrypi4-iob:~ $ apt policy nodejs
                                  nodejs:
                                    Installiert:           12.17.0-1nodesource1
                                    Installationskandidat: 12.17.0-1nodesource1
                                    Versionstabelle:
                                   *** 12.17.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                          100 /var/lib/dpkg/status
                                       10.19.0~dfsg1-1+rpi1 500
                                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                  pi@raspberrypi4-iob:~ $ sudo rm /usr/local/bin/node
                                  rm: das Entfernen von '/usr/local/bin/node' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                                  pi@raspberrypi4-iob:~ $ sudo rm /usr/local/bin/npm
                                  rm: das Entfernen von '/usr/local/bin/npm' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                                  pi@raspberrypi4-iob:~ $ sudo apt update
                                  OK:1 http://archive.raspberrypi.org/debian buster InRelease
                                  OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                  OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  Alle Pakete sind aktuell.
                                  pi@raspberrypi4-iob:~ $ sudo  apt dist-upgrade
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  Paketaktualisierung (Upgrade) wird berechnet... Fertig
                                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                  pi@raspberrypi4-iob:~ $ sudo apt install nodejs --reinstall
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                  Es müssen noch 0 B von 16,0 MB an Archiven heruntergeladen werden.
                                  Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
                                  (Lese Datenbank ... 50779 Dateien und Verzeichnisse sind derzeit installiert.)
                                  Vorbereitung zum Entpacken von .../nodejs_12.17.0-1nodesource1_armhf.deb ...
                                  Detected old npm client, removing...
                                  Entpacken von nodejs (12.17.0-1nodesource1) über (12.17.0-1nodesource1) ...
                                  nodejs (12.17.0-1nodesource1) wird eingerichtet ...
                                  Trigger für man-db (2.8.5-2) werden verarbeitet ...
                                  pi@raspberrypi4-iob:~ $ nodejs -v && node -v && npm -v
                                  v12.17.0
                                  -bash: /usr/sbin/node: Datei oder Verzeichnis nicht gefunden
                                  pi@raspberrypi4-iob:~ $ which nodejs && which node && which npm
                                  /usr/bin/nodejs
                                  /usr/bin/node
                                  /usr/bin/npm
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @r0b1zZle last edited by

                                    @r0b1zZle
                                    Starte die ganze Kiste mal durch.

                                    sudo reboot
                                    
                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      r0b1zZle @Thomas Braun last edited by

                                      @Thomas-Braun Guter Hinweis! Scheint jetzt korrekt installiert zu sein!?

                                      pi@raspberrypi4-iob:~ $ nodejs -v && node -v && npm -v
                                      v12.17.0
                                      v12.17.0
                                      6.14.4
                                      pi@raspberrypi4-iob:~ $ which nodejs && which node && which npm
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      

                                      Leider immer noch der gleiche Fehler im BLE Adapter:

                                      
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.755	info	Restart adapter system.adapter.ble.0 because enabled
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.755	info	instance system.adapter.ble.0 terminated with code 0 (NO_ERROR)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.755	error	Caught by controller[2]: at Hci.emit (events.js:315:20)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.754	error	Caught by controller[2]: at NobleBindings.onAclDataPkt (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:288:15)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.754	error	Caught by controller[2]: at AclStream.push (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/acl-stream.js:33:10)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.754	error	Caught by controller[2]: at AclStream.emit (events.js:327:22)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.754	error	Caught by controller[2]: at Gatt.onAclStreamData (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.754	error	Caught by controller[2]: at Object.callback (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:329:10)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.754	error	Caught by controller[2]: at Gatt.emit (events.js:315:20)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.753	error	Caught by controller[2]: at NobleBindings.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:277:8)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.753	error	Caught by controller[2]: at NobleBindings.emit (events.js:315:20)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.753	error	Caught by controller[2]: at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.753	error	Caught by controller[2]: TypeError: Cannot set property 'mtu' of undefined
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.753	error	Caught by controller[1]: at Hci.emit (events.js:315:20)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.751	error	Caught by controller[1]: at NobleBindings.onAclDataPkt (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:288:15)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.751	error	Caught by controller[1]: at AclStream.push (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/acl-stream.js:33:10)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.751	error	Caught by controller[1]: at AclStream.emit (events.js:327:22)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.751	error	Caught by controller[1]: at Gatt.onAclStreamData (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.750	error	Caught by controller[1]: at Object.callback (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:329:10)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.750	error	Caught by controller[1]: at Gatt.emit (events.js:315:20)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.750	error	Caught by controller[1]: at NobleBindings.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:277:8)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.750	error	Caught by controller[1]: at NobleBindings.emit (events.js:315:20)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.750	error	Caught by controller[1]: at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18)
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.749	error	Caught by controller[1]: TypeError: Cannot set property 'mtu' of undefined
                                      host.raspberrypi4-iob	2020-05-28 00:00:03.746	error	Caught by controller[0]: noble: unknown peripheral 001a220754a6 connected!
                                      ble.0	2020-05-28 00:00:03.224	info	(1482) Terminated (NO_ERROR): Without reason
                                      ble.0	2020-05-28 00:00:03.223	info	(1482) terminating
                                      ble.0	2020-05-28 00:00:03.212	error	(1482) TypeError: Cannot set property 'mtu' of undefined at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18) at NobleBindings.emit (events.js:315:20) at Nobl
                                      ble.0	2020-05-28 00:00:03.211	error	(1482) uncaught exception: Cannot set property 'mtu' of undefined
                                      ble.0	2020-05-28 00:00:03.207	info	(1482) stopping scan
                                      ble.0	2020-05-28 00:00:03.205	error	(1482) TypeError: Cannot set property 'mtu' of undefined at Noble.onMtu (/opt/iobroker/node_modules/@abandonware/noble/lib/noble.js:564:18) at NobleBindings.emit (events.js:315:20) at Nobl
                                      ble.0	2020-05-28 00:00:03.203	error	(1482) uncaught exception: Cannot set property 'mtu' of undefined
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @r0b1zZle last edited by

                                        @r0b1zZle
                                        Zumindest ist jetzt node sauber. Zu den Fehlern kann ich nix sagen, das muss sich der Maintainer anschauen, scheint mir.
                                        Evtl. hilft aber der

                                        iobroker fix
                                        

                                        schon weiter.

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

                                          @Thomas-Braun Das habe ich vorhin auch schon versucht und jetzt auch nochmals. Hilft leider nicht. Danke dir für deine Hilfe!

                                          Es gab hier schon einmal ein ähnliches Problem. Die Empfehlung war dort, ein try / catch zu ergänzen (siehe hier). Leider weiß ich nicht, wie ich die beiden Javascript-Dateien manuell ändern kann.

                                          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

                                          576
                                          Online

                                          32.3k
                                          Users

                                          81.1k
                                          Topics

                                          1.3m
                                          Posts

                                          ble bluetooth adapter xiaomi
                                          4
                                          25
                                          1553
                                          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