Update MQTT.md

This commit is contained in:
Justin Hammond 2019-10-30 11:06:54 +08:00 committed by GitHub
parent a201fcfb7d
commit 847c970eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,6 @@ Docker Repo: https://cloud.docker.com/u/openzwave/repository/docker/openzwave/oz
Copy "config" folder from OZW to /tmp/ozw/
Start Container with the following command line:
>docker run -it --device=/dev/ttyUSB0 -v /tmp/ozw:/opt/ozw/config -e MQTT_SERVER="10.100.200.102" -e USBPORT=/dev/ttyUSB0 ozw-mqtt:latest
>docker run -it --device=/dev/ttyUSB0 -v /tmp/ozw:/opt/ozw/config -e MQTT_SERVER="10.100.200.102" -e USBPATH=/dev/ttyUSB0 ozw-mqtt:latest
(replace MQTT_SERVER with IP address of the MQTT Server and all /dev/ttyUSB0 entries with path to your USB Stick