Get your Tesla's current status.
- Docker 18 or later
# Get the code, cd to carstatus, setup carstatus in Docker
git clone git@github.com:emazzotta/carstatus.git && \
cd carstatus && \
make bootstrap
- Get your tesla token, see instructions
- Adapt the
.env
-file with your token
.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 |
make run
🚀 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