Skip to content

camillebaronnet/tesla-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Camille Baronnet
Apr 28, 2020
a60d621 ยท Apr 28, 2020

History

4 Commits
Jan 17, 2020
Jan 11, 2020
Jan 17, 2020
Jan 17, 2020
Apr 28, 2020

Repository files navigation

Tesla Client

Tesla Client is an unofficial CLI written in Rust to provide Tesla API.

๐Ÿ”ง Development

git clone https://github.com/camillebaronnet/tesla-client

cd tesla-client
cargo run -- --help

๐Ÿ•ฎ Commands

See flags on commands by using the --help flag. (ex: tesla-client login --help)

Login

$ tesla-client login
Username : YOURLOGIN
Password: *******

Login succeeded!
Token : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Token will be stored in these folders:

  • Linux: /home/YOU/.config/tesla-client
  • macOS: /Users/YOU/Library/Preferences/tesla-client
  • Windows: C:\Users\YOU\AppData\Roaming/tesla-client

List products

$ tesla-client products
ID                      VIN                     State           Name
xxxxxxxxxxxxxxxxx       xxxxxxxxxxxxxxxxx       offline         Blackmobile

๐Ÿ“‹ Todo

This program is currently WIP, help me finish it.

Here is the main roadmap :

Features

  • Login support
  • List of products
  • Detail each product (vehicles in first, then energy sites and Powerwalls)
  • Support car settings
  • Support vehicles commands like car unlocking...

Others

  • Catch API errors (like unauthorized)
  • Code reorganization (it's a noob code that discovers Rust)
  • Test the program (#shame)
  • Add a CI/CD (Tavis ?)
  • Add the right license (Free and prohibit any commercial use)
  • And, create issues for all these points

Releases

No releases published

Packages

No packages published

Languages