Turbo3
Gold Member
Posts: 1835
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Leaf Spy and Leaf Spy Pro

Fri Oct 13, 2017 3:57 pm

Be sure to select BMS as your Model Year (top selection) on Settings if you are going to use LeafSpy with just a battery pack. That will tell LeafSpy to skip trying to read data from all the other ECUs.

Turbo3
Gold Member
Posts: 1835
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Leaf Spy and Leaf Spy Pro

Sun Oct 15, 2017 12:26 pm

The next test release will allow you to define your own screen as an option on screen 3. Once you have a screen defined just swipe up or down on screen 3 to select/deselect it.

Here are two examples with the code (which is saved in a text file). One Landscape and the other Portrait orientation. Position is defined by percent of screen. Each text line defines on Label/Variable pair. But you can define only a label or only a variable as shown in the example. You specify how much of the screen should be used by the label/variable pair. This allows you to define two column layouts by only allocating 50% of the width to each pair and providing an offset to place the pair.

Variables are selected with an index number so you will need a table to determine the index to use. At the moment I only have 6 variable assigned but more will be added and you can request variable you want to add.

This has been on my list of things to do for years and it actually turned out to be very simple to do.

Let me know what other Leaf variables you would like to have displayable on the screen.

The two files needed in the SETUP folder are UserScreenP.txt and UserScreenL.txt. I will probably copy default files there during app start if none are present.


Code: Select all

Width, Offset, Label,                 font, justify, width(%),top(%),variable, font, justify, width(%),top(%)
80,       0    ,SOC = ,                45,      r,     45,       7,     0,     55,     c,     45,       5
50,       0    ,SOH = ,                30,      l,     40,      30,     1,     35,     c,     50,      30
50,       0    ,HVBat = ,              30,      l,     40,      47,     2,     35,     c,     50,      47
100,      0    ,User Defined Screen,    8,      c,    100,       0,     
50,       0    ,Gids = ,               30,      l,     40,      64,     5,     35,     c,     50,      64
50,      50    ,SOH = ,                30,      l,     40,      30,     1,     35,     c,     50,      30
50,      50    ,HVBat = ,              30,      l,     40,      47,     2,     35,     c,     50,      47
50,      50    ,Gids = ,               30,      l,     40,      64,     5,     35,     c,     50,      64

Image

Code: Select all

Width,Offset, Label, font, width(%),top(%),variable, font, width(%),top(%)
100,0,SOC = , 50,r, 45,  5, 0, 50,C, 45, 5
100,0,SOH = , 50,r, 45, 20, 1, 50,c, 45, 20
100,0,,        0,r,  0, 35, 2, 80,C, 100, 35
100,0,Gids = ,50,r, 45, 57, 5, 50,c, 45, 57
100,0,Ah = ,  50,r, 45, 72, 4, 50,c, 45, 72

Image

ScottHall2011
Posts: 1
Joined: Sun Oct 15, 2017 9:22 am
Delivery Date: 24 Jun 2017
Leaf Number: 310043

Re: Leaf Spy and Leaf Spy Pro

Sun Oct 15, 2017 1:43 pm

I am looking to get some confirmation on this...

The developers first recommended ELM-327 Bluetooth OBDII adapter.
Then said that due to a recent cost reduction (and feature reduction) many of the cheap ELM327 OBDII Bluetooth adapters from Asia no longer work with the Leaf and report themselves to be version 2.1. The only one currently recommended is the Bluetooth Konnwei KW902 which still supports all the needed ELM commands to communicate with the Leaf.
Now they say the previously recommended Bluetooth Konnwei KW902 OBDII adapter is also no longer recommended. With the release of version 0.39.97 LeafSpy Pro now supports two Bluetooth 4.x LE approved adapters. The recommended one is the LELink available from Amazon.

Is this still accurate? I have an Android Samsung Galaxy S7 edge...
https:LELink Bluetooth Low Energy BLE OBD-II OBD2 Car Diagnostic Tool For iPhone/iP...//
www.amazon.com/dp/B00QJRYMFC/ref=cm_sw_ ... 2zbJ0EKC4Q via @amazon

Thank you for your help,

Scott Hall

jkenny23
Posts: 11
Joined: Sat Aug 19, 2017 12:49 pm
Delivery Date: 19 Sep 2017
Leaf Number: 009318

Re: Leaf Spy and Leaf Spy Pro

Sun Oct 15, 2017 6:36 pm

What is the condition for Leaf Spy to recognize that a Leaf has stopped charging (and thereby save the charge log)? I just did a quick charge which produced a nice graph, but the log was not saved (see screenshot) and there was no option to manually save the log. Upon exiting the program, the log was wiped, and the graph was replaced with the "default" quick charge graph.

Image

Unrelated, but also a major issue for me, I have had 3 phones in total running Leaf Spy Pro with my Leaf, and the first two were connected to Dropbox. The third, I have never been able to successfully connect to Dropbox, it always has some errors, either folders missing (if I delete the old folders manually and remove the App link from Dropbox) or just "Dropbox disabled". How do I clean up the Dropbox connection and start fresh with this phone?

cwerdna
Gold Member
Posts: 7200
Joined: Fri Jun 03, 2011 4:31 pm
Delivery Date: 28 Jul 2013
Location: SF Bay Area, CA

Re: Leaf Spy and Leaf Spy Pro

Sun Oct 15, 2017 6:47 pm

ScottHall2011 wrote:I am looking to get some confirmation on this...

