Files
ha-addon-teslamate/README.md
T
Thomas MooreandMatt White d544873055 Add Ingress Support (#1)
* Add ingress support

* Development framework

* Add ARCH arg for correct s6 version

* Support new ARCH arg for correct s6 overlay version

* Add PR trigger to workflow

* Add image again

Co-authored-by: Matt White <matt.white@microsoft.com>
2021-01-08 14:24:13 +00:00

43 lines
1.2 KiB
Markdown

# TeslaMate Addon for Home Assistant
This addon builds on the excellent work of [Adrian Kumpf](https://github.com/adriankumpf/teslamate). See his repo for information regarding the TeslaMate application.
## DB Connection
If using the Postgres addon from this repo, the database host is ```29b65938-postgres```
## Grafana Configuration
> I recommend you use the existing Grafana addon from the community addons
**NEW - Automatic dashboard uploading!**
### Data Source
Configure a PostgreSQL data source as follows:
![Grafana Postgres data source](https://raw.githubusercontent.com/matt-FFFFFF/hassio-addon-teslamate/main/media/grafana-postgres.png)
### Uploading Dashboards
Configure the **Grafana** addon and set the admin username and password:
```yml
env_vars:
- name: GF_SECURITY_ADMIN_USER
value: admin
- name: GF_SECURITY_ADMIN_PASSWORD
value: mysecretpassword
```
Now configure the **Teslamate** addon:
```yaml
grafana_import_dashboards: true
grafana_folder_name: "TeslaMate"
grafana_host: "a0d7b954-grafana" # this is correct if you use the community addon
grafana_port: 3000 # this is correct if you use the community addon
grafana_user: "admin"
grafana_pass: "pass"
```