Commit Graph
5 Commits
Author SHA1 Message Date
nilsandClaude Opus 5.5 a53ea589b2 App 2.5.0: range estimates from current and 5-minute average power
The Vehicle tab gets two tiles next to the car's own range:

- Range at current power: remaining energy / (power / speed) right now.
- Range at 5-min average: remaining energy / (energy used / distance
  driven) over the last 5 minutes, integrated time-weighted from both
  the service tick (15 s) and the open screen (2 s), so it is ready as
  soon as the app opens.

Each shows the consumption it is based on (kWh/100 km). Remaining
energy is SOC x usable capacity, because the car publishes no pack
energy; the capacity is a new setting in the Consumption tab (default
50.8 kWh, the 51 kWh battery). Estimates read "—" with the reason when
they cannot mean anything: standing still, regenerating, too little
driving, or across a gap in the samples; over 999 km shows "> 999 km".

RangeEstimator is Android-free and has 7 tests. Also fixes the battery
card's note, which still said the SoH goes to MongoDB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
2026-10-17 22:33:10 +02:00
TCFDONMEZ 1749815599 Remove unavailable remaining energy card 2026-09-30 11:34:09 +03:00
TCFDONMEZ 25abf0da5b Add persistent consumption and charging dashboards 2026-09-30 11:17:54 +03:00
TCFDONMEZ 69ef0eeef6 ui: hide unsupported vehicle telemetry 2026-09-30 11:07:29 +03:00
TCFDONMEZ 511c166436 feat: add ota and ui changes 2026-09-29 14:32:25 +03:00