Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. INFO / ACHTUNG : Zwave-Adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    INFO / ACHTUNG : Zwave-Adapter

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

      Wie ist denn so der allgemeine Stand des Adapters. Ich frage weil mich das Thema Central Scene interessiert und mein NodOn Octane noch nicht funktioniert... Kommt da was oder sollte schon gehen?

      Danke für die Info!

      C 1 Reply Last reply Reply Quote 0
      • Micha
        Micha last edited by Micha

        Schließe mich dem Vorredner mal an.
        Die zwave Installation schlägt fehl auf einen Raspberry 4 mit dem iobroker Image pi_vccu 20190723_buster.

        Gibt es dafür schon eine Lösung?
        @AlCalzone

        Edit
        Fehlermeldung beim hinzufügen der Instanz

        $ ./iobroker add zwave --host raspberrypi
        host.raspberrypi install adapter zwave
        npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.zwave"
        npm

        WARN
        checkPermissions
        Missing write access to /opt/iobroker/node_modules/iobroker.zwave
        npm
        ERR! path
        /opt/iobroker/node_modules/iobroker.zwavenpm ERR! code
        EACCESnpm ERR!
        errno -13npm ERR!
        syscall access
        npm
        ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.zwave'npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.zwave']
        npm ERR! stack:
        npm ERR!
        'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.zwave'',npm ERR! errno: -13,
        npm ERR! code: 'EACCES',
        npm ERR! syscall: 'access',
        npm ERR! path: '/opt/iobroker/node_modules/iobroker.zwave' }
        npm ERR!
        npm ERR! The operation was rejected by your operating system.
        npm ERR! It is likely you do not have the permissions to access this file as the current user
        npm ERR!
        npm ERR! If you believe this might be a permissions issue, please double-check the
        npm ERR! permissions of the file and its containing directories, or try running
        npm
        ERR! the command again as root/Administrator (though this is not recommended).

        npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2019-09-16T19_50_09_155Z-debug.log

        Cannot install iobroker.zwave: 243
        ERROR: process exited with code 25

        VG Micha

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

          Mit „permission denied“ steht doch um Log schon ziemlich genau was nicht stimmt...
          Mein Vorschlag: Den Fixer laufen lassen (wenn unbekannt, dann Forumsuche) und noch mal versuchen...

          Micha 1 Reply Last reply Reply Quote 0
          • C
            cburghardt @snador last edited by

            @snador Central Scene wird mittlerweile von openzwave vernünftig unterstützt. Ob es auch mit dem Adapter funktioniert, werde ich demnächst mal testen.

            1 Reply Last reply Reply Quote 0
            • Micha
              Micha @eumats last edited by

              @eumats said in INFO / ACHTUNG : Zwave-Adapter:

              Mit „permission denied“ steht doch um Log schon ziemlich genau was nicht stimmt...
              Mein Vorschlag: Den Fixer laufen lassen (wenn unbekannt, dann Forumsuche) und noch mal versuchen...

              Vielen Dank für den Suchvorschlag.
              Ich habe sowohl den fix durchgeführt als auch das Forum durchsucht. Das es hier was mit den Rechten zu tun hat sehe ich auch.
              Selbst wenn ich den Befehl in der Konsole als Admin eingebe kommt der gleiche Fehler.

              Grundsätzlich geht es hier um ein Installationsproblem unter Buster.
              Wie oben empfohlen habe ich den zwave per
              npm i iobroker.zwave installiert und dann mit
              Iobroker upload zwave eingespielt.
              Dann auch den npm audit fix ausgeführt und über das UI dann die Instanz installieren wollen.
              Laut Anzeige ist zwave auch installiert aber keine Instanz.

              Iobroker add zwave bringt auch nichts außer den Fehler.

              VG Micha

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

                @Micha npm audit fix != fixer
                Führe den fixer nochmal aus und probiere dann eine Instanz hinzuzufügen.

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

                  Hallo @AlCalzone ,
                  leider führt auch dieser Weg nicht zu dem gewünschten Erfolg.
                  Habe nochmals ein frisches Image genommen und wollte den Zwave Adapter installieren.
                  Die Installation auf der UI von Iobroker endet mit folgenden Fehler.

                  Fertig mit Fehler: fs.js:114 throw err; ^ Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.zwave/iob_npm.done' at Object.openSync (fs.js:443:3) at Object.writeFileSync (fs.js:1194:35) at ChildProcess.child.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2938:20) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)

                  der Fixer endet mit folgenden Fehler.

                  pi@raspberrypi:/opt/iobroker $ sudo npm audit fix != fixer
                  npm ERR! code ELOCKVERIFY
                  npm ERR! Errors were found in your package-lock.json, run npm install to fix them.
                  npm ERR! Missing: iobroker.b-control-em@^0.2.1
                  npm ERR! Missing: iobroker.node-red@^1.9.0

                  npm ERR! A complete log of this run can be found in:
                  npm ERR! /root/.npm/_logs/2019-09-29T11_47_52_769Z-debug.log

                  Komme da irgendwie nicht weiter.
                  auf dem Raspi 3B läuft der Adapter.
                  Hast du noch ne Idee für mich ?

                  VG Micha

                  arteck AlCalzone 2 Replies Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active @Micha last edited by

                    @Micha welche js-controller version hast du ??

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

                      @Micha sagte in INFO / ACHTUNG : Zwave-Adapter:

                      sudo npm audit fix != fixer

                      Das ist kein Befehl. Das sollte heißen dass npm audit fix NICHT der Fixer ist, von dem überall gesprochen wird. Der Fixer wird wie folgt ausgeführt, sollte aber auf einer frischen Installation nicht nötig sein:

                      curl -sL https://iobroker.net/fix.sh | bash -
                      
                      1 Reply Last reply Reply Quote 0
                      • S
                        slax last edited by slax

                        Hallo zusammen,

                        nachdem Update auf Version 1.6.3 läuft der Zwave-Adapter nun nicht mehr.

                        Fehler im Log ist folgender:

                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/lib/../build/Release/openzwave_shared.node' at Function.Module._resolveFilename (module.js:548:15
                        
                        uncaught exception: Cannot find module '/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/lib/../build/Release/openzwave_shared.node'
                        

                        Den "Fixer"sowie nachfolgenden Code habe ich laufen lassen, jedoch ohne Erfolg.

                        cd /opt/iobroker/node_modules/openzwave-shared
                        
                        npm i --production
                        
                        sudo -H npm i --production --unsafe-perm 
                        

                        Dabei erfolgte die Fehlermeldung:

                        ../src/utils.cc: In function ‘void OZW::populateValueId(v8::Local<v8::Object>&, OpenZWave::ValueID)’:
                        ../src/utils.cc:248:49: error: ‘OpenZWave::Value’ has not been declared
                           AddStringProp (nodeobj, type,      OpenZWave::Value::GetTypeNameFromEnum(value.GetType()));
                                                                         ^
                        ../src/utils.hpp:36:25: note: in definition of macro ‘AddStringProp’
                           Nan::New<v8::String>( PROPVALUE ).ToLocalChecked());
                                                 ^~~~~~~~~
                        ../src/utils.cc:249:49: error: ‘OpenZWave::Value’ has not been declared
                           AddStringProp (nodeobj, genre,     OpenZWave::Value::GetGenreNameFromEnum(value.GetGenre()));
                                                                         ^
                        ../src/utils.hpp:36:25: note: in definition of macro ‘AddStringProp’
                           Nan::New<v8::String>( PROPVALUE ).ToLocalChecked());
                                                 ^~~~~~~~~
                        openzwave_shared.target.mk:122: die Regel für Ziel „Release/obj.target/openzwave_shared/src/utils.o“ scheiterte
                        make: *** [Release/obj.target/openzwave_shared/src/utils.o] Fehler 1
                        make: Verzeichnis „/opt/iobroker/node_modules/openzwave-shared/build“ wird verlassen
                        gyp ERR! build error
                        gyp ERR! stack Error: `make` failed with exit code: 2
                        gyp 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.14.98-v7+
                        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/openzwave-shared
                        gyp ERR! node -v v8.16.0
                        gyp ERR! node-gyp -v v3.8.0
                        gyp ERR! not ok
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! openzwave-shared@1.4.8 install: `node-gyp rebuild`
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the openzwave-shared@1.4.8 install script.
                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/pi/.npm/_logs/2019-10-05T12_37_22_303Z-debug.log
                        
                        

                        Habt ihr vielleicht noch einen Tipp?

                        Gruß

                        Slax

                        C 1 Reply Last reply Reply Quote 0
                        • kmxak
                          kmxak Most Active last edited by kmxak

                          sudo ldconfig
                          

                          hat bei mir geholfen

                          1 Reply Last reply Reply Quote 0
                          • C
                            cburghardt @slax last edited by

                            @slax warum der separate npm Aufruf, der kann nicht stimmen.
                            Bitte ein sudo ldconfig ausführen bzw. ldconfig /usr/local/lib64 (je nach System)

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

                              @cburghardt Doch kann möglicherweise Sinn machen, um die Installation der Dependency (openzwave-shared) neu anzustoßen.

                              1 Reply Last reply Reply Quote 0
                              • S
                                slax last edited by

                                Ich konnte das Problem nicht direkt mit nachträglichen Installationen lösen.

                                sudo ldconfig bzw. für lib64 hatten keinen direkten Erfolg.

                                Nachdem ich das Image mit iobroker neu aufgespielt und den Zwave-Adapter installiert hatte, funktionierte es nach einem ldconfig wieder.

                                Freue mich schon auf den Zwave2-Adapter 🙂

                                Gruß

                                slax

                                1 Reply Last reply Reply Quote 0
                                • B
                                  Bluelightcrew last edited by

                                  Ich hab seid dem update auf 1.6.3 probleme mit einer Steckdosenzwischenstecker.
                                  Sobald er eingesteckt ist bekomme ich folgende fehler meldungen:

                                  host.rock64	2019-10-21 22:57:57.675	warn	instance system.adapter.zwave.0 terminated due to SIGABRT
                                  host.rock64	2019-10-21 22:57:57.675	error	Caught by controller[1]: what(): Manager.cpp:1512 - InvalidValueIDError (101) Msg: Invalid ValueID passed to GetValueLabel
                                  host.rock64	2019-10-21 22:57:57.674	error	Caught by controller[0]: terminate called after throwing an instance of 'OpenZWave::OZWException'
                                  
                                  arteck 1 Reply Last reply Reply Quote 0
                                  • arteck
                                    arteck Developer Most Active @Bluelightcrew last edited by

                                    @Bluelightcrew excludiere den mal und includuere den neu.. da haben sich paar Datenpunkte geändert

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      Bluelightcrew @arteck last edited by

                                      @arteck
                                      Danke für den Tipp, hätte ich eigentlich auch selbst drauf kommen können. Probiere ich später mal aus.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        koema last edited by

                                        Hallo zusammen,

                                        ich habe beim zwave Adapter diesen Fehler:

                                        host.IOBrokerKoema02 2019-12-15 15:31:55.322 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' }
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.322 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.322 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.321 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.321 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:778:30)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.321 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/lib/openzwave-shared.js:27:19)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.320 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.320 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.320 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.319 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                                        host.IOBrokerKoema02 2019-12-15 15:31:55.318 error Caught by controller[0]: { Error: Cannot find module '/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/lib/../build/Release/openzwave_shared.node'
                                        zwave.0 2019-12-15 15:31:54.708 info (14335) Terminated (NO_ERROR): Without reason
                                        zwave.0 2019-12-15 15:31:54.706 info (14335) terminating
                                        zwave.0 2019-12-15 15:31:54.637 error (14335) Error: Cannot find module '/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/lib/../build/Release/openzwave_shared.node' at Function.Module._resolveFilename (internal
                                        zwave.0 2019-12-15 15:31:54.636 error (14335) uncaught exception: Cannot find module '/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/lib/../build/Release/openzwave_shared.node'

                                        Ich habe alle Anleitungen und Fixversuche durchgeführt. Ich habe Instanz und Adapter deinstalliert und neu installiert.

                                        Alles nutzt nix. Brauche Hilfe.

                                        Danke schon mal!

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

                                          @koema
                                          Hast du das schon probiert?

                                          cd /opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared
                                          npm install --production 
                                          
                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            koema @AlCalzone last edited by

                                            @AlCalzone sagte in INFO / ACHTUNG : Zwave-Adapter:

                                            npm install --production

                                            Hallo AlCalzone,

                                            danke für die Antwort. Bisher noch nicht.
                                            Habe es gerade probiert und der Fehler ist leider geblieben.

                                            Ich bin nahe dran den Pi neu aufzusetzen.

                                            MFG

                                            AlCalzone 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

                                            863
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            info
                                            20
                                            64
                                            9559
                                            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