feat: manual odometer baseline — Settings field computes baseline + trip distance, Dashboard shows (manual) label

This commit is contained in:
Mathieu Moran
2026-08-11 18:51:11 -04:00
parent 887a001723
commit 34253b3ffb
7 changed files with 58 additions and 30 deletions
+15 -12
View File
@@ -1933,20 +1933,23 @@ agree on OBD and GPS state. BUGS.md Open section is empty. readme.md project sta
---
### Phase 27: Feature additions — 🚧 IN PROGRESS (pick one)
**Started 2026-08-11.** Phase 26 is complete with all 12 bugs closed. Select a feature
from [FEATURES.md](./FEATURES.md) to implement one at a time.
### Phase 27: Feature additions — 🚧 IN PROGRESS (1 shipped, 6 candidates)
**Started 2026-08-11.** Phase 26 is complete.
**Candidates:**
1. **FEAT-01** — Parallel/concurrent chunked dashcam uploads (medium effort)
2. **FEAT-02** — QR / claim-code device pairing flow (medium effort)
3. **FEAT-03** — Manual start odometer fallback (small effort)
4. **FEAT-04** — Replace SIM868 2G GSM with 4G LTE modem (Huawei E3372h-153) (large effort)
5. **FEAT-05** — DTC history synced to remote server with code descriptions (medium effort)
6. **FEAT-08** — Predictable IP on phone hotspot / DHCP reservation (small effort)
7. **FEAT-09** — mDNS (yaris.local) on phone hotspot (small effort)
**Shipped:**
- **FEAT-03 — Manual odometer fallback** (2026-08-11): Settings page has an "Odometer
baseline (km)" field. `odometer_km = baseline + cumulative trip distance`. Dashboard
label shows "(manual)" when using baseline. Falls back to live OBD when baseline is 0.
Changed files: `modules/app_settings.py`, `modules/app_sql.py`, `templates/settings.html`,
`templates/index.html`, `static/js/settings.js`, `FEATURES.md`.
Already shipped from Phase 26: **FEAT-06** (trip ID column), **FEAT-07** (hotspot auto-connect).
**Remaining candidates:**
1. **FEAT-01** — Parallel/concurrent chunked dashcam uploads (medium)
2. **FEAT-02** — QR / claim-code device pairing flow (medium)
3. **FEAT-04** — Replace SIM868 2G GSM with 4G LTE modem (large)
4. **FEAT-05** — DTC history synced to remote server (medium)
5. **FEAT-08** — Predictable IP on phone hotspot (small)
6. **FEAT-09** — mDNS on phone hotspot (small)
### Phase 28: Native Android companion app — 🚧 PLANNED (low priority, always last)
**Renumbered from former Phase 26 on 2026-08-10 to make room for the road-test bug-fix phase. Renumbered to Phase 28 on 2026-08-11 to make room for Phase 27 feature additions.**