Working on a revised bash script for those who used the AIO install method.
Keep an eye on this post as I’ll edit it with the script.
@elmetal give this a shot:
#!/bin/bash
echo
echo "Dev Open Z-Wave Installer for AIO installed Home Assistant"
echo "Modified by Landrash for use with Hassbian."
echo "Remodified by unt1tled for use with Linear NGDZ00-4 (barrier_operator)."
echo "Remodified again by firstof9 for use with the dev branch of the OpenZwave Library."
echo "Copyright(c) 2016 Dale Higgs <https://gitter.im/dale3h>"
echo
if [ "$(id -u)" != "0" ]; then
echo "This script must be run with sudo. Use \"sudo ${0} ${*}\"" 1>&2
exit 1
fi
echo "Running apt-get preparation"
apt-get update
apt-get upgrade -y
apt-get install -y make python3-dev libudev-dev python3-sphinx python3-setuptools libgnutlsxx28 libgnutls28-dev libssl-dev
echo "Changing to homeassistant user"
sudo -u homeassistant -H /bin/bash <<EOF
echo "Activating virtualenv"
source /srv/homeassistant/homeassistant_venv/bin/activate
echo "Installing latest version of cython"
### Currently locked to this version since build fails for later versions.
pip3 install --upgrade cython==0.24.1
echo "Removing old python-openzwave"
pip3 uninstall -y python-openzwave
echo "Installing dev python-openzwave"
pip3 install 'python_openzwave==0.4.0.35' --install-option="--flavor=ozwdev"
echo "Deactivating virtualenv"
deactivate
EOF
echo
echo "Installation done!"
echo
echo "Please modify your __init__.py file before (re)starting Home Assistant."
cd /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/zwave/