From 322546cef508c25032e3970f4609668fcf1fb4b1 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 27 Jun 2019 14:13:01 +0000 Subject: [PATCH] consider bridge name --- Dockerfile | 1 + start.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 353afe1..9f43631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" diff --git a/start.sh b/start.sh index 5673f7e..860f37d 100755 --- a/start.sh +++ b/start.sh @@ -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