Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Call to Action] WE NEED YOUR CREDENTIALS :) #526

Closed
oliverrahner opened this issue Dec 18, 2023 · 48 comments
Closed

[Call to Action] WE NEED YOUR CREDENTIALS :) #526

oliverrahner opened this issue Dec 18, 2023 · 48 comments
Labels
enhancement New feature or request

Comments

@oliverrahner
Copy link

oliverrahner commented Dec 18, 2023

As part of our effort to bring back all functionality to this integration, the development team requires some credentials to Volkswagen accounts containing cars with specific sets of functionality.

What we already have:

  • Arteon 2023 Diesel with activated remote control
  • eUp! EV with activated remote control
  • Golf 2018 Hybrid

What we need:

  • [updated 19/12] any kind of ID series cars, their API and connectivity seems to behave different in certain aspects from the "legacy" combustion platforms
  • any kind of vehicle with combustion engine and parking heater and activated remote control
  • any kind of hybrid vehicle with activated remote control
  • maybe some cars with disabled remote control, to test whether our scenarios also work with cars that do not provide specific features
  • any kind of car that has a functionality that you are missing in this integration

Terms

  • We would share the credentials only between the two active developers @oliverrahner and @stickpin, possibly also with @robinostlund, unless you explicitly state how you want them shared.
  • We would use your credentials to
    • log into the Volkswagen app to inspect the requests made
    • add your vehicle into our own test installations of Home Assistant
    • temporarily change specific settings of your car (climatisation temperature/other settings, start/stop charging, ...) to inspect the requests made for controlling the car (this will be specifically aligned with you in time to make sure it doesn't interfere with you!)
  • We can not guarantee that your specific feature request will be granted earlier/at all when you provide your credentials, but the chances will rise a lot if you do.

How?
You could send your credentials to me, under <firstname>@<lastname>.me. It would also be possible/helpful to receive a mobile number for efficient coordination via Signal/Telegram/Whatsapp/SMS/whatever for any changes we would like to make to you car's configuration. If it helps you trust us, I would also be willing to get on a call with you so you can get to know me personally before handing out your credentials.

@oliverrahner oliverrahner added the enhancement New feature or request label Dec 18, 2023
@corneel27
Copy link

corneel27 commented Dec 18, 2023

Why should I share my credentials? The integration is stopped working at all with the new vw-app (which works well with my credentials).
I can not login with my credentials in the current integration, so why should this be possible for you?

@robinostlund
Copy link
Owner

Why should I share my credentials? The integration is stopped working at all with the new vw-app (which works well with my credentials).

I can not login with my credentials in the current integration, so why should this be possible for you?

As he is able to find the root cause and not just saying it doesn't work 🧐. You don't need to share but don't complain about that this integration is not working 😊

@oliverrahner
Copy link
Author

Thanks @robinostlund :) I am just trying with another user if also the "invitation" feature within the VW app would work, as that would be much less concerning than actually handing out the credentials.
If it works, I will adjust the CtA accordingly

@oskari
Copy link

oskari commented Dec 18, 2023

I'd be more than happy to "share" my vehicle if the "invitation" feature is sufficient. It does give access to the volkswagen app, so I'd guess it should be enough? I have to sort out my app with vw support first tho as it seems that even the (new) vw app somehow broke for me.

@oliverrahner
Copy link
Author

I found out in discussions with another volunteer that inviting someone is quite painful currently :-/
The rough steps are:

  • I create a dedicated, new account for your invitation
  • You have to log in in the car with that account
  • Then you can make that new account a "co-user" on the website (not sure if it also works from inside the app)
  • I need to accept that invitation
    Then we should be good to go. So if you write me an email, I can send you credentials for an account to invite.

