mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 13:10:30 -04:00
Document additional TeslaMate configuration changes (#68)
* Add TeslaMate cfg helper message to log * Add TeslaMate config details
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user