Skip to content

filipmaelbrancke/ha-bmw-i4-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant bmw i4 card

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 card

Charging cable connected:

Charging card

No charging cable connected:

Charging card

minimal card

Minimal card

Features

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

Installation

  1. Requires Home Assistant BMW Connected Drive, and some extra Home Assistant components if not yet available.
  2. Add the extra sensors (see sensors.yml)
  3. Copy the contents of bmw-i4-charging-card.yml or bmw-i4-minimal-card.yml into a lovelace card.
  4. Modify the entity names based on your setup.

Necessary Home Assistant components

You will need to install the following components from HACS if you want these cards to work:

Entity Naming

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.

Sensors

Templated sensors

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)

TODO

  • full dashboard (with ⬇︎ )
  • add extended card with all available car sensors
  • search for better images
    • look into extracting from the BMW app?

Resources

BMW API

Home Assistant dashboards - inspiration - credits

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:

Releases

No releases published

Packages

No packages published