(A dedicated account is needed because I need to hand out the credentials, so everybody who invites me would have access to all other helpers' cars as well)

@sfnis
Copy link

sfnis commented Dec 18, 2023

I am in the US, and I'd really like to see this work. I can share my login for my car, because the only security risk I can think of is that you would unlock my car and try to steal something. And there is nothing in it..

So, anyways, yeah, if you are testing US Cars, I have a 2022 Jetta GLI, lets chat.

@oliverrahner
Copy link
Author

For full disclosure, we would be able to change the email address on the account, then change the password and basically "steal" the whole account for you. You would probably be able to get it back, if not the account then at least the car in a new account.

I'm not trying to fear anybody away, just going for full transparency here :) I'm still working with the guy mentioned above to get the invitation working, as soon as we got that going it will be much less risky to share access with us.

That being said, @sfnis, I would love to get access to a car in the US, just to see if the API behaves the same outside of the EU.

@andy-81
Copy link

andy-81 commented Dec 19, 2023

Happy to help where I can, not sure if my car will provide you anything you don’t already have.

I have a 2022 Golf R (uk model) so doesn’t have the heater other than the turning on climatisation (without the heater) but I think you get that with the models you already have access to.

The work you and the team have done to bring the integration back online has been fantastic, it’s great having the sensors, just looking forward to the lock/unlock controls coming back.

Let me know if you think it would be useful, I couldn’t see anything my car has which isn’t on the other cars but happy to share for a short period if you need another Golf.

@Edzilla2000
Copy link

Hi, I have a Tiguan in Canada which doesn't work with the new version of the integration, we can arrange sharing the credentials if it helps.

@thomasblankschein
Copy link

If you are interested in testing with another eUp EV (2020), please contact me.

@oliverrahner
Copy link
Author

@Edzilla2000 Did the old version of the integration work for you in the past? Do you also use the MyVW app in Canada as they do in the US?

@Edzilla2000
Copy link

@Edzilla2000 Did the old version of the integration work for you in the past? Do you also use the MyVW app in Canada as they do in the US?

The integration never worked for me, they migrated us to the MyVW app fairly recently (2 months ago I think)

@virtualdj
Copy link

I am just trying with another user if also the "invitation" feature within the VW app would work

@oliverrahner Any progress on the invitation feature with the test user? Does it really work?

@iainfogg
Copy link

@oliverrahner are you able to share the script you're running to capture the data? If so, I'm happy to run it locally and do a pull request to add the data in that you're looking for (I tried doing this a couple of weeks ago but couldn't find a good way of collecting the data - I tried copying it from the debug window, but that wouldn't copy it out properly).

I have a 2019 e-Golf.

@oliverrahner
Copy link
Author

@oliverrahner Any progress on the invitation feature with the test user? Does it really work?

The guy I’m working with on this didn’t find the time yet… if you’d be up for it, don’t hesitate 😅

@oliverrahner
Copy link
Author

oliverrahner commented Dec 20, 2023

@oliverrahner are you able to share the script you're running to capture the data?

The process we’re using does not involve a script, it’s roughly this:

  • run a diagnostic proxy, there a several choices. I’m still using Fiddler for historical reasons, but I heard there are better choices
  • get the https certificate from your proxy and install it as trusted on your phone
  • set the device you installed the proxy on as the proxy on your phone
  • run the Volkswagen app

Then you should be able to see the requests of the app logged in the clear
Not a particularly easy way 😅

@iainfogg
Copy link

Ah ok thanks @oliverrahner - I was assuming you were after more data similar to what's here https://github.com/robinostlund/volkswagencarnet/tree/master/tests/fixtures/resources/responses - is that correct?

I managed to see the data within the debug window of VS Code when running Home Assistant with the component installed within it, I just didn't get a decent way of copying it out as VS Code puts an abbreviated version of the data onto the clipboard.

If that's the data you're after, and I can't get it from VS Code, I'll try what you outlined above.

@danielszilagyi
Copy link

danielszilagyi commented Dec 20, 2023

@oliverrahner are you able to share the script you're running to capture the data?

I sent a solution to @virtualdj for Android phones earlier, but didn't hear back on the outcome.

The stock VW app has certificate pinning unfortunately AFAICT.

@virtualdj
Copy link

I sent a solution to @virtualdj for Android phones earlier, but didn't hear back on the outcome.

@danielszilagyi You're right, I had some personal issues that stole my free time... and then I forgot. :-/
I will try in a couple of days (not today, unfortunately) and let you know!

The stock VW app has certificate pinning unfortunately AFAICT.

I don't think it's using certificate pinning, because the same issue prevents capturing HTTPS traffic from every Android app!
I think your solution enables the ability to "see" user certificates (those that allow HTTPS decrypting) in the single APK, as it's explained in the HTTP Toolkit docs.
Apparently iOS doesn't have this limitation and doesn't require this "hassle".

@iainfogg
Copy link

I did this using:

  • A phone emulator built into the Android Studio installed on my Windows PC, using an image based on Google APIs (but not Google Play)
  • The VW app installed within the emulator (downloaded from APK Pure)
  • HTTP Toolkit (an open source product for intercepting and viewing HTTP)

If you connect to the emulator by running adb -e shell, HTTP Toolkit has an option 'Android device connected by ADB' - it can install what's needed within the emulator to ensure that the HTTPS requests from the emulator land in the HTTP Toolkit application on your host machine, and you can view the requests in there. It was pretty simple once I'd got stuff downloaded and installed.

See this HTTP Toolkit article for more info.

And if you're trying to figure out where the SDK toolkit with adb is, for me it was in C:\Users\myuser\AppData\Local\Android\Sdk\platform-tools on my Windows machine, not sure about MacOS or Linux locations.

@pauluhz
Copy link

pauluhz commented Dec 21, 2023

I have a VW Tiguan can I help with getting this HA app running again?

A lot of things are working in the new release unfortunately some things not. I have a hybrid Tiguan and a saw that some things of the charging time and department schedule are not working.

@enoch85
Copy link

enoch85 commented Dec 22, 2023

@pauluhz Please follow the instructions in this thread. I don't think the Tiguan is on the list, which means it's missing. So it would be great if you could share it!

@OZ1SEJ
Copy link

OZ1SEJ commented Dec 24, 2023

Sorry - I'm new to Volkswagen and have installed this integration; does this thread imply that this integration currently doesn't work?

@oliverrahner
Copy link
Author

It used to not work :) now it should again. The control features (locking, climatisation and the like) are not yet released, but all (or at least, most) sensors are working again.

