Jason-ABRP Posted May 22, 2019 Share Posted May 22, 2019 This post is for discussion and work on providing I-Pace live data capability. Probably the most promising solution is using the JLRpy tools (https://github.com/ardevd/jlrpy) to retrieve data from the car. There are probably limitations. If anyone's interested and knows a little Python (or is willing to learn), please give this a try and see how well it works. Since neither of us (Bo or myself) have an I-Pace, developing this from scratch will be quite challenging. Without help, it will be quite some time before we can get a workable interface. Link to comment Share on other sites More sharing options...
Rob Kamp Posted May 23, 2019 Share Posted May 23, 2019 I would be happy to help on this. I own an i Pace. I would like to use and OBD2 bluetooth enabled plug in the car and use an iOS device to receive it’s data in ABRP. On the other hand I will try to connect to the car data using the jlrpy library. Link to comment Share on other sites More sharing options...
Rob Kamp Posted May 23, 2019 Share Posted May 23, 2019 3 minutes ago, Rob Kamp said: I would be happy to help on this. I own an i Pace. I would like to use and OBD2 bluetooth enabled plug in the car and use an iOS device to receive it’s data in ABRP. On the other hand I will try to connect to the car data using the jlrpy library. Would something like this https://obdwarenhuis.nl/obdlink-mx-bluetooth-interface-ios-android fit the task? Link to comment Share on other sites More sharing options...
Kermit68 Posted May 28, 2019 Share Posted May 28, 2019 I own an I Pace (just got it last friday) too and an ODB2 dongle but zero knowledge of Python. Can I be of any help? Link to comment Share on other sites More sharing options...
Jason-ABRP Posted May 29, 2019 Author Share Posted May 29, 2019 An OBD2 dongle is a good start, but we would need to identify the exact signals the iPace uses to communicate the various statuses. To do that, we'll have to reverse engineer the PIDs. A good first start would be using something like Torque Pro and TorqueScan (Android, not familiar with what's available in iOS) to see if anything comes up. Could also try third-party tools like http://www.auterraweb.com/dynoscan.html, I'm not overly familiar with the process, as my car had already had its PIDs identified by the time I had purchased it. I'll see if I can dig up any resources online for ID'ing the PIDs, I'd encourage you guys to do the same. Link to comment Share on other sites More sharing options...
Rob Kamp Posted May 29, 2019 Share Posted May 29, 2019 I am going to try and hook up the dongle to a Raspberry PI and then store all outcoming signals into InfluxDB, a time series database. From that info, I think, we can reverse engineer the signals. I'll keep you updated on the progress. Link to comment Share on other sites More sharing options...
Jason-ABRP Posted May 30, 2019 Author Share Posted May 30, 2019 15 hours ago, Rob Kamp said: I am going to try and hook up the dongle to a Raspberry PI and then store all outcoming signals into InfluxDB, a time series database. From that info, I think, we can reverse engineer the signals. I'll keep you updated on the progress. You may also have to brute force the PIDs, typically the data is a call/response type of interaction, where a signal is sent to the bus and the recipient responds with the requested data. There's a lot of data to parse through online about CAN transactions. Link to comment Share on other sites More sharing options...
Dunravin Posted June 14, 2019 Share Posted June 14, 2019 You can modify the Apple Shortcuts created on the ipaceforums.co.uk to query most of the sensors you would need and then post via the ABRP API. The Shortcuts talk to the i-Pace’s API using your Jaguar Remote credentials. No hardware dongles or reverse engineering required. Might give it a crack when I get a spare moment. Link to comment Share on other sites More sharing options...
Jason-ABRP Posted June 16, 2019 Author Share Posted June 16, 2019 On 6/13/2019 at 7:54 PM, Dunravin said: You can modify the Apple Shortcuts created on the ipaceforums.co.uk to query most of the sensors you would need and then post via the ABRP API. The Shortcuts talk to the i-Pace’s API using your Jaguar Remote credentials. No hardware dongles or reverse engineering required. Might give it a crack when I get a spare moment. That would be great! Spare moments are a thing I find myself ever lacking. There's two ways we could end up deploying an API tool in the end, should you write one up: Send us your code, and we run it on our server, and add a login field (like the MyTesla login) on the site to provide the API credentials Individuals run it on their own, and you send it directly to our Telemtry API If you want to use 2 for a bit to test it out and see how well it works, shoot me an email at jason@iternio.com and I'll set you up with an API key. Link to comment Share on other sites More sharing options...
Dunravin Posted June 18, 2019 Share Posted June 18, 2019 (edited) Jason, What should I set the ‘carmodel’ value to for the i-Pace in the telemetry API? Also, what is the ‘power’ variable in the request? I need an API key to test with. I emailed you yesterday requesting it. Thanks, Dunravin Edited June 18, 2019 by Dunravin update questions Link to comment Share on other sites More sharing options...
Jason-ABRP Posted June 18, 2019 Author Share Posted June 18, 2019 Power is the kW output of the battery. It's optional, but highly desired. Carmodel can be acquired from the "get_carmodels_list" method of the API, but for the ipace it's: "jaguar:ipace:19:90:other" "manufacturer:model:year:capacity:other parameters" Saw your email, and generated one for you, let me know if you run into any issues with that. Link to comment Share on other sites More sharing options...
ael Posted June 19, 2019 Share Posted June 19, 2019 On 5/22/2019 at 5:59 PM, Jason (ABRP) said: Probably the most promising solution is using the JLRpy tools (https://github.com/ardevd/jlrpy) to retrieve data from the car. There are probably limitations. If anyone's interested and knows a little Python (or is willing to learn), please give this a try and see how well it works. I played a bit with JLRpy this weekend, and it should hopefully be a breeze to run it on your server as you propose. What data do you MUST have and SHOULD have, and I can have a closer look with some example code in a few days. For example, to get the SOC, you only need: #!/usr/bin/python import jlrpy c = jlrpy.Connection('USER', 'PASS') v = c.vehicles[0] current_soc = v.get_status("EV_STATE_OF_CHARGE") print(current_soc) Someone have uploaded this: https://pastebin.com/ZWMTjdqP which is what we get from get_status() above. Link to comment Share on other sites More sharing options...
Jason-ABRP Posted June 20, 2019 Author Share Posted June 20, 2019 @Dunravin was playing around with some code too, if he's interested in collaboration you could definitely drop him a line! He did run into some (solvable) issues though, such as having to force a refresh of the data, and some latency between requesting the data and receiving the data. Still, should be useful! We have our Telemetry API docs up on our website, which includes a list of the required / desired telemetry. Anything from that list you can get is great! Link to comment Share on other sites More sharing options...
Abu Dhabi Dude Posted June 21, 2019 Share Posted June 21, 2019 On 6/14/2019 at 1:54 AM, Dunravin said: You can modify the Apple Shortcuts created on the ipaceforums.co.uk to query most of the sensors you would need and then post via the ABRP API. The Shortcuts talk to the i-Pace’s API using your Jaguar Remote credentials. No hardware dongles or reverse engineering required. Might give it a crack when I get a spare moment. By the way, those are my Shortcuts. I'm Goshdarnit on the ipace forums. Link to comment Share on other sites More sharing options...
Rbrand Posted May 10, 2020 Share Posted May 10, 2020 Any succes in getting the I Pace connected to ABRP via API? ABRP shows still the I Pace as alpha model. The app myoace is capable of getting live data out of the I Pace. Link to comment Share on other sites More sharing options...
Cristi T Posted May 11, 2020 Share Posted May 11, 2020 I've wanted to go premium after our relationship between Kona electric and ABRP but I don't find a workflow to have ABRP communicate with i Pace. Link to comment Share on other sites More sharing options...
WARP_007 Posted October 2, 2021 Share Posted October 2, 2021 I've set up a Livelink that works great, except that the calibrated reference consumption is completely off... Notice the 441Wh/km Maybe I should have posted that here? Link to comment Share on other sites More sharing options...
kitenski Posted October 5, 2021 Share Posted October 5, 2021 On 6/21/2019 at 2:56 PM, Abu Dhabi Dude said: By the way, those are my Shortcuts. I'm Goshdarnit on the ipace forums. Did anything come of using these shortcuts to feed ABRP Live data?? Link to comment Share on other sites More sharing options...
kitenski Posted October 5, 2021 Share Posted October 5, 2021 and also it appears this documented API might be all that is needed to feed into ABRP Live? Anyone know a simple way to get these into an app on iOS? Years since I've done any programming, but perhaps I might have a tinker! Jaguar InControl API (getpostman.com) Link to comment Share on other sites More sharing options...