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 102 forks source link

Variable query for Car wrong in TeslaMetrics V2 #69

Closed ServusNL closed 11 months ago

ServusNL commented 5 years ago

The query for getting the car name is wrong in when importing the dashboard TelaMetrics V2. I have copied the query from one of the other templates and now it works.

select distinct(display_name) from (select * from charge_state)

lephisto commented 5 years ago

Thanks will put into next rls.

nathanpegram commented 5 years ago

I suspect it would be more efficient to use show tag values from charge_state with key = "display_name"