-
Notifications
You must be signed in to change notification settings - Fork 766
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
Unable to display power using three-phase electricity #4206
Comments
Thanks for reporting. Can you elaborate a bit more? |
ok. |
I know you have to change CurrentChargeView.json original: change to: But I can apply it. It did work. But I don't know how to save it. I cannot change from the Garafana UI. |
@swiffer May I ask you to take a look into the proposed change? |
@matthew0129 - CurrentChargeView.json is no dashboard available in TeslaMate, it's part of of TeslaMate Custom Grafana Dashboards. Anyhow (same query used in charge-details.json): The solution proposed by @matthew0129 is adding a new case for charger_phases = 3, the issue reported by @oven1231231234 is occuring when charger_phases remain 0 for the whole drive. in that case charger_power is used directly, so it should always return the average. @oven1231231234 - can you share the raw data (charges) of your charging_process? query currently used (reformatted to make it easier to read): SELECT
$__timeGroupAlias(date,$__interval),
avg(
case
when charger_phases >= 1 then (
case
when charger_phases = 2 then 3
when charger_phases = 1 then 1
else 0
end
) * charger_actual_current * charger_voltage / 1000.0
else charger_power
end
) as "Power"
FROM charges
WHERE charging_process_id = $charging_process_id
GROUP BY 1 ORDER BY 1 oh and both -> update to the latest version, totally worth it ;) also addresses making changes via Grafana UI ;) |
How can I query raw data?@swiffer |
Is there an existing issue for this?
What happened?
Unable to display power using three-phase electricity tesla models 2014 P85
Expected Behavior
No response
Steps To Reproduce
No response
Relevant log output
Screenshots
Additional data
charges.csv
Type of installation
Docker
Version
1.30.1
The text was updated successfully, but these errors were encountered: