Skip to content
/ tm-to-abrp Public

Teslamate MQTT to A Better Route Planner (ABRP) Bridge

License

Notifications You must be signed in to change notification settings

tma/tm-to-abrp

Folders and files

NameName
Last commit message
Last commit date
Aug 8, 2022
Sep 19, 2022
Apr 3, 2022
May 13, 2022
Aug 8, 2022
Nov 18, 2021
Apr 3, 2022
Nov 18, 2021
Nov 25, 2021
Jan 11, 2023
Nov 24, 2021
Sep 19, 2022
Oct 25, 2022
Oct 25, 2022

Repository files navigation

TM-to-ABRP

Teslamate MQTT to A Better Route Planner (ABRP) Bridge. A simple user interface allows you to enable updating your Tesla's live data from Teslamate to A Better Route Planner for a specified time period.

Usage

Run this container in isolation, or as part of your Teslamate's docker-compose.yml. Having MQTT set up for Teslamate is a requirement.

version: "3"

services:
  app:
    image: ghcr.io/tma/tm-to-abrp:latest
    environment:
      - PATH_PREFIX=/abrp # optional, default is /
      - TZ=Europe/Berlin # set timezone
      - MQTT=tcp://localhost:1883 # mqtt URL
      - TM_CAR_NUMBER=1 # teslamate car number
      - ABRP_CAR_MODEL=xyz # check values via https://api.iternio.com/1/tlm/get_carmodels_list
      - ABRP_TOKEN=xyz # car token
      - ABRP_API_KEY=xyz

Development

Use Codespaces on GitHub. To build and run the application using Docker, do this:

DOCKER_BUILDKIT=1 docker build . -t app --target test && docker run -it --rm --network host app

Credits

Heavily influenced by the Python-based implementation created by @letienne: letienne/teslamate-abrp