consider bridge name

This commit is contained in:
Wolfgang Hottgenroth 2019-06-27 14:13:01 +00:00
parent 6ff2d72bb0
commit 322546cef5
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ ENV PIN "031-45-154"
ENV BROKER "mqtt://mosquitto"
ENV DATA_DIR "/opt/app"
ENV STORAGE_DIR "/opt/app/storage"
ENV NAME="MQTT to Homekit Bridge"
ARG USER="homekit"
ARG UID="51888"

View File

@ -1,4 +1,4 @@
#!/bin/bash
/usr/local/bin/homekit2mqtt -m $DATA_DIR/mapping.json -u $BROKER --insecure -c $PIN
/usr/local/bin/homekit2mqtt -m $DATA_DIR/mapping.json -s $STORAGE_DIR -b $NAME -u $BROKER --insecure -c $PIN