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

Re: iOS Version of Leaf Spy development discussion

Mon Jan 12, 2015 6:56 pm

essaunders wrote:How old of a device can be supported? In my perfect world I'd allocate my first gen ipod touch to the car for this application. It's probably an unrealistic goal, but on the off chance it is possible, I thought I'd ask.

I have ordered a 3rd gen iTouch which has the same screen resolution as Gen 1 & 2. I will test and update the screen layout if necessary when it comes in.

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

Re: iOS Version of Leaf Spy development discussion

Mon Jan 12, 2015 6:58 pm

DNAinaGoodWay wrote:Nice work, thanks. Patiently waiting to switch from LeafStat, which is fine, just very basic.

Will there be some kind of user manual online to explain the screens, functions, and nomenclature, for those of us with no prior experience?

I will probably create a PDF file you can download once I get done with the initial porting.

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

Re: iOS Version of Leaf Spy development discussion

Mon Jan 12, 2015 7:02 pm

KJD wrote:Nice work as always. What do you have left to do for a general release, it looks like most of it is there now right?

Things still to do:

1. Tire Registration
2. Door Lock settings
3. Screen 2 (the 4 graph screens)
4. Screen 3 (Text only data screen)
5. Settings screen

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

Re: iOS Version of Leaf Spy development discussion

Mon Jan 12, 2015 7:04 pm

jpadc wrote:Dear Turbo3:

I'm new here so I missed most of the discussion on this. I have your Leaf Spy Pro running on an old GarminPhone. I got the Android device to run the Torque App for my Prius. I used your program when I went to evaluate a still new (never sold) 2013 LEAF that i bought just a couple weeks ago (discussed here: http://www.mynissanleaf.com/viewtopic.php?f=27&t=2099&start=1843). Your app was well worth the low cost investment just to have piece of mind regarding the health of the battery in the car.

I have 2 questions I hope you will address. One on topic, the other not so much...1) I assume the move from Bluetooth to wifi on the iOS device is because Apple does not support some Bluetooth protocol that you use in the program. What protocol is that? 2) My most used feature in Torque on the Prius was that it could (using custom PIDs developed by usbseawolf2000 on PriusChat.com) provide information about both regenerative braking and friction braking in real time. I would love it if such a feature could be added to Leaf Spy Pro. Any thoughts on that?

Thanks

I still need to check if the LYL v2.1 is a real v2.1 if it is that would better support realtime regen/braking screen.

But work on this would not start until after the initial porting has been completed.

adspguy
Posts: 94
Joined: Tue Apr 10, 2012 1:12 pm
Delivery Date: 23 Apr 2012
Leaf Number: 018978
Location: Newton, MA

Re: iOS Version of Leaf Spy development discussion

Tue Jan 13, 2015 11:34 am

The more important limit to supporting older devices will be what version of iOS they can run. Gen 1&2 ipod touches only go up to ios4, 3's go up to ios 5, etc...

This wikipedia page has a good summary of all iphones, ipod touches, ipads vs iOS version.
http://en.wikipedia.org/wiki/List_of_iOS_devices

What minimum iOS version are you planning to support?


Turbo3 wrote:
essaunders wrote:How old of a device can be supported? In my perfect world I'd allocate my first gen ipod touch to the car for this application. It's probably an unrealistic goal, but on the off chance it is possible, I thought I'd ask.

I have ordered a 3rd gen iTouch which has the same screen resolution as Gen 1 & 2. I will test and update the screen layout if necessary when it comes in.

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

Re: iOS Version of Leaf Spy development discussion

Tue Jan 13, 2015 12:23 pm

adspguy wrote:The more important limit to supporting older devices will be what version of iOS they can run. Gen 1&2 ipod touches only go up to ios4, 3's go up to ios 5, etc...

This wikipedia page has a good summary of all iphones, ipod touches, ipads vs iOS version.
http://en.wikipedia.org/wiki/List_of_iOS_devices

What minimum iOS version are you planning to support?


Turbo3 wrote:
essaunders wrote:How old of a device can be supported? In my perfect world I'd allocate my first gen ipod touch to the car for this application. It's probably an unrealistic goal, but on the off chance it is possible, I thought I'd ask.

I have ordered a 3rd gen iTouch which has the same screen resolution as Gen 1 & 2. I will test and update the screen layout if necessary when it comes in.

Thanks for the link. The development system I am using only support iOS 7 and newer devices.

I have updated the first post with the iOS devices that are and are not supported for LeafSpy.

User avatar
Nubo
Posts: 4947
Joined: Fri May 28, 2010 11:01 am
Delivery Date: 31 Oct 2014
Location: Vallejo, CA

Re: iOS Version of Leaf Spy development

Fri Jan 23, 2015 11:49 pm

Turbo3 wrote:WiFi Adapters

The WiFi OBDII adapter that works best for me now is sold by Amazon….


Can you explain what "works best" means? Is there a specific protocol (ELM327, or other) that is required? I already have a WiFi OBDII dongle that works with Leaf Stat and I'm just wondering what I might check to see if it's compatible or what specs other people should look for when purchasing a unit.

I'll be trying it out with Leaf Spy in any case, once it's available. Thanks for taking the time to port it to iOS!
I noticed you're still working with polymers.

thankyouOB
Posts: 3583
Joined: Mon Feb 21, 2011 11:14 am
Delivery Date: 30 Apr 2011
Leaf Number: 1442
Location: Coastal LA

Re: iOS Version of Leaf Spy development discussion

Sat Jan 24, 2015 2:20 pm

are you looking for testers with iPhone 5 or later?
may reserve/delivery 4/30/11
--
ECOtality/LADWP/ Blink 4/4/11
--
Gardena Nissan, msrp -1k
red SL with etec L3
SOLAR POWERED since 2008

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

Re: iOS Version of Leaf Spy development

Mon Jan 26, 2015 2:40 am

Nubo wrote:
Turbo3 wrote:WiFi Adapters

The WiFi OBDII adapter that works best for me now is sold by Amazon….


Can you explain what "works best" means? Is there a specific protocol (ELM327, or other) that is required? I already have a WiFi OBDII dongle that works with Leaf Stat and I'm just wondering what I might check to see if it's compatible or what specs other people should look for when purchasing a unit.

I'll be trying it out with Leaf Spy in any case, once it's available. Thanks for taking the time to port it to iOS!

For the iOS version of Leaf Spy(at least for testing) I have added a console which displays internal information from the program including the time for each cycle of reading data from the Leaf. With this I am able to see how the time changes as I test different OBDII Wifi adapters. The time of each loop is composed of three parts. 1) Android device cycle time, 2) OBDII adapter overhead, 3) Leaf response time.

When I tested the three different brands of OBDII Wifi adapters I have on hand I was able to see a significant difference in the loops times of around 2x.

So any Wifi OBDII adapter should work and some are faster than others. That is what I meant by "works best".

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

Re: iOS Version of Leaf Spy development discussion

Mon Jan 26, 2015 3:01 am

thankyouOB wrote:are you looking for testers with iPhone 5 or later?

Once I complete the initial porting to iOS there will be some limited beta program. Basically to test out the Wifi connection code. I don't not have a copy of LeafStat but from the setup information I have seen it requires a Static setting for the IP Address whereas for Leaf Spy Pro it is just another Wifi connection and uses DHCP so nothing special is required. For Leaf Spy you will need to first select the Wifi network (your OBDII adapter) before Leaf Spy can connect.

At this time I have not uploaded anything to Apple so I don't yet know how they run beta testing. But I might just end up sending out a test LeafSpyPro.ipa file and having testers use iTunes to directly load the test version to their device.

In any case I would need the device UDID to build the proper certificate to allow the .ipa file to be loaded to your device.

Those wishing to be beta testers would just need to send me their UDID and device type. Only devices supporting iOS 7 or higher are capable of running Leaf Spy.

I have completed porting over all the data screens and am now working on the Settings menu. Settings has 17 sub panels some simple some complex and some feature are not supported in iOS. Things like checkboxes and pulldowns are not supported in iOS so there is a fair amount of new coding needed and layout changes to make things fit on the screen.

Each sub panel of settings needs to be tested using each Language (English/Japanese), orientations (P/L) and with each test device I have (iTouch, iPad, iPhone4). So that is 12 tests for each panel plus any repeats/restart when a change is made in any one of them to be sure a fix to one did not break another. It is a time consuming test process.

Return to “LEAF CANBus”