Document additional TeslaMate configuration changes (#68)

* Add TeslaMate cfg helper message to log

* Add TeslaMate config details
This commit is contained in:
Colin Seymour
2025-02-02 09:48:15 +00:00
committed by GitHub
parent 33d50cce75
commit 540732b90a
2 changed files with 36 additions and 0 deletions
@@ -76,6 +76,17 @@ else
exit 1
fi
if [[ -z $(PGPASSWORD="$DATABASE_PASS" psql -h "$DATABASE_HOST" -p "$DATABASE_PORT" -U "$DATABASE_USER" "$DATABASE_NAME" -Atqc "SELECT 1 FROM settings WHERE base_url LIKE '%api/hassio_ingress%'") ]]; then
teslamate_ingress=$(bashio::addon.ingress_entry)
grafana_ingress=$(bashio::addon.ingress_entry $(bashio::supervisor.addons | grep grafana))
bashio::log.info "Configure TeslaMate settings by adding these values
to the URL you use to access your Home Assistant instance:
=> Web App: $teslamate_ingress
=> Dashboards: $grafana_ingress
"
fi
ulimit -n 1048576
bashio::log.info "Starting TeslaMate..."