robinostlund / homeassistant-volkswagencarnet

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

connection error #493

Closed kwithus closed 1 year ago

kwithus commented 1 year ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

HA core 2023.8.4 latest version of integration

Describe the bug

Integration reports need of re-configuration, which is then done and successful, however short after connection is lost again and integration asks for re-configuration. I deleted the integration and reinstalled everything, initial configuration was again successful, but again short after it was lost

I can log in with same credentials via App or Web

Steps to Reproduce

Expected behavior

Screenshots

Traceback/Error logs

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.volkswagencarnet Source: helpers/update_coordinator.py:229 Integration: Volkswagen WeConnect (documentation, issues) First occurred: 14:11:16 (2 occurrences) Last logged: 15:03:50

Error fetching volkswagencarnet data: Failed to update WeConnect. Need to accept EULA? Try logging in to the portal: https://www.portal.volkswagen-we.com/

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.volkswagencarnet Source: custom_components/volkswagencarnet/init.py:489 Integration: Volkswagen WeConnect (documentation, issues) First occurred: 14:11:16 (2 occurrences) Last logged: 15:03:50

Could not query update from volkswagen WeConnect

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/init.py:541 Integration: Volkswagen WeConnect (documentation, issues) First occurred: 14:11:16 (2 occurrences) Last logged: 15:03:50

Could not update information: 'serviceInfo'-->

Additional context

Logger: volkswagencarnet.vw_connection Source: runner.py:179 First occurred: 14:05:52 (109 occurrences) Last logged: 15:03:50 Got unhandled error from server: 429 Could not fetch pre-heating, HTTP status code: 429 Could not fetch climatisation, HTTP status code: 429 Could not fetch carportData, error: 'WVWZZZAUZL8916704' Could not fetch operation list, error: 'WVWZZZAUZL8916704'
StefanoGiu commented 1 year ago

Following...

danielszilagyi commented 1 year ago

anybody has the weconnect-mqtt MQTT sensors created that can share with the group will a solution is being developed?

https://github.com/danielszilagyi/WeConnect-mqtt/tree/patch-1#sensors-for-home-assistant

I used discovery though, not the yaml config and some of my findings are missing from the doc as I dropped this when I realized the ID integration works after some modifications

nmsoares commented 1 year ago

Could I ask someone from contributors team to give some feedback on this issue. Thanks in advance.

To ALL: Let's support the team and "pay them a coffee" !

mihai-trasca commented 1 year ago

Same issue here since a few days ago

StefanoGiu commented 1 year ago

Could I ask someone from contributors team to give some feedback on this issue. Thanks in advance.

To ALL: Let's support the team and "pay them a coffee" !

Coffee paid once the issue will be fixed, for sure.

NikolajChristensen commented 1 year ago

I switched from https://github.com/mitch-dc/volkswagen_we_connect_id to Daniels fork : https://github.com/danielszilagyi/volkswagen_we_connect_id and can confirm that my e_up! works and has live data.

Are you able to start charging via a switch? I only see data for my e-up. The now broken integration included various switches. I haven't hacked anything in the new ID integration.

GroundAttack commented 1 year ago

I have not tried the charging switch as I I have a switch on the power outlet at my garage wall. (Sonoff) When I try it, I will post here whether it worked or not. (Later)

NikolajChristensen commented 1 year ago

Thanks. For me the ID integration doesn't even make a switch available. OT what sonoff are you using?

GroundAttack commented 1 year ago

image

So there seems to be an on and an off switch. The 16A Sonoff. Goes to a standard Outdoor socket and I plug my granny charger into that.

danielszilagyi commented 1 year ago

The button entities work correctly, they work on the similar logic as publishing charge command on the writable mqtt topic with weconnect-mqtt

NikolajChristensen commented 1 year ago

Hm ok. How do I access them?

drlauridsen commented 1 year ago

anybody has the weconnect-mqtt MQTT sensors created that can share with the group will a solution is being developed?

https://github.com/danielszilagyi/WeConnect-mqtt/tree/patch-1#sensors-for-home-assistant

I used discovery though, not the yaml config and some of my findings are missing from the doc as I dropped this when I realized the ID integration works after some modifications

@danielszilagyi Thanks, I started making sensors manually in HA, but autodiscovery is much easier..,

However I dont understand, where do I put the sensor code in weconnect-mqtt? (I am using the docker version)

And would it be possible to get the VIN from mqtt and then automatically create the sensors with this VIN? Maybe also add a variable with the carname. In that case it would be easy to add sensors..

And final (stupid 🙂) question.. 'unique id' has to be changed manually to something unique I suppose?

mrbostad commented 1 year ago

@robinostlund and/or @milkboy i can add you as a user on my e-Golf Exclusive 2019 model, its the model with active display if that is of relevance. Perhaps that makes it easier for you guys to fix the bug or remake the addon? Send me a PM with mail address.

oefo commented 1 year ago

I have exactly the same problem with my Passat GTE. I live in DK (Denmark), It started few days ago with unknown sensors. I tryed to remove the intergation (v4.4.64) and install it again without luck. I also try to install the v4.4.63 and beta v.4.4.65-beta 1 integration but still the same problem.

I get this message in the HA log. This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: Volkswagen We Connect (documentation, issues) First occurred: 07:37:36 (5 occurrences) Last logged: 07:43:51

Failed to fetch VW-Group API tokens, API token request returned with status code 403

I can login as normal on below.

https://www.myvolkswagen.net/ https://vwid.vwgroup.io/ WE Connect APP When will this be fixed?

virtualdj commented 1 year ago

The problem is that probably VW has changed their API, so @robinostlund should adapt and change the code in the underlying Python library https://github.com/robinostlund/volkswagencarnet to fix the issue and it should use the same API used by https://github.com/mitch-dc/volkswagen_we_connect_id, which is https://pypi.org/project/weconnect/. Those are different.

So the bug has to be opened on https://github.com/robinostlund/volkswagencarnet as well but, as the developer is the same, maybe its not that important...

Anyway I miss this add-on a lot!

sparkelende commented 1 year ago

Same issue here from the Netherlands with Passat GTE. Not working for a week now. Tried loggin in/out in the app, in browser, reinstalling app, changing password etc. V4.4.65-beta1 also didn't fix it.

Really missing this integration.

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

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Wilhelm-Busch commented 1 year ago

Same issue here "Failed to fetch VW-Group API tokens, API token request returned with status code 403" and same as for all others. App and Web-Login is working :-( Also missing that integration a lot. Would be great if someone can fix it.

chrisandsally commented 1 year ago

As of this evening now unable to login using the two suggested alternatives Weconnect ID & Weconnect MQTT, Has anyone else experienced this?

raresv commented 1 year ago

Maybe a hint can be from the other weconnect project: https://github.com/trocotronic/weconnect, where a fix was done just yesterday because the customer-profile.apps.emea.vwapps.io is no longer available.

nemesis03 commented 1 year ago

During the weekend I have set up the "We Connect ID" intetration for my "Transporter 6.1", but yesterday evening the integration stopped working and homeassistant was unable to log in to the We Connect ID api. I tried to reload the integration several times, but that did not help. Just now I again reloaded the intetration and now the We Connect ID intetration is working again.

weconnect-mqtt is also working, I just have not found the time to setup the mqtt topics in homeassistant...

jrhansen commented 1 year ago

Can anyone confirm that someone is working on this or at least planning to?

mrbostad commented 1 year ago

It would be nice to hear from @robinostlund and / or @milkboy if he/they have plans to fix / work more on the addon, or if he/they have abandoned the project, if it wont be worked on, i must find other solutions to get my VW cars into HA, but this waiting in "silence game" is just frustrating. At least let us know if we should wait for a fix, or move on.

willemvanlent commented 1 year ago

@robinostlund is working on a fix: https://github.com/robinostlund/volkswagencarnet/pull/209

This might take bit of time.

danielszilagyi commented 1 year ago

During the weekend I have set up the "We Connect ID" intetration for my "Transporter 6.1", but yesterday evening the integration stopped working and homeassistant was unable to log in to the We Connect ID api. I tried to reload the integration several times, but that did not help. Just now I again reloaded the intetration and now the We Connect ID intetration is working again.

weconnect-mqtt is also working, I just have not found the time to setup the mqtt topics in homeassistant...

The patched integration still works on my side without issues (e-up)

GroundAttack commented 1 year ago

I have not tried the charging switch as I I have a switch on the power outlet at my garage wall. (Sonoff) When I try it, I will post here whether it worked or not. (Later)

Yes, the buttons work: image

suizo1976 commented 1 year ago

Bei mir gehts das Start und Stop Charging

danielr commented 1 year ago

It would be nice to hear from @robinostlund and / or @milkboy if he/they have plans to fix / work more on the addon, or if he/they have abandoned the project, if it wont be worked on, i must find other solutions to get my VW cars into HA, but this waiting in "silence game" is just frustrating. At least let us know if we should wait for a fix, or move on.

I'm a bit surprised by the sense of entitlement some of you have towards OSS maintainers who put so much of their precious spare time into projects like this. Not responding to issues for a few days is not "abandoning" a project!

mrbostad commented 1 year ago

It would be nice to hear from @robinostlund and / or @milkboy if he/they have plans to fix / work more on the addon, or if he/they have abandoned the project, if it wont be worked on, i must find other solutions to get my VW cars into HA, but this waiting in "silence game" is just frustrating. At least let us know if we should wait for a fix, or move on.

I'm a bit surprised by the sense of entitlement some of you have towards OSS maintainers who put so much of their precious spare time into projects like this. Not responding to issues for a few days is not "abandoning" a project!

It was NOT meant as beeing entitled, it was simply asking for a response, like "i am a little busy the coming 3-4 days, i will have a look at it when possible, i hope within about a week" or "i dont have time to work on this project anymore, so it will be set as discontinued" or "i am working on it, just hit some unexpected problems". The project owner did reply a few days ago that he does not have a car himself that uses the integration, where i replied that i would happily add him as a user on my car if needed.

So if the post i made, made anyone feel offended, im sorry that was not the intention.

virtualdj commented 1 year ago

During the weekend I have set up the "We Connect ID", but yesterday evening the integration stopped working and homeassistant was unable to log in to the We Connect ID api

In my case that integration was working days ago (but it is a lot worse than this one, as I've already written) while now it does the login successfully but then doesn't display any data/entity.

Sn00kiT commented 1 year ago

Thanks for the new Beta @robinostlund . Seems to work now again flawlessly!

jrhansen commented 1 year ago

Thanks @robinostlund

mrbostad commented 1 year ago

I suggest that everyone who uses the addon, now takes the time to "donate a cup of coffee" because it seems there are very many people using the addon, which also shows how "valuable" the addon is.

gezuka77 commented 1 year ago

☕️ on the way!

shiraz-b commented 1 year ago

I suggest that everyone who uses the addon, now takes the time to "donate a cup of coffee" because it seems there are very many people using the addon, which also shows how "valuable" the addon is.

Absolutely! Coffee sent.. many thanks @robinostlund

sparkelende commented 1 year ago

Working again, thanks!

Rotil66 commented 1 year ago

İt working fine again. great job. Let fine the cup of coffee button !!!

⁣BlueMail voor Android downloaden ​

Op 4 sep. 2023 15:30, om 15:30, jrhansen @.***> schreef:

Can anyone confirm that someone is working on this or at least planning to?

-- Reply to this email directly or view it on GitHub: https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/493#issuecomment-1705188016 You are receiving this because you commented.

Message ID: @.***>

pietsab commented 1 year ago

Caution! “hot“ coffee @robinostlund

thx man

Smarf1 commented 1 year ago

Thanks!! 😍

regnerusbauke commented 1 year ago

Thank you for the fix!

Wilhelm-Busch commented 1 year ago

Thanks a lot for the fix! Connection is working again. Since I am a dummy...can somebody please give me a hint, what I need to do different to the former version? I only get 6 entities (Requests) and missing all the others from the integration. Do I need to setup anything else in my configuration? Thanks a lot for your help! Coffee is on its way.

Johan-de-Bruin commented 1 year ago

Go to HACS, find the integration, click the three dots, choose redownload. And after, restart HA.

(If it doesn't update by itself)

It's been posted here before, I think.

Rotil66 commented 1 year ago

Thanks a lot for the fix !!! Enjoy you're coffee 😋🙌🏼

⁣BlueMail voor Android downloaden ​

Op 5 sep. 2023 17:32, om 17:32, robinostlund @.***> schreef:

Closed #493 as completed.

-- Reply to this email directly or view it on GitHub: https://github.com/robinostlund/homeassistant-volkswagencarnet/issues/493#event-10284531405 You are receiving this because you commented.

Message ID: @.***>

P356c commented 1 year ago

Thanks a million and enjoy your coffee. Really appreciate your vwcarnet fix!

timvandruenen commented 1 year ago

Thanks for the fix! Enjoy your coffee! ☕