bumpt to next test version

This commit is contained in:
Stefan Allius
2025-05-31 20:28:58 +02:00
parent 32d90cfd85
commit dc917dec4f
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
name: TSUN-Proxy (Dev)
description: MQTT Proxy for TSUN Photovoltaic Inverters
version: 0.14.0-dev-2505312014
version: 0.14.0-dev-2505312027
image: docker.io/sallius/tsun-gen3-addon
url: https://github.com/s-allius/tsun-gen3-proxy
slug: tsun-proxy-dev

View File

@@ -5,7 +5,7 @@ bashio::cache.flush_all
echo "run.sh: info: check for Home Assistant supervisor API"
MQTT_HOST=""
if bashio::supervisor.ping; then
echo "run.sh: info: check for Home Assistant MQTT"
bashio::log "run.sh: info: check for Home Assistant MQTT"
if bashio::services.available mqtt; then
MQTT_HOST=$(bashio::services mqtt "host")
MQTT_PORT=$(bashio::services mqtt "port")
@@ -20,7 +20,7 @@ fi
# if a MQTT was/not found, drop a note
if [ -z "$MQTT_HOST" ]; then
echo "run.sh: info: MQTT configuration not found"
bashio::log.yellow "run.sh: info: MQTT configuration not found"
else
echo "run.sh: info: MQTT found"
export MQTT_HOST
@@ -41,3 +41,4 @@ export VERSION=$(cat /proxy-version.txt)
echo "run.sh: info: Start Proxyserver..."
python3 server.py --rel_urls --json_config=/data/options.json --log_path=/homeassistant/tsun-proxy/logs/ --config_path=/homeassistant/tsun-proxy/ --log_backups=2
echo "run.sh: info: Proxyserver stopped"