BMW Connected Drive Integration No Longer Working

I updated to the latest core today: 2024.12.1, and then HA wanted me to reconfigure the BMW Connected Drive Integration as it’s showing this error: Failed to set up: Login requires captcha validation.

I am able to reconfigure with a new Captcha code (Rest of the world), but as soon as it is accepted, the integration restarts and flags up the same issue “Failed to set up: Login requires captcha validation” almost instantly.

Anyone else having a similar issue or know how to fix it?

I started having the same issue today, but I updated to 2024.12.1 last week so I don’t think the issue is related to the version.

Ah okay at least it’s like not the core update then, cheers for the heads up.

I am having the same issue as of Dec 10, 2024, I updated to 2024.12.1 maybe 2 days ago and it just happened today. The entities because Unavailable so I reloaded and then it gave me the captcha error that someone already mentioned. When I reconfigured the integration using the recaptcha it went back to the error.

I’m seeing problems also with the BMW app. Commands are going through but the app doesn’t show the statuses (battery %, AC, etc) correctly.

Edit. Just tried again after an hour or so and it started working again. Maybe it was a temporary problem in the server.

I can confirm it works here now too.

Tried again just now and all working again, thanks for the heads up all :+1:t2:

Can someone tell me how to find the captcha code.
I get this question in homeassistant recently and cannot find this code anywhere again :frowning:
This is for Europe

1 Like

Got the same problem I can’t find the code

There should be a link in the pop up which takes you to the captcha.

there is no link, there is no pop up
I can insert my un en pw on the BMW site, i can insert my un en pw in homeassistant and then i have a screen with the request for a captcha but no link in that screen …
So if you have a screen with a link or you know a link …
please tell us

image

Beta?

What version of HA are you running? Should be a fix for this in 2024.12.

image

No idea how you are getting the Beta version though. Have you tried removing the integration and adding it? Is the BMW app working? Finally, what does the logs say?

i have found what the issue was.
In the past, I have installed this BMW integration via HACS.
It was still in there and so this beta version did not give this link.
I deleted the app in HACSand tried again via the normal way and now I do get the captcha code/link.

The problem seems to be back.

I enter the credentials and the the CAPTCHA and after 5 seconds it comes with the same error.

  • Core: 2025.2.1
  • Supervisor: 2025.02.0
  • Operating System: 14.2
  • Frontend: 20250205.0

Are you also using the Beta? I am on 2025.2.1 and I have no issues.

No. I am on the stable version and the BMW integration is the core one, not the former one from HACS.

1 Like

In the log I see two errors and one warning:

Logger: homeassistant.components.bmw_connected_drive.coordinator
Quelle: helpers/update_coordinator.py:380
Integration: BMW Connected Drive (Dokumentation, Probleme)
Erstmals aufgetreten: 8. Februar 2025 um 16:44:21 (208 Vorkommnisse)
Zuletzt protokolliert: 10:05:48

Unexpected error fetching [email protected] data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 380, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/coordinator.py", line 80, in _async_update_data
    await self.account.get_vehicles()
  File "/usr/local/lib/python3.13/site-packages/bimmer_connected/account.py", line 120, in get_vehicles
    await vehicle.get_vehicle_state()
  File "/usr/local/lib/python3.13/site-packages/bimmer_connected/vehicle/vehicle.py", line 142, in get_vehicle_state
    self.update_state([vehicle_state, charging_settings], fetched_at)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/bimmer_connected/vehicle/vehicle.py", line 170, in update_state
    curr_attr.update_from_vehicle_data(vehicle_data)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/bimmer_connected/models.py", line 44, in update_from_vehicle_data
    parsed = self._parse_vehicle_data(vehicle_data) or {}
             ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/bimmer_connected/vehicle/tires.py", line 53, in _parse_vehicle_data
    retval["front_right"] = TireState(**tire_state["frontRight"])
                            ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/bimmer_connected/vehicle/tires.py", line 24, in __init__
    self.manufacturing_week = datetime.strptime(
                              ~~~~~~~~~~~~~~~~~^
        iso_string,
        ^^^^^^^^^^^
        "%G.%V.%u",
        ^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/_strptime.py", line 676, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
                                    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/_strptime.py", line 628, in _strptime
    datetime_result = datetime_date.fromisocalendar(iso_year, iso_week, weekday + 1)
ValueError: Invalid week: 53
Logger: bimmer_connected.api.authentication
Quelle: components/bmw_connected_drive/coordinator.py:80
Erstmals aufgetreten: 09:46:42 (5 Vorkommnisse)
Zuletzt protokolliert: 10:05:53

MyBMWAuthError 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: homeassistant.config_entries
Quelle: config_entries.py:665
Erstmals aufgetreten: 09:46:42 (5 Vorkommnisse)
Zuletzt protokolliert: 10:05:53

Config entry '[email protected]' for bmw_connected_drive integration could not authenticate: Login requires captcha validation

I am a real newbie at this stuff, but cannot get the BMW Connected Drive inegration to authenticate. I am in Ireland (north) so in Rest of World. I have
Core 2025.3.4
Supervisor 2025.03.3
Operating System 15.0
Frontend 2025.03.06.0

Does this issue still exist, or am I doing something wrong?