lephisto / tesla-apiscraper

API Scraper for pulling Vehicle Statistics from the Tesla Owner API into an InfluxDB + Grafana Dashboards
GNU Lesser General Public License v3.0
365 stars 104 forks source link

Scrape all cars on account #54

Closed psarossy closed 5 years ago

psarossy commented 5 years ago

I see that you can configure the car index on the account, but I can't figure out a way how to scrape all cars on the account without running 2 separate instances. This would still be fine if the config file could be specified on startup but I can't find a way to to that either.

Am I missing something or do I need to maintain 2 copies/instances if I wanna scrape 2 cars?

Thanks in advance!

wtran63 commented 5 years ago

Based on what I understand of the code, it currently only tracks a single car per instance

lephisto commented 5 years ago

it should be able to do multiple, but i didn't test it because i can't afford a second tesla :)