Jump to content
Bo (ABRP)

Alpha Feedback - Audi e-tron

Recommended Posts

Hi,

in a different froum (https://www.motor-talk.de/forum/api-fuer-online-services-t6656742.html) I found some guidelines how to access the data of the myAudi Website/App. Maybe this could help to get e-tron connected to ABBR.

You need to have an myAudi account, with that you can get an authorisation token. The API is in RESTful. As I'm no developer I will just copy the cURL from the motor-talk.de forum:

Quote

 

Authorisation:

curl --header "Content-Type: application/x-www-form-urlencoded" --data 'grant_type=password&username=Username deines MyAudi Account&password=Passwort deines MyAudi Account' --request POST https://msg.audi.de/fs-car/core/auth/v1/Audi/DE/token

In the response you will find the access_token.

 

Retrieve vehicle list (if chassis number not known)

curl --header "Accept: application/json" --header "X-App-Name: eRemote" --header "X-App-Version: 1.0.0" --header "User-Agent: okhttp/2.3.0" --header "Authorization: AudiAuth 1 access_token" https://msg.audi.de/fs-car/usermanagement/users/v1/Audi/DE/vehicles

Retrieve status information

curl --header "Accept: application/json" --header "X-App-Name: eRemote" --header "X-App-Version: 1.0.0" --header "User-Agent: okhttp/2.3.0" --header "Authorization: AudiAuth 1 access_token" https://msg.audi.de/fs-car/bs/vsr/v1/Audi/DE/vehicles/FAHRGESTELLNUMMER/status

Retrieval of charging information

curl --header "Accept: application/json" --header "X-App-Name: eRemote" --header "X-App-Version: 1.0.0" --header "User-Agent: okhttp/2.3.0" --header "Authorization: AudiAuth 1 access_token" https://msg.audi.de/fs-car/bs/batterycharge/v1/Audi/DE/vehicles/FAHRGESTELLNUMMER/charger

 

The current SOC can then be found in the JSON, for example: charger/status/batteryStatusData/stateOfCharge/content

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


Contact Us

Bo - Lead Developer and Tesla owner: bo@abetterrouteplanner.com

Jason - New Car Models, Developer and Bolt owner : jason@abetterrouteplanner.com

Idreams - Forums Administrator, Forums Developer and Tesla owner : idreams@abetterrouteplanner.com

×
×
  • Create New...