BMW ConnectedDrive component

i checked the data receveived for accuracy, and unfortunately i have no idea where the data comes from (or from what time/date).
the actual mileage is 65tkm not 58tkm as shown.
the remaining gas is around 20%, so for sure not 65l which would be about FULL.
also doors/windows status i not updated. i left the door unlocked with open windows for 20min, but they stayed “locked” all the time.
what DOES work though is active control of horn/light and climate which imho is much more important for me, but still …

Hi @iz3man please check the post below to see if you have a compatible version of the iDrive software.
Based on your mileage I guess your version is a bit too old and thus will not show actual data :neutral_face:

Regarding the custom component, can you check if you are using the latest version which uses the v0.4.1 of the library and which should handle these errors correctly.

Thanks gerard33. I remember that issue. I once asked how to find out the idrive version, but can’t remember that i ever saw an answer.
The car is a 5er 2016 model. Latest software if that helps.

Tried this today having upgraded to 0.65 and it’s great :slight_smile: I’ve got location, mileage, fuel level and range (2016 340i in the UK).

Looking forward to having the lock status etc. but will wait for that stuff to be official so I don’t need to mess with custom stuff.

Anyone know how to change the fuel level units from mpg to L?

What ID version do you have? I have a UK 440 2016 and only have ID4 which doesn’t seem to work. Thanks

I think this shows ID4 on the left and ID5 on the right. If so, mine’s ID5.

imho left one is NBT and right one is NBT-EVO - whereas the right one is the newer one.
the new 5er is equipped with NBT-EVO, the last model F10/11 was NBT.

made sure to use latest version - dl’d from github, installed in HA, restarted. still the same.
log is flooded with “no data” messages.

it’s got this line in bmw_connected_drive.py :slight_smile:

REQUIREMENTS = ['bimmer_connected==0.4.1']

Mar 11 16:02:54 hassbian hass[23018]: #033[31m2018-03-11 16:02:54 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:25 hassbian hass[23018]: #033[31m2018-03-11 16:03:25 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:25 hassbian hass[23018]: #033[31m2018-03-11 16:03:25 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:25 hassbian hass[23018]: #033[31m2018-03-11 16:03:25 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:25 hassbian hass[23018]: #033[31m2018-03-11 16:03:25 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:25 hassbian hass[23018]: #033[31m2018-03-11 16:03:25 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:25 hassbian hass[23018]: #033[31m2018-03-11 16:03:25 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:56 hassbian hass[23018]: #033[31m2018-03-11 16:03:56 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:56 hassbian hass[23018]: #033[31m2018-03-11 16:03:56 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:56 hassbian hass[23018]: #033[31m2018-03-11 16:03:56 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:56 hassbian hass[23018]: #033[31m2018-03-11 16:03:56 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:56 hassbian hass[23018]: #033[31m2018-03-11 16:03:56 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m
Mar 11 16:03:56 hassbian hass[23018]: #033[31m2018-03-11 16:03:56 ERROR (MainThread) [bimmer_connected.state] No data available!#033[0m

Has anyone got this working in Sweden?

Yes works perfectly for me

The data available from the vehicle is in km and liter, it’s a german company after all :smile: . If you want to have different units, this would have to be converted somewhere. There is a central switch unit_system to see if the user wants metric or imperial units: Setup basic information - Home Assistant But is does not actually convert anything. It just says what you would like to have.

So someone has to write an patch of the sensors to check this switch and convert the units if required…

Request for data:
Does anyone have a vehicle with active check control messages? We would be happy for data contributions so that we can implement parsing of these messages:

But ‘MPG’ makes no sense for a quantity of fuel :slight_smile:

I changed it in customize.yaml:

sensor.340i_remaining_fuel:
  unit_of_measurement: litres 

but feels like the component is wrong to me?

Yes, mpg for volume is weird. In my versions (64.2 and current dev branch) I always get liters for the remaining_fuel. I could not find any place in the code that might cause this. Weird…

Well that IS odd :face_with_monocle:

what would those messages look like? how can i know what to lool for?

it’s kinda strange. with the bmw component included in HA 0.65 upwards i don’t get any data at all:

image

with gerard33’s custom_component i get data, but repeating error messages like the one above.

These are shown in the App under Check Control Messages (or something like that).
For me this shows Tyre pressure = OK and Motor oil = OK.

That’s strange :confused:

Can you check this GitHub - bimmerconnected/bimmer_connected: 🚘 Library to query the status of your BMW or Mini from the ConnectedDrive portal and share the output of the fingerprint function? In this version some changes have been inplemented to make the component work in North-America and China, maybe that version works better for you car as well.

ok. sorry, can’t see those messages in my app :frowning:
i will upload my fingerprint data to the github. thanks

Same here!
Using 0.65 and 0.66b: No data!
Regards.