Update run
This commit is contained in:
parent
bf8b749805
commit
d6c1a5b668
1 changed files with 5 additions and 6 deletions
|
@ -22,12 +22,6 @@ bashio::log.info
|
||||||
bashio::log.info ${__BASHIO_COLORS_CYAN} "${message:="Hello World..."}"
|
bashio::log.info ${__BASHIO_COLORS_CYAN} "${message:="Hello World..."}"
|
||||||
bashio::log.info
|
bashio::log.info
|
||||||
|
|
||||||
# ---- Print Host BT Controller
|
|
||||||
message=$(echo "[Host Bluetooth MAC Address] $(bluetoothctl list)")
|
|
||||||
bashio::log.info
|
|
||||||
bashio::log.info ${__BASHIO_COLORS_BLUE} "${message:="Hello World..."}"
|
|
||||||
bashio::log.info
|
|
||||||
|
|
||||||
#set -x
|
#set -x
|
||||||
|
|
||||||
var="$(jq --raw-output '.Sensors_HA' $CONFIG_PATH)"
|
var="$(jq --raw-output '.Sensors_HA' $CONFIG_PATH)"
|
||||||
|
@ -54,6 +48,11 @@ value=$(bashio::config 'Connection_Type')
|
||||||
if bashio::var.equals "${value}" "Bluetooth"; then
|
if bashio::var.equals "${value}" "Bluetooth"; then
|
||||||
/usr/bin/sbfspot/genBluetoothConfig.sh /usr/bin/sbfspot/SBFspot.cfg /usr/bin/sbfspot/SBFspotUpload.cfg
|
/usr/bin/sbfspot/genBluetoothConfig.sh /usr/bin/sbfspot/SBFspot.cfg /usr/bin/sbfspot/SBFspotUpload.cfg
|
||||||
bashio::log.info
|
bashio::log.info
|
||||||
|
# ---- Print Host BT Controller
|
||||||
|
message=$(echo "[Host Bluetooth MAC Address] $(bluetoothctl list)")
|
||||||
|
bashio::log.info
|
||||||
|
bashio::log.info ${__BASHIO_COLORS_BLUE} "${message:="Hello World..."}"
|
||||||
|
bashio::log.info
|
||||||
bashio::log.info
|
bashio::log.info
|
||||||
message=$(echo "|| Generating Bluetooth Configs ||")
|
message=$(echo "|| Generating Bluetooth Configs ||")
|
||||||
bashio::log.info ${__BASHIO_COLORS_BLUE} "${message:=""}"
|
bashio::log.info ${__BASHIO_COLORS_BLUE} "${message:=""}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue