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

BMW Integration Broken / BMW Appear to be updating Servers #116145

Closed
cloudbr34k84 opened this issue Apr 25, 2024 · 31 comments · Fixed by #116424
Closed

BMW Integration Broken / BMW Appear to be updating Servers #116145

cloudbr34k84 opened this issue Apr 25, 2024 · 31 comments · Fixed by #116424

Comments

@cloudbr34k84
Copy link

The problem

The BMW integration appears to be broken after updating to Core 2024.5.0b0. One message says it cant find the vehciles VIN but in the BMW app all is fine

What version of Home Assistant Core has the issue?

2024.5.0b0

What was the last working version of Home Assistant Core?

2024.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

BMW Connected Drive

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bmw_connected_drive/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: bimmer_connected.account
Source: components/bmw_connected_drive/coordinator.py:58
First occurred: 3:30:08 pm (6 occurrences)
Last logged: 4:06:25 pm

Unable to get details for vehicle xxxxxxxxxxxxxxx - (MyBMWAPIError) HTTPStatusError: {"message":"Request Timeout","statusCode":408}
Logger: bimmer_connected.api.authentication
Source: components/bmw_connected_drive/coordinator.py:58
First occurred: 3:27:24 pm (30 occurrences)
Last logged: 4:11:19 pm

MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
Logger: bimmer_connected.api.client
Source: components/bmw_connected_drive/coordinator.py:58
First occurred: 3:27:53 pm (30 occurrences)
Last logged: 4:11:44 pm

MyBMWAPIError due to HTTPStatusError: {"message":"Request Timeout","statusCode":408}
MyBMWAPIError due to HTTPStatusError: Vehicle with specified VIN: xxxxxxxxxxx not found


### Additional information

_No response_
@home-assistant
Copy link

Hey there @gerard33, @rikroe, mind taking a look at this issue as it has been labeled with an integration (bmw_connected_drive) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of bmw_connected_drive can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign bmw_connected_drive Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


bmw_connected_drive documentation
bmw_connected_drive source
(message by IssueLinks)

@AnthonyBe
Copy link

I've just started seeing these errors on my system and I'm still running 2024.4.4

2024-04-25 16:25:24.246 ERROR (MainThread) [bimmer_connected.api.authentication] MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2024-04-25 16:25:47.705 ERROR (MainThread) [bimmer_connected.api.client] MyBMWAPIError due to HTTPStatusError: {"message":"Request Timeout","statusCode":408}

My Config:

System Information

version core-2024.4.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.25-haos
arch x86_64
timezone Australia/Sydney
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4502
Installed Version 1.34.0
Stage running
Available Repositories 1408
Downloaded Repositories 42
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 12.2
update_channel stable
supervisor_version supervisor-2024.04.0
agent_version 1.6.0
docker_version 25.0.5
disk_total 30.8 GB
disk_used 21.9 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Studio Code Server (5.15.0), Samba share (12.3.1), Check Home Assistant configuration (3.11.0), Advanced SSH & Web Terminal (17.2.0), ESPHome (2024.4.1)
Dashboards
dashboards 16
resources 19
views 14
mode storage
Recorder
oldest_recorder_run 15 April 2024 at 08:52
current_recorder_run 25 April 2024 at 16:21
estimated_db_size 1159.42 MiB
database_engine sqlite
database_version 3.44.2

@joostlek joostlek added this to the 2024.5.0 milestone Apr 25, 2024
@cloudbr34k84
Copy link
Author

bugger means that BMW have done something to API

@nareso
Copy link

nareso commented Apr 25, 2024

Same issue in Japan with core 2024.4.4

@sgbossinga
Copy link

sgbossinga commented Apr 25, 2024

it's broken in Europe too (NL)

it started with login issues a few days ago

update it's working again
update-2 not working

@Soann84
Copy link

Soann84 commented Apr 25, 2024

Yes I confirm.
In France, I've just updated to core 2024.4.4 and after that, my BMW integration is not working anymore.
I had no pb with the integration before updating to core 2024.4.4

@PsychoMnts
Copy link

Same issue on 2024.4.3.
BMW/Mini changed something in the API.

@joostlek joostlek removed this from the 2024.5.0 milestone Apr 25, 2024
@iJuiceman
Copy link

It was working fine until the 2024.4.4 update.
Tried removing and adding and same issue as the rest of the world

@Auka84
Copy link

Auka84 commented Apr 25, 2024

Same for me in belgium. And not yet updated my core. So I guess a change at bmw side

@uphillbattle
Copy link
Contributor

uphillbattle commented Apr 25, 2024

The integration was working fine until just before 6 o'clock (CEST) this morning. The My BMW app works - but it does not update with data from the car (so the app reports that my car is at my home address, fully charge - which it is not).

It appears that the problem is with BMW, not the integration.

EDIT: Oh, and by the way, I updated to 2024.4.4 yesterday and the integration was working fine until this morning, so the update to 2024.4.4 had nothing to do with it.

@nareso
Copy link

nareso commented Apr 25, 2024

Now available again in Japan

It only worked for 3 minutes.
Currently down again.

@PsychoMnts
Copy link

The integration was working fine until just before 6 o'clock (CEST) this morning. The My BMW app works - but it does not update with data from the car (so the app reports that my car is at my home address, fully charge - which it is not).

It appears that the problem is with BMW, not the integration.

EDIT: Oh, and by the way, I updated to 2024.4.4 yesterday and the integration was working fine until this morning, so the update to 2024.4.4 had nothing to do with it.

You are right. Our Mini Cooper is still parked at home in the Mini app. But the car is clearly somewhere else.

The intergration is most likely not broken, just an outage at BMW/Mini.

@iJuiceman
Copy link

I just checked my BMW Connected App and it wanted to update, but does not seem to be working. Looks like it is a BMW/Mini problem, not HA

@mibo-wb-gh
Copy link

mibo-wb-gh commented Apr 25, 2024

Still running on 2024.3.3, same problem here (Europe). MyBMW App is very slow in updating

@davebarrett1959
Copy link

davebarrett1959 commented Apr 25, 2024

Went off line in UK at 06:29. Had to re login to BMW app and no data was shown for car for over 5mins. App now all correct and working (I can flash lights).
I believe BMW have done a major server update and are now possibly throttling connections whilst everything catches up

@cloudbr34k84 cloudbr34k84 changed the title BMW Intergartion Broken after updating to Core 2024.5.0b0 BMW Integration Broken / BMW Appear to be updating Servers Apr 25, 2024
@cresch06
Copy link

Still running on 2023.11.3 - same here in Europe (Austria) - since 6:30 AM (CET) nearly no connection/variable update in HA.

@davebarrett1959
Copy link

davebarrett1959 commented Apr 25, 2024

HA now all updated and connected again.🤗 (UK)

@iJuiceman
Copy link

All working in Australia now

@Auka84
Copy link

Auka84 commented Apr 25, 2024

Also working again in Belgium

@cloudbr34k84
Copy link
Author

cloudbr34k84 commented Apr 25, 2024

Still not working down here in Australia . Did you guys you do anything with the BMW app?

Log Details (ERROR)
Logger: bimmer_connected.api.authentication
Source: components/bmw_connected_drive/coordinator.py:58
First occurred: 25 April 2024 at 8:32:27 pm (800 occurrences)
Last logged: 5:48:22 am

MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)

@AnthonyBe
Copy link

I'm in Australia and mine is working fine again.
Last time I saw the errors logged was (UTC+10):

2024-04-25 20:11:19.327 ERROR (MainThread) [bimmer_connected.api.client] MyBMWAPIError due to HTTPStatusError: {"message":"Request Timeout","statusCode":408}
2024-04-25 20:11:19.328 ERROR (MainThread) [bimmer_connected.account] Unable to get details for vehicle WBA1S92090VD57888 - (MyBMWAPIError) HTTPStatusError: {"message":"Request Timeout","statusCode":408}
2024-04-25 20:11:19.329 ERROR (MainThread) [homeassistant.components.bmw_connected_drive.coordinator] Error fetching [email protected] data: HTTPStatusError: {"message":"Request Timeout","statusCode":408}

no further errors logged.

@cloudbr34k84
Copy link
Author

yeah working now. will close this down

@cloudbr34k84
Copy link
Author

anyone else experiencing more bmw issues?

@cloudbr34k84 cloudbr34k84 reopened this Apr 27, 2024
@AnthonyBe
Copy link

AnthonyBe commented Apr 27, 2024

I've seen 2 errors in the last 12 hours, but working fine.
I'm assuming these are just spurious network or BMW server issues.

Logger: bimmer_connected.api.authentication
Source: components/bmw_connected_drive/coordinator.py:58
First occurred: 26 April 2024 at 21:46:29 (3 occurrences)
Last logged: 17:52:59

MyBMWAuthError due to HTTPStatusError: Client error '401 Unauthorized' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v4/vehicles/state?apptimezone=600.0&appDateTime=1714131986412' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
MyBMWAuthError due to HTTPStatusError: Client error '401 Unauthorized' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v4/vehicles/state?apptimezone=600.0&appDateTime=1714168164412' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
MyBMWAuthError due to HTTPStatusError: Client error '401 Unauthorized' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v4/vehicles/state?apptimezone=600.0&appDateTime=1714204376412' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

@cloudbr34k84
Copy link
Author

Logger: bimmer_connected.api.authentication
Source: components/bmw_connected_drive/config_flow.py:48
First occurred: 8:59:06 pm (6 occurrences)
Last logged: 9:29:04 pm

MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
MyBMWAPIError due to HTTPStatusError: { "statusCode": 404, "message": "Resource not found" }

@cloudbr34k84
Copy link
Author

mah they are doing something... i cant even login via the website, unless its just me account..
https://www.bmw.com/en-au/shop/ls/cp/connected-drive

@SimonBard
Copy link

I can login, but the setup of the homeassistant integration fails. They also ask again on the website for the Fahrgestellnummer, but when I enter it, it says data is incorrect. Its a company car, so am not sure which data to enter there.

@ThreeSixty123
Copy link

Same issue here (germany).

I recieve the errors but everything is working fine. Running 2024.4.4

@rikroe
Copy link
Contributor

rikroe commented Apr 29, 2024

BMW seems to have shut down the older version of their APIs for good. #116424 fixes this for me in my development environment (I am able to create the integration again from scratch, no issues).

@rikroe
Copy link
Contributor

rikroe commented Apr 30, 2024

Let's keep this open until the PR is merged.

@rikroe
Copy link
Contributor

rikroe commented Apr 30, 2024

@home-assistant reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.