Coder Social home page Coder Social logo

Comments (10)

CarlosCuezva avatar CarlosCuezva commented on September 1, 2024

Thanks for the notice, I'll check it out.

from dashboards-grafana-teslamate.

CarlosCuezva avatar CarlosCuezva commented on September 1, 2024

Hi again!

I hope that the problem was fixed in release v1.13.1.

Actually the problem was not the MIN but when more than 1 recharge is registered in Teslamate in the selected period of time.

image

image

Can you do me a favor to check if it is solved with the new version?

Thanks again

from dashboards-grafana-teslamate.

Starmixcraft avatar Starmixcraft commented on September 1, 2024

Hi,
thanks for the quick fix.
I will install the new version right away.

Actually, I think the problem is something else, I have checked my charges dashboard and there was only one charge registered. I also only have one tesla registered in Teslamate, therefor interference by another car's data is also ruled out.

Il get back to you as once I can confirm or deny a fix (May take a few days).

Off-topic: Your dashboard extension is really amazing, I love it :D

from dashboards-grafana-teslamate.

CarlosCuezva avatar CarlosCuezva commented on September 1, 2024

Hi!

When you have been able to try it, tell me if it worked for you or not.

I'm glad you love them ;)

from dashboards-grafana-teslamate.

Starmixcraft avatar Starmixcraft commented on September 1, 2024

Hi,
sadly, the fix did not work as intended.
I tried finding the culprit and think it's the time filter.
The bug only occurs if the charging session is longer than 1h, because the default time filter is set to 1h.

Example:
Data point 1 at 09:00:00 charged 0kwh.
Data point 2 at 09:30:00 charged 6kwh.
Data point 3 at 10:00:00 charged 11kwh.

If we now trigger the request at 10:00:01 with the filter set to 1h, it will only return data point 2 and 3, therefor min() returns 6kwh and max() 11kwh. Increasing the default time filter does fix the bug, but this is not a nice fix, theoretical a charge could take a very long time if you charge by wall plug with minimum current. Maybe quarrying the last charge for the start time and setting that as the min time could solve the problem.

from dashboards-grafana-teslamate.

CarlosCuezva avatar CarlosCuezva commented on September 1, 2024

Ok now I understand, so I solved a part because I interpret it as how much energy you have recharged in that period of time.

Well, I have come up with an option to show your approach and mine at the same time. I'll see if I can do it.

from dashboards-grafana-teslamate.

CarlosCuezva avatar CarlosCuezva commented on September 1, 2024

I think that with this change the data for the selected period and the current recharge session would be displayed correctly

from dashboards-grafana-teslamate.

CarlosCuezva avatar CarlosCuezva commented on September 1, 2024

I have uploaded new changes ;)

from dashboards-grafana-teslamate.

Starmixcraft avatar Starmixcraft commented on September 1, 2024

Thanks for the fix,
I have already installed the new version and it works great.
Hopefully this will prevent any further confusion between the 2 values.
From my side the issue can be closed, unless you noticed any other problems.

from dashboards-grafana-teslamate.

CarlosCuezva avatar CarlosCuezva commented on September 1, 2024

Thank you!

It is true that before each person could interpret it differently.

Ok, I close it ;)

Regards

from dashboards-grafana-teslamate.

Related Issues (13)

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.