The developers first recommended ELM-327 Bluetooth OBDII adapter.
Then said that due to a recent cost reduction (and feature reduction) many of the cheap ELM327 OBDII Bluetooth adapters from Asia no longer work with the Leaf and report themselves to be version 2.1. The only one currently recommended is the Bluetooth Konnwei KW902 which still supports all the needed ELM commands to communicate with the Leaf.
Now they say the previously recommended Bluetooth Konnwei KW902 OBDII adapter is also no longer recommended. With the release of version 0.39.97 LeafSpy Pro now supports two Bluetooth 4.x LE approved adapters. The recommended one is the LELink available from Amazon.

Is this still accurate? I have an Android Samsung Galaxy S7 edge...
https:LELink Bluetooth Low Energy BLE OBD-II OBD2 Car Diagnostic Tool For iPhone/iP...//
http://www.amazon.com/dp/B00QJRYMFC/ref ... 2zbJ0EKC4Q via @amazon

It seems like we need to start 2 separate threads for compatible/recommended/don't work/not recommended OBD2 dongles: 1 for iOS and another for Android. And, they should be ones where discussion is purely limited to model w/purchase link, purchase date, whether it works or not and if there are failures/flakiness.

Besides LELink, there's so much scattered info scattered all over the place such as:
- http://www.electricvehiclewiki.com/?tit ... th_Scanner
- the 3 Google Play Store listings (for Lite, regular and Pro versions)
- the 1 iOS App Store listing
- various posts buried within threads

I picked my 2 adapters in July 2015 based upon positive reports in some thread.

'13 blue Leaf SV w/premium package (owned)
'13 blue Leaf SV w/QC + LED & premium packages (lease over, car returned)
'06 Prius

Turbo3
Gold Member
Posts: 1835
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Leaf Spy and Leaf Spy Pro

Sun Oct 15, 2017 7:27 pm

jkenny23 wrote:What is the condition for Leaf Spy to recognize that a Leaf has stopped charging (and thereby save the charge log)? I just did a quick charge which produced a nice graph, but the log was not saved (see screenshot) and there was no option to manually save the log. Upon exiting the program, the log was wiped, and the graph was replaced with the "default" quick charge graph.

I will add back the SAVE option on the next release. But it would be helpful to understand the problem with the auto save function if you could take an ELM trace (see bottom of help file for details) covering the end of a charge. LeafSpy is looking for an end of charge indication from the VCM ECU. Having a trace will allow me to see want is happening during that time.

Turbo3
Gold Member
Posts: 1835
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Leaf Spy and Leaf Spy Pro

Sun Oct 15, 2017 7:32 pm

jkenny23 wrote:Unrelated, but also a major issue for me, I have had 3 phones in total running Leaf Spy Pro with my Leaf, and the first two were connected to Dropbox. The third, I have never been able to successfully connect to Dropbox, it always has some errors, either folders missing (if I delete the old folders manually and remove the App link from Dropbox) or just "Dropbox disabled". How do I clean up the Dropbox connection and start fresh with this phone?

The current test version of LeafSpy Pro has a new option on the Settings/Dropbox panel to Reset your ID and start over connecting to Dropbox. It also uses API 2 now that API 1 is no longer supported. See earlier posts for a link to it.

WetEV
Posts: 1764
Joined: Fri May 04, 2012 8:25 am
Delivery Date: 16 Feb 2014
Location: Near Seattle, WA

Re: Leaf Spy and Leaf Spy Pro

Mon Oct 16, 2017 4:08 am

Turbo3 wrote:The current test version of LeafSpy Pro has a new option on the Settings/Dropbox panel to Reset your ID and start over connecting to Dropbox. It also uses API 2 now that API 1 is no longer supported. See earlier posts for a link to it.


Any schedule for fixing the released version?
I really don't want test version.
WetEV
#49
Most everything around here is wet during the rainy season. And the rainy season is long.
2012 Leaf SL Red (Totaled)
2014 Leaf SL Red

User avatar
jlv
Posts: 552
Joined: Thu Apr 24, 2014 6:08 pm
Delivery Date: 30 Apr 2014
Leaf Number: 424487
Location: Massachusetts

Re: Leaf Spy and Leaf Spy Pro

Wed Oct 18, 2017 9:53 am

I just updated from the 0.40.102 test version to the 0.40.103 test version and now LSP drops the connection to the ELM frequently (every few minutes). It seems to result in the ELM locking up; I have to unplug it for it to work again. I wasn't having this problem previously. I have an ELM trace of a drop. My ELM is this BT Vgate: amazon.com/gp/product/B00AAOOQJC
(junk to avoid the forum link crapifier from making this post unreadable)
'13 SL+Prem (mfg 12/13, leased 4/14, bought 5/17)Tesla S 75D (3/17)
Model 3 reservation
(Probably no LEAF2 for me)

Turbo3
Gold Member
Posts: 1835
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Leaf Spy and Leaf Spy Pro

Wed Oct 18, 2017 11:54 am

jlv wrote:I just updated from the 0.40.102 test version to the 0.40.103 test version and now LSP drops the connection to the ELM frequently (every few minutes). It seems to result in the ELM locking up; I have to unplug it for it to work again. I wasn't having this problem previously. I have an ELM trace of a drop. My ELM is this BT Vgate: amazon.com/gp/product/B00AAOOQJC
(junk to avoid the forum link crapifier from making this post unreadable)

The trace shows the data from the Leaf is coming in very fast, too fast for your Android device to handle. Go into Settings/Options and enable Slow Transfer mode. This will tell the Leaf to send the data in a little slower.

Return to “LEAF CANBus”