OpenZWave

OpenZWave

Install the OpenZWave driver library.

Script

config-openzwave.sh

#!/bin/bash

sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install build-essential git libudev-dev
git clone https://github.com/OpenZWave/open-zwave.git
cd open-zwave
git checkout v1.6
sed -i -e 's/-Werror//g' cpp/build/Makefile
sed -i -e 's/-Werror//g' cpp/hidapi/configure.ac
make
sudo make install
sudo ldconfig /usr/local/lib/

Usage

./config-openzwave.sh

Additional Information

  1. Use lsusb to display your USB device details before inserting your Z-Wave controller device
  2. Plug a USB based Z-Wave controller into your Pi
  3. Use lsusb again and see the details for the new device
  4. Provide a reliable, human-readable name for your Z-Wave controller using zstick-configtty.sh using the information obtained via lsusb