Taycan Client Software Development

feye

Well-Known Member
Joined
Sep 16, 2019
Threads
16
Messages
2,194
Reaction score
1,657
Location
Shenzhen
Vehicles
Porsche Taycan 4S+ 2020
Country flag
what I really miss much more is some diagnostics software (via OBD). Durametic is too old, VCDS and OBD11 are supporting nearly any VAG brand from Bentley to Lamborghini, but nearly nothing from Porsche even if some ECU Data from latest Cayenne Battery would behave very similar to the Taycan's. PIWIS3 seems some dark mystery, but this will somehow contain the missing ASAM definition data.
If someone knows a bit more or even a solution, please share!
Yes, not so easy. nextmove was hinting at a new tool, they were testing for all EVs...

If you find something, let me know.
Sponsored

 

Jancha

Well-Known Member
First Name
Janis
Joined
Oct 1, 2020
Threads
12
Messages
183
Reaction score
203
Location
Latvia
Vehicles
911 Cabrio (ex Taycan 4s+)
Country flag
Looking at the API's available I see a few related to charging, make me wonder if its possible to create a simple scheduling app that would allow you to define the charging period and the max charge on a single screen, rather than having to have a profile and a timer.
given we can trigger charge on/off, should be easy.
 

awharton

Well-Known Member
Joined
Nov 22, 2019
Threads
8
Messages
232
Reaction score
207
Location
London
Vehicles
Porsche Taycan GTS, Mercedes EQC400
Country flag
Looking at the API's available I see a few related to charging, make me wonder if its possible to create a simple scheduling app that would allow you to define the charging period and the max charge on a single screen, rather than having to have a profile and a timer.
Yes - I've got that working for myself - thrown together at the moment but will publish it when I've had time to tidy it up a bit.

You can get the charge status etc from the API here:

https://api.porsche.com/service-vehicle/gb/en_GB/e-mobility/J1/$vin?timezone=Europe/London

And using these APIs you can toggle changing direct charging on/off:

https://api.porsche.com/service-vehicle/gb/en_GB/e-mobility/J1/$vin/toggle-direct-charging/true
https://api.porsche.com/service-vehicle/gb/en_GB/e-mobility/J1/$vin/toggle-direct-charging/false

This API can be used to get the general status of the vehicle:

https://api.porsche.com/service-vehicle/service-access/$vin/details

To get the correct details back though you will need to poll the following API until
Code:
"status" : "SUCCESSFUL"
is returned (once the car has sent back all the latest status data):

https://api.porsche.com/service-vehicle/gb/en_GB/vehicle-data/$vin/current/request/121842705/status

Using the above APIs it's pretty simple to setup a basic app or web page that allows you to setup charging max / times.

I have a MY20 - but would be interested to see what is returned from a MY21 vehicle on the general status API - especially around the ability to lock doors etc which is not available on MY20.
 
Last edited:

ccooke01

Well-Known Member
First Name
Carl
Joined
Oct 27, 2020
Threads
7
Messages
70
Reaction score
54
Location
UK
Vehicles
Taycan 4S and ID.4
Country flag
Yes - I've got that working for myself - thrown together at the moment but will publish it when I've had time to tidy it up a bit.

You can get the charge status etc from the API here:

https://api.porsche.com/service-vehicle/gb/en_GB/e-mobility/J1/$vin?timezone=Europe/London

And using these APIs you can toggle changing direct charging on/off:

https://api.porsche.com/service-vehicle/gb/en_GB/e-mobility/J1/$vin/toggle-direct-charging/true
https://api.porsche.com/service-vehicle/gb/en_GB/e-mobility/J1/$vin/toggle-direct-charging/false

This API can be used to get the general status of the vehicle:

https://api.porsche.com/service-vehicle/service-access/$vin/details

To get the correct details back though you will need to poll the following API until
Code:
"status" : "SUCCESSFUL"
is returned (once the car has sent back all the latest status data):

https://api.porsche.com/service-vehicle/gb/en_GB/vehicle-data/$vin/current/request/121842705/status

Using the above APIs it's pretty simple to setup a basic app or web page that allows you to setup charging max / times.

I have a MY20 - but would be interested to see what is returned from a MY21 vehicle on the general status API - especially around the ability to lock doors etc which is not available on MY20.
Hi, Happy to test any code as I have a MY21 4S.
 


Oink

Well-Known Member
Joined
Sep 8, 2020
Threads
11
Messages
379
Reaction score
268
Location
Norway
Vehicles
Taycan 4S+, M3P
Country flag
I am looking forward to the user made Taycan App that blows the socks off the official one.
That doesn't take much. Havent looked over the api at all, but I did see in the Android APK that there is some sort of admin account type.

I'll have a look later tonight maaaybe. MY21 here. Might whip up a new android app. I JUST switched to an iPhone, but no MacBook to make anything cross platform. The battery on mine is dead. :(
 

feye

Well-Known Member
Joined
Sep 16, 2019
Threads
16
Messages
2,194
Reaction score
1,657
Location
Shenzhen
Vehicles
Porsche Taycan 4S+ 2020
Country flag
I am looking forward to the user made Taycan App that blows the socks off the official one.
But the API is talking to the Porsche server, not the car, so the slow connection is still a problem, correct?
 


yuanshiang

Well-Known Member
Joined
Dec 20, 2020
Threads
6
Messages
71
Reaction score
10
Location
US
Vehicles
2021 Taycan 4S
Country flag
not necessary!

the plain web interface from https://connect-portal.porsche.com/core/de/de_DE/home/WP0ZZZ....
is already quite rich, there is nothing I'm missing what is included in the App. Very easy to check with every browser by hitting "F12".

if you need a starting point in code, search github and you will cross some more contributions e.g. Updates to Porsche Vehicle API by DerAndereAndi · Pull Request #512 · andig/evcc · GitHub
is anyone running EVCC? looks like a pretty neat way to control your charger and get current SoC!
 

Dave T

Well-Known Member
Joined
Jan 14, 2020
Threads
75
Messages
728
Reaction score
367
Location
Boston
Vehicles
2020 Taycan Turbo
Country flag
That doesn't take much. Havent looked over the api at all, but I did see in the Android APK that there is some sort of admin account type.

I'll have a look later tonight maaaybe. MY21 here. Might whip up a new android app. I JUST switched to an iPhone, but no MacBook to make anything cross platform. The battery on mine is dead. :(
I’ve done iOS development on a PC by running MacOS in a VMware VM. Google hackintosh. Works great. Just sayin...
 

ccooke01

Well-Known Member
First Name
Carl
Joined
Oct 27, 2020
Threads
7
Messages
70
Reaction score
54
Location
UK
Vehicles
Taycan 4S and ID.4
Country flag
But the API is talking to the Porsche server, not the car, so the slow connection is still a problem, correct?
I wouldn't expect direct car API access, from a security perspective this is would create a major risk, by having the Porsche Server in-between the user and the vehicle you have a control point which can filter API's and provide an "anti-corruption layer".

Looking at the API's available there are some risky ones such as " unlock doors" or "turn ignition on/off", I would expect the Porsche Server to prevent these types of calls being passed to the car in certain situations such as if the vehicle is moving.
 
Last edited:

BrummBrumm

Member
Joined
Mar 27, 2019
Threads
2
Messages
7
Reaction score
6
Location
Germany
Vehicles
Audi, Taycan 4S+
Country flag
This is really nice information - love it. How long is this apikey/bearer valid before it expires and has to be renewed?

Besides this API access, does anyone know if this SDK for running APP in docker container within car is available for private people/non-commercial use?

https://newsroom.porsche.com/en_AU/...ocker-software-development-kit-sdk-20235.html

Would be nice if it would be possible to write app that shows surround view not as a split screen, but directs bird view to the 8.4 inch screen (bigger) and selected view to 10.9 inch display.
 
  • Like
Reactions: Dee

Austin_yeahbaby

Well-Known Member
Joined
Sep 30, 2019
Threads
42
Messages
360
Reaction score
315
Location
United Kingdom
Vehicles
Taycan 4S, replaced my 911 ;-)
Country flag
 




Top