Skip to content

Commit

Permalink
Update tesla_apiscraper.md (#1174)
Browse files Browse the repository at this point in the history
Give an example how to get the vehicle_id from teslamate.
  • Loading branch information
Bdot42 authored Jan 3, 2021
1 parent 3beb816 commit 354270c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/import/tesla_apiscraper.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ All of this is experimental and has not been extensively tested. If you encounte
1. Obtain your Tesla's **vehicle ID** number. It's a 10- or 11-digit number that uniquely identifies your car, and is part of the TeslaFi data format, but it's not included in tesla-apiscraper data - so you need to source it separately. There are several ways you can get it:

- Manually using the Tesla API. The number is listed under `vehicle_id` in the `vehicles` response, as documented here: [https://tesla-api.timdorr.com/api-basics/vehicles](https://tesla-api.timdorr.com/api-basics/vehicles).
- From the database of another Tesla API tracker you're already using, such as TeslaMate.
- From the database of another Tesla API tracker you're already using, such as TeslaMate (**docker-compose exec database psql teslamate teslamate -c 'select vid from cars;'**).

2. Run the `teslafi-convert.sh` script (or `teslafi-convert.bat` if you're on Windows). You may need to `sudo` it / run it in an Administrator command line prompt if your Docker install needs root. It will do the following:

Expand Down

0 comments on commit 354270c

Please sign in to comment.