Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter SourceAnalytix v0.2.x

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    893

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Test Adapter SourceAnalytix v0.2.x

Scheduled Pinned Locked Moved Tester
adaptertest
958 Posts 103 Posters 300.9k Views 71 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NegaleinN Offline
    NegaleinN Offline
    Negalein
    Global Moderator
    wrote on last edited by
    #352

    Hallo Dutchman!

    Erstmal danke für den Adapter. Sowas hab ich gesucht! :)

    Ich hab heute die Version 0.0.26 installiert! Hat auch einwandfrei funktioniert.

    Allerdings will der Adapter nicht starten!

    Bleibt immer auf "Rot" stehen!

    Hier ein Log dazu.

    host.ioBroker	2019-01-28 16:53:52.826	error	instance system.adapter.sourceanalytix.0 terminated with code 1 ()
    host.ioBroker	2019-01-28 16:53:52.826	error	Caught by controller[0]: at startup (bootstrap_node.js:160:9)
    host.ioBroker	2019-01-28 16:53:52.826	error	Caught by controller[0]: at run (bootstrap_node.js:394:7)
    host.ioBroker	2019-01-28 16:53:52.826	error	Caught by controller[0]: at Module.runMain (module.js:611:10)
    host.ioBroker	2019-01-28 16:53:52.826	error	Caught by controller[0]: at Function.Module._load (module.js:445:3)
    host.ioBroker	2019-01-28 16:53:52.826	error	Caught by controller[0]: at tryModuleLoad (module.js:453:12)
    host.ioBroker	2019-01-28 16:53:52.826	error	Caught by controller[0]: at Module.load (module.js:494:32)
    host.ioBroker	2019-01-28 16:53:52.825	error	Caught by controller[0]: at Object.Module._extensions..js (module.js:586:10)
    host.ioBroker	2019-01-28 16:53:52.825	error	Caught by controller[0]: at Module._compile (module.js:549:28)
    host.ioBroker	2019-01-28 16:53:52.825	error	Caught by controller[0]: at Object.runInThisContext (vm.js:97:10)
    host.ioBroker	2019-01-28 16:53:52.825	error	Caught by controller[0]: at createScript (vm.js:56:10)
    host.ioBroker	2019-01-28 16:53:52.825	error	Caught by controller[0]: SyntaxError: Unexpected token function
    host.ioBroker	2019-01-28 16:53:52.825	error	Caught by controller[0]: ^^^^^^^^
    host.ioBroker	2019-01-28 16:53:52.825	error	Caught by controller[0]: async function calculation_handler(id){
    host.ioBroker	2019-01-28 16:53:52.824	error	Caught by controller[0]: /opt/iobroker/node_modules/iobroker.sourceanalytix/main.js:297
    

    ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
    ° Node.js Fixer ---> iob nodejs-update
    ° Fixer ---> iob fix

    1 Reply Last reply
    0
    • DutchmanD Offline
      DutchmanD Offline
      Dutchman
      Developer Most Active Administrators
      wrote on last edited by
      #353

      Hey Negalein,

      Welche node Version benutzt du ?

      ( Auf console node -v Eingeben)

      Sent from my iPhone using Tapatalk

      1 Reply Last reply
      0
      • NegaleinN Offline
        NegaleinN Offline
        Negalein
        Global Moderator
        wrote on last edited by
        #354

        @Dutchman:

        Welche node Version benutzt du ? `

        v6.14.4

        Ah, gerade auf GIT gesehen, dass mind. Node 8 benötigt wird!

        ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
        ° Node.js Fixer ---> iob nodejs-update
        ° Fixer ---> iob fix

        1 Reply Last reply
        0
        • NegaleinN Offline
          NegaleinN Offline
          Negalein
          Global Moderator
          wrote on last edited by
          #355

          jetzt ist nur noch für mich (Anfänger) die Frage, wie ich es am einfachsten (ioBroker im Docker) upgedatet bekomme!

          Reicht "Node" oder muss was anderes auch noch upgedatet werden?

          Danke

          ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
          ° Node.js Fixer ---> iob nodejs-update
          ° Fixer ---> iob fix

          1 Reply Last reply
          0
          • DutchmanD Offline
            DutchmanD Offline
            Dutchman
            Developer Most Active Administrators
            wrote on last edited by
            #356

            @Negalein:

            jetzt ist nur noch für mich (Anfänger) die Frage, wie ich es am einfachsten (ioBroker im Docker) upgedatet bekomme!

            Reicht "Node" oder muss was anderes auch noch upgedatet werden?

            Danke `

            Im docker ?

            Backup machen, neuen Container ziehen und Backup zurück.

            Soweit ich weis haben die neueren docker Images node8

            Sent from my iPhone using Tapatalk

            1 Reply Last reply
            0
            • NegaleinN Offline
              NegaleinN Offline
              Negalein
              Global Moderator
              wrote on last edited by
              #357

              @Dutchman:

              Im docker ?

              Backup machen, neuen Container ziehen und Backup zurück.

              Soweit ich weis haben die neueren docker Images node8 `

              Ah danke!

              ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
              ° Node.js Fixer ---> iob nodejs-update
              ° Fixer ---> iob fix

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Brati
                wrote on last edited by
                #358

                Hallo,

                wie kann ich zu einem Wert alle Daten löschen. Hab meine Wasseruhr eingebunden und den Wert im Nachhinein korrigiert, jetzt natürlich einen Verbrauch von "-34.000m³". Objekte löschen half nicht, Adapter löschen auch nicht… Die Werte als Anfangswerte eintragen hat er auch nicht übernommen...

                Grüße

                Brati

                CCU2 - 46 Geräte, ioBroker auf Intel NUC (DN2820FYKH) mit Tab als Frontend, Projekt Gartenhaus mit HM

                1 Reply Last reply
                0
                • Palm_ManiacP Offline
                  Palm_ManiacP Offline
                  Palm_Maniac
                  wrote on last edited by
                  #359

                  Wie hast du denn deine Wasseruhr eingebunden? Wie liest du sie aus?

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Brati
                    wrote on last edited by
                    #360

                    @Palm_Maniac:

                    Wie hast du denn deine Wasseruhr eingebunden? Wie liest du sie aus? `

                    viewtopic.php?t=3226#p44314

                    Läuft mittlerweile zuverlässig und die Temperatur im Wasserkessel wird auch übermittelt.

                    Grüße Brati

                    CCU2 - 46 Geräte, ioBroker auf Intel NUC (DN2820FYKH) mit Tab als Frontend, Projekt Gartenhaus mit HM

                    1 Reply Last reply
                    0
                    • DutchmanD Offline
                      DutchmanD Offline
                      Dutchman
                      Developer Most Active Administrators
                      wrote on last edited by
                      #361

                      @Brati:

                      Hallo,

                      wie kann ich zu einem Wert alle Daten löschen. Hab meine Wasseruhr eingebunden und den Wert im Nachhinein korrigiert, jetzt natürlich einen Verbrauch von "-34.000m³". Objekte löschen half nicht, Adapter löschen auch nicht… Die Werte als Anfangswerte eintragen hat er auch nicht übernommen...

                      Grüße

                      Brati `

                      Adapter stoppen, im SourceAnalytix Baum bei der device auf Papierkorb klicken jetzt wird alles zu dieser device gelöscht.

                      Dan Adapter wieder starten, alle states werden neu erstellt mit lehren werten.

                      Deine neuen Startwerte bleiben anwesend das diese auf dem state des Wertes eingestellt werden

                      PS : musst du in Liter oder m3?

                      Startwerte sind immer Kilo also wen du Liter hast da den werten geteilt durch 1000 eintragen!

                      Sent from my iPhone using Tapatalk

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        Brati
                        wrote on last edited by
                        #362

                        @Dutchman:

                        PS : musst du in Liter oder m3?

                        Startwerte sind immer Kilo also wen du Liter hast da den werten geteilt durch 1000 eintragen! `

                        Das war der Knackpunkt. Steht jetzt ordentlich auf 0. Die Objekte zeigen allerdings "m³" an, obwohl ich "l" ausgewählt habe.

                        Grüße

                        Brati

                        CCU2 - 46 Geräte, ioBroker auf Intel NUC (DN2820FYKH) mit Tab als Frontend, Projekt Gartenhaus mit HM

                        1 Reply Last reply
                        0
                        • DutchmanD Offline
                          DutchmanD Offline
                          Dutchman
                          Developer Most Active Administrators
                          wrote on last edited by
                          #363

                          @Brati:

                          Das war der Knackpunkt. Steht jetzt ordentlich auf 0. Die Objekte zeigen allerdings "m³" an, obwohl ich "l" ausgewählt habe. `

                          Wie erwähnt die Berechnungen sind immer in Kilo also diesem Fall m3.

                          Die Eingabe von Liter ist nötig damit der Adapter weiß was er zur Berechnung nutzen soll ( l oder m3)

                          Sent from my iPhone using Tapatalk

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            Basti131
                            wrote on last edited by
                            #364

                            Ich wollte den Adapter grade im Multihost nutzen, da erhalte ich im Log den Fehler:

                            startInstance system.adapter.sourceanalytix.0: required adapter "admin" not found!
                            
                            

                            Hab die Instanz dann auf den Host gepackt, wo admin liegt, hat aber auch nichts gebracht. Dann Instanz deinstalliert und versucht neu zu installieren auf dem admin- Host, allerdings schließt sich dann das Fenster wo man den Host und die Instanznummer auswählt und nichts passiert.

                            Adapter komplett deinstalliert, neu installiert, neue Instanz auf adminHost versucht zu installieren:, Einstellungs- Fenster schließt sich wieder und Instanz wird nicht installiert.

                            1 Reply Last reply
                            0
                            • DutchmanD Offline
                              DutchmanD Offline
                              Dutchman
                              Developer Most Active Administrators
                              wrote on last edited by
                              #365

                              Kan das jemand reproduzieren ?

                              Sent from my iPhone using Tapatalk

                              1 Reply Last reply
                              0
                              • K Offline
                                K Offline
                                Kueppert
                                wrote on last edited by
                                #366

                                @Dutchman:

                                Kan das jemand reproduzieren ?

                                Sent from my iPhone using Tapatalk ` Ich denke, du willst keine Rückmeldung ala "nein, bei mir läuft alles…" ;D

                                Gesendet von meinem EML-L29 mit Tapatalk

                                UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                                1 Reply Last reply
                                0
                                • 2 Offline
                                  2 Offline
                                  2hot4you
                                  wrote on last edited by
                                  #367

                                  Hallo Dutchman,

                                  cooler Adapter. Läuft bei mir bis jetzt ohne Probleme, jedoch habe ich bei der Weiterverarbeitung ein Problem

                                  Ich möchte das die zwei Datenpunkte

                                  sourceanalytix.0.sonoff__0__SDM220_DG__ENERGY_Total.delivery.01_current_day und

                                  sourceanalytix.0.sonoff__0__SDM220_EG__ENERGY_Total.delivery.01_current_day

                                  am Tagesende seinen Wert in eine Variable fest einträgt, sodass ich über den Flot Adapter mir einen Graf mittels

                                  History Adapter über den Wochenverbrauch anzeigen kann. Ich hatte schon mit einem Script versucht, aber

                                  da komme ich nicht weiter, bin noch am Anfang mit Scripte schreiben. Irgendwie wird nichts eingetragen.

                                  Kannst Du mir da weiter helfen ? :D

                                  `var path = 'sourceanalytix.'; // Pfad der String-Datenpunkte
                                  var listd = ['VerbrauchStromTagDG','VerbrauchStromTagEG'];
                                  
                                  for(i = 0; i < listd.length; i++){
                                    createState(path+listd[i], 0, {
                                      read: true,
                                      write: true,
                                      name: 'Tagesverbrauchswert',
                                      type: 'string',
                                      def: '0'
                                    });
                                  }
                                  
                                  schedule('11 59 30 * * *', function(){ 
                                    setState(path+listd[0], getState('sourceanalytix.0.sonoff__0__SDM220_DG__ENERGY_Total.delivery.01_current_day').val); // Strom OG
                                    setState(path+listd[0], getState('sourceanalytix.0.sonoff__0__SDM220_EG__ENERGY_Total.delivery.01_current_day').val); // Strom EG
                                  });` 
                                  
                                  Gruß Michael[/i]
                                  
                                  1 Reply Last reply
                                  0
                                  • B Offline
                                    B Offline
                                    Basti131
                                    wrote on last edited by
                                    #368

                                    @Kueppert:

                                    @Dutchman:

                                    Kan das jemand reproduzieren ?

                                    Sent from my iPhone using Tapatalk ` Ich denke, du willst keine Rückmeldung ala "nein, bei mir läuft alles…" ;D

                                    Gesendet von meinem EML-L29 mit Tapatalk `

                                    Hast du die Instanz auch in nem Multihost- System auf dem Slave laufen?

                                    1 Reply Last reply
                                    0
                                    • C Offline
                                      C Offline
                                      Creator
                                      wrote on last edited by
                                      #369

                                      Ich wollte gerade deinen Adapter ( 0.2.27 ) testen.

                                      In der Oberfläche über GIT installiert soweit alles gut.

                                      Möchte ich jetzt aber eine Instanz hinzufügen, bekommen ich folgendes:

                                      Fertig mit Fehler: /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:799 if (adapter.substring(0, appName.length + 1) === appName + '.') { ^ TypeError: Cannot read property 'substring' of undefined at Object.getAdapterDir (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:799:17) at Install.createInstance (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:683:34) at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:529:34) at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9) at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12) at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15) at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20) at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8) at Decoder. (/opt/iobroker/node_modules/component-bind/index.js:21:15) at Decoder.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20) 
                                      

                                      Und noch was:

                                      ERROR: /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:799    if (adapter.substring(0, appName.length + 1) === appName + '.') {
                                                      ^
                                      
                                      TypeError: Cannot read property 'substring' of undefined
                                          at Object.getAdapterDir (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:799:17)
                                          at Install.createInstance (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:683:34)
                                          at Socket. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:529:34)
                                          at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
                                          at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
                                          at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                          at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                                          at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8)
                                          at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                          at Decoder.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                                      
                                      ERROR: process exited with code 1</anonymous></anonymous></anonymous> 
                                      

                                      Fehlt mir was?

                                      Node ist auf 8.15 glaub. Sollte also alles passen.

                                      1 Reply Last reply
                                      0
                                      • DutchmanD Offline
                                        DutchmanD Offline
                                        Dutchman
                                        Developer Most Active Administrators
                                        wrote on last edited by
                                        #370

                                        Bitte auf 0.2.26 bleiben da ist was schief gegangen :)

                                        Also bis auf weiteres Bitte nur per Admin installieren und nicht git

                                        Sent from my iPhone using Tapatalk

                                        1 Reply Last reply
                                        0
                                        • lobomauL Offline
                                          lobomauL Offline
                                          lobomau
                                          wrote on last edited by
                                          #371

                                          Ich wollte auch mal testen und hatte den 0.2.27 mit den Fehlern. Nun versuche ich den zu löschen um auf 0.2.26 zu kommen.

                                          Mit wenig Erfolg. Ein Rechteproblem?

                                          > user "root" does not have permission to access the dev dir "/home/iobroker/.node-gyp/8.15.0"gyp

                                          ! ````
                                          $ ./iobroker add sourceanalytix --host iobroker-ubuntu
                                          NPM version: 6.4.1
                                          npm install iobroker.sourceanalytix --production --save --prefix "/opt/iobroker" (System call)
                                          npm notice created a lockfile as package-lock.json. You should commit this file.
                                          node-pre-gyp
                                          WARN Using request for node-pre-gyp https download
                                          node-pre-gyp WARN Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.5.0/usb_bindings-v1.5.0-node-v57-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@8.15.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
                                          ! gyp
                                          WARN EACCES user "root" does not have permission to access the dev dir "/home/iobroker/.node-gyp/8.15.0"gyp
                                          WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/usb/.node-gyp"
                                          make: *** No rule to make target '../.node-gyp/8.15.0/include/node/common.gypi', needed by 'Makefile'. Stop.
                                          gyp

                                          ERR! build error
                                          gyp ERR!
                                          stack Error: make failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                          gyp ERR! stack at emitTwo (events.js:126:13)

                                          ! gyp ERR! stack at ChildProcess.emit (events.js:214:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                                          gyp
                                          ERR! System Linux 4.15.0-45-genericgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v57"
                                          ! gyp ERR! cwd /opt/iobroker/node_modules/usbgyp ERR! node -v v8.15.0
                                          ! gyp ERR! node-gyp -v v3.8.0gyp ERR! not ok
                                          ! node-pre-gyp ERR! build error

                                          node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                          node-pre-gyp ERR! stack
                                          at emitTwo (events.js:126:13)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
                                          node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
                                          node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

                                          ! node-pre-gyp ERR!

                                          System Linux 4.15.0-45-generic
                                          node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp
                                          ERR! cwd /opt/iobroker/node_modules/usbnode-pre-gyp ERR! node -v v8.15.0
                                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                          node-pre-gyp ERR! not ok

                                          ! node-pre-gyp
                                          WARN Using request for node-pre-gyp https download
                                          node-pre-gyp
                                          WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v57-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@8.15.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
                                          ! gyp
                                          WARN EACCES user "root" does not have permission to access the dev dir "/home/iobroker/.node-gyp/8.15.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/.node-gyp"
                                          ! make: *** No rule to make target '../.node-gyp/8.15.0/include/node/common.gypi', needed by 'Makefile'. Stop.
                                          gyp
                                          ERR! build error
                                          gyp
                                          ERR! stack Error: make failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
                                          gyp ERR! stack at emitTwo (events.js:126:13)
                                          gyp ERR! stack at ChildProcess.emit (events.js:214:7)
                                          gyp
                                          ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
                                          gyp ERR! System Linux 4.15.0-45-generic
                                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v57"gyp ERR! cwd
                                          /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socketgyp ERR! node -v v8.15.0
                                          gyp ERR! node-gyp -v v3.8.0
                                          gyp
                                          ERR! not ok
                                          node-pre-gyp ERR! build error
                                          node-pre-gyp ERR!
                                          stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node --module_name=binding --module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                          node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
                                          node-pre-gyp
                                          ERR! stack at ChildProcess.emit (events.js:214:7)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
                                          node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
                                          ! node-pre-gyp
                                          ERR! System Linux 4.15.0-45-genericnode-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                          ! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socketnode-pre-gyp ERR! node -v v8.15.0
                                          node-pre-gyp
                                          ERR! node-pre-gyp -v v0.12.0node-pre-gyp ERR! not ok
                                          ! npm
                                          WARN onvif-snapshot@1.0.2 requires a peer of onvif@^0.5.5 but none is installed. You must install peer dependencies yourself.
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm
                                          WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 (node_modules/usb):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 install: node-pre-gyp install --fallback-to-build
                                          ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1npm WARN optional
                                          SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 (node_modules/@abandonware/bluetooth-hci-socket):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 install: node-pre-gyp install --fallback-to-build
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                          ! host.iobroker-ubuntu install adapter sourceanalytix
                                          got /opt/iobroker/node_modules/iobroker.sourceanalytix/admin
                                          upload [17] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/words.js words.js application/javascript
                                          upload [16] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/tsconfig.json tsconfig.json application/json
                                          upload [15] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/style.css style.css text/css
                                          upload [14] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/sourceanalytix.png sourceanalytix.png image/png
                                          upload [13] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/settings_open.png settings_open.png image/png
                                          upload [12] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/settings_details.png settings_details.png image/png
                                          upload [11] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/index_m.html index_m.html text/html
                                          upload [10] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                                          upload [9] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                          upload [8] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                          upload [7] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                          upload [6] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                          upload [5] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                          upload [4] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                          upload [3] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                          upload [2] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                          upload [1] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                          upload [0] sourceanalytix.admin /opt/iobroker/node_modules/iobroker.sourceanalytix/admin/custom_m.html custom_m.html text/html
                                          ERROR: /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:805 if (adapter.substring(0, appName.length + 1) === appName + '.') {
                                          ^
                                          ! TypeError: Cannot read property 'substring' of undefined
                                          at Object.getAdapterDir (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:805:17)
                                          at Install.createInstance (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:672:34)
                                          at Socket.objects.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:522:34)
                                          at Socket.onack (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:312:9)
                                          at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:236:12)
                                          at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                          at Manager.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20)
                                          at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                                          at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                          at Decoder.Emitter.emit (/opt/iobroker/node_modules/socket.io-parser/node_modules/component-emitter/index.js:134:20)
                                          ! ERROR: process exited with code 1</anonymous></anonymous></anonymous></anonymous>

                                          Host: NUC8i3 mit Proxmox:

                                          • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                                          • Slave: Pi4
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          542

                                          Online

                                          32.6k

                                          Users

                                          82.1k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe