Skip to content

emazzotta/carstatus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🚘 Get the current status of your Tesla

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published