So I am trying to figure out how to communicate with my Leaf over the OBD2 using a bluetooth dongle. Leaf spy pro works fine, so I know it can be done. I simply want to extract battery information (SoC, SoH, cell voltages, temperatures) automatically and send it to my EVSE for optimal charging. I have BT communication up and running and can communicate with the embedded ELM327 chip using a raaspberry pi. But I cant seem to figure out what to send to the Leaf to get some data back. After several days of frustratingly searching the internet to no avail, I joined my first ever patreon to get into Dala's discord server to see if anyone could help me there.
Unfortunately no one could.
So I dismantled a OBD2 WiFi dongle I had laying around (it uses the same ELM327 as all other OBD2 dongles), found out where ground/power/signal lines were, and hooked up a digital analyzer to the two serial lines going from the WiFi module to the ELM327. I then connected Leaf Spy Pro in order to see which data was actually being sent/received.
I am now sitting with a very long trace I need to analyze, but it's a start. I am sure there is an easier way than reverse engineering what has already been done, but I just can't seem to find the right, complete information out there. So this is where I am...
Unfortunately no one could.
So I dismantled a OBD2 WiFi dongle I had laying around (it uses the same ELM327 as all other OBD2 dongles), found out where ground/power/signal lines were, and hooked up a digital analyzer to the two serial lines going from the WiFi module to the ELM327. I then connected Leaf Spy Pro in order to see which data was actually being sent/received.
I am now sitting with a very long trace I need to analyze, but it's a start. I am sure there is an easier way than reverse engineering what has already been done, but I just can't seem to find the right, complete information out there. So this is where I am...