-
Notifications
You must be signed in to change notification settings - Fork 100
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
What would best way to calculate cost of charge? #55
Comments
Use most recent value of |
@CptanPanic Did you solve the problem? I'm looking for a similar dashboard, but i'm very new to this sql syntax and yea.... |
I haven't gotten it to really work yet, but am trying to just use the variable charge_energy_added, which increases as you charge. So you take the max of each charging session. |
Whats the way you detect the charging sessions? |
So the way I have it so far is look for charger_state of "Disconnected" and then find the previous value of charge_energy_added. |
I would like to get data similar to teslafi charging data https://about.teslafi.com/charge-tracking/ like how much was charged in a session and how much that cost. Any ideas how to do that with the data we have?
The text was updated successfully, but these errors were encountered: