User avatar
vrwl
Forum Supporter
Posts: 846
Joined: Tue May 15, 2012 2:16 pm
Delivery Date: 26 Jun 2012
Leaf Number: 8597
Location: Northeastern PA/Poconos

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 7:09 am

Stoaty wrote:
Turbo3 wrote:Updated Version 0.020t.

Image
Wow!!!!!!!!!!!!! We really can have it our way. No more complaints about screen colors I guess. :D

PS In regards to Gary's comment that saving old data between starting the app might be confusing, here is my suggestion: display the last data on restart of the app until the app connects to the ELM327. At that point everything can be zeroed for the few seconds until data shows up. If you see that the phone is connected, you will know that any data displayed is "new" (current) data.
So basically, when you bring the phone inside the house, out of the range of the ELM327, you can see what the last data values were in the car.
Vicki
2011 Silver SL-Mfg 8/11-Purch 6/12
34000 miles

Stoaty
Posts: 4490
Joined: Fri Jun 18, 2010 9:50 pm
Delivery Date: 12 Jun 2011
Leaf Number: 3871
Location: West Los Angeles

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 7:13 am

vrwl wrote:
Stoaty wrote: PS In regards to Gary's comment that saving old data between starting the app might be confusing, here is my suggestion: display the last data on restart of the app until the app connects to the ELM327. At that point everything can be zeroed for the few seconds until data shows up. If you see that the phone is connected, you will know that any data displayed is "new" (current) data.
So basically, when you bring the phone inside the house, out of the range of the ELM327, you can see what the last data values were in the car.
You can already do that, the problem is when you exit the Leaf application and then decide later you want to look at the last data values. Poof! They vanished.
2011 Leaf with 62,000 miles given to Nephew
2013 Tesla Model S85 with 251 miles rated range at full charge
Leaf Spy Manual
Battery Aging Model Spreadsheet

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 7:42 am

So basically, when you bring the phone inside the house,
out of the range of the ELM327, [and restart the app later, ]
you can see what the last data values were in the car.
I agree, a nice feature, but perhaps an option in the Settings,
with a button to erase the saved data, to start "fresh"?

Also consider saving all the CAN Messages in a log file,
with the title YYMMDDNN.txt (or ".can" or ".evc" if the
file is binary CAN-Do compatible). The NN is just a 00
to 99 sequence number for each drive of the day.

Having second, and possibly even millisecond time stamps
on each message would be helpful.

Then, one could add a Playback function (like the CANary
already has) to be able to review the data for each drive,
and have complete "Black Box" records (if enabled).

One could even set a retention limit of N days,
with 0 meaning no limit.

Inserting an micro SDHC card (perhaps 8GB or 16GB)
would give plenty of space for many days, even months
of logs.

Playback could have a speed control (about 20x down
to 0.1x), with a Pause, Resume, Restart, Loop, Mark A,
Mark B, Play AB, and Loop AB.
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 8:02 am

Some people are confused about the Ah and CAP meaning
(on Screen 1).

Maybe text like "Est Ah Capacity 62.03 / 66.2345 = 95.6%"
(or something like that) would better reveal that the percentage
shown is a Capacity estimate divided by a guess (in Settings)?
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

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: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 8:25 am

Updated Version 0.20t up on DropBox
Stoaty wrote:Couple of bugs in version 0.20t:

1) The reset button for screens 1 and 2 doesn't work
2) If you are on the settings screen, phone held in landscape orientation and try to pick a color, only part of the palette is shown, and no scrolling is available
3) If you are in the color picker and change the orientation of the phone (move from portrait to landscape or vice versa) the effect is the same as hitting the cancel button (bug or feature?)

OK, actually that was 3 bugs/features. :oops:
I see no problem with the reset button for screens 1 and 2. Works fine for me. Even better than fine in that if you do a long press and restore the defaults you can do a short press and get back the original settings you had before entering the Settings menu.

You are pressing the second reset button below the chart sample colors box not the one below the sample text box for screen 3.

For 2) I have released an updated Version 0.020t that will block starting up the color selectors if you do not have enough space to display them.

For 3) That is the way it works.

Debug screen will not be functional until Version 0.21

User avatar
garygid
Gold Member
Posts: 12469
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 9:49 am

The latest 20t version has two overlapping labels at the
right end of the histogram horizontal axis.

I intend to meet with GregH this weekend and investigate
the Cell-Shunting situation.

OK, debug can wait, but you had it working several versions ago,
perhaps before you added the choice of what data to Debug.
You might want to add the other two Groups of data, at that time.

Thanks for the great work.
See SOC/GID-Meter and CAN-Do Info
2010 Prius
2011 LEAF, 2014 Tesla S85
2018 & 2019 Tesla Model 3
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
Craigslist: Xm5000Li Electric Motorcycle

User avatar
davewill
Posts: 5083
Joined: Thu Mar 17, 2011 6:04 pm
Location: San Diego, CA, US

Re: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 9:55 am

I've noticed that my %successful in settings runs around 13-14%. Is this what others are seeing? The overall function of the app seems to be OK, but either my adapter is struggling, or the program is polling too rapidly, or ...
2014 Rav4 EV, Blizzard Pearl White
2011 LEAF SL w/QC, Blue Ocean, returned at end of lease

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: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 10:16 am

garygid wrote:The latest 20t version has two overlapping labels at the
right end of the histogram horizontal axis.
I will need a screen shot. I don't see any overlap.
(Never mind, I was looking only at CP voltage screen. I know what the issue is.)


Debug will be back with version 0.021 that will be available in a few minutes.

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: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 10:25 am

Released Version 0.21 on DropBox.

Fetures
* User can now define most all screen colors.
* Current screen data saved and restored
* Debug working again

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: Using clone ELM327 Bluetooth OBDII adapter with Leaf

Thu May 09, 2013 2:44 pm

Vicki sent me her ELM327 that she had trouble getting paired. At first I had the same problem. If seemed like it would not take any passkey.

After a little reading I tried powering it up and then immediately paired with 1234 and it worked.

I will need to do some testing to see how long the window is that will allow it to accept the pairing code.

My testing was done with a bench power supply. But after pairing and running my app it will auto connect whenever I power up the ELM327.

It is best to first do the discovery step on the Phone so it shows up as a new device. Enter the pairing code but do not press Enter/Done just yet. Unplug then replug the ELM327 then send the pairing code. You only need to do this one time to get it paired. (The Leaf is not here to do a real test but it works on the bench)

Next step is to see if it will talk to the Leaf

Return to “LEAF CANBus”