BMW ConnectedDrive component

It eventually connected but keeps going unavailable every so often it makes it unusable.
Let’s hope it comes back soon

1 Like

Guess BMW is fumbling again on their API today. I have several connection problems today again. :rage:

Been using this for a while and just updated HA to latest point release and this has stopped working. Tried removing it from HACS (I am on the beta) and HA, adding to HACS and HA and get this:

Config flow could not be loaded: undefined

Logs show that it is is recognised:

We found a custom integration bmw_connected_drive which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

Then I get this:

022-05-21 11:31:15 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration bmw_connected_drive: Requirements for bmw_connected_drive not found: ['bimmer_connected==0.9.0.0b10'].

Any ideas anyone?

Thanks

mb

EDIT: Solved. Uninstalled the beta in Hacs. Reboot. Reboot agains once it has come up 100%. Install from integration and all good in the hood.

For about 3 HA versions this component has been working terribly (probably due to BMW) but it gets disconnected like 20 times a day now. Anyone else or just me?

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 191, in _async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/components/bmw_connected_drive/coordinator.py", line 59, in _async_update_data
    self.account = await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.9/site-packages/bimmer_connected/account.py", line 88, in __init__
    self._get_vehicles()
  File "/usr/local/lib/python3.9/site-packages/bimmer_connected/account.py", line 383, in _get_vehicles
    self._get_oauth_token()
  File "/usr/local/lib/python3.9/site-packages/bimmer_connected/account.py", line 113, in _get_oauth_token
    raise ex
  File "/usr/local/lib/python3.9/site-packages/bimmer_connected/account.py", line 99, in _get_oauth_token
    token_data = self._login_row_na()
  File "/usr/local/lib/python3.9/site-packages/bimmer_connected/account.py", line 223, in _login_row_na
    _LOGGER.error("Authentication failed: %s", response.text)
UnboundLocalError: local variable 'response' referenced before assignment

The error is bogus as the login is correct and I can use the myBMW app just fine.

Can’t login any more…

I can confirm the same issue, since yesterday it stopped working and login is no longer possible.

This seems to be working again now following yesterdays upgrade to version 20220528.1 of the custom component (well, at least it is for me).

I can confirm

can you please provide the link to the custom component?
thank you.

Sure …

1 Like

thank you. Much appreciated

apologies, for troubling you.
I set it up, but the repo doesn’t say how to configure it in homeassistant.
is there a yaml snipet for the config.yalm file?
Thank you again

Edit: never mind, answer is using the standard config flow.
Thank you again

Hi!

I’m really interested as well in way to start and stop charging through API. I have used a shelly smart plug, but this is not very reliable recently - it will power on, but charger will have error sometimes and won’t start charging.

So it would be exccelent if i can start and stop charging through API.

Martin

Is this broken again? Haven’t been able to connect for over 1 day.

2022-06-11 19:49:20 WARNING (MainThread) [homeassistant.config_entries] Config entry 'xxxx' for bmw_connected_drive integration not ready yet: Error communicating with BMW API: Client error '429 Too Many Requests' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1654973346008&tireGuardMode=ENABLED'

It’s listed a pull request on their github. I’m also hoping for this feature to be implemented.

1 Like

HA newbie here - I realise that this post (Map display) is from March 2018, but have loaded this integration and was wondering how I could get this map in HA. All I get is a circle with a ‘5’ in the center and was wondering how you managed this.

Also, earlier posts referenced the ‘conditioned based services’, but later on they seem to have been dropped/removed. Are these no longer available (would be good to set reminders, calendar updates, etc. if they were.

1 Like

any news regarding start/stop charge?

2 Likes

any connection problems again? I just saw my integration does not work since roughly 3 hours. Is there any fix in this issues or do I have just to wait on BMW? BR JJ

Yup, same here. Since latest BMW App update…

Fyi, issue reported: https://github.com/home-assistant/core/issues/75270