teslamate
by egeback
Helm chartv3.0.1App 4.4.0Verified publisher
A self-hosted data logger for your Tesla 🚘
About this chart
teslamate
A self-hosted data logger for your Tesla 🚘
Homepage: https://github.com/egeback/helm-charts/blob/main/charts/teslamate
Maintainers
| Name | Url | |
|---|---|---|
| egeback | [email protected] |
Source Code
- https://github.com/adriankumpf/teslamate
- https://github.com/egeback/helm-charts/blob/main/charts/teslamate
Requirements
| Repository | Name | Version |
|---|---|---|
| https://bjw-s-labs.github.io/helm-charts | common | 5.3.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| controllers.main.containers.main.env | object | See below | environment variables. See teslamate docs for more details. |
| controllers.main.containers.main.env.DATABASE_HOST | string | "{{ include \"bjw-s.common.lib.chart.names.fullname\" .}}-postgresql" | Postgres database hostname |
| controllers.main.containers.main.env.DATABASE_NAME | string | "{{ .Values.postgresql.auth.database }}" | Postgres database password |
| controllers.main.containers.main.env.DATABASE_PASS | string | "{{ .Values.postgresql.auth.password }}" | Postgres database password |
| controllers.main.containers.main.env.DATABASE_USER | string | `"{{ .Values.postgresql.auth.username | default "postgres" }}"` |
| controllers.main.containers.main.env.DISABLE_MQTT | string | "false" | Disables the MQTT feature if true |
| controllers.main.containers.main.env.ENCRYPTION_KEY | string | "MySuperSecretEncryptionKey" | Teslamate encryption key |
| controllers.main.containers.main.env.MQTT_HOST | string | "mosquitto" | MQTT server host |
| controllers.main.containers.main.env.MQTT_PORT | int | 1883 | MQTT server port |
| controllers.main.containers.main.env.TZ | string | "UTC" | Set the container timezone |
| controllers.main.containers.main.image.pullPolicy | string | "IfNotPresent" | image pull policy |
| controllers.main.containers.main.image.repository | string | "teslamate/teslamate" | image repository |
| controllers.main.containers.main.image.tag | string | chart.appVersion | image tag |
| controllers.main.containers.teslamate-abrp.enabled | bool | false | |
| controllers.main.containers.teslamate-abrp.env.CAR_MODEL | string | "tesla:my:19:bt37:awd" | |
| controllers.main.containers.teslamate-abrp.env.CAR_NUMBER | int | 2 | |
| controllers.main.containers.teslamate-abrp.env.MQTT_PASSWORD | string | "{{ dig \"MQTT_PASSWORD\" \"\" .Values.controllers.main.containers.main.env }}" | |
| controllers.main.containers.teslamate-abrp.env.MQTT_PORT | string | "{{ .Values.controllers.main.containers.main.env.MQTT_PORT }}" | |
| controllers.main.containers.teslamate-abrp.env.MQTT_SERVER | string | "{{ .Values.controllers.main.containers.main.env.MQTT_HOST }}" | |
| controllers.main.containers.teslamate-abrp.env.MQTT_USERNAME | string | "{{ dig \"MQTT_USERNAME\" \"\" .Values.controllers.main.containers.main.env }}" | |
| controllers.main.containers.teslamate-abrp.env.USER_TOKEN | string | "y0ur-4p1-k3y" | |
| controllers.main.containers.teslamate-abrp.image.repository | string | "fetzu/teslamate-abrp" | |
| controllers.main.containers.teslamate-abrp.image.tag | string | "4.0.2" | |
| controllers.main.containers.teslamateagile.enabled | bool | false | |
| controllers.main.containers.teslamateagile.env.DATABASE_HOST | string | "{{ include \"bjw-s.common.lib.chart.names.fullname\" . }}-postgresql" | |
| controllers.main.containers.teslamateagile.env.DATABASE_NAME | string | "{{ .Values.postgresql.auth.database }}" | |
| controllers.main.containers.teslamateagile.env.DATABASE_PASS | string | "{{ .Values.postgresql.auth.password }}" | |
| controllers.main.containers.teslamateagile.env.DATABASE_USER | string | "{{ .Values.postgresql.auth.username }}" | |
| controllers.main.containers.teslamateagile.env.TZ | string | "{{ .Values.controllers.main.containers.main.env.TZ }}" | |
| controllers.main.containers.teslamateagile.env.TeslaMate__EnergyProvider | string | "Tibber" | |
| controllers.main.containers.teslamateagile.env.TeslaMate__FeePerKilowattHour | int | 0 | |
| controllers.main.containers.teslamateagile.env.TeslaMate__GeofenceId | int | 1 | |
| controllers.main.containers.teslamateagile.env.TeslaMate__UpdateIntervalSeconds | int | 300 | |
| controllers.main.containers.teslamateagile.env.Tibber__AccessToken | string | "MyAccessToken" | |
| controllers.main.containers.teslamateagile.image.repository | string | "mattjeanes/teslamateagile" | |
| controllers.main.containers.teslamateagile.image.tag | string | "v1.23.0" | |
| controllers.main.containers.teslamateapi.enabled | bool | false | |
| controllers.main.containers.teslamateapi.env.DATABASE_HOST | string | "{{ include \"bjw-s.common.lib.chart.names.fullname\" . }}-postgresql" | |
| controllers.main.containers.teslamateapi.env.DATABASE_NAME | string | "{{ .Values.postgresql.auth.database }}" | |
| controllers.main.containers.teslamateapi.env.DATABASE_PASS | string | "{{ .Values.postgresql.auth.password }}" | |
| controllers.main.containers.teslamateapi.env.DATABASE_USER | string | "{{ .Values.postgresql.auth.username }}" | |
| controllers.main.containers.teslamateapi.env.ENCRYPTION_KEY | string | "{{ .Values.controllers.main.containers.main.env.ENCRYPTION_KEY }}" | |
| controllers.main.containers.teslamateapi.env.MQTT_HOST | string | "{{ .Values.controllers.main.containers.main.env.MQTT_HOST }}" | |
| controllers.main.containers.teslamateapi.env.TZ | string | "{{ .Values.controllers.main.containers.main.env.TZ }}" | MQTT password MQTT_PASSWORD: |
| controllers.main.containers.teslamateapi.image.repository | string | "tobiasehlert/teslamateapi" | |
| controllers.main.containers.teslamateapi.image.tag | string | "1.25.0" | |
| controllers.main.containers.teslamateapi.name | string | "teslamateapi" | |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| ingress.teslamate-api.enabled | bool | false | |
| ingress.teslamate-api.hosts[0].host | string | "teslamate-api.example.com" | |
| ingress.teslamate-api.hosts[0].paths[0].path | string | "/" | |
| ingress.teslamate-api.hosts[0].paths[0].pathType | string | "Prefix" | |
| ingress.teslamate-api.hosts[0].paths[0].service.identifier | string | "teslamate-api" | |
| ingress.teslamate-api.hosts[0].paths[0].service.name | string | "teslamate-api" | |
| ingress.teslamate-api.hosts[0].paths[0].service.port | int | 8080 | |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| postgresql | object | See values.yaml | Bundled PostgreSQL on the official postgres image. When enabled the chart creates a StatefulSet, Service and Secret, and TeslaMate (and the API/Agile sidecars) read DATABASE_PASS from that Secret. |
| postgresql.auth.existingSecret | string | "" | Existing Secret with the key password |
| postgresql.auth.password | string | "" | Password for username; required unless existingSecret is set |
| postgresql.enabled | bool | false | Deploy a PostgreSQL StatefulSet; disable to use an external database (set DATABASE_* env yourself) |
| postgresql.image.tag | string | "18.6" | TeslaMate's reference setup uses PostgreSQL 18; major upgrades need a dump/restore renovate: datasource=docker depName=postgres |
| postgresql.persistence.storageClass | string | "" | StorageClass for the data volume ("-" for none, empty for the cluster default) |
| service | object | See values.yaml | Configures service settings for the chart. |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy teslamate with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has teslamate on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartteslamate is pinned at v3.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply