BMW ConnectedDrive component

Yeah since I made the change I’ve not had any lockouts.

hi,

please can someone help, bmw integration has been working fine for some time now but today I am now getting this error; I have removed and reinstalled and now won’t let me re-add my account. log shows this error

My wife got a brand new ix3

Can anyone share a Lovelace card? I already added connected drive in HA, how often does the device tracker update while driving?

What do you want to see in the card?

Hence to my knowledge the car would only send states and position to the cloud when the key is pulled.

Would be nice to see charging states, km, buttons to turn on airco

Hi, between my services I see a switch to turn on/off climate… but I also see the button entities to turn on / off airco… what’s the difference between airco/climate

Is the airco button actually turning on the airco how it’s defined in the car? Let’s say , the setting is 23degree, is it then heating the car to 23 degree?

What is the purpose then of the climate switch?

Good Morning Everyone,

Can anyone share your Dashboard a picture for inspiration ?

Thank you all

@boxi Here’s mine, it’s pretty basic, I made it a while ago, I don’t use the climate buttons anymore really because I’ve added something to Siri & Alexa to activate the climate when I need it (both Siri & Alexa now allow for “turn on XYZ in 10 minutes” kinda deal which is nice)

1 Like

Great thank you, can you show me how do you set the timer for climate ?

@boxi There’s a few ways you can do it, I’ve got most of my stuff inside Node Red but I’ll show you a basic automation that does the same thing below…

Using an Input Datetime that fires at the scheduled time every day and I have a Boolean condition that checks to see if it’s enabled, if the Boolean is on, then the automation triggers to service call of Button Press the Air Condition button entity. Your setup might be slightly different regarding the name of the button for air conditioning that your automation needs to call. Also, you’ll want to add to end of the automation a service call after a few seconds to turn off the Boolean otherwise the automation will fire at the same time every day (or you can just make sure to remember to turn off the Boolean when it’s done).

Like this:

description: ""
mode: single
trigger:
  - platform: time
    at: input_datetime.bmw_climate_timer
condition:
  - condition: state
    entity_id: input_boolean.bmw_climate_timer
    state: "on"
action:
  - service: button.press
    data: {}
    target:
      entity_id: button.i3_120_activate_air_conditioning

Anyone else having “logout” issues with multiple vehicles, we have 2 BMWs on the integration and several times a day at least one of them gets logged out. Seems like a rate limit issue on the API but not sure how as we’re using 2 separate BMW accounts and has been working flawlessly for years. Might be a unique issue with a multiple vehicle setup.

Appears to have started with upgrade to core 2023.11.3…here’s the logs below

1 Like

Yup, can confirm issue since yesterday(?)… :frowning:

Same error here, has been happening since 3 days ago.

Same here, single car.

Same here with 2 cars using one account

Two times today, within a one hour timespan.

Same here, I only added my integration 5 days ago so not sure how reliable it should be, but looking at the logs it’s getting rate limited on the API and then booted out, maybe due to high level of attempts.

> * Error fetching bmw_connected_drive: HTTPStatusError: { "statusCode": 429, "message": "Rate limit is exceeded. Try again in 5 seconds." }
> * Error fetching bmw_connected_drive: HTTPStatusError: { "statusCode": 429, "message": "Rate limit is exceeded. Try again in 1 seconds." }
> * Error fetching bmw_connected_drive: HTTPStatusError: Client error '401 Unauthorized' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v4/vehicles/state?apptimezone=0.0&appDateTime=1701187882429' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
> * Error fetching bmw_connected_drive: HTTPStatusError: Client error '401 Unauthorized' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v4/vehicles/state?apptimezone=0.0&appDateTime=1701200371638' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
> * Error fetching bmw_connected_drive: HTTPStatusError: Client error '401 Unauthorized' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v4/vehicles/state?apptimezone=0.0&appDateTime=1701240455638' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401

There does appear to be a “fix” waiting to be merged into the component code for this.
Fix handling 401 after 429 status code by rikroe · Pull Request #585 · bimmerconnected/bimmer_connected (github.com)

1 Like

Yeah, same issue, hope it gets fixed soon.

Hi, just wondering , is there also a command to change the charge limits on Watts for example?
So to build an automation for example when the sun shines, to speed up the charging?

2 Likes

i am looking for this too, This function would be very great!