/carstatus

🚘 Get the current status of your Tesla

Primary LanguagePython

Car Status

Get your Tesla's current status.

Getting started

Prerequisites

  • Docker 18 or later

Bootstrap

# Get the code, cd to carstatus, setup carstatus in Docker
git clone git@github.com:emazzotta/carstatus.git && \
    cd carstatus && \
    make bootstrap

Configuration/Authorization

.env variable name Use Required Default
TESLA_TOKEN The Tesla API Token True None
VEHICLE_ID Your car's id (see Tesla API) True None
DATE_OF_OWNERSHIP Since when you own the car False None
ALLOWED_KILOMETERS_PER_YEAR Max kilometers False None

Run

make run

Example Output

🚀 MyVehicleName stats
🔋 SoC: 75% (372.39 km range)
🌡 Temp: 23.7˚ (22.5˚ outside)
💻 Version: 2019.32.2.2 da05838
📌 Location: Müllerstrasse 16, 8004 Zürich
🛣 Odometer: 10000.00 km
🔒 Car locked

Author

Emanuele Mazzotta