olexs / tesla-apiscraper-to-teslafi-export

Toolkit to export your data from tesla-apiscraper InfluxDB backend, convert it to TeslaFi CSV format, and fix up some typical data glitches
5 stars 1 forks source link

Import Successful, but with some glitches. #1

Open Vipercat opened 4 years ago

Vipercat commented 4 years ago

Hi @olexs,

I was able to succesfully use your solution to convert my tesla_apiscraper logs to teslafi.csv. The only thing I struggled with was identifying the vehicle_id that I was supposed to enter during the process. I made the mistake of entering the VIN and therefore the import in Teslamate failed. After querying the car via API I was noticed the vehicle_id and I realized my mistake. In addition I noticed that the export of the tesla_apiscraper logs generated all 9's for the 'id' and 'id_s' fields whereas my car actually has other numbers. So what I did is correcting the generated teslafixyyy.csv files with the correct 'vehicle_id', 'id' and 'id_s' fields and the import in Teslamate was succesfull.

My question therefore is: how can one identify the 'vehicle_id' without querying the car via API? There is no instruction for this and I've looked and looked but can't find this number anywhere else then via a query?

Thanks for letting me use your tool! Vipercat