Intended for use within a docker, uses environment variables to define several configuration options required for zwave library to know how to work in your environment.
- MQTT_HOST Your mqtt host with full URI, example "mqtt://myawesomemqttserver.com" (you'll probably want a fast local host due to the message rates the zwave controller can generate
- MQTT_USER(optional) mqtt user
- MQTT_PASS(optional) mqtt password
- MQTT_ZWAVE_TOPIC mqtt topic you want to publish your zwave activity to.
- ZWAVE_DEVICE port/location the zwave stick is on. Examples for Windows: "\\.\COM3", Linux: "/dev/ttyUSB0", Raspberry Pi: "/dev/ttyACM0" Remember when running in a docker you will need to pass your actual device through as well.
The app will look for a OpenZwave.json configuration file in the /zwave folder for additional configuration options, in addition to storing the openzwave logs there. A full list of configuration options can be found here: https://github.com/OpenZWave/open-zwave/wiki/Config-Options