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: 756
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
@82k miles - 58.98Ahr - 90SOH - 87.70Hx - 256GID

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: 13841
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;

MplsBrian
Posts: 1
Joined: Mon Feb 16, 2015 6:24 pm
Delivery Date: 16 Jan 2015
Leaf Number: 023872
Location: Minneapolis, MN

Re: Leaf Spy and Leaf Spy Pro

Thu Feb 19, 2015 12:27 pm

Turbo3 wrote: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


Thanks Turbo.

I've been driving my leaf for a month now and just purchased Leaf Spy, and I'm already a big fan of the app. I wanted to ask about the Watts on the Energy Usage Graph. I'm finding on my screen that each item for energy usage is displaying not Watts, but some other unit, which may be an increment of Watts. Here's a screen shot (captured by my passenger for the record):

Image

From the best I can tell, it seems that Motr and Aux *roughly* approximate the Energy Use Screen of the Leaf at 100 Watts per unit, though with Motr it's hard to tell for sure due to the different response times between the app and Leaf screen. Hetr, on the other hand, seems to be 250 Watts per unit, and I can't tell you anything about A/C since it's February and I'm in Minnesota. :)

I guess I'm just trying to figure out what the units are in reality. Any insight would be very welcome.

Thanks!
2012 Cayenne Red SL
Purchased Jan '15
Feb '15: 26k mi, 83% SOH

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 19, 2015 1:56 pm

Version 0.35.60 has not been released yet. That is the one that will display Watts. The early versions listed the raw numbers from the Leaf. To go from raw to watts use these multipliers top to bottom 100w, 100w, 250w, 50w.

For your screen above that would be 24,000w 300w 4,250w and 0 w.

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

Thu Feb 19, 2015 10:31 pm

Turbo3 wrote:Turn on "Trace ELM" and send me the trace.

Ok, I started it with Trace on, did a bunch of things (it did not connect, but I went to pages and graphs 1-4), and exited. How to I access and send the trace? Thanks. (would have PMed this ? but others may find the answer useful.)
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(!)

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

Fri Feb 20, 2015 1:53 am

mbender wrote:
Turbo3 wrote:Turn on "Trace ELM" and send me the trace.

Ok, I started it with Trace on, did a bunch of things (it did not connect, but I went to pages and graphs 1-4), and exited. How to I access and send the trace? Thanks. (would have PMed this ? but others may find the answer useful.)

Go to the LEAF_BT_CAN/DEBUG_FILES folder and send me the TRC_xxx.txt and errdata.txt files you find there. Send them to the email address listed on the About screen.

claude274
Posts: 7
Joined: Wed Jan 21, 2015 7:27 pm
Delivery Date: 01 May 2015

Re: Leaf Spy and Leaf Spy Pro

Fri Feb 20, 2015 5:33 pm

What's the best OBDII for price?

Return to “LEAF CANBus”