BMW CarData
Requires CarData activation in BMW/Mini portal. The following data points need to be configured for streaming access:
vehicle.body.chargingPort.status
vehicle.cabin.infotainment.navigation.currentLocation.latitude
vehicle.cabin.infotainment.navigation.currentLocation.longitude
vehicle.cabin.hvac.preconditioning.status.comfortState
vehicle.drivetrain.batteryManagement.header
vehicle.drivetrain.electricEngine.charging.hvStatus
vehicle.drivetrain.electricEngine.charging.status
vehicle.drivetrain.electricEngine.charging.timeRemaining
vehicle.drivetrain.electricEngine.kombiRemainingElectricRange
vehicle.powertrain.electric.battery.stateOfCharge.target
vehicle.vehicle.preConditioning.activity
vehicle.vehicle.travelledDistance
Data will be updated on restart and when received using streaming. This only happens when the vehicle actively creates new updates.
Parameters
| Name | Description | Value | Level |
|---|---|---|---|
vin | Vehicle Identification Number If you own multiple vehicles from the same manufacturer | optional | |
clientid | Client ID | optional | |
title | Title Will be displayed in the user interface | optional | |
capacity [kWh] | Battery capacity | optional | |
icon | Icon Will be displayed in the user interface | advanced | |
phases | Maximum number of phases Used to determine the minimum solar surplus and plan duration. | advanced | |
mode | Default charging mode Applied when a vehicle is connected. Leave empty to keep the current mode. | advanced | |
minCurrent [A] | Minimum current The minimum current per connected phase that can be used | advanced | |
maxCurrent [A] | Maximum current The maximum current per connected phase that can be used | advanced | |
maxPower [W] | Maximum charging power hint Defines the maximum charging power of the vehicle. Helps improve charge plan accuracy when the vehicle typically uses less than the offered current or supports higher single-phase current compared to three-phase. The offered current of the loadpoint is not affected. | advanced | |
identifiers | RFID identification Used to assign the vehicle to a loadpoint via RFID card. The identifier is shown on the loadpoint. Copy the value from there. Learn more. | advanced | |
priority | Priority Priority of the loadpoint or vehicle in relation to other loadpoints or vehicles for allocating surplus energy (higher values, higher priority). | advanced | |
coarsecurrent | 1A current control Vehicle supports 1A current steps only | advanced | |
streaming | Supports streaming Enable if vehicle sends streaming updates during charging. | advanced | |
welcomecharge | Charge on connection Charger will enable charging for short time when vehicle is connected, irrespective of configured charge mode. This is useful for vehicles that require power supply when connecting. | advanced |
Configuration example for evcc.yaml
If you don't want to configure via the UI, you can alternatively use this YAML block.
vehicles: - name: my_car type: template template: cardata vin: WBMW... # Vehicle Identification Number, If you own multiple vehicles from the same manufacturer clientid: # Client ID title: # Title, Will be displayed in the user interface (optional) capacity: 50 # Battery capacity (kWh), optional icon: car # Icon, Will be displayed in the user interface [car, bike, bus, moped, motorcycle, rocket, scooter, taxi, tractor, rickshaw, shuttle, van, airpurifier, battery, bulb, climate, coffeemaker, compute, cooking, cooler, desktop, device, dishwasher, dryer, floorlamp, generic, heater, heatexchange, heatpump, kettle, laundry, laundry2, machine, meter, microwave, pump, smartconsumer, tool, waterheater] (optional) phases: # Maximum number of phases, Used to determine the minimum solar surplus and plan duration. [1, 2, 3] (optional) mode: # Default charging mode, Applied when a vehicle is connected. Leave empty to keep the current mode. (optional) minCurrent: 6 # Minimum current (A), The minimum current per connected phase that can be used (optional) maxCurrent: 16 # Maximum current (A), The maximum current per connected phase that can be used (optional) maxPower: 10000 # Maximum charging power hint (W), Defines the maximum charging power of the vehicle. Helps improve charge plan accuracy when the vehicle typically uses less than the offered current or supports higher single-phase current compared to three-phase. _The offered current of the loadpoint is not affected._ (optional) identifiers: # RFID identification, Used to assign the vehicle to a loadpoint via RFID card. The identifier is shown on the loadpoint. Copy the value from there. [Learn more.](https://docs.evcc.io/en/docs/features/vehicle) (optional) priority: # Priority, Priority of the loadpoint or vehicle in relation to other loadpoints or vehicles for allocating surplus energy (higher values, higher priority). (optional) coarsecurrent: # 1A current control, Vehicle supports 1A current steps only (optional) streaming: # Supports streaming, Enable if vehicle sends streaming updates during charging. (optional) welcomecharge: # Charge on connection, Charger will enable charging for short time when vehicle is connected, irrespective of configured charge mode. This is useful for vehicles that require power supply when connecting. (optional)