Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline Charging sessions - Missing Added Energy + Default Charge Type #4401

Open
1 task done
donok1 opened this issue Nov 25, 2024 · 2 comments
Open
1 task done

Offline Charging sessions - Missing Added Energy + Default Charge Type #4401

donok1 opened this issue Nov 25, 2024 · 2 comments
Labels
closed:invalid This doesn't seem right note:discussion Details or approval are up for discussion

Comments

@donok1
Copy link

donok1 commented Nov 25, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

At home (geo-fenced defined location) the car is parked and charged in an underground garage without internet connection.
The charge session are correctly identified in duration and location, but I have two recurrent issues:

  1. Every few charging session, the amount of total added energy cannot be calculated and is left blank, although the before and after SOC are correctly identified. Additionally, when it calculate the added energy, it often show a lower amount than effectively charged.
    For the second charge on the screenshot below, 23% -> 100% should add up to at least 43 kWh (for my 56 kWh battery, not counting charging losses).
    Anybody has an idea why that could be ?

  2. The charging session are recorded as DC, while it is actually AC charging. As it is offline, teslamate cannot know which type it is.
    Is there a way to add a default charge type to a Geo-Fenced location to cover the case of offline charges ?

Relevant log output

And here a log of the past 3 charges: teslamate_log_25-11-2024_charges.log

Screenshots

Here a screenshot of some past home charges:
Screenshot 2024-11-25 at 09 00 23

Additional data

charges.csv
charging_processes.csv

Type of installation

Docker

Version

v1.31.1

@JakobLichterfeld
Copy link
Collaborator

JakobLichterfeld commented Nov 25, 2024

charged in an underground garage without internet connection

Without internet connection, no data got populated to the API and TeslaMate is not able to retrieve any information

Therefore, the charge is not logged.

As soon as your car get internet connection again, TeslaMate recognize the new SOC and try to do its best to fit in the values, but the charging sessions was never populated to API and is lost, therefore the values can not be accurate.

@JakobLichterfeld JakobLichterfeld added closed:invalid This doesn't seem right note:discussion Details or approval are up for discussion labels Nov 25, 2024
@donok1
Copy link
Author

donok1 commented Nov 25, 2024

I understand that the API is an available, and not data during the charge is to the expect.

As I understand, commit 1317588 back in v1.6.0 added the automatic recognition of charge session during offline periods.
I was just wondering if there would be a way to improve the resulting "added energy" calculation. As the charge states at beginning and end of the session (or before and after the offline period) are correctly saved, a more precise value of the added energy should be calculable.

I also noticed that "Charge Detail" Dashboard displays a different (also apparently false) value when no added energy is recorded for the charging session. Here the screenshots for the 2 first sessions:

Charge 1: no added energy recorded in Log nor in the charge_process
Screenshot 2024-11-25 at 21 27 21

Charge 2: added energy recorded in data but is wrong
Screenshot 2024-11-25 at 21 28 55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed:invalid This doesn't seem right note:discussion Details or approval are up for discussion
Projects
None yet
Development

No branches or pull requests

2 participants