Reading canbus on linux

My Nissan Leaf Forum

Help Support My Nissan Leaf Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

nekocentral

Member
Joined
Jan 10, 2022
Messages
6
I'm currently working on a project on which i want to read the canbus on my 2021 leaf.
I have already read its firewalled off so no passive reading the carbus for me i wanted to double check the codes i wanted to use to request the stats.

I want the following info
Odomiter : 0x797 03 22 12 1A 00 00 00 00
Speed : 0x797 03 22 12 1A 00 00 00 00
Range Left: 0x743 03 22 0E 24 00 00 00 00
SOC: 0x79B 02 21 01 00 00 00 00 00
0x79B 30 00 00 00 00 00 00 00
Gear: 0x797 03 22 11 56 00 00 00 00
Blinkers: 0x745 02 21 09 00 00 00 00 00
Outside temp: 0x797 03 22 11 5D 00 00 00 00
Mabye
Motor power 0x797 03 22 11 46 00 00 00 00

Can someone confirm these are the correct things to request and does anyone have an odb reader libary they can confirm?
 
Dala, who contributes here from time to time, is doing amazing work on the Leaf in general.

Have a look at his GitHub projects, as there are plenty of code samples there.

This repository in particular looks promising...

https://github.com/dalathegreat/leaf_can_bus_messages
 
Yea thanks to him i was able to find these codes.
I guess it's time to pull out the elm and linux laptop and test.
 
Back
Top