@OZ1SEJ
Copy link

OZ1SEJ commented Dec 25, 2023

Haha - thanks for the explanation. I actually got it to work yesterday - nice work! Thank you!

@pauluhz
Copy link

pauluhz commented Dec 25, 2023

@pauluhz Please follow the instructions in this thread. I don't think the Tiguan is on the list, which means it's missing. So it would be great if you could share it!

If you send me an account I could add this one as co-user to my car right? We could also use telegram if this is faster and easier.

@virtualdj
Copy link

virtualdj commented Dec 27, 2023

  • A phone emulator built into the Android Studio installed on my Windows PC, using an image based on Google APIs (but not Google Play)
  • The VW app installed within the emulator (downloaded from APK Pure)

@iainfogg Interesting! Installing the Volkswagen app in the emulator works and HTTP Toolkit is able to capture the data.
Previously I've tried with the We Connect app (the old one, that we loved) and it did not run. It seemed to run, but after tapping the icon it crashed, probably because it was using a native library that wasn't ported to the x86_64 platform of the emulator. This was the logcat:

12-07 11:03:08.732 11877 11877 E AndroidRuntime: FATAL EXCEPTION: main
12-07 11:03:08.732 11877 11877 E AndroidRuntime: Process: de.volkswagen.carnet.eu.eremote, PID: 11877
12-07 11:03:08.732 11877 11877 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for int fvpffh.duogeebar.ravitfb.ovlu.HXsLQke(int) (tried Java_fvpffh_duogeebar_ravitfb_ovlu_HXsLQke and Java_fvpffh_duogeebar_ravitfb_ovlu_HXsLQke__I)

I wish HTTP Toolkit allows me to export the capture data for later use, but I doesn't in the free version 😢

if you’d be up for it, don’t hesitate

@oliverrahner I'm interested in trying the co-user, just leave me some days until the VW support tries to fix the fact I can't start the charge from the app. And you're on vacation, right? 😄 Interestly, I can stop the charge from the app, but I can't start it.

Running the VW app in the emulator led to the same issue, with error 502 when issueing the REST POST command https://emea.bff.cariad.digital/vehicle/v1/vehicles/WVWZZZ.../charging/start with this response back:

{
  "error": {
    "message": "Bad Gateway",
    "info": "Upstream service responded with an unexpected status. If the problem persists, please contact our support.",
    "code": 4101,
    "group": 2
  }
}

I've already contacted the support 6 days ago but they didn't answer yet; it's more than a week that I'm unable to start the charge 😞
I just don't want them to argue that it's due to the co-user.

@iainfogg
Copy link

@virtualdj glad you got it working!

I've no idea about that error, I'm afraid, none of the names in the library made any sense to me 🤷‍♂️

I've got (and have reported) the same issue, where I can stop charging but can't start it from the app, there's some issue with the VW backend.

@virtualdj
Copy link

I've got (and have reported) the same issue, where I can stop charging but can't start it from the app, there's some issue with the VW backend.

@iainfogg Ah, I'm not the only one then!

In the mean time, as a workaround to start charging, I noticed that you can set a close departure timer with charging enabled using the same VW app. It's using https://emea.bff.cariad.digital/vehicle/v1/vehicles/WVWZZZ.../departure/timers.

@iainfogg
Copy link

@virtualdj yep that's what I've had to resort to, it's just a pretty poor interface for setting charging times in that app - no idea who thought that hiding charging percentages hidden away in schedules and locations was a good idea!

@virtualdj
Copy link

oliverrahner are you able to share the script you're running to capture the data?

I sent a solution to virtualdj for Android phones earlier, but didn't hear back on the outcome.

@danielszilagyi I was able to test it on my second smartphone, eventually. Sorry for the delay: real life issues!
It works! So with this method it's possible to use Requestly on a real phone with HTTPS decryption.

@Alex-ala
Copy link

