Android App to View / Reset SOH, Hx, Lx, Cx, etc...

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.
Joined
Oct 17, 2024
Messages
112
Location
Australia
I've finished coding my first android app!

It'll connect to your leaf/BMS (with a leaf compatible OBD2 adaptor) and let you reset State of Health (SOH) back to 100% which will also reset your Hx (cell impedance value, kind of like a cell degradation indicator)

You can also clear all other battery history like AC and fast charge counters, long term degradation values etc...

This will NOT give you any more battery capacity or range, though if you've swapped a bad cell with a good cell a reset is required to make use of the new capacity. It can also be used to show the full 12 health bars though this will be short lived as the BMS will quickly learn the true health of the battery after a short period of time.

  • Requires a Leaf compatible OBD2 adaptor - cheap ebay $5 clones will NOT work
  • Coded and tested using a $15 Vgate Icar Pro BT adaptor
  • I'm told resetting any values on a 2018 or newer Leaf will forever get your health stuck at 7 bars - I'm told this is not repairable. I don't have a 2018+ Leaf so ZERO testing has been done on these models. Nissan says not to do it. Best not reset a 2018+ BMS.
  • Resetting Charge counters may require re-syncing the new charge count to the VCM (Can be done through leafspy). If this is true I can add re-sync to the app - let me know!
  • Can be used on a BMS out of the vehicle though the new values will not be preserved through a power cycle. A charge cycle or driving the vehicle will commit the new values to the internal EEPROM
  • Use entirely at your own risk!
  • I think that covers everything. Again, use at your own risk. I accept no responsibility for anything that may result from using this app.

Enjoy!

Latest version - v0.06
 

Attachments

  • Leaf BMS Tool V003.zip
    3.8 MB
  • Leaf BMS Tool v006.zip
    3.8 MB
Last edited:
Thanks for the feedback from those that have tested the app!

V0.04

- Added longer delays when waiting for a CAN response for those models of leaf with much bussier can busses
- Added more detailed verbose mode (long hold connect/disconnect to enable/disable verbose mode)
- BMS Voltage readout (12v as sensed by the BMS) - Must be > 10v or else changing any data is prevented
- Extra error handling - Most common errors will now be explained when they occur
- The ability to set the SOH and Hx to any values you choose

Reported issue so far:
- Lower quality OBD2 devices connect but miss a lot of CAN data - the buffer is far too small, use a good quality OBD2 reader. If it works with leafspy, it should work here too.
- Check Charge / IGN inputs if you're bench testing a BMS. You cannot change any BMS data if charging or discharging.
 

Attachments

  • Leaf BMS Tool v004.zip
    3.8 MB
Oh, I have to test this. When I fixed the 2019 leaf there was no way to reset the SOH and Hx. It is locked somehow. I deal a lot with electronics, but automotive computers aren't my speciality. I support your project and will follow you. 👋
 
Oh, I have to test this. When I fixed the 2019 leaf there was no way to reset the SOH and Hx. It is locked somehow. I deal a lot with electronics, but automotive computers aren't my speciality. I support your project and will follow you. 👋
interesting what was the results.
 
The reset is now tested on 40kWh env200 where it successfully reset to 100%. Do note that this reset method should not work on 2018+ LEAFs,

...resetting any values on a 2018 or newer Leaf will forever get your health stuck at 7 bars - I'm told this is not repairable. I don't have a 2018+ Leaf so ZERO testing has been done on these models. Nissan says not to do it. Best not reset a 2018+ BMS.

So dont try this one at home!
 
I am having trouble with the app, and safetyuggs has suggested posting here as he is new to apps

Issue = connect button does not bring up a menu of connection options

The connect button does register a button press, but nothing happens

Long press the connect button does toggle "verbose mode" on and off. So the button does work

V3 and V4 have the same issue. Uninstalling and reinstalling made no difference

Two Bluetooth dongles tried. Both work with leafspy pro

Samsung tablet SM-T515 running Android 11, all updates current

Any help appreciated. I have a re-stacked battery with the original lbc values
 
The reset is now tested on 40kWh env200 where it successfully reset to 100%. Do note that this reset method should not work on 2018+ LEAFs,

...resetting any values on a 2018 or newer Leaf will forever get your health stuck at 7 bars - I'm told this is not repairable. I don't have a 2018+ Leaf so ZERO testing has been done on these models. Nissan says not to do it. Best not reset a 2018+ BMS.

So dont try this one at home!
Is it possible to do this reset with the LBC,/ BCM module removed from the battery? I have several I would like to try some things with
 
Hello
In my case the app wont connect when press CONNECT bar. The LeafSpy Pro work, CarScaner work.
The phone is Galaxy S8+ android ver.9.0
 
Upps.... Newer version... I will check later and will post results
By the way, after reseting SOH with CarScanner it is returning to what was beforeafter first recharge or discharge, but bars remaing for longer not forever
 
Same problem V4,V5, connect button does not bring up a menu of connection options. Bluetooth dongle in Leafspy pro works.

How to change a name Bluetooth dongle?
 
mine doesn't connect either and it's not an OBD problem
because the application crashes no matter what I select from the list of Bluetooth devices
 
Back
Top