Writing a Python library and Android app for the I-Pace. Need help.

All Jaguar I-Pace related discussions
ardevd
Posts: 159
Joined: Mon Dec 24, 2018 12:30 am
Location: Norway

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by ardevd » Tue Jan 15, 2019 10:46 pm

Testers needed for the newly uncovered max-soc API requests. Details here.
Control your I-Pace with jlrpy | I-PACE HSE Ebny Prem Txt MY2019.


WattAJag
Posts: 81
Joined: Thu Dec 06, 2018 9:50 pm
Location: Scottsdale, AZ

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by WattAJag » Wed Jan 16, 2019 3:28 am

A "normal person" (by my definition) ... downloads an app from the PlayStore, and opens it.

Or, if it's more involved (and it seems to be) - a clear set of instructions provided? I have PC's that are pretty much always on at my house. But, never set one up as a pseudo server.


sciencegeek
Posts: 115
Joined: Fri Nov 02, 2018 8:14 pm
Location: California

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by sciencegeek » Wed Jan 16, 2019 4:11 am

You have to be adept at the command line and have a basic understanding of python ... if the following link is gibberish please don't attempt. Even if you think that following seemingly simple instructions as in this link should be straight-forward, it isn't unless you've learned unix commands, environment configuration, and python scripting.
https://docs.python.org/2/using/mac.html


fox_nl
Posts: 61
Joined: Wed Mar 21, 2018 7:16 am
Location: Netherlands

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by fox_nl » Wed Jan 16, 2019 6:10 am

ardevd wrote:
Tue Jan 15, 2019 10:46 pm
Testers needed for the newly uncovered max-soc API requests. Details here.
Excellent, will try it tonight


waizz
Posts: 7
Joined: Sun Dec 02, 2018 7:08 pm
Location: Netherlands

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by waizz » Sun Jan 20, 2019 8:25 am

not an expert, but trying to test commands in postman.

All works except vehicle commands.

Getting 401 unauthorized.
Is that because deviceId value is not passed and if so how to resolve?


ardevd
Posts: 159
Joined: Mon Dec 24, 2018 12:30 am
Location: Norway

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by ardevd » Sun Jan 20, 2019 10:38 am

waizz wrote:
Sun Jan 20, 2019 8:25 am
not an expert, but trying to test commands in postman.

All works except vehicle commands.

Getting 401 unauthorized.
Is that because deviceId value is not passed and if so how to resolve?
Have you tried the Python library? It works there I'm assuming?
Control your I-Pace with jlrpy | I-PACE HSE Ebny Prem Txt MY2019.


waizz
Posts: 7
Joined: Sun Dec 02, 2018 7:08 pm
Location: Netherlands

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by waizz » Mon Jan 21, 2019 7:37 am

Ah yes, should have read better.
Postman just does the api request, but doesn't set the right tokens. Works fine with the library.
Happy to help with testing!


jcl
Posts: 4
Joined: Mon Dec 17, 2018 8:57 pm
Location: Netherlands

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by jcl » Wed Feb 06, 2019 7:58 am

Just wanted to say thx! The library works great and has helped me to add some useful stuff to my Mac Touchbar.

Touch Bar Shot 2019-02-06 at 08.55.15.png



ardevd
Posts: 159
Joined: Mon Dec 24, 2018 12:30 am
Location: Norway

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by ardevd » Wed Feb 06, 2019 8:08 am

jcl wrote:
Wed Feb 06, 2019 7:58 am
Just wanted to say thx! The library works great and has helped me to add some useful stuff to my Mac Touchbar.
That's super cool! Glad you found my project useful!
Control your I-Pace with jlrpy | I-PACE HSE Ebny Prem Txt MY2019.


ardevd
Posts: 159
Joined: Mon Dec 24, 2018 12:30 am
Location: Norway

Re: Writing a Python library and Android app for the I-Pace. Need help.

Post by ardevd » Thu Feb 07, 2019 12:16 pm

jcl wrote:
Wed Feb 06, 2019 7:58 am
Just wanted to say thx! The library works great and has helped me to add some useful stuff to my Mac Touchbar.

Also, you can simply do

Code: Select all

pip install jlrpy
now ;)
Control your I-Pace with jlrpy | I-PACE HSE Ebny Prem Txt MY2019.


Post Reply

Return to “Main Jaguar I-Pace chat”