Repository navigation
Feature Assist and AI
🇩🇪 Deutsch
Ask Home Assistant's voice assistant about your BMW or MINI in plain words. With an AI conversation agent behind Assist (OpenAI, Google, Anthropic or Ollama), Assist can answer questions such as:
- "Do I need to charge before driving to Munich and back?"
- "Is the car locked?" / "Did I leave a window open?"
- "What did charging cost this month?"
- "How far did I drive last month, and how much of it was business?"
- "Am I on track with my lease?"
- "What's my real range right now?"
BavarianData brings its own set of tools for this, an LLM API in Home Assistant's terms. They read what the card reads, so they cost no API quota, and they work by voice, in the Assist chat and from desktop AI apps.
Turn the tools on once: open your AI integration under Settings → Devices & services, then Configure its conversation agent, and tick BavarianData under Control Home Assistant, next to Assist. You don't have to expose anything or write scripts.
Home Assistant's Model Context Protocol Server integration lets you make the same choice. Tick BavarianData there too, and an AI app that speaks MCP (such as Claude Desktop) can ask about the car through your Home Assistant.
| Tool | Answers |
|---|---|
| Car status | Battery, charging (power, minutes to the target), range (on a plug-in hybrid: electric, fuel and total), fuel level, the zone it is in, whether it is being driven, anything open or unlocked |
| Range check | Whether a drive fits the range left, one way or there and back, with a safety margin (a tenth of a full battery's range, at least 20 km): the agent tells you the range left after the drive, and how much more charge it needs if it doesn't fit. A plug-in hybrid or fuel car counts its tank too (margin 20 km), and a hybrid also says whether the battery alone does it. The agent estimates the distance from the places you name. |
| Charging history | The sessions of the last days (30 unless you say otherwise): when, where, battery before and after, energy and cost, with totals |
| Driving month | Distance, trips, the business/private/commute split, consumption, cost and the most visited places, against the month before |
| Mileage | Odometer, this month and year, the yearly projection and your lease or yearly allowance, if one is set |
| Efficiency | Measured consumption, the real range it gives, how it compares with the car's own figure, and the monthly trend |
Where there is a measured range, the tools use it; otherwise they use the car's own. A plug-in hybrid's fuel range is its total range minus its electric range, because BMW sends no fuel range of its own. Answers come in your car's distance unit (the Units setting). With several cars, you can ask about one by name or about all of them.
The AI sees the figures above and place names (your zones, or the address where a trip ended outside them). It never sees the VIN, the car's position, trip ids or charging curves; every answer has them removed. The tools can't do anything to the car, because CarData is read-only: the AI can't lock it, start the climate or start charging. With a cloud agent, these figures leave your home. A local agent such as Ollama keeps them there.
Did you set up the three car_… scripts from an earlier version of the
Events & blueprints page? You can delete them. The tools
answer everything they did.
BavarianData is an independent, community-built integration and is not affiliated with, endorsed by, or sponsored by BMW Group. "BMW", "Mini", "Rolls-Royce" and "CarData" are trademarks of their respective owners. Screenshots and documentation images of the MyBMW / BMW CarData portal are © BMW AG, shown here solely to document how to set up the service; personal data has been redacted. BavarianData ist eine unabhängige Community-Integration und steht in keiner Verbindung zur BMW Group, wird von ihr weder unterstützt noch gesponsert. Screenshots des MyBMW- / BMW-CarData-Portals sind © BMW AG und werden nur zur Erklärung der Einrichtung gezeigt; persönliche Daten sind geschwärzt. Released under the MIT License; the name and logo are not covered (NOTICE). · Issues · Discussions
Getting started
- Coming from bimmer_connected
- Which cars work
- 1. BMW portal setup
- 2. Install
- 3. Add & authorize
- 4. Choose data to stream
The card
Features
- Entities & devices
- Charging history & cost
- Battery health
- Efficiency & range
- Trips
- Mileage & allowance
- evcc & wallbox bridge
- Smart charging
- Energy & statistics
- Export
- Events & blueprints
- Ask Assist & AI
- API quota
- Multiple cars & accounts
Reference
Erste Schritte
- Umstieg von bimmer_connected
- Welche Autos funktionieren
- 1. Einrichtung im BMW-Portal
- 2. Installation
- 3. Hinzufügen & autorisieren
- 4. Daten auswählen
Die Karte
Funktionen
- Entitäten & Geräte
- Ladeverlauf & Kosten
- Batteriezustand
- Effizienz & Reichweite
- Fahrten
- Kilometer & Kontingent
- evcc- & Wallbox-Brücke
- Intelligent laden
- Energie & Statistiken
- Export
- Ereignisse & Blueprints
- Assist & KI fragen
- API-Kontingent
- Mehrere Fahrzeuge & Konten
Nachschlagen