reneboer / python-carnet-client

python script that emulated the VW WE Connect (formerly CarNet) web site
GNU General Public License v3.0
21 stars 9 forks source link

does not work with "we connect" update #5

Closed Mirarkitty closed 5 years ago

Mirarkitty commented 5 years ago

Seems like VW decided to update the login part of the services and this no longer works?

Mirarkitty commented 5 years ago

My scripts stopped working. But I'll search locally then.

reneboer commented 5 years ago

I am not seeing any problems. Have you logged on to the portal? Subscription expired? Just trowing some things out there.

Mirarkitty commented 5 years ago

I had a resolv issue. But now they changed something again. This fixes it; insert .* between novalidate and action:

login_action_url_re = re.compile('<formclass="content"id="emailPasswordForm"name="emailPasswordForm"method="POST"novalidate.*action="([^"]*)">')

I don't know if this is a good fix. They added =true to novalidate.

ottopaulsen commented 5 years ago

Thank you, @Mirarkitty, for the solution. I had just discovered that it was not working, and saw your solution before I got the time to troubleshoot myself.

I have now finished my Javascript version of the script. I am using it in a module for MagicMirror. You can see my solution on github.com/ottopaulsen/MMM-WeConnect. It is really cool, showing a car-sketch on a screen in my kitchen where I can see whether the car is driving, parked, connected, charging, what the battery capacity is, and so on. I could not have done this without help from this repo, so thank you all!

Otto

Mirarkitty commented 5 years ago

I suspect something is changed again, I fail to login but I haven't researched more. I get to 'getloginstatus' but not more.

FritzJo commented 5 years ago

I can't replicate the problem right now. Everything seems normal to me.

birgersp commented 5 years ago

Are you able to log in to your account on the official app/website? I'm not, which leads me to believe that there is an issue with the service.

ottopaulsen commented 5 years ago

It is working fine now, but they have been down a lot lately.

Mirarkitty commented 5 years ago

Yes, it seems like it didn't work for the script but it worked on the web when I were testing, so I guess REALLY glitchy. It worked for a few hours today, so I guess the login procedures are still ok.

reneboer commented 5 years ago

I posted a support request with VW and they admit they are having issues and are working as hard as they can.. usual bla bla etc...

birgersp commented 5 years ago

Thanks for doing that @reneboer. I meant to do it myself, glad to hear it's not just an issue with my account

Sneak-L8 commented 5 years ago

A way to login via App method is found under JavaScript for ioBroker: https://github.com/TA2k/ioBroker.vw-weconnect/ Just for information if you like to switch from Web login. There are plenty of additional information.