mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 13:10:30 -04:00
Remove default Postgres configuration and add-on suggestion (#25)
Don't default to old Postgres
This commit is contained in:
@@ -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_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`.
|
- `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-addon]: https://github.com/hassio-addons/addon-grafana
|
||||||
[grafana-datasource]: https://raw.githubusercontent.com/lildude/hassio-addon-teslamate/main/imgs/grafana-postgres.png
|
[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
|
[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
|
[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
|
[ssh-addon]: https://github.com/home-assistant/addons/blob/master/ssh/DOCS.md
|
||||||
[teslafi-import]: https://docs.teslamate.org/docs/import/teslafi
|
[teslafi-import]: https://docs.teslamate.org/docs/import/teslafi
|
||||||
|
|||||||
@@ -25,9 +25,7 @@ Thanks to @matt-FFFFFF for maintaining this add-on in the past.
|
|||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
TeslaMate needs a PostgreSQL database.
|
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.
|
I recommend using the [PostgreSQL add-on][alexbelgium-postgres] from @alexbelgium's repository if you aren't already using Postgres.
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
To get the full experience, it is recommended that you also install the community [Grafana add-on][grafana-addon] and [MQTT integration][mqtt].
|
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
|
[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
|
[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
|
[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
|
[docker]: https://hub.docker.com/r/teslamate/teslamate
|
||||||
[elixir]: https://elixir-lang.org/
|
[elixir]: https://elixir-lang.org/
|
||||||
[grafana-addon]: https://github.com/hassio-addons/addon-grafana
|
[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
|
[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
|
[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
|
[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
|
[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
|
[teslamate-backup]: https://docs.teslamate.org/docs/maintenance/backup_restore
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
"database_user": null,
|
"database_user": null,
|
||||||
"database_pass": null,
|
"database_pass": null,
|
||||||
"database_name": "teslamate",
|
"database_name": "teslamate",
|
||||||
"database_host": "29b65938-postgres",
|
"database_host": null,
|
||||||
"database_port": 5432,
|
"database_port": 5432,
|
||||||
"database_ssl": false,
|
"database_ssl": false,
|
||||||
"grafana_import_dashboards": true,
|
"grafana_import_dashboards": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user