Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Testinstallation unter Node 12.6.0

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Testinstallation unter Node 12.6.0

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

      Hallo zusammen,
      ich habe mal ein übrig gebliebenes Tinkerboard S als Testsystem mißbraucht und IObroker neu unter Node 12.6.0 installiert.
      Im Moment wird das Backup der produktiven IObroker-Installation eingespielt.
      Ich werde dann weiter unten meine Erfahrungsberichte posten.
      Gruß,
      Mathias

      1 Reply Last reply Reply Quote 2
      • MathiasJ
        MathiasJ last edited by MathiasJ

        Folgende Adapter laufen nicht:
        Radar2 (IP und MAC werden erkannt, bluetooth jedoch nicht mit Noble.
        BLE Scan unter hcitool funktioniert.
        BLE bleibt rot Hier kein BT-Scan möglich. (Wahrscheinlich liegt das an Noble)
        Selbstverständlich arbeite ich hier mit BT-Dongles, weil das UART-Modul fehlerbehaftet ist.
        Gruß,
        Mathias

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

          Und was läuft jetzt alles? Auch die positiven Sachen nennen. 😎

          MathiasJ 1 Reply Last reply Reply Quote 0
          • MathiasJ
            MathiasJ @Stabilostick last edited by MathiasJ

            @Stabilostick
            Hast ja recht.
            Es laufen admin, backitup, broadlink2, daswetter, hm-rega, hm-rpc, info, javascript, Landroid, mihome, mihome-vacuum, octoprrint, paw, pushbullet, pushover, radar hcitool only, scenes, simple-api, sonoff, tr-064, tr-064- ommunity, web, zigbee.

            BLE funktioniert nicht, hat wahrscheinlich Probleme mit Noble. deshalb geht auch Radar2 nicht mit Noble, sondern mit hcitool only,

            Andere Adapter konnte ich mangels Gerätschaften nicht testen.

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

              @MathiasJ Meine CI-Tests behaupten, dass BLE funktioniert. Ich habe es selbst noch nicht getestet. Kannst du mir Logs von der Ausführung und Installation schicken?

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

                @AlCalzone

                Sorry, daß ich erst jetzt Zeit hatte.
                unter Radar2,only hcitool lescan disabled:

                radar2.0	2019-07-12 05:52:54.369	debug	system.adapter.admin.0: logging false
                radar2.0	2019-07-12 05:52:58.148	warn	Neither noble nor hcitool available to scan bluetooth!
                

                Radar2 only hcitool enabled:

                radar2.0	2019-07-12 08:03:08.545	debug	system.adapter.admin.0: logging true
                

                BLE:

                host.tinkerboard	2019-07-12 05:57:08.717	info	Do not restart adapter system.adapter.ble.1 because desired by instance
                host.tinkerboard	2019-07-12 05:56:30.425	error	instance system.adapter.ble.1 terminated by request of the instance itself and will not be restarted, before user restarts it.
                
                AlCalzone 1 Reply Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer @MathiasJ last edited by

                  @MathiasJ sagte in Testinstallation unter Node 12.6.0:

                  BLE:
                  host.tinkerboard 2019-07-12 05:57:08.717 info Do not restart adapter system.adapter.ble.1 because desired by instance
                  host.tinkerboard 2019-07-12 05:56:30.425 error instance system.adapter.ble.1 terminated by request of

                  Sonst nix? Das sind Ausgaben von ioBroker selbst, nicht dem Adapter.

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

                    @AlCalzone
                    Vom Adapter kommt trotz debug nix.
                    Das ist ja das Problem.
                    Den fix habe ich nochmal ausgeführt. Hat nur nichts gebracht.

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @MathiasJ last edited by

                      @MathiasJ

                      Aber du hast schon bei der Instanz die logstufe auf debug gestellt?
                      Nicht nur im Log den Filter?

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

                        Ich erwarte eher was im Loglevel "error":

                        adapter.log.error(`Terminating because ${reason}`);
                        
                        MathiasJ 1 Reply Last reply Reply Quote 0
                        • MathiasJ
                          MathiasJ @AlCalzone last edited by

                          @AlCalzone
                          Ja erst admin eingestellt, sonst sieht mans net.
                          Das Resultot kennst Du ja.....

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

                            @MathiasJ Ok wenn du da nichts siehst, erkennt man ggf. auf der Konsole was. Dazu bitte den Adapter anhalten und folgendes ausführen:

                            cd /opt/iobroker/node_modules/iobroker.ble
                            node build/main.js --force --logs
                            

                            Kannst du im Zweifel mit Strg+C wieder beenden.

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

                              @AlCalzone sagte in Testinstallation unter Node 12.6.0:

                              node build/main.js --force --logs

                              Im ble-Adapter kommt das:

                              root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble# node build/main.js --force --logs
                              starting. Version 0.7.4 in /opt/iobroker/node_modules/iobroker.ble, node: v12.6.0
                              loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                              enabled plugins: mi-flora, _default
                              monitored services: fe95
                              Terminating because Cannot find module '@abandonware/bluetooth-hci-socket'
                              Require stack:
                              - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
                              - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
                              - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
                              - /opt/iobroker/node_modules/@abandonware/noble/index.js
                              - /opt/iobroker/node_modules/iobroker.ble/build/main.js
                              root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble#
                              

                              Im Radar kommt das:

                              
                              root@tinkerboard:~# cd /opt/iobroker/node_modules/iobroker.radar2
                              root@tinkerboard:/opt/iobroker/node_modules/iobroker.radar2# node build/main.js --force --logs
                              internal/modules/cjs/loader.js:628
                                  throw err;
                                  ^
                              
                              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.radar2/build/main.js'
                                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
                                  at Function.Module._load (internal/modules/cjs/loader.js:527:27)
                                  at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)
                                  at internal/main/run_main_module.js:17:11 {
                                code: 'MODULE_NOT_FOUND',
                                requireStack: []
                              }
                              

                              Gruß,
                              Mathias

                              Stabilostick 1 Reply Last reply Reply Quote 0
                              • Stabilostick
                                Stabilostick @MathiasJ last edited by Stabilostick

                                @MathiasJ sagte in Testinstallation unter Node 12.6.0:

                                Probiere mal

                                npm i @abandonware/bluetooth-hci-socket
                                

                                im ioBroker-Ordner. Siehe auch https://www.npmjs.com/package/@abandonware/bluetooth-hci-socket

                                MathiasJ 1 Reply Last reply Reply Quote 0
                                • MathiasJ
                                  MathiasJ @Stabilostick last edited by MathiasJ

                                  @Stabilostick

                                  Ausgabe:

                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: `node-pre-gyp instal                                                                                                                                                             l --fallback-to-build`
                                  npm ERR! Exit status 1
                                  npm ERR!
                                  npm ERR! Failed at the @abandonware/bluetooth-hci-socket@0.5.3-1 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional log                                                                                                                                                             ging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /root/.npm/_logs/2019-07-14T17_43_34_011Z-debug.log
                                  

                                  Eingabe:
                                  cd /opt/iobroker/node_modules/iobroker.adaptername
                                  node build/main.js --force --logs

                                  Ausgabe:

                                  root@tinkerboard:~# cd /opt/iobroker/node_modules/iobroker.ble
                                  root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble# node build/main.js --force --logs
                                  starting. Version 0.7.4 in /opt/iobroker/node_modules/iobroker.ble, node: v12.6.0
                                  loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                  enabled plugins: mi-flora, _default
                                  monitored services: fe95
                                  Terminating because Cannot find module '@abandonware/bluetooth-hci-socket'
                                  Require stack:
                                  - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
                                  - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
                                  - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
                                  - /opt/iobroker/node_modules/@abandonware/noble/index.js
                                  - /opt/iobroker/node_modules/iobroker.ble/build/main.js
                                  root@tinkerboard:/opt/iobroker/node_modules/iobroker.ble#
                                  
                                  

                                  Gruß,
                                  Mathias

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

                                    @MathiasJ sagte in Testinstallation unter Node 12.6.0:

                                    npm ERR! code ELIFECYCLE
                                    npm ERR! errno 1
                                    npm ERR! @abandonware/bluetooth-hci-socket@0.5.3-1 install: node-pre-gyp instal l --fallback-to-build
                                    npm ERR! Exit status 1

                                    Dann müsste vorher ein Fehler im Log stehen. Hier steht nur dass es nicht geklappt hat.

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

                                      @AlCalzone
                                      Die sichtbaren Fehler im Log hast Du schon bzw ich gucke heute abend nochmal nach.
                                      Bin auf dem Weg zur Arbeit

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

                                        @MathiasJ Alles klar. Wir wissen jetzt schon mal, dass es an der fehlgeschlagenen Installation von @abandonware/bluetooth-hci-socket liegt. Wenn die klappt, sollten auch beide Adapter laufen.

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

                                          @AlCalzone

                                          hier noch mal der Log:
                                          instanz BLE = debug
                                          Log = debug

                                          host.tinkerboard	2019-07-16 07:36:32.053	info	Do not restart adapter system.adapter.ble.1 because desired by instance
                                          host.tinkerboard	2019-07-16 07:36:32.053	error	instance system.adapter.ble.1 terminated by request of the instance itself and will not be restarted, before user restarts it.
                                          ble.1	2019-07-16 07:36:31.986	info	loaded plugins: Xiaomi, mi-flora, ruuvi-tag, _default
                                          ble.1	2019-07-16 07:36:31.896	info	starting. Version 0.7.4 in /opt/iobroker/node_modules/iobroker.ble, node: v12.6.0
                                          ble.1	2019-07-16 07:36:31.852	debug	statesDB connected
                                          ble.1	2019-07-16 07:36:31.824	debug	objectDB connected
                                          

                                          Gruß,
                                          Mathias

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

                                            @MathiasJ Nur damit wir vom gleichen reden... ich meine den Log der Installation des BLE-Adapters bzw. hci-socket.

                                            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

                                            924
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            node 12 testsystem
                                            5
                                            41
                                            3385
                                            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