Skip to content

Instantly share code, notes, and snippets.

@chriskacerguis
Created July 5, 2017 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chriskacerguis/681a1a6782abd57b69759d61c0571288 to your computer and use it in GitHub Desktop.
Save chriskacerguis/681a1a6782abd57b69759d61c0571288 to your computer and use it in GitHub Desktop.
Install OZWCP on Ubuntu

First, install some (probably) important libraries:

apt-get update apt-get install libgnutls28-dev libgnutlsxx28

Download, build and install libmicrohttpd

cd wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.19.tar.gz tar zxvf libmicrohttpd-0.9.19.tar.gz mv libmicrohttpd-0.9.19 libmicrohttpd cd libmicrohttpd ./configure make make install

Download and build the open-zwave library

cd git clone https://github.com/OpenZWave/open-zwave.git cd open-zwave make

Download open-zwave-control-panel

cd git clone https://github.com/OpenZWave/open-zwave-control-panel.git cd open-zwave-control-panel

Open the Makefile and find the following line:

OPENZWAVE := ../ LIBMICROHTTPD := -lmicrohttpd

Change it to:

OPENZWAVE := ../open-zwave LIBMICROHTTPD := /usr/local/lib/libmicrohttpd.a

Build ozwcp

make ln -sd ../open-zwave/config

And finally, run it!

./ozwcp -p 8888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment