0.0.10 • Published 4 years ago

cognite-tesla v0.0.10

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
4 years ago

Cognite Tesla extractor

Extract real-time data from your Tesla into Cognite Data Fusion.

Create asset hierarchy

You need to have the Cognite SDK installed. To create the asset hierarchy and corresponding time series, run

python create_cdf_resources.py

Run the extractor

Install the extractor with

npm install cognite-tesla

If you have one car, you can start sampling by running this command (you can also specify input variables as environment variables where --vehicleindex is specified as VEHICLE_INDEX).

cognite-tesla \
  --username $TESLA_USERNAME \
  --password $TESLA_PASSWORD \
  --project $COGNITE_PROJECT \ 
  --apikey $COGNITE_API_KEY \
  --vehicleindex

If you have multiple cars, list the vehicles with

cognite-tesla \
  --username $TESLA_USERNAME \
  --password $TESLA_PASSWORD \
  --listvehicles

to find the index of the car you want to sample for.

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago