Skip to content

TeslaMateΒ #2121

Description

@MickLesk

Name of the Script

TeslaMate

Script Type

CT (LXC Container)

Does this script support arm64?

arm64 supported

πŸ“‹ Script Details

TeslaMate logs Tesla vehicle data β€” drives, charges, battery health, efficiency, updates β€” into PostgreSQL and visualises it through prebuilt Grafana dashboards, with optional MQTT publishing.

  • Follows upstream website/docs/installation/unsupported/debian.md. Debian trixie ships everything needed in-repo: elixir 1.18.3 (upstream needs >= 1.17), erlang, postgresql-17, mosquitto, nodejs.
  • Build: mix local.hex/local.rebar --force, mix deps.get --only prod, npm install/run deploy --prefix ./assets, MIX_ENV=prod mix do phx.digest, release --overwrite β†’ _build/prod/rel/teslamate/bin/teslamate. Several minutes, hence (Patience).
  • ExecStartPre runs TeslaMate.Release.migrate, as in the upstream unit.
  • Locale: en_US.UTF-8 is generated during install β€” TeslaMate refuses to start without a UTF-8 capable locale.
  • Grafana from apt.grafana.com (not in Debian), provisioned with the TeslaMate datasource and all three dashboard providers (TeslaMate, Internal, Reports) pointed at /opt/teslamate/grafana/dashboards, folder UIDs kept identical to upstream so dashboard cross-links keep working. Default home dashboard set to internal/home.json.
  • Note: TeslaMate has no auth of its own and stores Tesla API tokens β€” never expose :4000 directly. ENCRYPTION_KEY is generated at install; losing it means re-authenticating every vehicle. Both flagged as warnings.
  • Grafana on :3000 with admin/admin, must be changed on first login.

Source: https://github.com/teslamate-org/teslamate

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions