Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Zwave 0.4

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Zwave 0.4

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

      Falls du noch nicht veröffentlich hast, dann probiere ich mich nachher noch an der Greenwave-Dose und gebe Feedback.

      @OstfrieseUnterwegs:

      Ich habe ja das Problem, dass alles, was über eine Drop-Down-Liste im Reiter 'Objekte' nicht gesetzt werden kann. `
      Seltsam… Bei mir geht das. Mein Aeotec-Sensor hat einige Parameter mit Dropdowns im Objekte-Reiter, die er einwandfrei annimmt.

      @OstfrieseUnterwegs:

      Allerdings per

      setState("zwave.0.NODE5.CONFIGURATION.Tamper_operating_modes"/*Tamper operating modes*/, 2, true);
      

      funktioniert das einwandfrei. `
      Bist du dir sicher, dass die Parameter so auch bei deinem Gerät ankommen? ACK=true bedeutet eigentlich, dass der Adapter keinen Finger mehr rührt, weil er davon ausgeht, dass die Änderungen schon bearbeitet sind.

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

        @AlCalzone:

        Bist du dir sicher, dass die Parameter so auch bei deinem Gerät ankommen? ACK=true bedeutet eigentlich, dass der Adapter keinen Finger mehr rührt, weil er davon ausgeht, dass die Änderungen schon bearbeitet sind. `

        :lol: Frisch behauptet ist halb bewiesen

        Im Objekte Tab steht's wenigstens auf schwarz - im Gegensatz zu denen, die ich direkt im Objekte Tab umschalte - die bleiben rot. Ich prüfe das die Tage nochmal im OZW Logfile. Bin im Moment auf Reisen.

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

          @Bluefox:

          Habe die Greenwave-Dose eingebunden. Beim Einbinden gab es keine Probleme, die Dose ließ ich aber bis zum Neustart des zWave-Adapters nicht schalten.

          Vielleicht war ich aber auch zu ungeduldig, beim zweiten Versuch hats dann auf Anhieb geklappt.

          Hier noch der ioBroker-Log beim Einbinden. Zwischendurch sieht man die zuvor erwähnten remove-value-Befehle während des Einbindens… keine Ahnung was das soll.

          ! 2016-11-21 16:25:44.019 - info: zwave.0 Execute addNode 2016-11-21 16:25:44.025 - info: zwave.0 controller command feedback: state: "The command is starting", error: "No error", helpmsg: "ControllerCommand - Starting" 2016-11-21 16:25:44.027 - info: zwave.0 controller command feedback: state: "Controller is waiting for a user action", error: "No error", helpmsg: "ControllerCommand - Waiting" 2016-11-21 16:25:51.419 - info: zwave.0 controller command feedback: state: "The controller is communicating with the other device to carry out the command", error: "No error", helpmsg: "ControllerCommand - InProgress" 2016-11-21 16:25:51.572 - info: zwave.0 controller command feedback: state: "The controller is communicating with the other device to carry out the command", error: "No error", helpmsg: "ControllerCommand - InProgress" 2016-11-21 16:25:51.928 - info: zwave.0 controller command feedback: state: "The controller is communicating with the other device to carry out the command", error: "No error", helpmsg: "ControllerCommand - InProgress" 2016-11-21 16:25:51.980 - info: zwave.0 Create new device: zwave.0.NODE4[] 2016-11-21 16:25:51.985 - info: zwave.0 Channel created: zwave.0.NODE4.SWITCH_BINARY = false, index = 0, comClass = 37, instance = 1 2016-11-21 16:25:51.987 - info: zwave.0 State created: zwave.0.NODE4.SWITCH_BINARY.Switch_1 = undefined, index = 0, comClass = 37, instance = 1 2016-11-21 16:25:51.990 - info: zwave.0 Channel created: zwave.0.NODE4.SWITCH_ALL = Disabled, index = 0, comClass = 39, instance = 1 2016-11-21 16:25:51.994 - info: zwave.0 State created: zwave.0.NODE4.SWITCH_ALL.Switch_All = undefined, index = 0, comClass = 39, instance = 1 2016-11-21 16:25:51.997 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 0.0, index = 0, comClass = 50, instance = 1 2016-11-21 16:25:51.999 - info: zwave.0 State created: zwave.0.NODE4.METER.Unknown_1 = undefined, index = 0, comClass = 50, instance = 1 2016-11-21 16:25:52.001 - info: zwave.0 Channel created: zwave.0.NODE4.VERSION = Unknown, index = 0, comClass = 134, instance = 1 2016-11-21 16:25:52.002 - info: zwave.0 State created: zwave.0.NODE4.VERSION.Library_Version = undefined, index = 0, comClass = 134, instance = 1 2016-11-21 16:25:52.004 - info: zwave.0 Channel created: zwave.0.NODE4.VERSION = Unknown, index = 1, comClass = 134, instance = 1 2016-11-21 16:25:52.005 - info: zwave.0 State created: zwave.0.NODE4.VERSION.Protocol_Version = undefined, index = 1, comClass = 134, instance = 1 2016-11-21 16:25:52.006 - info: zwave.0 Channel created: zwave.0.NODE4.VERSION = Unknown, index = 2, comClass = 134, instance = 1 2016-11-21 16:25:52.007 - info: zwave.0 State created: zwave.0.NODE4.VERSION.Application_Version = undefined, index = 2, comClass = 134, instance = 1 2016-11-21 16:25:52.021 - info: zwave.0 Channel created: zwave.0.NODE4.ALARM = 0, index = 0, comClass = 113, instance = 1 2016-11-21 16:25:52.023 - info: zwave.0 State created: zwave.0.NODE4.ALARM.Alarm_Type_1 = undefined, index = 0, comClass = 113, instance = 1 2016-11-21 16:25:52.026 - info: zwave.0 Channel created: zwave.0.NODE4.ALARM = 0, index = 1, comClass = 113, instance = 1 2016-11-21 16:25:52.028 - info: zwave.0 State created: zwave.0.NODE4.ALARM.Alarm_Level_1 = undefined, index = 1, comClass = 113, instance = 1 2016-11-21 16:25:52.032 - info: zwave.0 Channel created: zwave.0.NODE4.INDICATOR = 0, index = 0, comClass = 135, instance = 1 2016-11-21 16:25:52.035 - info: zwave.0 State created: zwave.0.NODE4.INDICATOR.Indicator_1 = undefined, index = 0, comClass = 135, instance = 1 2016-11-21 16:25:52.037 - info: zwave.0 Channel created: zwave.0.NODE4.PROTECTION = Unprotected, index = 0, comClass = 117, instance = 1 2016-11-21 16:25:52.039 - info: zwave.0 State created: zwave.0.NODE4.PROTECTION.Protection = undefined, index = 0, comClass = 117, instance = 1 2016-11-21 16:25:52.040 - info: zwave.0 controller command feedback: state: "The command has completed successfully", error: "No error", helpmsg: "ControllerCommand - Completed" 2016-11-21 16:25:52.178 - info: zwave.0 Update zwave.0.NODE4 2016-11-21 16:25:52.189 - info: zwave.0 Channel created: zwave.0.NODE4.CONFIGURATION = 10, index = 0, comClass = 112, instance = 1 2016-11-21 16:25:52.193 - info: zwave.0 State created: zwave.0.NODE4.CONFIGURATION.Power_delta = undefined, index = 0, comClass = 112, instance = 1 2016-11-21 16:25:52.196 - info: zwave.0 Channel created: zwave.0.NODE4.CONFIGURATION = 2, index = 1, comClass = 112, instance = 1 2016-11-21 16:25:52.198 - info: zwave.0 State created: zwave.0.NODE4.CONFIGURATION.No_communication_light = undefined, index = 1, comClass = 112, instance = 1 2016-11-21 16:25:52.200 - info: zwave.0 Channel created: zwave.0.NODE4.CONFIGURATION = Black (empty), index = 2, comClass = 112, instance = 1 2016-11-21 16:25:52.203 - info: zwave.0 State created: zwave.0.NODE4.CONFIGURATION.Room_color = undefined, index = 2, comClass = 112, instance = 1 2016-11-21 16:25:52.206 - info: zwave.0 Channel created: zwave.0.NODE4.CONFIGURATION = All ON, index = 3, comClass = 112, instance = 1 2016-11-21 16:25:52.208 - info: zwave.0 State created: zwave.0.NODE4.CONFIGURATION.Power_on_relay = undefined, index = 3, comClass = 112, instance = 1 2016-11-21 16:25:52.211 - info: zwave.0 Channel created: zwave.0.NODE4.CONFIGURATION = Enable, index = 4, comClass = 112, instance = 1 2016-11-21 16:25:52.213 - info: zwave.0 State created: zwave.0.NODE4.CONFIGURATION.LED_on_network_error = undefined, index = 4, comClass = 112, instance = 1 2016-11-21 16:25:52.216 - info: zwave.0 value removed: 4 comClass: 113 instance 1 value: 0 2016-11-21 16:25:52.220 - info: zwave.0 value removed: 4 comClass: 113 instance 1 value: 1 2016-11-21 16:25:52.223 - info: zwave.0 value removed: 4 comClass: 135 instance 1 value: 0 2016-11-21 16:25:52.258 - info: zwave.0 State created: zwave.0.NODE4.METER.Power_1 = undefined, index = 8, comClass = 50, instance = 1 2016-11-21 16:25:52.263 - info: zwave.0 State created: zwave.0.NODE4.METER.Exporting_1 = undefined, index = 32, comClass = 50, instance = 1 2016-11-21 16:25:52.277 - info: zwave.0 State created: zwave.0.NODE4.METER.Reset = undefined, index = 33, comClass = 50, instance = 1 2016-11-21 16:25:52.620 - info: zwave.0 controller command feedback: state: "The command is starting", error: "No error", helpmsg: "ControllerCommand - Starting" 2016-11-21 16:25:52.625 - info: zwave.0 controller command feedback: state: "The controller is communicating with the other device to carry out the command", error: "No error", helpmsg: "ControllerCommand - InProgress" 2016-11-21 16:25:52.684 - info: zwave.0 controller command feedback: state: "The command has completed successfully", error: "No error", helpmsg: "ControllerCommand - Completed" 2016-11-21 16:25:52.687 - info: zwave.0 controller command feedback: state: "The command is starting", error: "No error", helpmsg: "ControllerCommand - Starting" 2016-11-21 16:25:52.692 - info: zwave.0 controller command feedback: state: "The controller is communicating with the other device to carry out the command", error: "No error", helpmsg: "ControllerCommand - InProgress" 2016-11-21 16:25:53.315 - info: zwave.0 controller command feedback: state: "The command has completed successfully", error: "No error", helpmsg: "ControllerCommand - Completed" 2016-11-21 16:25:53.401 - info: zwave.0 Channel created: zwave.0.NODE4.SWITCH_ALL = On and Off Enabled, index = 0, comClass = 39, instance = 1 2016-11-21 16:25:53.404 - info: zwave.0 State created: zwave.0.NODE4.SWITCH_ALL.Switch_All = undefined, index = 0, comClass = 39, instance = 1 2016-11-21 16:25:53.440 - info: zwave.0 Channel created: zwave.0.NODE4.PROTECTION = Unprotected, index = 0, comClass = 117, instance = 1 2016-11-21 16:25:53.443 - info: zwave.0 State created: zwave.0.NODE4.PROTECTION.Protection = undefined, index = 0, comClass = 117, instance = 1 2016-11-21 16:25:53.465 - info: zwave.0 Channel created: zwave.0.NODE4.SWITCH_BINARY = true, index = 0, comClass = 37, instance = 1 2016-11-21 16:25:53.468 - info: zwave.0 State created: zwave.0.NODE4.SWITCH_BINARY.Switch_1 = undefined, index = 0, comClass = 37, instance = 1 2016-11-21 16:25:53.498 - info: zwave.0 Channel created: zwave.0.NODE4.METER = false, index = 32, comClass = 50, instance = 1 2016-11-21 16:25:53.504 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 0.0000, index = 0, comClass = 50, instance = 1 2016-11-21 16:25:53.506 - info: zwave.0 State created: zwave.0.NODE4.METER.Energy_1 = undefined, index = 0, comClass = 50, instance = 1 2016-11-21 16:25:53.508 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 0.0000, index = 1, comClass = 50, instance = 1 2016-11-21 16:25:53.510 - info: zwave.0 State created: zwave.0.NODE4.METER.Previous_Reading_1 = undefined, index = 1, comClass = 50, instance = 1 2016-11-21 16:25:53.513 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 0.0000, index = 1, comClass = 50, instance = 1 2016-11-21 16:25:53.516 - info: zwave.0 State created: zwave.0.NODE4.METER.Previous_Reading_1 = undefined, index = 1, comClass = 50, instance = 1 2016-11-21 16:25:53.520 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 1, index = 2, comClass = 50, instance = 1 2016-11-21 16:25:53.524 - info: zwave.0 State created: zwave.0.NODE4.METER.Interval_1 = undefined, index = 2, comClass = 50, instance = 1 2016-11-21 16:25:53.529 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 1, index = 2, comClass = 50, instance = 1 2016-11-21 16:25:53.531 - info: zwave.0 State created: zwave.0.NODE4.METER.Interval_1 = undefined, index = 2, comClass = 50, instance = 1 2016-11-21 16:25:53.543 - info: zwave.0 Channel created: zwave.0.NODE4.METER = false, index = 32, comClass = 50, instance = 1 2016-11-21 16:25:53.548 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 0.0, index = 8, comClass = 50, instance = 1 2016-11-21 16:25:53.552 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 0.0, index = 9, comClass = 50, instance = 1 2016-11-21 16:25:53.554 - info: zwave.0 State created: zwave.0.NODE4.METER.Previous_Reading_1 = undefined, index = 9, comClass = 50, instance = 1 2016-11-21 16:25:53.556 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 0.0, index = 9, comClass = 50, instance = 1 2016-11-21 16:25:53.558 - info: zwave.0 State created: zwave.0.NODE4.METER.Previous_Reading_1 = undefined, index = 9, comClass = 50, instance = 1 2016-11-21 16:25:53.560 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 1, index = 10, comClass = 50, instance = 1 2016-11-21 16:25:53.562 - info: zwave.0 State created: zwave.0.NODE4.METER.Interval_1 = undefined, index = 10, comClass = 50, instance = 1 2016-11-21 16:25:53.566 - info: zwave.0 Channel created: zwave.0.NODE4.METER = 1, index = 10, comClass = 50, instance = 1 2016-11-21 16:25:53.569 - info: zwave.0 State created: zwave.0.NODE4.METER.Interval_1 = undefined, index = 10, comClass = 50, instance = 1 2016-11-21 16:25:53.572 - info: zwave.0 node ready nodeID: 4, nodeInfo: {"manufacturer":"GreenWave","manufacturerid":"0x0099","product":"PowerNode 1 port","producttype":"0x0002","productid":"0x0002","type":"Binary Power Switch","name":"","loc":""} 2016-11-21 16:25:53.574 - info: zwave.0 Create new device: zwave.0.NODE4[GreenWave PowerNode 1 port] !

          Von meiner Seite scheint dann alles zu funktionieren.

          –-

          EDIT:

          In der Dokumentation steht, dass nach abgeschlossenem Scan das Objekt "zwave.0.completed" zu "true" gesetzt wird. Im Code wird allerdings "forceInit" auf "false" gesetzt (Zeile 771):

          adapter.setState('forceInit', false, true);
          
          1 Reply Last reply Reply Quote 0
          • Patrick
            Patrick last edited by

            @Patrick:

            ich schaffe es leider auch nicht den Adapter zu installieren

            bei mir kommt immer dieser Fehler

            ! C:\Program Files\IO BROKER\ioBroker>npm install https://github.com/ioBroker/ioBroker.zw … all/master --production
            ! |
            ! > iobroker.zwave@0.4.2 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave
            ! > node preinstall.js
            ! win32 is currently not supported
            !
            ! > openzwave-shared@1.2.0 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared
            ! > node lib/install-ozw.js
            ! Installing Open Z-Wave
            ! Installing dependencies to C:\Users\rickfl\AppData\Local\Temp\ozwinstall-9bksiu4ygb9
            ! npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
            ! module.js:327
            ! throw err;
            ! ^
            ! Error: Cannot find module 'C:\Users\rickfl\AppData\Local\Temp\ozwinstall-9bksiu4ygb9/node_modules/request'
            ! at Function.Module._resolveFilename (module.js:325:15)
            ! at Function.Module._load (module.js:276:25)
            ! at Module.require (module.js:353:17)
            ! at require (internal/module.js:12:17)
            ! at Module.module.exports (C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:165:13)
            ! at Object. <anonymous>(C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:220:12)
            ! at Module._compile (module.js:409:26)
            ! at Object.Module._extensions..js (module.js:416:10)
            ! at Module.load (module.js:343:32)
            ! at Function.Module._load (module.js:300:12)
            ! npm ERR! Windows_NT 10.0.10586
            ! npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "https://github.com/ioBroker/ioBroker.zw ... all/master" "--production"
            ! npm ERR! node v4.6.1
            ! npm ERR! npm v2.15.9
            ! npm ERR! code ELIFECYCLE
            ! npm ERR! openzwave-shared@1.2.0 preinstall: node lib/install-ozw.js
            ! npm ERR! Exit status 1
            ! npm ERR!
            ! npm ERR! Failed at the openzwave-shared@1.2.0 preinstall script 'node lib/install-ozw.js'.
            ! npm ERR! This is most likely a problem with the openzwave-shared package,
            ! npm ERR! not with npm itself.
            ! npm ERR! Tell the author that this fails on your system:
            ! npm ERR! node lib/install-ozw.js
            ! npm ERR! You can get information on how to open an issue for this project with:
            ! npm ERR! npm bugs openzwave-shared
            ! npm ERR! Or if that isn't available, you can get their info via:
            ! npm ERR!
            ! npm ERR! npm owner ls openzwave-shared
            ! npm ERR! There is likely additional logging output above.
            ! npm ERR! Please include the following file with any support request:
            ! npm ERR! C:\Program Files\IO BROKER\ioBroker\npm-debug.log
            ! C:\Program Files\IO BROKER\ioBroker></anonymous> `

            hat hier für schon jemand einen Ansatz an was es liegen könnte

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

              @Bluefox:

              Habe noch ein Problem gefunden. Wenn ich den Zwave-Adapter beende oder neu starte, während ich das Javascript-Tab offen habe, wird dieses neu geladen. Der integrierte Log für ein einzelnes Skript funktioniert danach nicht mehr, nur noch das Log-Tab.

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

                @Patrick:

                ich schaffe es leider auch nicht den Adapter zu installieren

                bei mir kommt immer dieser Fehler

                ! C:\Program Files\IO BROKER\ioBroker>npm install https://github.com/ioBroker/ioBroker.zwave/tarball/master --production | iobroker.zwave@0.4.2 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave node preinstall.js ! win32 is currently not supported \ openzwave-shared@1.2.0 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared node lib/install-ozw.js ! Installing Open Z-Wave Installing dependencies to C:\Users\rickfl\AppData\Local\Temp\ozwinstall-9bksiu4ygb9 npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years. module.js:327 throw err; ^ ! Error: Cannot find module 'C:\Users\rickfl\AppData\Local\Temp\ozwinstall-9bksiu4ygb9/node_modules/request' at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Module.module.exports (C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:165:13) at Object. <anonymous>(C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:220:12) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "https://github.com/ioBroker/ioBroker.zwave/tarball/master" "--production" npm ERR! node v4.6.1 npm ERR! npm v2.15.9 npm ERR! code ELIFECYCLE ! npm ERR! openzwave-shared@1.2.0 preinstall: `node lib/install-ozw.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the openzwave-shared@1.2.0 preinstall script 'node lib/install-ozw.js'. npm ERR! This is most likely a problem with the openzwave-shared package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node lib/install-ozw.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs openzwave-shared npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls openzwave-shared npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request: npm ERR! C:\Program Files\IO BROKER\ioBroker\npm-debug.log ! C:\Program Files\IO BROKER\ioBroker></anonymous> `
                Habe jetzt gerade versucht noch mal zwave zu installieren. Und das ging, allerdings nur als Administrator und ich habe vorher (auch als admin)

                npm install --global --production windows-build-tools
                

                installiert.

                Kannst du probieren. Ich habe natürlich noch VS2015 Express auf dem Rechner… aber es sollte auch ohne gehen.

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

                  @Bluefox:

                  @Patrick:

                  ich schaffe es leider auch nicht den Adapter zu installieren

                  bei mir kommt immer dieser Fehler

                  ! C:\Program Files\IO BROKER\ioBroker>npm install https://github.com/ioBroker/ioBroker.zwave/tarball/master --production | iobroker.zwave@0.4.2 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave node preinstall.js ! win32 is currently not supported \ openzwave-shared@1.2.0 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared node lib/install-ozw.js ! Installing Open Z-Wave Installing dependencies to C:\Users\rickfl\AppData\Local\Temp\ozwinstall-9bksiu4ygb9 npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years. module.js:327 throw err; ^ ! Error: Cannot find module 'C:\Users\rickfl\AppData\Local\Temp\ozwinstall-9bksiu4ygb9/node_modules/request' at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Module.module.exports (C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:165:13) at Object. <anonymous>(C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:220:12) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "https://github.com/ioBroker/ioBroker.zwave/tarball/master" "--production" npm ERR! node v4.6.1 npm ERR! npm v2.15.9 npm ERR! code ELIFECYCLE ! npm ERR! openzwave-shared@1.2.0 preinstall: `node lib/install-ozw.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the openzwave-shared@1.2.0 preinstall script 'node lib/install-ozw.js'. npm ERR! This is most likely a problem with the openzwave-shared package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node lib/install-ozw.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs openzwave-shared npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls openzwave-shared npm ERR! There is likely additional logging output above. ! npm ERR! Please include the following file with any support request: npm ERR! C:\Program Files\IO BROKER\ioBroker\npm-debug.log ! C:\Program Files\IO BROKER\ioBroker></anonymous> `
                  Habe jetzt gerade versucht noch mal zwave zu installieren. Und das ging, allerdings nur als Administrator und ich habe vorher (auch als admin)

                  npm install --global --production windows-build-tools
                  

                  installiert.

                  Kannst du probieren. Ich habe natürlich noch VS2015 Express auf dem Rechner… aber es sollte auch ohne gehen. `

                  hab ich schon gemacht

                  jetzt hängt es an

                  gyp err stack error gyp failed with exit code 1
                  
                  
                  npm install node-gyp
                  

                  das habe ich auch schon gemacht

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

                    Hallo,

                    ich habe einen Z-Wave Lan Gateway (TCP/IP) am laufen. Wie kann ich das denn unter dem Z-Wave Adapter einbinden.

                    Es ist ein Raspberry mit einem Razberry.z-wave Board, das ich auch noch für andere Zwecke nutze.

                    lg Chris

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

                      @AlCalzone:

                      @Bluefox:

                      Habe noch ein Problem gefunden. Wenn ich den Zwave-Adapter beende oder neu starte, während ich das Javascript-Tab offen habe, wird dieses neu geladen. Der integrierte Log für ein einzelnes Skript funktioniert danach nicht mehr, nur noch das Log-Tab. `
                      Kann überhaupt nicht reproduzieren….

                      Ich starte ioBroker neu, dann starte ein script:

                      setInterval(function () {
                        console.log('test');
                      }, 2000);
                      

                      Dann schreibe in der console "iorboker zwave stop"… und die Meldungen kommen weiter.

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

                        @Christoph:

                        Hallo,

                        ich habe einen Z-Wave Lan Gateway (TCP/IP) am laufen. Wie kann ich das denn unter dem Z-Wave Adapter einbinden.

                        Es ist ein Raspberry mit einem Razberry.z-wave Board, das ich auch noch für andere Zwecke nutze.

                        lg Chris `
                        Habe noch nie darüber gehört. Wo kann man über den Info bekommen?

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

                          @Bluefox:

                          @AlCalzone:

                          @Bluefox:

                          Habe noch ein Problem gefunden. Wenn ich den Zwave-Adapter beende oder neu starte, während ich das Javascript-Tab offen habe, wird dieses neu geladen. Der integrierte Log für ein einzelnes Skript funktioniert danach nicht mehr, nur noch das Log-Tab. Kann überhaupt nicht reproduzieren….
                          Auch nicht den Teil, wo das Panel neu lädt? Habe noch viel experimentiert, die Meldungen kommen normalerweise doch wieder, aber das Panel wird immer 1x zurückgesetzt, sodass die früheren Logs verschwinden.

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

                            @AlCalzone:

                            sodass die früheren Logs verschwinden. `
                            Es ist so gedacht. Die Log Lasche liest die logs aus Datei und dann addiert nur dazu neue Log-Einträge.

                            Die ScriptLog addiert nur die neue Einträge.

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

                              @Patrick:

                              @Bluefox:

                              npm install node-gyp
                              

                              das habe ich auch schon gemacht

                              npm cache clean
                              npm install node-gyp -g --force
                              

                              Und das alles als Admin.

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

                                @AlCalzone:

                                @Bluefox:

                                @AlCalzone:

                                @Bluefox:

                                Habe noch ein Problem gefunden. Wenn ich den Zwave-Adapter beende oder neu starte, während ich das Javascript-Tab offen habe, wird dieses neu geladen. Der integrierte Log für ein einzelnes Skript funktioniert danach nicht mehr, nur noch das Log-Tab. Kann überhaupt nicht reproduzieren….
                                Auch nicht den Teil, wo das Panel neu lädt? Habe noch viel experimentiert, die Meldungen kommen normalerweise doch wieder, aber das Panel wird immer 1x zurückgesetzt, sodass die früheren Logs verschwinden. `
                                http://forum.iobroker.net/viewtopic.php … 325#p41593

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

                                  @OstfrieseUnterwegs:

                                  Ich habe ja das Problem, dass alles, was über eine Drop-Down-Liste im Reiter 'Objekte' nicht gesetzt werden kann. `
                                  @Bluefox: Ich habe dieses Problem jetzt auch. Schaue gleich mal in den Code ob ich das Problem finde.

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

                                    @Bluefox:

                                    @Patrick:

                                    @Bluefox:

                                    npm install node-gyp
                                    

                                    das habe ich auch schon gemacht

                                    npm cache clean
                                    npm install node-gyp -g --force
                                    

                                    Und das alles als Admin. `

                                    habe jetzt noch mal das alte Backup aufgespielt und alles wie beschrieben gemacht

                                    jetzt kommt ein anderes Fehler

                                    ! C:\Users\rickfl>cd "C:\Program Files\IO BROKER\ioBroker"
                                    ! C:\Program Files\IO BROKER\ioBroker>npm install https://github.com/ioBroker/ioBroker.zw … all/master --production --unsafe-perm --build-from-source
                                    ! /
                                    ! > iobroker.zwave@0.4.3 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave
                                    ! > node lib/preinstall.js
                                    !
                                    ! > openzwave-shared@1.2.0 preinstall C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared
                                    ! > node lib/install-ozw.js
                                    ! Installing Open Z-Wave
                                    ! Installing dependencies to C:\Users\rickfl\AppData\Local\Temp\ozwinstall-yeew830izfr
                                    ! npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
                                    ! module.js:327
                                    ! throw err;
                                    ! ^
                                    ! Error: Cannot find module 'C:\Users\rickfl\AppData\Local\Temp\ozwinstall-yeew830izfr/node_modules/request'
                                    ! at Function.Module._resolveFilename (module.js:325:15)
                                    ! at Function.Module._load (module.js:276:25)
                                    ! at Module.require (module.js:353:17)
                                    ! at require (internal/module.js:12:17)
                                    ! at Module.module.exports (C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:165:13)
                                    ! at Object. <anonymous>(C:\Program Files\IO BROKER\ioBroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:220:12)
                                    ! at Module._compile (module.js:409:26)
                                    ! at Object.Module._extensions..js (module.js:416:10)
                                    ! at Module.load (module.js:343:32)
                                    ! at Function.Module._load (module.js:300:12)
                                    ! npm ERR! Windows_NT 10.0.10586
                                    ! npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "https://github.com/ioBroker/ioBroker.zw ... all/master" "--production" "--unsafe-perm" "--build-from-source"
                                    ! npm ERR! node v4.6.1
                                    ! npm ERR! npm v2.15.9
                                    ! npm ERR! code ELIFECYCLE
                                    ! npm ERR! openzwave-shared@1.2.0 preinstall: node lib/install-ozw.js
                                    ! npm ERR! Exit status 1
                                    ! npm ERR!
                                    ! npm ERR! Failed at the openzwave-shared@1.2.0 preinstall script 'node lib/install-ozw.js'.
                                    ! npm ERR! This is most likely a problem with the openzwave-shared package,
                                    ! npm ERR! not with npm itself.
                                    ! npm ERR! Tell the author that this fails on your system:
                                    ! npm ERR! node lib/install-ozw.js
                                    ! npm ERR! You can get information on how to open an issue for this project with:
                                    ! npm ERR! npm bugs openzwave-shared
                                    ! npm ERR! Or if that isn't available, you can get their info via:
                                    ! npm ERR!
                                    ! npm ERR! npm owner ls openzwave-shared
                                    ! npm ERR! There is likely additional logging output above.
                                    ! npm ERR! Please include the following file with any support request:
                                    ! npm ERR! C:\Program Files\IO BROKER\ioBroker\npm-debug.log
                                    ! C:\Program Files\IO BROKER\ioBroker></anonymous>

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

                                      @AlCalzone:

                                      @OstfrieseUnterwegs:

                                      Ich habe ja das Problem, dass alles, was über eine Drop-Down-Liste im Reiter 'Objekte' nicht gesetzt werden kann. @Bluefox: Ich habe dieses Problem jetzt auch. Schaue gleich mal in den Code ob ich das Problem finde.
                                      Ich verstehe nicht mal um was es hier geht

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

                                        @Bluefox:

                                        @AlCalzone:

                                        @OstfrieseUnterwegs:

                                        Ich habe ja das Problem, dass alles, was über eine Drop-Down-Liste im Reiter 'Objekte' nicht gesetzt werden kann. @Bluefox: Ich habe dieses Problem jetzt auch. Schaue gleich mal in den Code ob ich das Problem finde.
                                        Ich verstehe nicht mal um was es hier geht `
                                        Schau mal in meinen Post 39 in diesem Thread. Punkt 2.

                                        Gesendet von meinem ONEPLUS A3003 mit Tapatalk

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

                                          @Bluefox:

                                          @AlCalzone:

                                          @OstfrieseUnterwegs:

                                          Ich habe ja das Problem, dass alles, was über eine Drop-Down-Liste im Reiter 'Objekte' nicht gesetzt werden kann. @Bluefox: Ich habe dieses Problem jetzt auch. Schaue gleich mal in den Code ob ich das Problem finde.
                                          Ich verstehe nicht mal um was es hier geht `
                                          Dann eine kurze Erklärung gefolgt von der Problemlösung.

                                          Bestimmte States werden im ioBroker-Admin per Dropdown gesetzt, siehe Beispiel:

                                          ~~![](</s><URL url=)http://i.imgur.com/dw3gSY1.png" />

                                          Einige davon funktionieren aber nicht, so kann ich z.B. im Aeotec ZW100 MultiSensor 6 nicht den Parameter "Command Options" auf "Binary Sensor Report" stellen, es geht immer wieder zurück auf "Basic Set (default)".

                                          –-

                                          Das Problem liegt daran, dass bei der Erstellung der Objekte eine Liste an States angelegt wird, die in manchen Fällen falsch ist, da die States immer Nullbasiert angelegt werden (Zeile 689ff.).

                                           `stateObj.common.states = {};
                                                              for (var i = 0; i < valueId.values.length; i++) {
                                                                  stateObj.common.states[i] = valueId.values[i];
                                                                  if (valueId.values[i] === value) value = i;
                                                              }`
                                          Oft stimmt das, in manchen Fällen beginnen die Parameter aber an einem anderen Wert [https://github.com/OpenZWave/open-zwave/blob/master/config/aeotec/zw100.xml](https://github.com/OpenZWave/open-zwave/blob/master/config/aeotec/zw100.xml):
                                          `~~[code]~~		 <value type="list" index="5" genre="config" label="Command Options" min="1" max="2" value="1" size="1"><help>Which commands to send when PIR motion sensor triggered
                                          			OZW Ideal Value is Binary Sensor Report</help></value> [/code]`
                                          ioBroker legt die States trotzdem mit [0] und [1] an. Es wird also der falsche Wert an zWave gemeldet.
                                          
                                          Ich habe mir vorübergehend beholfen, indem ich den Index bei min beginnen lasse:
                                          `~~[code]~~            		var offset = 0;
                                                      		if (valueId.min !== undefined) {
                                                      			offset = valueId.min;
                                                      		}
                                                              for (var i = 0; i < valueId.values.length; i++) {
                                                                  stateObj.common.states[i] = valueId.values[i];
                                                                  if (valueId.values[i] === value) value = i + offset;
                                                              }` 
                                          Vielleicht gibt es eine Möglichkeit, direkt die Werte aus der open-zwave Konfiguration zu übernehmen? Oder kommen die in ioBroker nicht an?[/i][/i][/i][/code][/i][/i][/i]
                                          ```~~
                                          1 Reply Last reply Reply Quote 0
                                          • Bluefox
                                            Bluefox last edited by

                                            @AlCalzone:

                                            @Bluefox:

                                            @AlCalzone:

                                            @Bluefox: Ich habe dieses Problem jetzt auch. Schaue gleich mal in den Code ob ich das Problem finde. Ich verstehe nicht mal um was es hier geht
                                            Dann eine kurze Erklärung gefolgt von der Problemlösung.

                                            Bestimmte States werden im ioBroker-Admin per Dropdown gesetzt, siehe Beispiel:

                                            ~~![](</s><URL url=)http://i.imgur.com/dw3gSY1.png" />

                                            Einige davon funktionieren aber nicht, so kann ich z.B. im Aeotec ZW100 MultiSensor 6 nicht den Parameter "Command Options" auf "Binary Sensor Report" stellen, es geht immer wieder zurück auf "Basic Set (default)".

                                            –-

                                            Das Problem liegt daran, dass bei der Erstellung der Objekte eine Liste an States angelegt wird, die in manchen Fällen falsch ist, da die States immer Nullbasiert angelegt werden (Zeile 689ff.).

                                             `stateObj.common.states = {};
                                                                for (var i = 0; i < valueId.values.length; i++) {
                                                                    stateObj.common.states[i] = valueId.values[i];
                                                                    if (valueId.values[i] === value) value = i;
                                                                }`
                                            Oft stimmt das, in manchen Fällen beginnen die Parameter aber an einem anderen Wert [https://github.com/OpenZWave/open-zwave/blob/master/config/aeotec/zw100.xml](https://github.com/OpenZWave/open-zwave/blob/master/config/aeotec/zw100.xml):
                                            `~~[code]~~		 <value type="list" index="5" genre="config" label="Command Options" min="1" max="2" value="1" size="1"><help>Which commands to send when PIR motion sensor triggered
                                            			OZW Ideal Value is Binary Sensor Report</help></value> [/code]`
                                            ioBroker legt die States trotzdem mit [0] und [1] an. Es wird also der falsche Wert an zWave gemeldet.
                                            
                                            Ich habe mir vorübergehend beholfen, indem ich den Index bei min beginnen lasse:
                                            `~~[code]~~            		var offset = 0;
                                                        		if (valueId.min !== undefined) {
                                                        			offset = valueId.min;
                                                        		}
                                                                for (var i = 0; i < valueId.values.length; i++) {
                                                                    stateObj.common.states[i] = valueId.values[i];
                                                                    if (valueId.values[i] === value) value = i + offset;
                                                                }` 
                                            Vielleicht gibt es eine Möglichkeit, direkt die Werte aus der open-zwave Konfiguration zu übernehmen? Oder kommen die in ioBroker nicht an?
                                            Die kommen nicht an. Nur die Texte, z.B ["Off", "On"][/i][/i][/i][/code][/i][/i][/i]
                                            ```~~ ` 
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            481
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            142
                                            21341
                                            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