Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get the milage? #267

Open
montio5 opened this issue Nov 20, 2023 · 2 comments
Open

how to get the milage? #267

montio5 opened this issue Nov 20, 2023 · 2 comments

Comments

@montio5
Copy link

montio5 commented Nov 20, 2023

Hi, how are you?
i can't find a possible way to find out the total mileage of a car( I mean from the beginning it was released ex: 120k KM until now ).

@ItsJustAGitHubMichealWhosGonnaSeeIt5Ppl

More of a workaround than a solution, but I am currently planning to use the "miles since last check engine light" and subtract it from my current mileage. Should be accurate as long as the CIL doesn't come on...

@TastyHackTheBox
Copy link

2019+ vehicles were mandated in California to provide odometer the codes are: A6 166 - expect 4 bytes
You might get lucky if this was done previous to 2019 in your ECU.

Before 2019 its not so easy - relying on either engine hours, or distance traveled before + after a CEL as suggested above

Distance Since Reflash or Module Replacement - C7 199 - two bytes (yes this means only 65k KM)
Distance traveled since codes cleared - 31 49 - two bytes
Distance traveled with malfunction indicator lamp (MIL) on - 21 33 - two bytes
Engine run time - 7F 127 - 13 bytes

Reference: https://en.wikipedia.org/wiki/OBD-II_PIDs

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

No branches or pull requests

3 participants