Skip to content

fix: quiet charging catches a plug-in after the start time; duration … - #422

Merged
townsmcp merged 1 commit into
betafrom
fix/quiet-charging-plugin-gap
Oct 12, 2026
Merged

townsmcp merged 1 commit into
betafrom
fix/quiet-charging-plugin-gap

Conversation

@townsmcp

Copy link
Copy Markdown
Owner

…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.

…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.
@townsmcp
townsmcp merged commit 8e3d31b into beta Oct 12, 2026
7 checks passed
@townsmcp
townsmcp deleted the fix/quiet-charging-plugin-gap branch October 12, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant