Comments (10)
Really not sure if there is a fix, but open to a discussion on what might be the problem. As mentioned, it does not happen to every drive. And in fact, even the example above, it does not happen for the whole drive. Just portions of the drive.
Interested in others thoughts.
from teslamate.
I found one of my drives that also shows the problem if I zoom in very close (the timestamps are within a second of each other rather than your more spaced-out timestamps).
That was with grafana 9.5.16.
I then updated to grafana 10.3.3 and the problem went away, so it is probably a bug in grafana.
from teslamate.
This usually is due to the StreamingAPI being enabled.
Disable this in settings and the jumping stops.
from teslamate.
This usually is due to the StreamingAPI being enabled. Disable this in settings and the jumping stops.
Why would some drives that use the StreamingAPI not have the issue?
The data is perfectly fine, see the links using the longitude and latitude links.
from teslamate.
It is interesting that moving the mouse moves the dot on the map even though the time in the drive stats stays the same. That suggests there are more positions with the same time to the nearest second.
Are there any other rows in the positions table for that range of dates? E.g. try this (edit car_id = 1 for the id if your car if different):
SELECT
id,
date,
latitude,
longitude,
power,
speed
FROM positions
WHERE
car_id = 1 AND
date >= '2024-03-02 21:17:23' and date < '2024-03-02 21:17:55'
ORDER BY
date ASC;
from teslamate.
It is interesting that moving the mouse moves the dot on the map even though the time in the drive stats stays the same. That suggests there are more positions with the same time to the nearest second.
Are there any other rows in the positions table for that range of dates? E.g. try this (edit car_id = 1 for the id if your car if different):
SELECT id, date, latitude, longitude, power, speed FROM positions WHERE car_id = 1 AND date >= '2024-03-02 21:17:23' and date < '2024-03-02 21:17:55' ORDER BY date ASC;
Only the three IDs I previously provided.
teslamate=# SELECT
id,
date,
latitude,
longitude,
power,
speed
FROM positions
WHERE
car_id = 1 AND
date >= '2024-03-02 21:17:23' and date < '2024-03-02 21:17:55'
ORDER BY
date ASC;
id | date | latitude | longitude | power | speed
---------+-------------------------+-----------+------------+-------+-------
3440585 | 2024-03-02 21:17:23.426 | 29.737305 | -95.458548 | 31 | 34
3440586 | 2024-03-02 21:17:38.886 | 29.739198 | -95.458236 | 127 | 64
3440587 | 2024-03-02 21:17:54.305 | 29.743225 | -95.457553 | -1 | 124
(3 rows)
teslamate=#
from teslamate.
Thanks for the review and confirmation @dyxyl.
@JakobLichterfeld, do we have a way to test new Grafana versions or is just all manual to confirm dashboards work? @dyxyl, are you seeing any issues in 10.3.3
of Grafana with TeslaMate dashboards?
from teslamate.
do we have a way to test new Grafana versions or is just all manual to confirm dashboards work?
No automated tests for grafana dashboards atm
from teslamate.
I've not found any problems with 10.3.3 yet. The only difference I've noticed is the map using cross hairs for tracking the position instead of a blob.
from teslamate.
Related Issues (20)
- Model S MCU1 sleep issues HOT 19
- Battery Health - LFP - Status: 500. Message: convert frame from rows error: pq: division by zero HOT 4
- Has edge been updated? HOT 3
- TZ environment variable name confusion HOT 25
- Error on QNAP TS-231P3 HOT 1
- Extend version with more build info HOT 5
- Some address could not be displayed HOT 1
- Battery Health not showing on new cars? HOT 1
- CI: update upload-artifact action HOT 15
- build: bump app base image to fix 'GLIBC_2.34' not found error HOT 6
- build: reduce the size of the Docker image by cleaning the APT cache
- New Tesla API for authentication HOT 1
- Drive state appears as online state while driving. HOT 3
- Internal server error due to "time_zone_not_found" HOT 10
- Programatic way to cancel sleep attempt HOT 10
- collation version mismatch HOT 5
- "Too many disconnects from streaming API" error HOT 3
- Dynamically varying the polling frequency HOT 2
- Cannot fetch MQTT for a hosted instance of Teslamate HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslamate.