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. English
  3. ioBroker general
  4. Z-Wave Installation

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Z-Wave Installation

Scheduled Pinned Locked Moved ioBroker general
z-wave
6 Posts 2 Posters 1.2k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ap2017
    wrote on last edited by ap2017
    #1

    I updated NODE.JS to v10.16.0 on my X86 Linux Mint computer per following instructions:

    sudo apt-get --purge remove node
    sudo apt-get --purge remove nodejs
    sudo apt-get autoremove
    sudo reboot
    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
    sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
    sudo reboot
    cd /opt/iobroker
    sudo npm rebuild
    iobroker start

    Now I am trying to install Z-Wave adapter, see below installation log with errors and permission denied messages. What am I doing wrong?

    $ ./iobroker add zwave --host ap-linux
    NPM version: 6.9.0
    npm install iobroker.zwave@1.4.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
    npm WARN rollback Rolling back iobroker.zwave@1.4.1 failed (this is probably harmless): EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/build/Makefile'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/clone-deep/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-base/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-choices/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-question/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/readline-ui/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/readline-utils/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/shallow-clone/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/static-extend/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/window-size/package.json'

    npm ERR! path /opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLognpm ERR! code EACCES

    npm ERR! errno -13npm ERR! syscall unlink

    npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog'npm ERR! { [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog']
    npm ERR! cause:
    npm ERR! { Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog'
    npm ERR! errno: -13,
    npm ERR! code: 'EACCES',
    npm ERR! syscall: 'unlink',
    npm ERR! path:
    npm ERR! '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog' },
    npm ERR! stack:
    npm ERR! 'Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog'',
    npm ERR! errno: -13,
    npm ERR! code: 'EACCES',
    npm ERR! syscall: 'unlink',
    npm ERR! path:
    npm ERR! '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog',
    npm ERR! parent: 'iobroker' }
    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-06-23T22_25_14_617Z-debug.log

    ERROR: host.ap-linux Cannot install iobroker.zwave@1.4.1: 243
    ERROR: process exited with code 25

    AlCalzoneA 1 Reply Last reply
    0
    • A ap2017

      I updated NODE.JS to v10.16.0 on my X86 Linux Mint computer per following instructions:

      sudo apt-get --purge remove node
      sudo apt-get --purge remove nodejs
      sudo apt-get autoremove
      sudo reboot
      curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
      sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
      sudo reboot
      cd /opt/iobroker
      sudo npm rebuild
      iobroker start

      Now I am trying to install Z-Wave adapter, see below installation log with errors and permission denied messages. What am I doing wrong?

      $ ./iobroker add zwave --host ap-linux
      NPM version: 6.9.0
      npm install iobroker.zwave@1.4.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
      npm WARN rollback Rolling back iobroker.zwave@1.4.1 failed (this is probably harmless): EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.zwave/node_modules/openzwave-shared/build/Makefile'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/clone-deep/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-base/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-choices/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/prompt-question/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/readline-ui/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/readline-utils/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/shallow-clone/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/static-extend/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.discovery/node_modules/window-size/package.json'

      npm ERR! path /opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLognpm ERR! code EACCES

      npm ERR! errno -13npm ERR! syscall unlink

      npm ERR! Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog'npm ERR! { [Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog']
      npm ERR! cause:
      npm ERR! { Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog'
      npm ERR! errno: -13,
      npm ERR! code: 'EACCES',
      npm ERR! syscall: 'unlink',
      npm ERR! path:
      npm ERR! '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog' },
      npm ERR! stack:
      npm ERR! 'Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog'',
      npm ERR! errno: -13,
      npm ERR! code: 'EACCES',
      npm ERR! syscall: 'unlink',
      npm ERR! path:
      npm ERR! '/opt/iobroker/node_modules/.iobroker.zwave.DELETE/open-zwave-1.4/ChangeLog',
      npm ERR! parent: 'iobroker' }
      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-06-23T22_25_14_617Z-debug.log

      ERROR: host.ap-linux Cannot install iobroker.zwave@1.4.1: 243
      ERROR: process exited with code 25

      AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      wrote on last edited by
      #2

      @ap2017
      You messed up the permissions when you ran sudo npm rebuild. sudo should (almost) never be used together with npm anymore. You might want to read this (although it is in german):
      https://forum.iobroker.net/topic/17109/wichtige-hinweise-bei-neueren-npm-versionen-und-sudo

      Please run the installer fixer

      curl -sL https://iobroker.net/fix.sh | bash -
      

      and try installing zwave again.

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

      A 2 Replies Last reply
      0
      • AlCalzoneA AlCalzone

        @ap2017
        You messed up the permissions when you ran sudo npm rebuild. sudo should (almost) never be used together with npm anymore. You might want to read this (although it is in german):
        https://forum.iobroker.net/topic/17109/wichtige-hinweise-bei-neueren-npm-versionen-und-sudo

        Please run the installer fixer

        curl -sL https://iobroker.net/fix.sh | bash -
        

        and try installing zwave again.

        A Offline
        A Offline
        ap2017
        wrote on last edited by
        #3

        @AlCalzone Thank you. I am getting message
        bash: line 1: Moved: command not found
        In response to the fixing script

        A 1 Reply Last reply
        0
        • A ap2017

          @AlCalzone Thank you. I am getting message
          bash: line 1: Moved: command not found
          In response to the fixing script

          A Offline
          A Offline
          ap2017
          wrote on last edited by
          #4

          @ap2017 I am good, made an error is -sL, did not use capital L.

          1 Reply Last reply
          0
          • AlCalzoneA AlCalzone

            @ap2017
            You messed up the permissions when you ran sudo npm rebuild. sudo should (almost) never be used together with npm anymore. You might want to read this (although it is in german):
            https://forum.iobroker.net/topic/17109/wichtige-hinweise-bei-neueren-npm-versionen-und-sudo

            Please run the installer fixer

            curl -sL https://iobroker.net/fix.sh | bash -
            

            and try installing zwave again.

            A Offline
            A Offline
            ap2017
            wrote on last edited by ap2017
            #5

            @AlCalzone Hello, I am trying to install ZWave on X64 Intel platform with Linux, getting some errors during installation of adapter, then errors during adapter start. I have controller 1.5.12, Node.js 10.16.0 and NPM 6.9.0
            ZWave on X64 Intel.txt

            Never mind, after following https://github.com/ioBroker/ioBroker.zwave#known-issues everything starterd to work

            AlCalzoneA 1 Reply Last reply
            0
            • A ap2017

              @AlCalzone Hello, I am trying to install ZWave on X64 Intel platform with Linux, getting some errors during installation of adapter, then errors during adapter start. I have controller 1.5.12, Node.js 10.16.0 and NPM 6.9.0
              ZWave on X64 Intel.txt

              Never mind, after following https://github.com/ioBroker/ioBroker.zwave#known-issues everything starterd to work

              AlCalzoneA Offline
              AlCalzoneA Offline
              AlCalzone
              Developer
              wrote on last edited by
              #6

              @ap2017 Your adapter is still compiled against OZW 1.4:

              2019-07-06 21:10:51.257 - error: zwave.0 uncaught exception: libopenzwave.so.1.4: cannot open shared object file: No such file or directory
              2019-07-06 21:10:51.257 - error: zwave.0 Error: libopenzwave.so.1.4: cannot open shared object file: No such file or directory

              Please take a look at https://github.com/ioBroker/ioBroker.zwave/issues/57, specifically this comment:
              https://github.com/ioBroker/ioBroker.zwave/issues/57#issuecomment-510884233

              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

              848

              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