Page 1 of 1

Plotting LeafSpy results

Posted: Fri Feb 08, 2019 7:45 am
by crunchy3d
If anybody is interested in plotting some of data gathered in LeafSpy log files, I've made Octave script. The Octave is open-source program, similar to Matlab. It can be downloaded here:

https://www.gnu.org/software/octave/download.html

The script (*.m) files for reading LeafSpy logs can be get here:
https://mega.nz/#!FlERwIpa!yaq39GmSh4nA ... ul7SQWsAuw

Unpack all *.m files into the same directory. When starting Octave, select the "current directory" the same as the one where you put the *.m files.
Then type LeafSpy_UI in command window and press ENTER. The main GUI windows appears where you can choose your preferences.

After clicking "Load file and calculate", one of your Log files should be selected. The results are then plotted. Red vertical lines on the graphs (if they appear) represent time gaps in measurements.

See the pdf file for short explanation:
https://docdro.id/2xKJNib

Re: Plotting LeafSpy results

Posted: Fri Feb 08, 2019 7:52 am
by crunchy3d
Here are the resulting plots from one of my LeafSpy Log file:
https://postimg.cc/gallery/145e87ycw/

Here are SOH plots after clicking "Plot SOH" button and selecting TripChrgLog file from LeafSpy:
https://postimg.cc/gallery/icahquuo/

Re: Plotting LeafSpy results

Posted: Fri Feb 08, 2019 6:27 pm
by lebikerboy
Other than the leafspy software, can someone give
me a definitive list of the hardware required to run
this app on an android device?
Thanks in advance.

Re: Plotting LeafSpy results

Posted: Fri Feb 08, 2019 11:53 pm
by 68charger
Thank you crunchy3d. Excellent work. :D

Re: Plotting LeafSpy results

Posted: Sat Feb 09, 2019 2:01 am
by virol
nice tool. thx.....

Re: Plotting LeafSpy results

Posted: Tue Feb 12, 2019 1:28 pm
by crunchy3d
lebikerboy wrote:Other than the leafspy software, can someone give me a definitive list of the hardware required to run this app on an android device? Thanks in advance.
I have those two OBDs which both work with LeafSpy (you can find the same item also on amazon.com instead of amazon.de). However, note that I am using Android phones/tablets:

https://www.amazon.de/dp/B00QJRYMFC/ref ... 01_TE_item

The second was ordered via AliExpress, but here is the same one if I am not mistaken:
https://www.amazon.com/Vgate-Diagnostic ... ZMSEJHFT5J

LELink works via BlueTooth 4 connection, while the other one is communicating via it's own WiFi.

Re: Plotting LeafSpy results

Posted: Fri Feb 15, 2019 4:11 pm
by lebikerboy
Thanks for that. I bought the second option and am waiting for delivery... :D

Re: Plotting LeafSpy results

Posted: Mon Dec 30, 2019 10:33 am
by Howieb
Good info, scripts work well. Also introduced me to Octave which is powerful software.