crunchy3d
Posts: 21
Joined: Mon Dec 10, 2018 9:42 am
Delivery Date: 20 Sep 2018

Plotting LeafSpy results

Fri Feb 08, 2019 7:45 am

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

crunchy3d
Posts: 21
Joined: Mon Dec 10, 2018 9:42 am
Delivery Date: 20 Sep 2018

Re: Plotting LeafSpy results

Fri Feb 08, 2019 7:52 am

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/

lebikerboy
Posts: 7
Joined: Wed Dec 19, 2018 7:03 pm
Delivery Date: 03 Jan 2019
Location: North Vancouver, BC, Canada

Re: Plotting LeafSpy results

Fri Feb 08, 2019 6:27 pm

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.
2019 Leaf SV

"If a situation requires your undivided attention, it
will occur simultaneously with a compelling distraction."
:roll:

68charger
Posts: 1
Joined: Fri Oct 05, 2018 4:48 am
Delivery Date: 01 Mar 2019

Re: Plotting LeafSpy results

Fri Feb 08, 2019 11:53 pm

Thank you crunchy3d. Excellent work. :D

virol
Posts: 21
Joined: Sun Sep 23, 2018 9:38 am
Delivery Date: 17 Sep 2018
Leaf Number: 2018
Location: Belgium

Re: Plotting LeafSpy results

Sat Feb 09, 2019 2:01 am

nice tool. thx.....

crunchy3d
Posts: 21
Joined: Mon Dec 10, 2018 9:42 am
Delivery Date: 20 Sep 2018

Re: Plotting LeafSpy results

Tue Feb 12, 2019 1:28 pm

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.

lebikerboy
Posts: 7
Joined: Wed Dec 19, 2018 7:03 pm
Delivery Date: 03 Jan 2019
Location: North Vancouver, BC, Canada

Re: Plotting LeafSpy results

Fri Feb 15, 2019 4:11 pm

Thanks for that. I bought the second option and am waiting for delivery... :D
2019 Leaf SV

"If a situation requires your undivided attention, it
will occur simultaneously with a compelling distraction."
:roll:

Return to “LEAF CANBus”