BMW ConnectedDrive component

Great work getting the component updated over the last few days seems to work great now. One Question I know has come up in the past…

UK Users that need Miles for Distance & Celsius for Temperature how can this be done? I see in the log the conversion to miles happening but not sure how to change the entity to reflect this, Sorry possibly a stupid question :slight_smile:

Did I mis something? Still broken here…

For me I made template sensors and use them in Lovelace instead

1 Like

Grab yourself the beta from the repo and install it as a custom component. Works great.

1 Like

Grab latest beta devs have turned the fix around real quick we have all been testing versions latest is rock solid for me

how do you upgrade and install the beta version?

Just install GitHub - bimmerconnected/ha_custom_component: Home Assistant Custom Component of BMW Connected Drive through HACS and you’re done

1 Like

Hi, from time to time I have this in my logs:

Logger: bimmer_connected.account
Source: /usr/local/lib/python3.9/site-packages/bimmer_connected/account.py:231
First occurred: 08:11:05 (1 occurrences)
Last logged: 08:11:05

401 Client Error: Unauthorized for url: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1637561465.003198&tireGuardMode=ENABLED
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/bimmer_connected/account.py", line 229, in send_request
    response.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1637561465.003198&tireGuardMode=ENABLED

followed by some entity update errors.
It’s no big deal but for my understanding: How often does the component refresh the entities?
Could it make sense to decrease the refresh rate?

Perfect thanks !

Hi All HassBimmers, since the huge mount of “outages” in this integration and the time it takes for the fixes to be merged into the general release of homeassistant I am asking here if it would be wise/good to use the custom component instead of the official integration. What is your thoughts about this?

Thanks, the HACS Beta works as an alternative.

Some sensors don’t work which worked with the “normal” integration, but guess that’s why it’s called BETA.

Any way it’s a lot better than no integration at all :slight_smile:

Yes and no, there are also sensors removed because the bmw api didn’t provide them anymore.

Ah ok, that makes sense, thanks for informing.

Will keep the HACS solution as integration for the time being, it works fine for me along other HACS integrations.

Thanks agian :slight_smile:

I installed the Beta now too and the only thing I was missing is the remaining fuel left in liters. Are you missing other sensors?? I did have to change some attribute names (lids and windows) too.

I don’t but mine is an EV (iX3), so can’t judge on Fuel :slight_smile:
I only had the sensor naming changes indeed too.

That could still show you something around ‘fuel’ just like e.g. the e-Golf is reporting Battery%… :grinning:
image
In my case I also had the number of liters fuel in my tank shown in the dashboard but it seems to be removed from the API apparently!?
Cheers, Rene.

Anyone know where to set vehicle_is_tracking_enabled for the location, no longer getting updated after this update:
image

In the My BMW App I can find the pressure for all tyres (in CHECK CONTROL MESSAGES). So is there an API for this as these tyre pressures are not shown for me in any BMW entity, attribute in HA? I do have the check_control_messages but it is just showing state OK and its attributes are only Car, Vin, and
‘Check control messages’. How does this work if the App can display these?

I updated today and lost tracking too. Log below. Looks like tracking is disabled, but I struggle to find any info on how to get it back

2021-12-04 14:22:58 INFO (MainThread) [custom_components.bmw_connected_drive.device_tracker] Tracking is (currently) disabled for vehicle X3 xDrive20d (VIN...), defaulting to unknown

I think we have to manually enable it but no idea where, if anyone knows, please share :slight_smile: