Update zwave related scripts

This commit is contained in:
Paulus Schoutsen 2015-02-28 09:09:32 -08:00
parent 71ca07363a
commit 98f3e6ed64
2 changed files with 5 additions and 3 deletions

View file

@ -8,13 +8,14 @@ if [ ${PWD##*/} == "scripts" ]; then
cd .. cd ..
fi fi
cd .. mkdir build
cd build
# We need to install louie here or else python-openzwave install # We need to install louie here or else python-openzwave install
# will download louie from PIP and that one is not compatible with Python 3 # will download louie from PIP and that one is not compatible with Python 3
git clone https://github.com/balloob/louie.git git clone https://github.com/balloob/louie.git
cd louie cd louie
python setup.py install python3 setup.py install
cd .. cd ..
hg clone https://code.google.com/r/balloob-python-openzwave/ hg clone https://code.google.com/r/balloob-python-openzwave/

View file

@ -1,5 +1,5 @@
# Open a docker that can be used to debug/dev python-openzwave # Open a docker that can be used to debug/dev python-openzwave
# Pass in a command line argument to skip build # Pass in a command line argument to build
# If current pwd is scripts, go 1 up. # If current pwd is scripts, go 1 up.
if [ ${PWD##*/} == "scripts" ]; then if [ ${PWD##*/} == "scripts" ]; then
@ -14,5 +14,6 @@ fi
docker run \ docker run \
--device=/dev/ttyUSB0:/zwaveusbstick:rwm \ --device=/dev/ttyUSB0:/zwaveusbstick:rwm \
-v `pwd`:/usr/src/app \ -v `pwd`:/usr/src/app \
-p 8123:8123 \
-t -i home-assistant-dev \ -t -i home-assistant-dev \
/bin/bash /bin/bash