Code Monkey home page Code Monkey logo

ha-bmw-i4-card's Introduction

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:

ha-bmw-i4-card's People

Contributors

filipmaelbrancke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

convicte

ha-bmw-i4-card's Issues

Template sensors

Hi, is it possible to change the sensors with the new yaml format for use with template: ?

thnx, appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.