Skip to content

Commit

Permalink
Document TESLA_CACHE_FILE in README.md
Browse files Browse the repository at this point in the history
The `TESLA_CACHE_FILE` allows applications to skip handshake messages,
which is especially useful for `tesla-control`. It should be
documented in the main README file.
  • Loading branch information
Seth Terashima authored and sethterashima committed May 20, 2024
1 parent fb2b85f commit 83b83ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,15 @@ in lieu of command-line flags when using the above applications:
* `TESLA_VIN` specifies a vehicle identification number. You can find your VIN
under Controls > Software in your vehicle's UI. (Despite the name, VINs
contain both letters and numbers).
* `TESLA_CACHE_FILE` specifies a file that caches session information. The
cache allows programs to skip sending handshake messages to a vehicle.

For example:

```bash
export TESLA_KEY_NAME=$(whoami)
export TESLA_TOKEN_NAME=$(whoami)
export TESLA_CACHE_FILE=~/.tesla-cache.json
```

At this point, you're ready to go use the [the command-line
Expand Down

0 comments on commit 83b83ea

Please sign in to comment.