BMW ConnectedDrive component

Still having login issues haunting my logs. On 2023.12.3 . Does anyone else still see the issue?
Will it help to delete the integration and re-add it?

Think there is a bug in BMWs servers.

If I try and login to the connected drive webpage it asks me to constantly change my password.

Today, while looking around what interesting things can Home Assistant do, I noticed two services related to Connected Drive: notify.bmw_connected_drive and notify.connected_drive_520d_xdrive.
I looked around what these services do and notify.bmw_connected_drive doesn’t seem to be explained anywhere. What does it do?
On another note, after adding the integration I renamed my car to something else (it would have been nice to choose the name while setting up), Why did this service remain named after the original name?
Thanks for the great integration and for the answers!

Notifications: BMW Connected Drive - Home Assistant

You refer to entity_id which doesn’t change when you rename. If you want a different entity_id e.g. notify.connected_drive_520d_xdrive to notify.connected_drive_my_fancy_car then you have to modify that yourself on the entity directly.

1 Like

The entity_id changes after rename:


But the notify service doesn’t:

All searches for “rename service” lead to the notify service created by the companion app, which is not really relevant for my situation.

notify is a legacy component so it doesn’t follow really the same rules as the other platforms hence it doesn’t rename etc. Should have been more clear in my previous response now reading back.
Hopefully in not too far future this becomes an entity like the other “modernized” platforms.

1 Like

So at the moment there is nothing I can do to rename the notify instance?

I don’t believe there is an option here no at the moment.

Does anyone know how often is the polling executed?
I have an automation that is triggered everytime the fuel level increases, so that I sum the added fuel to a numeric helper to control how much fuel did I put in my BMW during the current month.
It used to work just fine, but in the last few times I filled up the tank of my car the automation didn’t trigger as it didn’t detect changes when it should have.

I’m trying to update the target SOC from a value passed via MQTT.

Here is the automation script:

# This automation script runs when a value is received via MQTT
# It sets the value slider on the GUI. 
- id: "set i4 SOC"
  alias: "Set i4 Target Charge SOC"
  trigger:
    platform: mqtt
    topic: "hass.in/i4/m50/target.soc"
  action:
  - service: number.set_value
    target:
      entity_id: number.i4_m50_target_soc
    data:
      value: "{{ trigger.payload }}"

but is doesn’t update the number. I’m new to this so may be doing something dumb. I am allowed to update this value, aren’t I?

Thanks.

issues with the integration for all today or just me?

Can confirm issues.

I managed to start the stationary heating about 4.5 hours ago. I’m not sure it works now.

Someone same problems since yesterday?

Logger: bimmer_connected.api.authentication
Quelle: components/bmw_connected_drive/coordinator.py:61
Erstmals aufgetreten: 05:08:44 (218 Vorkommnisse)
Zuletzt protokolliert: 08:53:58

* 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
* MyBMWQuotaError due to HTTPStatusError: Client error '429 Too Many Requests' for url 'https://customer.bmwgroup.com/gcdm/oauth/authenticate' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
* MyBMWAPIError due to HTTPStatusError: upstream connect error or disconnect/reset before headers. reset reason: connection termination

I’m having the same issue. also some people have reported it here: BMW Connected Drive - condition_based_services sensor attributes missing in 2024.8.0 · Issue #123476 · home-assistant/core · GitHub

Same here since yesterday it has been down for me with the same 429 error
image

It seems BMW has a major software problem (again). I also can’t change the pw of my BMW Online account.
If I have changed my password, I will be asked to change it again the next time I try to log in. I have already contacted BMW support.

Are you running an ad-blocker? i found i couldn’t change my password when using pihole.
However switching to mobile, i could change it.

1 Like

WTF! You are right. I’m using piHole on my DNS server also and I can change pw if I’m not in my WLAN.
But I still get an error if I try to reconfigure Connected Drive: “already_in_progress”.
Btw: Did you “whitelist” an url in piHole?

Same here. I removed the integration and now when I want to add it again and enter my credentials, I always get the „ already_in_progress“.
But wait - after installing 2024.8.3 it seems to work again