Skip to content

chore: bump model-garage to v1.0.16 (Ruptela CAN EV zero as not available) - #284

Merged
zer0stars merged 1 commit into
mainfrom
chore/bump-model-garage-v1.0.16
Sep 10, 2026
Merged

zer0stars merged 1 commit into
mainfrom
chore/bump-model-garage-v1.0.16

Conversation

@zer0stars

Copy link
Copy Markdown
Member

What

Bump github.com/DIMO-Network/model-garage v1.0.15 -> v1.0.16. Only go.mod / go.sum change.

Why

Pulls in DIMO-Network/model-garage#266. Ruptela R1 units on vehicles the CAN profile does not decode fill the CAN EV elements 515 (SoC), 516 (distance until recharge) and 720 (battery-2 SoC) with a literal 0 instead of the FF "not available" sentinel. The state-of-charge resolver tries OBD element 722 first and falls through to 515 whenever 722 reads FF, which on these devices is every other record, so powertrainTractionBatteryStateOfChargeCurrent alternated between the real value and 0%.

Seen on vehicle 192097 (2025 VW ID. Buzz, device 36798): at 10-minute buckets MIN was 0 in every bucket while MAX traced a clean 78% -> 19% discharge.

With v1.0.16 a literal zero from those three elements returns not-found and the resolver falls through as it does for FF. Affected telemetry fields: powertrainTractionBatteryStateOfChargeCurrent and powertrainTractionBatteryRange, Ruptela source only, and only their CAN fallback sources. OBD 722/723 and the boolean 517 are unchanged.

Verification

  • go build ./... and go test ./... green on this branch.
  • Not retroactive: zeros already written stay until they age out or are deleted.

Follow-ups

  • dq (pinned v1.0.11) and din vendor the same module and get the same bump next.
  • Mobile app still needs the SoC-based charging-habits fallback; no ingest change can produce CurrentPower / ChargingAddedEnergy for Ruptela.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CoGJaQVZPFGMbQ7of5wBnJ

…able)

Pulls in DIMO-Network/model-garage#266: a literal 0 from the Ruptela CAN EV
elements 515 (SoC), 516 (distance until recharge) and 720 (battery-2 SoC) is
now treated as "not available" like the FF sentinel. On R1 units whose CAN
profile does not decode the vehicle, the resolver fell through from OBD 722
(FF every other record) to 515 = 0, so powertrainTractionBatteryStateOfChargeCurrent
alternated between the real value and 0% (vehicle 192097, 2025 VW ID. Buzz).
@zer0stars
zer0stars merged commit 3682cdb into main Sep 10, 2026
8 checks passed
@zer0stars
zer0stars deleted the chore/bump-model-garage-v1.0.16 branch September 10, 2026 17: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