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.
    • AlCalzone
      AlCalzone Developer @gery80 last edited by

      @gery80 Dann empfehle ich die Doku zu lesen:
      https://www.iobroker.net/#de/documentation/tutorial/adapter.md

      1 Reply Last reply Reply Quote 0
      • G
        gery80 last edited by

        danke hat funktioniert

        1 Reply Last reply Reply Quote 0
        • F
          fisch last edited by fisch

          hi @all

          kann mir jemand sagen was das genau beduetet?

          Inkludieren klappt ohne Probleme aber, sobald ich schalten will kommt das:

          zwave.0	2019-08-15 21:01:41.841	debug	node3: timeout
          zwave.0	2019-08-15 21:01:31.841	debug	node3: timeout
          zwave.0	2019-08-15 21:01:21.840	debug	node3: timeout
          zwave.0	2019-08-15 21:01:18.294	debug	system.adapter.admin.0: logging true
          zwave.0	2019-08-15 21:01:13.925	debug	setState for: nodeID=3: comClass=98: index=0: instance=1: value=true
          zwave.0	2019-08-15 21:01:13.925	debug	stateChange zwave.0.NODE3.DOOR_LOCK.Locked_1 set {"val":true,"ack":false,"ts":1565895673921,"q":0,"from":"system.adapter.node-red.0","user":"system.user.admin","lc":1565895673700}
          zwave.0	2019-08-15 21:01:13.782	debug	setState for: nodeID=3: comClass=98: index=0: instance=1: value=true
          zwave.0	2019-08-15 21:01:13.782	debug	stateChange zwave.0.NODE3.DOOR_LOCK.Locked_1 set {"val":true,"ack":false,"ts":1565895673779,"q":0,"from":"system.adapter.node-red.0","user":"system.user.admin","lc":1565895673700}
          zwave.0	2019-08-15 21:01:13.705	debug	setState for: nodeID=3: comClass=98: index=0: instance=1: value=true
          zwave.0	2019-08-15 21:01:13.704	debug	stateChange zwave.0.NODE3.DOOR_LOCK.Locked_1 set {"val":true,"ack":false,"ts":1565895673700,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1565895673700}
          zwave.0	2019-08-15 21:01:11.839	debug	setState for: nodeID=3: comClass=98: index=0: instance=1: value=false
          zwave.0	2019-08-15 21:01:11.838	debug	stateChange zwave.0.NODE3.DOOR_LOCK.Locked_1 set {"val":false,"ack":false,"ts":1565895671836,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1565891882149}
          zwave.0	2019-08-15 21:01:09.012	debug	system.adapter.admin.0: logging false
          zwave.0	2019-08-15 21:00:44.352	debug	system.adapter.admin.0: logging true
          zwave.0	2019-08-15 20:59:55.980	debug	fixing zwave buttons to use common.role "switch" instead of "button"
          zwave.0	2019-08-15 20:59:55.976	info	Scan completed
          zwave.0	2019-08-15 20:59:55.970	info	Update zwave.0.NODE3
          zwave.0	2019-08-15 20:59:55.970	info	node ready nodeID: 3, nodeInfo: {"manufacturer":"Poly-control","manufacturerid":"0x010e","product":"Danalock V3 BTZE","producttype":"0x0009","productid":"0x0001","type":"Door Lock Keypad","name":"","
          zwave.0	2019-08-15 20:59:55.969	debug	
          
          arteck 1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active @fisch last edited by

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

            NODE3

            scheint nicht erreichbar zu sein

            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            470
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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