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. Zwave 0.4

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    10
    1
    107

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

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

Zwave 0.4

Scheduled Pinned Locked Moved Tester
142 Posts 16 Posters 26.8k Views
  • 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.
  • PatrickP Offline
    PatrickP Offline
    Patrick
    wrote on last edited by
    #86

    @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
    0
    • AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      wrote on last edited by
      #87

      @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.

      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

      1 Reply Last reply
      0
      • BluefoxB Offline
        BluefoxB Offline
        Bluefox
        wrote on last edited by
        #88

        @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
        0
        • PatrickP Offline
          PatrickP Offline
          Patrick
          wrote on last edited by
          #89

          @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
          0
          • C Offline
            C Offline
            Christoph
            wrote on last edited by
            #90

            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
            0
            • BluefoxB Offline
              BluefoxB Offline
              Bluefox
              wrote on last edited by
              #91

              @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
              0
              • BluefoxB Offline
                BluefoxB Offline
                Bluefox
                wrote on last edited by
                #92

                @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
                0
                • AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  wrote on last edited by
                  #93

                  @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.

                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                  1 Reply Last reply
                  0
                  • BluefoxB Offline
                    BluefoxB Offline
                    Bluefox
                    wrote on last edited by
                    #94

                    @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
                    0
                    • BluefoxB Offline
                      BluefoxB Offline
                      Bluefox
                      wrote on last edited by
                      #95

                      @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
                      0
                      • BluefoxB Offline
                        BluefoxB Offline
                        Bluefox
                        wrote on last edited by
                        #96

                        @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
                        0
                        • AlCalzoneA Offline
                          AlCalzoneA Offline
                          AlCalzone
                          Developer
                          wrote on last edited by
                          #97

                          @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.

                          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                          1 Reply Last reply
                          0
                          • PatrickP Offline
                            PatrickP Offline
                            Patrick
                            wrote on last edited by
                            #98

                            @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
                            0
                            • BluefoxB Offline
                              BluefoxB Offline
                              Bluefox
                              wrote on last edited by
                              #99

                              @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
                              0
                              • OstfrieseUnterwegsO Offline
                                OstfrieseUnterwegsO Offline
                                OstfrieseUnterwegs
                                wrote on last edited by
                                #100

                                @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
                                0
                                • AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  wrote on last edited by
                                  #101

                                  @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]
                                  ```~~

                                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                  1 Reply Last reply
                                  0
                                  • BluefoxB Offline
                                    BluefoxB Offline
                                    Bluefox
                                    wrote on last edited by
                                    #102

                                    @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
                                    0
                                    • AlCalzoneA Offline
                                      AlCalzoneA Offline
                                      AlCalzone
                                      Developer
                                      wrote on last edited by
                                      #103

                                      @Bluefox:

                                      @AlCalzone:

                                      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"]
                                      Dann muss man wohl darauf vertrauen, dass es eine ununterbrochene Liste ist, die entweder bei 0 oder min beginnt. Und dass diese Information auch korrekt ist.

                                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        Christoph
                                        wrote on last edited by
                                        #104

                                        @Bluefox:

                                        @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?

                                        Ich habe einen Raspberry, der mit Razberry bestückt ist am laufen. Diesen kann ich dann über die IP-Adresse ansprechen.

                                        http://razberry.z-wave.me/

                                        1 Reply Last reply
                                        0
                                        • AlCalzoneA Offline
                                          AlCalzoneA Offline
                                          AlCalzone
                                          Developer
                                          wrote on last edited by
                                          #105

                                          Du willst also die zwave-Geräte, die mit Raspi A ("Gateway") verbunden sind, in den zwave-Adapter von Raspi B einbinden?

                                          Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                          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

                                          320

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          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