Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Templating Failed to upgrade legacy queries Datasource TeslaMate was not found #115

Open
BogdanDIA opened this issue Nov 13, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@BogdanDIA
Copy link

BogdanDIA commented Nov 13, 2023

Describe the bug
PostgreSQL is installed and configured
TeslaMate si conected to the Tesla API server - it correctly shows the location
MQTT is correctly configured - I can see MQTT messages from the broker.

I can see the TeslaMate dashboards in grafana. However, whenever I choose one, I get unpopulated dashboard and the error "Templating Failed to upgrade legacy queries Datasource TeslaMate was not found" .

I'm using HA on rpi4 with the following versions:

Supervisor 2023.11.0
Operating System 11.1
Frontend 20231005.0 - latest

13:33:42] INFO: Checking for Grafana folder: TeslaMate
[13:33:43] INFO: ... RESTORED statistics.json
[13:33:43] INFO: ... RESTORED overview.json
[13:33:43] INFO: ... RESTORED vampire-drain.json
[13:33:43] INFO: ... RESTORED timeline.json
[13:33:44] INFO: ... RESTORED updates.json
[13:33:44] INFO: ... RESTORED charge-level.json
[13:33:44] INFO: ... RESTORED mileage.json
[13:33:44] INFO: ... RESTORED charges.json
[13:33:44] INFO: ... RESTORED drives.json
[13:33:44] INFO: ... RESTORED charging-stats.json
[13:33:45] INFO: ... RESTORED drive-stats.json
[13:33:45] INFO: ... RESTORED locations.json
[13:33:45] INFO: ... RESTORED battery-health.json
[13:33:45] INFO: ... RESTORED states.json
[13:33:45] INFO: ... RESTORED visited.json
[13:33:46] INFO: ... RESTORED efficiency.json
[13:33:46] INFO: ... RESTORED projected-range.json
[13:33:46] INFO: ... RESTORED trip.json
[13:33:46] INFO: ... RESTORED charge-details.json
[13:33:47] INFO: ... RESTORED drive-details.json
[13:33:47] INFO: Finished Importing Grafana Dashboards

See below screenshot

Screenshots
Grafana_TeslaMate

@BogdanDIA BogdanDIA added the bug Something isn't working label Nov 13, 2023
@foXaCe
Copy link

foXaCe commented Nov 15, 2023

I have the same problem, did you solve this?

@BogdanDIA
Copy link
Author

No

@pacioc193
Copy link

Have you tried to connect directly from the port and not trough the home assistant dashboard?

@jacxon4
Copy link

jacxon4 commented Feb 8, 2024

Just installed all together and even though I'm able to see the car location and status on Teslamate, all Grana dashboards are showing this very same error. Do we need a warm up time?

No visible errors at any of the components ( PostgreSQL, Grana, Mosquito or Teslamate)

@jacxon4
Copy link

jacxon4 commented Feb 9, 2024

I discovered that I misspeled the datasource configuration on Grafana for the Postgres so instead of TeslaMate I used Teslamate. I changed it, reinstalled to have a clean configuration for all and now is working like a charm...

@jjwBullfrog
Copy link

I have a similar problem where many of my dashboards work, but some do not work. Or some plots within a dashboard don't work. Any ideas on what is wrong?

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants