Turbo3
Gold Member
Posts: 2011
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 Feb 11, 2015 10:03 pm

GerryAZ wrote:I have a question for the experts: What shunt order should be entered in settings? I have been using 4812. My new 2015 shows a lot of shunt activity with the 4812 setting.

Thanks,
Gerry
Shunt order does not change how many are active. Just the order of highlighting.

Turbo3
Gold Member
Posts: 2011
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

Thu Feb 12, 2015 12:19 pm

The next release will include Watts used to the right of the graph when displaying the Energy Usage graph.

Here is what it looks like using simulated data.
Image

There is also a new option for reading the Tire pressures.

For those with new Leafs that support Tire Registration from the Dash and have found that LeafSpy does not report the Tire pressures this should fix that issue.

This method takes a little longer so if the original method works I would not select this one.

Image

When released this version will also fix:

* If rear heater is turned on don't go into night mode
* Accept VINs with spaces and dashes (seen in Japan, test vehicles???)
* Default to English even if device language set to Norwegian, French or German
* Fix minor bug in Reading DTCs on very slow devices. Fix one typo in a DTC name.
* When starting up app restore last Elevation/Speed and Charge graphs that were previously saved.
* Charge graph now displays both the Power reported by Leaf as well as calculated power (V*A). If Level 3 (QC) is being limited (i.e. from Solar) Leaf was reporting 3.5kW even when Solar was only providing 1kW to the DC charge port.

I won't have a QC graph until next week but here is what it looks like charging at L2. The Blue line is what Leaf reports as charge power and the green is V*A going into battery. Amps is reported in 0.5 amp steps. (Don't have android screenshot of this so here it is from iOS LeafSpy)
Image

GerryAZ
Gold Member
Posts: 2207
Joined: Mon Nov 22, 2010 6:47 pm
Delivery Date: 12 Jun 2011
Location: Phoenix, AZ

Re: Leaf Spy and Leaf Spy Pro

Thu Feb 12, 2015 7:07 pm

Turbo3 wrote:
GerryAZ wrote:I have a question for the experts: What shunt order should be entered in settings? I have been using 4812. My new 2015 shows a lot of shunt activity with the 4812 setting.

Thanks,
Gerry
Shunt order does not change how many are active. Just the order of highlighting.
I worded the question badly. I realize the shunt activity shown does not depend upon the shunt order, but some of the red (shunt active) bars are lower voltage than blue (shunt not active) bars so I suspect I have the wrong shunt order programmed. I would appreciate some guidance on shunt order.

Thanks,
Gerry
Gerry
Silver LEAF 2011 SL rear ended (totaled) by in-attentive driver 1/4/2015 at 50,422 miles
Silver LEAF 2015 SL purchased 2/7/2015; traded 8/10/2019 at 82,436 miles
White LEAF 2019 SL+ purchased 8/10/2019

Turbo3
Gold Member
Posts: 2011
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

Thu Feb 12, 2015 7:26 pm

Keep in mind that the 96 battery voltages are not all read out at the same time by the BMS. They are read out serially at 19,200 baud. Which means the load on each cell can be very different for each voltage read out. So a higher voltage could be because there was a lower load at that time and a lower voltage on another cell because a high load was applied making it hard to see the effect of the shunts which draw very little power. The shunt resistors appear to be 430 ohms each. So about 10 ma of current when active.

Until someone reverse engineers the BMS code we will not know for sure the order.

The cell lose test done by LeafSpy when the Leaf is in park and below VLBW is the best way to detect bad cells.

GerryAZ
Gold Member
Posts: 2207
Joined: Mon Nov 22, 2010 6:47 pm
Delivery Date: 12 Jun 2011
Location: Phoenix, AZ

Re: Leaf Spy and Leaf Spy Pro

Thu Feb 12, 2015 7:37 pm

Turbo3 wrote:Keep in mind that the 96 battery voltages are not all read out at the same time by the BMS. They are read out serially at 19,200 baud. Which means the load on each cell can be very different for each voltage read out. So a higher voltage could be because there was a lower load at that time and a lower voltage on another cell because a high load was applied making it hard to see the effect of the shunts which draw very little power. The shunt resistors appear to be 430 ohms each. So about 10 ma of current when active.

Until someone reverse engineers the BMS code we will not know for sure the order.

The cell lose test done by LeafSpy when the Leaf is in park and below VLBW is the best way to detect bad cells.
Thanks Turbo.

My battery is fine, but I wanted to make sure I have LEAF Spy set up correctly for the 2015 because I am meeting a fellow LEAF driver this weekend to take readings on his battery (which he suspects is low on capacity). If no one knows the correct shunt order, I will just leave it programmed the way it has always been.

Thanks again,
Gerry
Gerry
Silver LEAF 2011 SL rear ended (totaled) by in-attentive driver 1/4/2015 at 50,422 miles
Silver LEAF 2015 SL purchased 2/7/2015; traded 8/10/2019 at 82,436 miles
White LEAF 2019 SL+ purchased 8/10/2019

Turbo3
Gold Member
Posts: 2011
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

Thu Feb 12, 2015 7:53 pm

GerryAZ wrote:
Turbo3 wrote:Keep in mind that the 96 battery voltages are not all read out at the same time by the BMS. They are read out serially at 19,200 baud. Which means the load on each cell can be very different for each voltage read out. So a higher voltage could be because there was a lower load at that time and a lower voltage on another cell because a high load was applied making it hard to see the effect of the shunts which draw very little power. The shunt resistors appear to be 430 ohms each. So about 10 ma of current when active.

Until someone reverse engineers the BMS code we will not know for sure the order.

The cell lose test done by LeafSpy when the Leaf is in park and below VLBW is the best way to detect bad cells.
Thanks Turbo.

My battery is fine, but I wanted to make sure I have LEAF Spy set up correctly for the 2015 because I am meeting a fellow LEAF driver this weekend to take readings on his battery (which he suspects is low on capacity). If no one knows the correct shunt order, I will just leave it programmed the way it has always been.

Thanks again,
Gerry
I misspoke a little. It is possible that the group of four voltages that make up the shunt group could be measured at the same time depending on the architecture of the IC that measures the voltage. There are 24 ICs one for each group of four cells. Data passes from one to the next until it gets back to the CPU. If each IC has a dedicated A2D for each cell and all sample the cell voltage at the same time the voltages will be in sync but if it only has one A2D that gets switched then each cell will be measured with a different time offset.

mbender
Posts: 824
Joined: Sun Apr 21, 2013 8:11 am
Delivery Date: 31 Aug 2014
Leaf Number: 309606
Location: The Great California Delta, and environs

Re: Leaf Spy and Leaf Spy Pro

Mon Feb 16, 2015 7:10 pm

Turbo3 wrote:
mbender wrote:I have Leaf Spy Version 0.34.42 and it has almost completely stopped working/connecting. I repeatedly get the following error: [BtS] read failed, socket might be closed or timeout, read ret: -1. For a while I could get it to work by going into Bluetooth Settings (on Nexus 5/Android) and disconnecting from the car and then trying again. Now that doesn't work, even with rebooting, turning the car off and back on, etc. I'm tired of trying different to find a way "through" the cause(s) of the error. It was working fine before a recent update, but that may be coincidence. I don't think anything is wrong with the OBDII device, as it was working before and it just sits there.

Thanks for any help and sorry if this has been covered, but I want to get it back working again ASAP!
First reboot the Nexus 5 to clear any bad connections.

Then I would try letting Leaf Spy turn Bluetooth on and off. Turn Bluetooth off on your Nexus 5. Then start Leaf Spy. You can also go to the Leaf Spy settings menu and check the "Auto Enable & Disable Bluetooth" so you don't get asked the question about enabling Bluetooth each time you start the app.

I am charging up my Nexus 7 and will test it later today to see if I have any problems. What version of Android does the Nexus 5 use?
Ok, this worked for a month or two, but now I get the error every time. I have not been able to use Leaf Spy for weeks. Any further suggestions? Is my OBDII unit bad? (It is firmly plugged in and I always have the car on when I try.) I looked in the Play Store and couldn't even find the regular $9.99 Spy to see if there was a newer version. Perhaps it is no longer being offered or supported?

Thanks (anyone) for further suggestions!
I think I just felt my paradigm shift.

2012 SL (One of the colors): 2-year lease, 2012+,
2015 S w/QC (A different color): 3-year lease, 2014+,
2017 SV (Same color as 2015 S): 3-year lease, 2017+, lower monthly than either above(!)

