Correct firmware showing in Teslamate, but not in Grafana #648
Comments
|
Hi @espenu, The Grafana view is running following query: Based on your lines of the database table of updates, your last version of update seems to be missing. Which would lead to why Grafana is missing those details. Question here would be, why the newest version is missing actually... |
Yeah, I noticed it was missing. I updated to 1.19.2 yesterday evening and It's still wrong in Grafana now.
I don't know if that could have any causal link with the version issue. |
|
Normally TeslaMate notices when a firmware update is installed. When you installed the update, there were problems with the Tesla API (hence the timeouts). For these cases there is a fallback mechanism that detects retrospectively if an update was installed while the car was unavailable. This mechanism had a bug which should be fixed on master. |
|
I experienced the same problem last night/this morning. Car woke naturally to start charging at 00:30, and I logged into the app at the same time and noticed there was a software update available (2020.12.11.1). Set the update off and went to bed. The Tesla app and TeslaMate show the new firmware version, but Grafana shows the old firmware (2020.8.5) everywhere. There is no entry for the new firmware on the "Updates" dashboard either. I'm on version 1.19.3 of TeslaMate, which I believe is current. I haven't tried restarting TeslaMate/Grafana since 1.19.3 was released, as I didn't think I would have to. Do you have to go into the car to "finish" the install so that TeslaMate/Grafana will see it properly? |
Describe the bug
Last night I received and update for my car (2020.12.10 e0ccfda3d911), but that version does not show in Grafana. Instead it's showing the previous version that was installed (2020.12.5 e2179e0650f0). It does however show the correct version in Teslamate.
Expected behavior
Grafana firmware version should match what the car has.
Relevant entries from the logs
Logs from starting from around the time where I updated the car.
Data
last lines from database updates table:
12,2019-12-29 09:48:21.752336,2019-12-29 10:05:43.318123,2019.40.2.5 6c8e76e3e807,1
13,2020-01-28 05:07:22.836928,2020-01-28 05:39:50.592594,2020.4.1 4a4ad401858f,1
14,2020-03-23 20:46:07.478,2020-03-23 20:58:15.564,2020.8.2 dc9bc402da23,1
15,2020-04-09 22:00:34.631,2020-04-09 22:25:59.259,2020.12.5 e2179e0650f0,1
The text was updated successfully, but these errors were encountered: