Repository navigation
fix: quiet charging catches a plug-in after the start time; duration … - #422
Merged
Merged
Conversation
…for charges no poll saw (#269) @paulfcarney-ship-it's HS PHEV, 11-12 Oct: last polled at 18:52, unplugged and locked; plugged in at 19:02 after quiet charging started. The car wrote SAIC's stored copy then (flag 0, unlocked), but quiet charging only counted a rewrite for a car it knew was plugged in, so HA showed 49.3% all night. - Quiet charging: a rewrite also counts when the copy's lock state differs from the last live poll's (a car last seen unplugged). Routine reports don't change it. - A charge no poll saw takes its duration from the car's record when it starts after the reading before and the energy over it is 22 kW or less (Paul: 5 h 46 min at 2 kW, the whole charge; Harry: 4 min at ~100 kW, only the last stretch -- not used). Marked car_partial, no average power. - Battery % rounded to tenths at source (charge records showed 49.300000000000004). Bump to 1.4.0-beta6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…for charges no poll saw (#269)
@paulfcarney-ship-it's HS PHEV, 11-12 Oct: last polled at 18:52, unplugged and locked; plugged in at 19:02 after quiet charging started. The car wrote SAIC's stored copy then (flag 0, unlocked), but quiet charging only counted a rewrite for a car it knew was plugged in, so HA showed 49.3% all night.
Bump to 1.4.0-beta6.