-
Notifications
You must be signed in to change notification settings - Fork 761
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
battery_level vs. usable_battery_level #321 #338
Conversation
Tests passing on my dev env now. Here I get: |
%> 100%)</td> | ||
</tr> | ||
<% end %> | ||
<%= unless is_nil(@summary.usable_battery_level) do %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to hide the 'Usable State of Charge' row if usable_battery_level
== battery_level
? What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure makes sense. There is no additional information when both are the same.
I'll also try to make a snowflake when difference is higher than 2% I think thats what the TeslaApp does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll also try to make a snowflake when difference is higher than 2% I think thats what the TeslaApp does.
Yeah, that would be great!
Looks really good! After rerunning the tests everything passes :) |
How can you restart the test without commit? Just in case i happens again. |
There is a "restart build" button on the Travis page. But I'm not sure if it allows you to do that. Ideally, it shouldn't be required to rerun that often. Some tests are sensitive to timing though and therefore can be flaky. |
Excellent. Will merge soon! |
usable_battery_level and battery_level), milage and outdoor temperature.
It took a little longer, but I could finally take a closer look at the PR. I made a just few adjustments:
Thanks again! :) |
Resolves #321 |
Will I see the tooltip in iOS Safari? |
Should work with 3904a18 |
Thanks a lot! |
I tested your new projected range dashboard. Do you have an idea why it is not showing the changed dashboard after docker build and restart of container? |
You are referring to the following query (line 3), right? SELECT
$__timeGroup(date, '6h') AS time,
convert_km(sum([[preferred_range]]_battery_range_km) / sum(usable_battery_level) * 100, '$length_unit') AS "Projected Range (using usable_battery_level) [$length_unit]",
convert_km(sum([[preferred_range]]_battery_range_km) / sum(battery_level) * 100, '$length_unit') AS "Projected Range (using battery_level) [$length_unit]"
FROM
positions
WHERE
$__timeFilter(date) and
car_id = $car_id
GROUP BY
1
ORDER BY
1,2 DESC I don't see why
Does it show up if you add the dashboard under a new name (and with a different |
Hmm, seems to work fine for me. Anyway, if
Very strange. Sounds like it takes the previous file when creating the image? Maybe try doing the following:
|
Deleting the volume did the trick. |
As a first step I added usable_battery_level to positions table and summary page.
Sorry, but I'm not familiar with the Elixir yet and I'm sure there are still things missing (translation, test,?)...