Giter VIP home page Giter VIP logo

Comments (10)

cwanja avatar cwanja commented on July 19, 2024 1

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.

dyxyl avatar dyxyl commented on July 19, 2024 1

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.

ckonrado avatar ckonrado commented on July 19, 2024

This usually is due to the StreamingAPI being enabled.
Disable this in settings and the jumping stops.

from teslamate.

cwanja avatar cwanja commented on July 19, 2024

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.

dyxyl avatar dyxyl commented on July 19, 2024

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.

cwanja avatar cwanja commented on July 19, 2024

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.

cwanja avatar cwanja commented on July 19, 2024

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.

JakobLichterfeld avatar JakobLichterfeld commented on July 19, 2024

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.

dyxyl avatar dyxyl commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.