mirror of
https://github.com/Fishwaldo/qt-openzwave.git
synced 2025-03-15 19:41:24 +00:00
update documentation
This commit is contained in:
parent
c64d765055
commit
adcdfffedd
2 changed files with 6 additions and 3 deletions
|
@ -16,12 +16,15 @@ Running:
|
|||
-------------
|
||||
Start a 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 USBPATH=/dev/ttyUSB0 openzwave/ozwdaemon:latest```
|
||||
```docker run -it --security-opt seccomp=unconfined --device=/dev/ttyUSB0 -v /tmp/ozw:/opt/ozw/config -e MQTT_SERVER="10.100.200.102" -e USBPATH=/dev/ttyUSB0 openzwave/ozwdaemon:latest```
|
||||
|
||||
* replace MQTT_SERVER with the IP address of the MQTT Server
|
||||
* replace all /dev/ttyUSB0 entries with the path to your USB Stick.
|
||||
* OpenZWave Config Files are copied on startup to the host directory specified by /tmp/ozw - You should replace it with a directory that is persistent.
|
||||
|
||||
the `--security-opt seccomp=unconfined` is needed to generate meaningfull
|
||||
backtraces, otherwise it will be difficult for us to debug.
|
||||
|
||||
Please see [docs/MQTT.md](docs/MQTT.md) for further information
|
||||
|
||||
## QT Wrapper Interface
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
MQTT Client for OpenZWave
|
||||
=========================
|
||||
|
||||
Docker Repo: https://hub.docker.com/r/openzwave/ozw-mqtt
|
||||
Docker Repo: https://hub.docker.com/r/openzwave/ozwdaemon
|
||||
|
||||
Copy the "config" folder from OZW to `/tmp/ozw/`.
|
||||
|
||||
Start a 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 USBPATH=/dev/ttyUSB0 openzwave/ozw-mqtt:latest
|
||||
docker run -it --security-opt seccomp=unconfined --device=/dev/ttyUSB0 -v /tmp/ozw:/opt/ozw/config -e MQTT_SERVER="10.100.200.102" -e USBPATH=/dev/ttyUSB0 openzwave/ozwdaemon:latest
|
||||
```
|
||||
|
||||
(replace `MQTT_SERVER` with the IP address of the MQTT Server and all `/dev/ttyUSB0` entries with the path to your USB Stick.
|
||||
|
|
Loading…
Add table
Reference in a new issue