Skip to content

Instantly share code, notes, and snippets.

@colinodell
Created October 12, 2017 19:39
Show Gist options
  • Save colinodell/597bbdd8da571055e8edffe9c7057a62 to your computer and use it in GitHub Desktop.
Save colinodell/597bbdd8da571055e8edffe9c7057a62 to your computer and use it in GitHub Desktop.
Home Assistant with up-to-date Z-Wave files
FROM homeassistant/home-assistant:latest
RUN set -e && \
apt update && \
apt install -y unzip && \
wget -O /tmp/ozw.zip https://github.com/OpenZWave/open-zwave/archive/master.zip && \
cd /tmp && \
unzip /tmp/ozw.zip && \
cp -R /tmp/open-zwave-master/config/* /usr/local/lib/python3.6/site-packages/python_openzwave/ozw_config/ && \
rm -rf /tmp/ozw.zip /tmp/open-zwave-master && \
apt remove -y unzip && \
rm -rf /var/cache/apt/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment