2011RedLeaf
Posts: 56
Joined: Tue Jan 03, 2017 8:49 pm
Delivery Date: 10 Oct 2012
Leaf Number: 3999

Re: Leaf Spy and Leaf Spy Pro

Tue Jun 18, 2019 2:08 pm

I'm a bit confused. I have a 2019 Leaf Plus with ~ 60kWh battery & want to start paying better attention to what is going on behind the curtain - i.e. purchase LeafSpy Pro.
I'm confused which OBD-II device to get.

I was about to purchase LELink^2, but want to double check whether the statement below means the Zero-Power Mode is not usable, or the device is not usable.
I looked at the Carista - but there is a bunch of negative feedback about a yearly subscription being required to obtain full function.



The LELink/LELink^2 are Bluetooth 4.x LE for both Android and iOS devices. With the LELink^2 having a zero power mode that will be supported for 2011-2017 Leafs. It is not usable on a 2018 or newer Leaf.

The Carista is Bluetooth 4.x LE for iOS devices and standard Bluetooth for Android.



The main thing I currently want to check is traction battery temperature. The dashboard gauge hasn't moved more than 1/2 inch from the very center of the range with freeway trips 100 miles @ 80 mph or charging at 38 kW. Either Nissan has made great strides toward solving the TMS problem, or my car has a faulty gauge readout.
Currently 2019 Blue Leaf+

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

Tue Jun 18, 2019 7:02 pm

2011RedLeaf wrote:I'm a bit confused. I have a 2019 Leaf Plus with ~ 60kWh battery & want to start paying better attention to what is going on behind the curtain - i.e. purchase LeafSpy Pro.
I'm confused which OBD-II device to get.

I was about to purchase LELink^2, but want to double check whether the statement below means the Zero-Power Mode is not usable, or the device is not usable.
I looked at the Carista - but there is a bunch of negative feedback about a yearly subscription being required to obtain full function.



The LELink/LELink^2 are Bluetooth 4.x LE for both Android and iOS devices. With the LELink^2 having a zero power mode that will be supported for 2011-2017 Leafs. It is not usable on a 2018 or newer Leaf.

The Carista is Bluetooth 4.x LE for iOS devices and standard Bluetooth for Android.



The main thing I currently want to check is traction battery temperature. The dashboard gauge hasn't moved more than 1/2 inch from the very center of the range with freeway trips 100 miles @ 80 mph or charging at 38 kW. Either Nissan has made great strides toward solving the TMS problem, or my car has a faulty gauge readout.
The LELink^2 works fine with a 2019 Leaf. You should just not enable the special zero power mode when used with a 2018 or newer Leaf. Zero power mode comes disabled and if LeafSpy Pro detects a 2018 or newer Leaf the option to enable zero power mode is blocked.

The Carista works with LeafSpy Pro and does not require any subscription from Carista. They might be referring to some other app used with Carista that requires a yearly subscription.

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

Tue Jun 18, 2019 7:08 pm

crunchy3d wrote:
crunchy3d wrote:Unfortunately, from updating to beta version I can't get any new Log files. Only TripChrgLog*.csv file is updated with new trips, while Log_*.scv files are not created or new data appended to old file (in the same day, of course).
My settings are (the relevant ones):

Logging:
- Enable Data Logging
- Deselected Log Cell Voltages

No Dropbox or Server

Does anybody get new data written to Log file (have I missed something?)?
New info. If "Log Cell Voltages" in menu "Logging" is selected (checkbox is selected), the Log_*.scv file is created. Otherwise Log_*.scv file is not created!
@Turbo3, I suppose it is a bug and Log_*.scv file should be created in both cases, except that cell voltages are not written if the checkbox is not selected?
I checked the code and there is no connection between the "Log Cell Voltages" option and writing to a Log file. It only controls whether the Cell Pair voltages are read from the Leaf and saved to the Log file.

The only thing I can think of is you have selected a custom screen 3 and are viewing that custom screen 3. When viewing a custom screen Logging is temporarily disabled.

I'll verify this next week when I have access to a Leaf for testing.

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

Re: Leaf Spy and Leaf Spy Pro

Tue Jun 18, 2019 11:28 pm

Turbo3 wrote:I checked the code and there is no connection between the "Log Cell Voltages" option and writing to a Log file. It only controls whether the Cell Pair voltages are read from the Leaf and saved to the Log file.

The only thing I can think of is you have selected a custom screen 3 and are viewing that custom screen 3. When viewing a custom screen Logging is temporarily disabled.

I'll verify this next week when I have access to a Leaf for testing.
I am using screen 4 (not custom screen 3). The pattern is as described. When checking "Log Cell Voltages" everything works as usual. Deselecting it causes no data written to Log file. First I thought that the problem is that I upgraded in the morning after one trip, so the afternoon trip was not added to the existing file due to (maybe) different CSV layout (e.g. cell voltages do not exist). However, when the next day the file was not written as well I made few experiments and discovered the pattern: "Log Cell Voltages" checked creates the file (or appends the data to the file) and vice versa.

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

Re: Leaf Spy and Leaf Spy Pro

Wed Jun 19, 2019 2:55 am

crunchy3d wrote:
Turbo3 wrote:I checked the code and there is no connection between the "Log Cell Voltages" option and writing to a Log file. It only controls whether the Cell Pair voltages are read from the Leaf and saved to the Log file.

The only thing I can think of is you have selected a custom screen 3 and are viewing that custom screen 3. When viewing a custom screen Logging is temporarily disabled.

I'll verify this next week when I have access to a Leaf for testing.
I am using screen 4 (not custom screen 3). The pattern is as described. When checking "Log Cell Voltages" everything works as usual. Deselecting it causes no data written to Log file. First I thought that the problem is that I upgraded in the morning after one trip, so the afternoon trip was not added to the existing file due to (maybe) different CSV layout (e.g. cell voltages do not exist). However, when the next day the file was not written as well I made few experiments and discovered the pattern: "Log Cell Voltages" checked creates the file (or appends the data to the file) and vice versa.

@Turbo3

Can comfirm what crunchy3D say's: checked log cell voltage's will write to the log file, unchecked no writing at all is done to the log file..... just did the test on my 2018 leaf.

Is it possible that the vent speed and airco status is not working on the custom screen with 2018+ leafs? (looking at user3 custom screen)

Turbo3 wrote:I understand that from leaf 2018+ there is no more (passive) CAN activity onto the ODB plug.
another approch can be when the leaf is off (asleep) and leafspy begins to poll with active CAN commands AND there is no answer (fi polling the SOH or VIN will not give a valid responce) than instruct leafspy to stop sending active commands to protect the relay clicking and assume the leaf is off..... (showing then a reconnect screen or something)

have a nice we

Yes, that can be done. There is code that handles the timeout when the Leaf does not respond which today delays a few seconds and retries. I can change that code for a 2018+ Leaf so the Service code sets a flag the foreground code can check and then ask the user to turn on the Leaf and press connect to continue. The foreground code can then tell the Service code to retry the command. I will need the message in Japanese, French and German.

The Service code runs all the time (even when the device is off) whereas the foreground code only runs when the app has the screen.
message in English label "Leaf is Off", button "Please Reconnect"
message in French label "Leaf au arrêt" button " Reconnecter svp"
message in German label "Leaf is aus" button "reconnectieren bitte"


have a nice day

DaveinOlyWA
Posts: 14952
Joined: Sat Apr 24, 2010 7:43 pm
Delivery Date: 16 Nov 2019
Leaf Number: 319862
Location: Olympia, WA
Contact: Website

Re: Leaf Spy and Leaf Spy Pro

Wed Jun 19, 2019 6:28 am

Looks like ambient temp is gone from screen 4. I do like that that batt temps don't toggle automatically any more.
2011 SL; 44,598 mi, 87% SOH. 2013 S; 44,840 mi, 91% SOH. 2016 S30; 29,413 mi, 99% SOH. 2018 S; 25,185 mi, SOH 92.23%. 2019 S Plus; 11,333.1 mi, 93.73% SOH
My Blog; http://daveinolywa.blogspot.com" onclick="window.open(this.href);return false;

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 Jun 19, 2019 6:56 am

DaveinOlyWA wrote:Looks like ambient temp is gone from screen 4. I do like that that batt temps don't toggle automatically any more.
Toggling between tire pressures and battery temperatures is an option. A single tap on that sub panel will disable alternating so the current selection stays. A long tap enables alternating between the two displays. Ambient temperature should still be displayed. Should display "**" until a value can be read from the Leaf.

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 Jun 19, 2019 6:59 am

crunchy3d wrote:
Turbo3 wrote:I checked the code and there is no connection between the "Log Cell Voltages" option and writing to a Log file. It only controls whether the Cell Pair voltages are read from the Leaf and saved to the Log file.

The only thing I can think of is you have selected a custom screen 3 and are viewing that custom screen 3. When viewing a custom screen Logging is temporarily disabled.

I'll verify this next week when I have access to a Leaf for testing.
I am using screen 4 (not custom screen 3). The pattern is as described. When checking "Log Cell Voltages" everything works as usual. Deselecting it causes no data written to Log file. First I thought that the problem is that I upgraded in the morning after one trip, so the afternoon trip was not added to the existing file due to (maybe) different CSV layout (e.g. cell voltages do not exist). However, when the next day the file was not written as well I made few experiments and discovered the pattern: "Log Cell Voltages" checked creates the file (or appends the data to the file) and vice versa.
Must be some indirect connection I don't see yet.

========================================

Found the bug. One line of code needs to be deleted that required the cell voltages to be read or it would not log.

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 Jun 19, 2019 6:27 pm

Just uploaded test version 0.45.121 with fix for not logging if not reading cell pair voltages.

Also includes fix for app crashing when Uploading to Dropbox that I have seen in the crash reports from Google. Anyone who has has 0.45.120 crash let me know if this fixes the problem as I have know way to know who you are.

Link to test if you are not currently in the test group.

https://play.google.com/apps/testing/co ... af_Spy_Pro

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

Re: Leaf Spy and Leaf Spy Pro

Wed Jun 19, 2019 10:32 pm

Turbo3 wrote:Just uploaded test version 0.45.121 with fix for not logging if not reading cell pair voltages.
Still does not log if not reading cell pair voltages. @virol, anybody else confirming it?

Return to “LEAF CANBus”