added new config parameter and upped version
This commit is contained in:
parent
49214bf8f4
commit
b7f3f65ff0
4 changed files with 14 additions and 15 deletions
|
|
@ -10,6 +10,7 @@ MQTTUSERNAME=$(jq --raw-output ".mqttUsername" $CONFIG_PATH)
|
|||
MQTTPASSWORD=$(jq --raw-output ".mqttPassword" $CONFIG_PATH)
|
||||
INCLUDEROOMSASLIGHTS=$(jq --raw-output ".includeRoomsAsLights" $CONFIG_PATH)
|
||||
CONNECTIONTIMEOUT=$(jq --raw-output ".connectionTimeout" $CONFIG_PATH)
|
||||
WRITEQUEUEWAITTIME=$(jq --raw-output ".writeQueueWaitTime" $CONFIG_PATH)
|
||||
|
||||
PLEJD_PATH=/data/plejd.json
|
||||
PLEJD_CONFIG="{
|
||||
|
|
@ -20,7 +21,8 @@ PLEJD_CONFIG="{
|
|||
\"mqttUsername\": \"$MQTTUSERNAME\",
|
||||
\"mqttPassword\": \"$MQTTPASSWORD\",
|
||||
\"includeRoomsAsLights\": \"$INCLUDEROOMSASLIGHTS\",
|
||||
\"connectionTimeout\": \"$CONNECTIONTIMEOUT\"
|
||||
\"connectionTimeout\": \"$CONNECTIONTIMEOUT\",
|
||||
\"writeQueueWaitTime\": \"$WRITEQUEUEWAITTIME\"
|
||||
}
|
||||
"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue