CarlosCuezva / teslamate-abrp

Sync your Tesla data between Teslamate and ABRP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TeslaMate to A Better Routeplanner (ABRP)

Sync your Tesla data between Teslamate and ABRP.

Extra info

Requirements

  • Python 2.7+
  • Install dependencies of Python included in requirements.txt

Instructions

  1. Install all dependencies of Python
pip install -r requirements.txt
  1. Create the config.py file
  2. Configure the variables of your MQTT of Teslamate and ABRP inside config.py file
API_KEY = "32b2162f-9599-4647-8139-66e9f9528370"      
MQTT_SERVER = "@@@@@@@@"                              # MQTT server address (e.g. "127.0.0.1")
MQTT_PORT = "@@@@"                                    # MQTT server port (e.g. "1883")
USER_TOKEN = "@@@@@@@@-@@@@-@@@@-@@@@-@@@@@@@@@@@@"   # User token generated in ABRP
CAR_MODEL = "@@@@:@@:@@:@@@@:@@@@"                    # Car model (Find it on https://api.iternio.com/1/tlm/get_carmodels_list, e.g. "tesla:m3:19:bt36:none" for a Tesla Model 3 SR+ 2018-2020)
CAR_ID = "1"                                          # Car number (usually 1 if you only have a car)
DEBUG = True/False                                    # Enable or disable debug mode
  1. Run the script
  • Run on command line (ideal for testing)
python ./teslamate2abrp.py
  • Run in the background
nohup python ./teslamate2abrp.py &

About

Sync your Tesla data between Teslamate and ABRP

License:MIT License


Languages

Language:Python 100.0%