Thank you for developing this integration!
I just got into the business with a new ID.3

I'm willing to help out (but not as far as sharing credentials..)
I quickly set up a MITMProxy on my end to capture my Apps communications while just briefly going through the app, enabling/disabling climate, start/delay charging and changing the target charging level.

As these captures include quite some IDs I'd prefer to share them in private.

@Jaspils
Copy link

Jaspils commented Dec 30, 2023

I have an Arteon 2.0 TDI BiTurbo with Auxilery heater from 2018. The auxilery heater is controlled with the Volkswagen App, or with a remote control. I think this classifies me for the requested:

  • any kind of vehicle with combustion engine and parking heater and activated remote control

I'm not sure what you mean by 'activated' remote control. Do you mean by that a active subscription (in my case: Security & Service Plus, which was required to control the auxilery heater). My subscription does end on 08-02-2024 (not too far in the future).

Please let me know where I can help and where/how to share my credentials in the safest way.

@enoch85
Copy link

enoch85 commented Dec 30, 2023

How?
You could send your credentials to me, under <firstname>@<lastname>.me

@Jaspils Everything is in the first post.

Thanks for sharing!

@alexpfau
Copy link

alexpfau commented Jan 1, 2024

2023 Tiguan Allspace full spec here, i.e. with auxiliary heating and climatization. @oliverrahner, if you still need such a vehicle for confirmation, I am happy to use the "invitation" feature.

@Jaspils
Copy link

Jaspils commented Jan 3, 2024

How?
You could send your credentials to me, under <firstname>@<lastname>.me

@Jaspils Everything is in the first post.

Thanks for sharing!

I think I mailed to Oliver, but haven't had contact yet. If it's not coming through, please let me know. :)

@ediazrod
Copy link

ediazrod commented Jan 21, 2024

I have a VW Arteon GTE from 2023 on Europe happy to share my credentials. ping me if you need it.

I use A LOT this app, to find my car on the street, find if I left any window open.. or the car open.. a lot of value in this.. integration

@stickpin
Copy link
Collaborator

@ediazrod, I don't think we have a VW Arteon GTE yet.
Please send me credentials to stickpins at gmail dot com, please specify your mobile phone number as well so I will be able to reach you via WhatsApp/Signal or Telegram.

Thanks! :)

@enoch85
Copy link

enoch85 commented Jan 22, 2024

@stickpin @oliverrahner Do you have VW e-UP! 2021? Noticed that with beta3 I'm back to -1 requests for the API.

@Vinestou
Copy link

Hi guys, I own a VW Tiguan GTE 2023 (e-Hybrid). EU. Same combination and functionality to @ediazrod Arteon. Let me know if you need information about this vehicle.

@stickpin
Copy link
Collaborator

I think we are ok with the different types of vehicles for the time being, except maybe the vehicles with Auxiliary heaters, and ID models other than ID.3.
For sure there gonna be edge cases that are not covered, I guess we will manage them case by case.

@Jaspils
Copy link

Jaspils commented Feb 26, 2024

I think we are ok with the different types of vehicles for the time being, except maybe the vehicles with Auxiliary heaters, and ID models other than ID.3. For sure there gonna be edge cases that are not covered, I guess we will manage them case by case.

I still haven't had a response on contact I tried to make. I have an Arteon 2017 with auxilary heater, which is a function that hasn't been fixed yet. Please contact me if you need access to my vehicle.

Thanks for the work on all other issues. Really love the integration in Home Assistant.

@stickpin
Copy link
Collaborator

Hi @Jaspils,

Yes, I need more vehicles with Auxiliary heater.
Please send me the details to my email (stickpins at gmail dot com).
Please share S-PIN and your phone number as well, so I sync with you before making any changes.

Thanks! :)

@Edzilla2000
Copy link

@stickpin do you also want vehicles from Canada?

@stickpin
Copy link
Collaborator

@Edzilla2000 Unfortunately I don't have the capacity to start looking into North America implementation. Sorry.
VW seems to be using a completely different Backend there and I am the only one active developer now.

@Edzilla2000
Copy link

@Edzilla2000 Unfortunately I don't have the capacity to start looking into North America implementation. Sorry. VW seems to be using a completely different Backend there and I am the only one active developer now.

No problem, I understand.

@craigjmidwinter
Copy link

I might be able to look into support for Canada. I'm currently just trying to get the client library package working in my development library. @stickpin @oliverrahner do you know if the test suite is supposed to pass currently on the main branch?

@stickpin
Copy link
Collaborator

stickpin commented Jun 2, 2024

Hi @craigjmidwinter,
The main branch will fail on tests.
I would suggest using the v5.0.0 branch, it's an upcoming version with many changes under the hood.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests