From 0121aa65489c6c76c572ce96ecd28d4cad0623d2 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Thu, 18 Jul 2024 16:56:09 +0000 Subject: [PATCH] Don't default to old Postgres --- DOCS.md | 3 +-- README.md | 6 ++---- config.json | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/DOCS.md b/DOCS.md index fe60506..83f2020 100644 --- a/DOCS.md +++ b/DOCS.md @@ -29,7 +29,7 @@ Remember to restart the add-on when the configuration is changed. - `database_port`: The port your PostgreSQL server is listening on. Default: `5432`. -- `database_host`: The hostname of your PostgreSQL server. Default: `29b65938-postgres` for the [PostgreSQL add-on][postgres]. +- `database_host`: The hostname of your PostgreSQL server. - `database_name`: The name of the PostgreSQL database. Default: `teslamate`. @@ -137,7 +137,6 @@ Follow this process: [grafana-addon]: https://github.com/hassio-addons/addon-grafana [grafana-datasource]: https://raw.githubusercontent.com/lildude/hassio-addon-teslamate/main/imgs/grafana-postgres.png [mosquitto-docs]: https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md -[postgres]: https://github.com/matt-FFFFFF/hassio-addon-postgres [samba-addon]: https://github.com/home-assistant/addons/blob/master/samba/DOCS.md [ssh-addon]: https://github.com/home-assistant/addons/blob/master/ssh/DOCS.md [teslafi-import]: https://docs.teslamate.org/docs/import/teslafi diff --git a/README.md b/README.md index e4435f8..da6f426 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,7 @@ Thanks to @matt-FFFFFF for maintaining this add-on in the past. ## Requirements TeslaMate needs a PostgreSQL database. -All development and testing has been done using [PostgreSQL add-on][postgres] for convenience but you're welcome to use your own. - -For convenience, my [add-ons repository][addons-repo] includes configuration that points to the [PostgreSQL add-on][postgres] so you can install everything from one repo. +I recommend using the [PostgreSQL add-on][alexbelgium-postgres] from @alexbelgium's repository if you aren't already using Postgres. To get the full experience, it is recommended that you also install the community [Grafana add-on][grafana-addon] and [MQTT integration][mqtt]. @@ -69,13 +67,13 @@ Everything should pick up where it was before. [addon]: https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Flildude%2Fha-addons [addons-repo]: https://github.com/lildude/ha-addons +[alexbegium-postgres]: https://github.com/alexbelgium/hassio-addons/tree/master/postgres [archs]: https://img.shields.io/badge/dynamic/json?color=green&label=Arch&query=%24.arch&url=https%3A%2F%2Fraw.githubusercontent.com%2Flildude%2Fha-addon-teslamate%2Fmain%2Fconfig.json [docker]: https://hub.docker.com/r/teslamate/teslamate [elixir]: https://elixir-lang.org/ [grafana-addon]: https://github.com/hassio-addons/addon-grafana [ingres-badge]: https://img.shields.io/badge/dynamic/json?label=Ingress&query=%24.ingress&url=https%3A%2F%2Fraw.githubusercontent.com%2Flildude%2Fha-addon-teslamate%2Fmain%2Fconfig.json [mqtt]: https://www.home-assistant.io/integrations/mqtt -[postgres]: https://github.com/matt-FFFFFF/hassio-addon-postgres [repo-btn]: https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg [sponsor-badge]: https://img.shields.io/badge/Sponsor_Me-%E2%9D%A4-ec6cb9?logo=GitHub [teslamate-backup]: https://docs.teslamate.org/docs/maintenance/backup_restore diff --git a/config.json b/config.json index 782ecd6..d7bafde 100644 --- a/config.json +++ b/config.json @@ -17,7 +17,7 @@ "database_user": null, "database_pass": null, "database_name": "teslamate", - "database_host": "29b65938-postgres", + "database_host": null, "database_port": 5432, "database_ssl": false, "grafana_import_dashboards": true,