Get HA MQTT Broker values from bashio

This commit is contained in:
Adrian Jagielak
2025-07-21 23:04:44 +02:00
parent 15e74690fa
commit 206140f922
4 changed files with 21 additions and 9 deletions

View File

@@ -8,6 +8,12 @@ set -e
export FH_HUB_IP=$(bashio::config 'hub_ip')
export FH_USERNAME=$(bashio::config 'username')
export FH_PASSWORD=$(bashio::config 'password')
export MQTT_HOST=$(bashio::services mqtt "host")
export MQTT_PORT=$(bashio::services mqtt "port")
export MQTT_USER=$(bashio::services mqtt "username")
export MQTT_PWD=$(bashio::services mqtt "password")
export LOG_LEVEL=${LOG_LEVEL:-info}
/usr/bin/node /usr/src/app/dist/index.js