Sync your Tesla data between Teslamate and ABRP.
- Fork of letienne/teslamate-abrp.
- Modified following the documentation of:
- Python 2.7+
- Install dependencies of Python included in requirements.txt
- Install all dependencies of Python
pip install -r requirements.txt
- Create the
config.py
file - 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
- Run the script
- Run on command line (ideal for testing)
python ./teslamate2abrp.py
- Run in the background
nohup python ./teslamate2abrp.py &