meatpiHQ / wican-fw

GNU General Public License v3.0
314 stars 67 forks source link

Please help with BMW CAN bus mileage #123

Closed alexdan-77 closed 6 months ago

alexdan-77 commented 6 months ago

Hello everyone!

Trying to ask by CAN bus this request (odometer mileage): {"bus":"0","type":"tx","frame":[{"id":2015,"dlc":8,"rtr":false,"extd":false,"data":[2,1,166,170,170,170,170,170]}]}

but no reply at all. nor BMW neither SKODA. seems they dont support this request.

but when ask with this request (get fuel level): {"bus":"0","type":"tx","frame":[{"id":2015,"dlc":8,"rtr":false,"extd":false,"data":[2,1,47,170,170,170,170,170]}]} i have reply with correct result.

are there any correct PIDs to achieve my goal?

thanks.

meatpiHQ commented 6 months ago

@alexdan-77 it's possible that your car doesn't support this PID.

Have you tried Carscanner app? Are you able to see the Odometer value in the app?

alexdan-77 commented 6 months ago

@alexdan-77 it's possible that your car doesn't support this PID.

Have you tried Carscanner app? Are you able to see the Odometer value in the app?

nope. Screenshot_20240503_152814

Screenshot_20240503_152913

Screenshot_20240503_152933

alexdan-77 commented 6 months ago

maybe somebody knows request that works?or is it impossible by can bus?

meatpiHQ commented 6 months ago

@alexdan-77 Try other apps other than carscanner. I also suggest you try and look at some BMW forum, it's possible that someone has already figured it out.

alexdan-77 commented 6 months ago

I see only several codes at obd connection. it seems i cant see all can data? Снимок экрана 2024-05-06 092613

meatpiHQ commented 6 months ago

@alexdan-77 Are using canhacker ? is your engine ON?

alexdan-77 commented 6 months ago

i use savvycan scanner. of course my engine is on.

meatpiHQ commented 6 months ago

@alexdan-77 some cars don't expose the internal CAN bus on the OBD connector. The 0x7E8 is the OBD response, but I don't know what is 0x130.