robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
306 stars 59 forks source link

Weconnect app closing 8 November 2023 #502

Closed drlauridsen closed 7 months ago

drlauridsen commented 9 months ago

Not a bug report, but maybe an important heads up..

Screenshot is in Danish - sorry about that, but developers are mainly Swedish so they will understand..

Not surprisingly, the Weconnect app will be shutdown 8th of November.

How will this affect the integration?

Screenshot_20231009_091905_Aqua Mail

robinostlund commented 9 months ago

Well i am unsure how this will affect this integration. If they will shutdown the backend we are using here it will stop working.

I am currently using https://github.com/mitch-dc/volkswagen_we_connect_id Which works for the new we connect for ID cars (I have a ID 5). But i dont know if that integration supports phev cars 🧐

skallberg commented 8 months ago

Is there any integration for the new Volkswagen app when We Connect app is shutdown?

kiwibenis commented 8 months ago

Yesterday i migrated my vw we connect in my VW Passat to the new Volkswagen-App so my old WE-Connect is not working anymore. I did this with the migration wizard showing up in the new Volkswagen App (Apple App store). HASS today in the We Connect Integration told me it has to be reconfigured. Reconfiguring is not working. So I added the integration completely new and started from scratch with the We Connect Configuration, but this is not working: Could not login to Volkswagen We Connect, please check your credentials and verify that the service is working

I am not shure if I missed some configurations after the migration or if the integration is broken now? But I would like to assist in troubleshooting.

I am able to login into https://www.portal.volkswagen-we.com/ I am not getting an EULA to accept

Please see my full debug log:


2023-11-02 12:45:35.639 WARNING (MainThread) [custom_components.volkswagencarnet] Could not login to volkswagen WeConnect, please check your credentials and verify that the service is working
2023-11-02 12:47:34.113 ERROR (MainThread) [custom_components.volkswagencarnet] Error fetching volkswagencarnet data: Failed to update WeConnect. Need to accept EULA? Try logging in to the portal: https://www.portal.volkswagen-we.com/
2023-11-02 13:00:39.668 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed for VW account, User appears unauthorized
2023-11-02 13:00:39.668 ERROR (MainThread) [volkswagencarnet.vw_connection] User appears unauthorized
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 328, in _login
    raise e
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 305, in _login
    raise Exception("User appears unauthorized")
Exception: User appears unauthorized
2023-11-02 13:00:40.644 ERROR (MainThread) [custom_components.volkswagencarnet.config_flow] Failed to login due to error: 'identity'
2023-11-02 13:01:07.472 WARNING (MainThread) [volkswagencarnet.vw_connection] Failed to login to We Connect API.
2023-11-02 13:01:07.472 WARNING (MainThread) [custom_components.volkswagencarnet] Could not login to volkswagen WeConnect, please check your credentials and verify that the service is working
2023-11-02 13:01:48.180 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed for VW account, User appears unauthorized
2023-11-02 13:01:48.180 ERROR (MainThread) [volkswagencarnet.vw_connection] User appears unauthorized
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 328, in _login
    raise e
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 305, in _login
    raise Exception("User appears unauthorized")
Exception: User appears unauthorized
2023-11-02 13:01:51.905 ERROR (MainThread) [custom_components.volkswagencarnet.config_flow] Failed to login due to error: 'identity'
2023-11-02 13:03:06.123 ERROR (MainThread) [custom_components.volkswagencarnet] Error fetching volkswagencarnet data: Failed to update WeConnect. Need to accept EULA? Try logging in to the portal: https://www.portal.volkswagen-we.com/
2023-11-02 13:03:57.548 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed for VW account, User appears unauthorized
2023-11-02 13:03:57.548 ERROR (MainThread) [volkswagencarnet.vw_connection] User appears unauthorized
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 328, in _login
    raise e
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 305, in _login
    raise Exception("User appears unauthorized")
Exception: User appears unauthorized
2023-11-02 13:05:30.809 ERROR (MainThread) [tibber.home] Could not find consumption data.
2023-11-02 13:10:22.956 DEBUG (MainThread) [custom_components.volkswagencarnet.config_flow] Creating connection to volkswagen weconnect
2023-11-02 13:10:24.046 ERROR (MainThread) [volkswagencarnet.vw_connection] Login failed for VW account, User appears unauthorized
2023-11-02 13:10:24.046 ERROR (MainThread) [volkswagencarnet.vw_connection] User appears unauthorized
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 328, in _login
    raise e
  File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 305, in _login
    raise Exception("User appears unauthorized")
Exception: User appears unauthorized
2023-11-02 13:11:09.993 DEBUG (MainThread) [custom_components.volkswagencarnet] Updating data from volkswagen WeConnect
2023-11-02 13:11:09.993 DEBUG (MainThread) [custom_components.volkswagencarnet] Finished fetching volkswagencarnet data in 1.462 seconds (success: False)```
lordleicester commented 8 months ago

My Status: Im no longer able to use the WeConnect -App. So I have to use the new Volkswagen App. BUT: The WeConnect -Plugin in HomeAssistant is still working for me.

I keep my fingers crossed.

P356c commented 8 months ago

Seems to be solved on VW side (last days I also couldn't see my car in the new VW App). This morning I saw my car again in thee VW App and I tried loggin in this morning with the VWCarNet HA Plugin and it works again! I noticed in the VW App (iOS) that now electric preheating is also available. Let's hope the API stays untouched...

gmp91 commented 8 months ago

Unfortunately it is not solved. I constantly get errors and my integration needs to be re-configured. Altough it says "Re-Authent.. successful", it goes back to error state within seconds

EDIT: I deactivated the integration for about 6 hours and now I sucessfully logged back in. But I think it's just a matter of time until it gets blocked again. Maybe the integration is trying too many interactions with the API per day and needs to be limited? Update: About 4 hours later I needed to re-authorize the integration again with my VW password. There seems to be a problem with the authorization of this integration

tsvane commented 8 months ago

I haven't experienced any issues yet. Fingers crossed :)

Bauersen commented 8 months ago

Same Problem here. After restart of HA new Login for We Conect was requested. After first try to login was not successful I also was not able anymore to log in to the new Volkswagen App. After 2 days official Volkswagen App worked again, until I tried again to log in with HA.User seems to be locked for some time. Anyone same problem?

AlexJacu commented 8 months ago

I think I have a solution for the login problems. VW has massive reduced the amount of requests allowed to poll via API. Change the time between sync to 60 or 90 minutes. Depends on the count of apps connected to the vw cloud.

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/init.py:527 Integration: Volkswagen WeConnect (documentation, issues) First occurred: 13. November 2023 um 13:18:48 (4 occurrences) Last logged: 22:24:07

Login failed for VW account, User appears unauthorized Could not update information: 'serviceInfo'

Logger: custom_components.volkswagencarnet Source: custom_components/volkswagencarnet/init.py:529 Integration: Volkswagen WeConnect (documentation, issues) First occurred: 13. November 2023 um 13:19:23 (2 occurrences) Last logged: 22:24:07

Could not login to volkswagen WeConnect, please check your credentials and verify that the service is working

distwave commented 8 months ago

Is there any integration for the new Volkswagen app when We Connect app is shutdown?

With small modifications I made the volkswagen_we_connect_id integration work with the e-Golf. If anybody wants to test it just follow the extension install instructions but use this repository instead of the official one and select v0.1.9-eGolf release

https://github.com/distwave/volkswagen_we_connect_id/

AlexJacu commented 8 months ago

Is there any integration for the new Volkswagen app when We Connect app is shutdown?

With small modifications I made the volkswagen_we_connect_id integration work with the e-Golf. If anybody wants to test it just follow the extension install instructions but use this repository instead of the official one and select v0.1.9-eGolf release

https://github.com/distwave/volkswagen_we_connect_id/

eUP! is not working using this connection Login is OK, but no car is shown

distwave commented 8 months ago

eUP! is not working using this connection Login is OK, but no car is shown

I removed the model check, try release v0.1.9-all. It would be better to discuss any comment about my modifications directly in my repository

AlexJacu commented 8 months ago

Thanks. I will try. At the moment my connection to VW is only working between 0:00 and 6 to 10:00 in the morning. Alex

From: distwave @.> Sent: Thursday, November 23, 2023 8:16 AM To: robinostlund/homeassistant-volkswagencarnet @.> Cc: AlexJacu @.>; Comment @.> Subject: [x-DKIM] [x-bulk] [X-bulk]: Re: [robinostlund/homeassistant-volkswagencarnet] Weconnect app closing 8 November 2023 (Issue #502)

eUP! is not working using this connection Login is OK, but no car is shown

I removed the model check, try release v0.1.9-all. It would be better to discuss any comment about my modifications directly in my repository

— Reply to this email directly, view it on GitHubhttps://github.com/robinostlund/homeassistant-volkswagencarnet/issues/502#issuecomment-1823905406, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFMI2P3GO26UN7V3TVEFXKLYF3Z4BAVCNFSM6AAAAAA5YL2FA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTHEYDKNBQGY. You are receiving this because you commented.Message ID: @.**@.>>

supss commented 7 months ago

Hi I've been struggling to login for some time now. I'm seeing the following error in my logs:

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: Volkswagen WeConnect (documentation, issues) First occurred: 14:34:19 (1 occurrences) Last logged: 14:34:19

Login failed for VW account, Token exchange failed

Then.....

Logger: volkswagencarnet.vw_connection Source: /usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py:367 First occurred: 14:34:19 (1 occurrences) Last logged: 14:34:19

Token exchange failed Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/volkswagencarnet/vw_connection.py", line 348, in _login raise Exception("Token exchange failed") Exception: Token exchange failed I can confirm I can log into the web, and I can see my vehicles details.

Any ideas what's causing it?

robinostlund commented 7 months ago

Closing this issue as we have a new version of the integration that is using the new backend.