Skip to content
Dayne Broderson edited this page Oct 25, 2021 · 3 revisions

Using Home Assistant is likely the easy button way of getting Z-Wave setup. Do that.

DIY Z-Wave notes

Finding the Stick

With your Aeotec Z-Stick Gen5+ unplugged type:

ls /dev/ttyACM*

Expected output

ls: cannot access '/dev/ttyACM0': No such file or directory

Plug in the stick and repeat:

ls /dev/ttyACM*

Expected output:

/dev/ttyACM0

Install OpenZWave

First make sure you have the build-essential packages:

sudo apt update
sudo apt upgrade -y
sudo apt install -y build-essential git

Become root and head over to /usr/local/src to clone latest version of open-zwave library:

sudo su -
cd /usr/local/src/
git clone https://github.com/OpenZWave/open-zwave.git
cd open-zwave
make && make install && ldconfig && exit

Install the node openzwave-shared

npm install openzwave-shared
# ONLY if we run into a REPACE_INVALID_UTF8 
# sudo npm -g install npm node-gyp

Install NodeRed node-red-contrib-openzwave.

cd ~/.node-red
npm install node-red-contrib-openzwave

Clone this wiki locally