Skip to content

Getting Started

Marcus Davies edited this page Jul 20, 2021 · 34 revisions

So! you have taken the bate. Lets turn you into a pro with node-red-contrib-zwave-js

Before you begin

Please ensure your system matches or exceeds the below.

  • Node JS Version >= v12.22.2
  • Node Red Version >= 1.3.3

Host Specific.
If you are a tinkerer, you may already have the below.

  • Unix
    • Python v3.6, v3.7, v3.8, or v3.9
    • A proper C/C++ compiler toolchain/environment, like GCC
    • If your host is openSUSE, you may also need to do:
      • zypper install nodejs-devel
      • zypper install -t pattern devel_C_C++
  • OSX
    • Python v3.6, v3.7, v3.8, or v3.9
    • XCode Command Line Tools
  • Windows
    • Python v3.6, v3.7, v3.8, or v3.9
    • Visual C++ Build Environment/tools (Visual Studio Community will do the trick)
    • Set NPM Visual Studio version npm config set msvs_version 20##

Installing

Installing the node, is no different to installing other node-red modules.
The install process might take a minute or 2, as it will build some native NodeJS Modules (the serialports package).

If you prefer, see below for other install methods

Installing from command line

Navigate to the .node-red directory and run the normal npm routines.

  • cd /home/pi/.node-red
  • npm install node-red-contrib-zwave-js@latest
  • Restart node-red