The Home Assistant BMW Connected Drive integration can be used to extract data from the car. That will give you about 30 integration entries (entities) in your Home Assistant, but it does not come with any visualization.
These are some Home Assistant dashboard cards that can display the BMW i4 information.
Charging cable connected:
No charging cable connected:
Car information that can be visualised:
- Charging session overview
- Plugged In | Unplugged | Charging
- Charging status
- Charging time elapsed | remaining
- Vehicle state
- Remaining range
- Mileage
- Locked | Unlocked
- Door/Window Overview
- Home | Away
- Airconditioning
- Requires Home Assistant BMW Connected Drive, and some extra Home Assistant components if not yet available.
- Add the extra sensors (see
sensors.yml
) - Copy the contents of
bmw-i4-charging-card.yml
orbmw-i4-minimal-card.yml
into a lovelace card. - Modify the entity names based on your setup.
You will need to install the following components from HACS if you want these cards to work:
The entity names used in this card's repository are setup to assume a brand new install of the Home Assistant BMW Connected Drive integration.
For an i4 eDrive40, all entities will be named with the prefix i4_edrive40_
(that's also the example in this repo). Adapt as needed for your setup.
The bmw-i4-charging-card.yml
card uses the Home Assistant Picture Elements Card as a base to get everything rendered well on all devices, but that card is quite limited in templating options, and thus the following templated sensors have to be added on top of the ones made available by the BMW Connected Drive integration (see sensors.yml
):
charging_time_remaining
(&charging_time_remaining_formatted
)charging_time_elapsed
(&charging_time_elapsed_formatted
)
- full dashboard (with ⬇︎ )
- add extended card with all available car sensors
- inspired by samples on the HA community forum
- search for better images
- look into extracting from the BMW app?
charging-card based on: https://github.com/tmack8001/ha-rivian-card
minimal card based on: https://www.reddit.com/r/homeassistant/comments/wxdy9d/my_new_dashboard_for_our_evs/
other: