Working zwave!
Open docker, go to /usr/src/balloob-python-openzwave/examples, run python3 api_demo.py --device=/zwaveusbstick --log=Debugpull/44/head
parent
bb5e8e00dd
commit
9c61c281ca
|
@ -12,11 +12,10 @@ RUN apt-get update && \
|
|||
cd louie && \
|
||||
python setup.py install && \
|
||||
cd .. && \
|
||||
hg clone https://code.google.com/p/python-openzwave/ && \
|
||||
cd python-openzwave && \
|
||||
hg clone https://code.google.com/r/balloob-python-openzwave/ && \
|
||||
cd balloob-python-openzwave && \
|
||||
./update.sh && \
|
||||
sed -i '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h && \
|
||||
2to3 --no-diffs -w -n api examples && \
|
||||
./compile.sh && \
|
||||
./install.sh
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ if [ $# -gt 0 ]
|
|||
then
|
||||
docker run \
|
||||
--net=host \
|
||||
--device=/dev/ttyUSB0:/zwaveusbstick:rwm \
|
||||
-e "TZ=$1" \
|
||||
--device=/dev/bus/usb/002:/usbstick:rwm \
|
||||
-v `pwd`:/usr/src/app \
|
||||
-v `pwd`/config:/config \
|
||||
-t -i home-assistant-dev \
|
||||
|
|
Loading…
Reference in New Issue