BrockWI
Posts: 775
Joined: Fri Mar 28, 2014 6:28 am
Delivery Date: 28 Mar 2014
Leaf Number: 423875
Location: Green Bay, WI.
Contact: Website

Re: Leaf Spy and Leaf Spy Pro

Mon Feb 16, 2015 7:58 pm

Mine does that about every month. With the car on what I do is disconnect the OBD wait a minute and plug it back in, then turn on Bluetooth without turning on Leaf Spy, then pair with the OBD connector again. Then I start Leaf Spy and it's all good. I think the OBD Bluetooth connector gets hung up, and unplugging it sort of re-boots it. It's worth a shot.
3 kw solar pv - XW6048 - eight L16's
4 ton GSHP - 1 ton ASHP
2003 VW TDI 200k miles - 52 mpg lifetime
EVSE level 2 - Clipper Creek HSC-40
2013 S model with QC package Mar of 2013
lost first bar @ 72k
@90k miles - 54.71Ahr - 83.64SOH - 78.44Hx - 237GID

Turbo3
Gold Member
Posts: 2011
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

Mon Feb 16, 2015 8:10 pm

mbender wrote: Ok, this worked for a month or two, but now I get the error every time. I have not been able to use Leaf Spy for weeks. Any further suggestions? Is my OBDII unit bad? (It is firmly plugged in and I always have the car on when I try.) I looked in the Play Store and couldn't even find the regular $9.99 Spy to see if there was a newer version. Perhaps it is no longer being offered or supported?

Thanks (anyone) for further suggestions!
Leaf Spy is still on PlayStore. Latest version is 0.34.42.

Turn on "Trace ELM" and send me the trace.

iOS version of Leaf Spy Pro is now available for testing.

DaveinOlyWA
Posts: 14026
Joined: Sat Apr 24, 2010 7:43 pm
Delivery Date: 16 Feb 2018
Leaf Number: 314199
Location: Olympia, WA
Contact: Website

Re: Leaf Spy and Leaf Spy Pro

Tue Feb 17, 2015 9:51 am

mbender wrote:
Turbo3 wrote:
mbender wrote:I have Leaf Spy Version 0.34.42 and it has almost completely stopped working/connecting. I repeatedly get the following error: [BtS] read failed, socket might be closed or timeout, read ret: -1. For a while I could get it to work by going into Bluetooth Settings (on Nexus 5/Android) and disconnecting from the car and then trying again. Now that doesn't work, even with rebooting, turning the car off and back on, etc. I'm tired of trying different to find a way "through" the cause(s) of the error. It was working fine before a recent update, but that may be coincidence. I don't think anything is wrong with the OBDII device, as it was working before and it just sits there.

Thanks for any help and sorry if this has been covered, but I want to get it back working again ASAP!
First reboot the Nexus 5 to clear any bad connections.

Then I would try letting Leaf Spy turn Bluetooth on and off. Turn Bluetooth off on your Nexus 5. Then start Leaf Spy. You can also go to the Leaf Spy settings menu and check the "Auto Enable & Disable Bluetooth" so you don't get asked the question about enabling Bluetooth each time you start the app.

I am charging up my Nexus 7 and will test it later today to see if I have any problems. What version of Android does the Nexus 5 use?
Ok, this worked for a month or two, but now I get the error every time. I have not been able to use Leaf Spy for weeks. Any further suggestions? Is my OBDII unit bad? (It is firmly plugged in and I always have the car on when I try.) I looked in the Play Store and couldn't even find the regular $9.99 Spy to see if there was a newer version. Perhaps it is no longer being offered or supported?

Thanks (anyone) for further suggestions!
as suggested, it has been my experience that its easier to reboot the ELM. just unplug it for 5 seconds and replug than launch LS. Once I did have to completely remove LS and re download it but considering nearly 3 years (or maybe 2??) of use, it has been pretty reliable but the connect problems happen so often, I really don't pay much attention to them but that is how BT works around here :)
2011 SL; 44,598 miles. 2013 S; 44,840 miles.2016 S30 deceased. 29,413 miles. 2018 S40; 15,000 miles, 478 GIDs, 37.0 kwh 109.81 Ahr , SOH 94.61, Hx 120.15
My Blog; http://daveinolywa.blogspot.com" onclick="window.open(this.href);return false;

Return to “LEAF CANBus”