Gå til indhold
smart opladning

Home Assistant

Denne side viser nightly-versionen. Skift til release-versionen.

Home Assistant instances in your network will be auto-discovered and suitable vehicle entities and services (e.g. sensor.*) will be suggested.

Parametre

NavnBeskrivelseVærdiNiveau
uriHome Assistant URI
Eksempel: http://homeassistant.local:8123
valgfri
socState of charge [%]

Entity ID for the vehicle's battery state of charge in percent

Eksempel: sensor.vehicle_soc
valgfri
titleTitle

Will be displayed in the user interface

valgfri
capacity [kWh]Battery capacity
Eksempel: 50
valgfri
rangeRemaining range [km]

Entity ID for the vehicle's remaining range in kilometers

Eksempel: sensor.vehicle_range
valgfri
statusCharging status

Entity ID for charging status (A=disconnected, B=connected, C=charging)

Eksempel: sensor.vehicle_charging
valgfri
limitSocTarget state of charge [%]

Entity ID for the vehicle's target state of charge in percent (number or input_number entity)

Eksempel: number.vehicle_target_state_of_charge
valgfri
odometerOdometer [km]

Entity ID for the vehicle's odometer reading in kilometers

Eksempel: sensor.vehicle_odometer
valgfri
climaterClimatisation active

Entity ID for the vehicle's climatisation state (binary_sensor with on/off state)

Eksempel: binary_sensor.vehicle_climater
valgfri
start_chargingService to start charging

Entity ID for a script or a switch that starts charging the vehicle. Only useful with the Vehicle API-only charger. If a switch is provided, Service to stop charging must be left empty.

Eksempel: script.vehicle_start_charge; switch.vehicle_charger
valgfri
stop_chargingService to stop charging

Entity ID for a script that stops charging the vehicle. Only useful with the Vehicle API-only charger.

Eksempel: script.vehicle_stop_charge
valgfri
wakeupService to wake up vehicle

Entity ID for a script or a button that wakes up the vehicle

Eksempel: script.vehicle_wakeup; button.wakeup_vehicle
valgfri
setMaxCurrentSet charging current [A]

Entity ID for setting the maximum charging current in amperes (number or input_number entity)

Eksempel: number.vehicle_charging_current
valgfri
iconIcon

Will be displayed in the user interface

Standard: car
avanceret
phasesMaximum number of phases

Used to determine the minimum solar surplus and plan duration.

avanceret
minCurrent [A]Minimum current

The minimum current per connected phase that can be used

Eksempel: 6
avanceret
maxCurrent [A]Maximum current

The maximum current per connected phase that can be used

Eksempel: 16
avanceret
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.

Eksempel: 10000
avanceret
identifiersRFID 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.

avanceret
priorityPriority

Priority of the loadpoint or vehicle in relation to other loadpoints or vehicles for allocating surplus energy (higher values, higher priority).

avanceret
insecureAccept self-signed certificatesavanceret
statusAStates for status A

Comma-separated list of additional states meaning disconnected, see docs.evcc.io

Eksempel: not_plugged, disconnected
avanceret
statusBStates for status B

Comma-separated list of additional states meaning connected, see docs.evcc.io

Eksempel: charging_stopped, charging_completed
avanceret
statusCStates for status C

Comma-separated list of additional states meaning charging, see docs.evcc.io

Eksempel: instant_charging, fast_charging
avanceret
coarsecurrent1A current control

Vehicle supports 1A current steps only

avanceret
streamingSupports streaming

Streaming data is received asynchronously

Standard: true
avanceret
welcomechargeCharge 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.

avanceret
climaterdisabledDisable climater detection

Ignore the vehicle's climater state for charge control, so charging stops at the SoC or energy limit even when the vehicle signals an active climater request.

avanceret
autodetectdisabledExclude from auto detection

Ignore the vehicle for auto detection of connected vehicles

avanceret
wakeupdisabledDisable wake-up calls

Do not send wake-up calls to the vehicle or charger, useful for vehicles that refuse to charge after repeated wake-ups.

avanceret
Konfigurationseksempel til evcc.yaml

Hvis du ikke vil konfigurere via webgrænsefladen, kan du i stedet bruge denne YAML-blok.

vehicles:
- name: my_car
type: template
template: homeassistant
uri: http://homeassistant.local:8123 # Home Assistant URI
soc: sensor.vehicle_soc # State of charge [%], Entity ID for the vehicle's battery state of charge in percent
title: # Title, Will be displayed in the user interface (optional)
capacity: 50 # Battery capacity (kWh), optional
range: sensor.vehicle_range # Remaining range [km], Entity ID for the vehicle's remaining range in kilometers (optional)
status: sensor.vehicle_charging # Charging status, Entity ID for charging status (A=disconnected, B=connected, C=charging) (optional)
limitSoc: number.vehicle_target_state_of_charge # Target state of charge [%], Entity ID for the vehicle's target state of charge in percent (`number` or `input_number` entity) (optional)
odometer: sensor.vehicle_odometer # Odometer [km], Entity ID for the vehicle's odometer reading in kilometers (optional)
climater: binary_sensor.vehicle_climater # Climatisation active, Entity ID for the vehicle's climatisation state (`binary_sensor` with `on`/`off` state) (optional)
start_charging: script.vehicle_start_charge; switch.vehicle_charger # Service to start charging, Entity ID for a script or a switch that starts charging the vehicle. Only useful with the [Vehicle API-only charger](https://docs.evcc.io/en/chargers/vehicle-api-only-charger). If a switch is provided, Service to stop charging must be left empty. (optional)
stop_charging: script.vehicle_stop_charge # Service to stop charging, Entity ID for a script that stops charging the vehicle. Only useful with the [Vehicle API-only charger](https://docs.evcc.io/en/chargers/vehicle-api-only-charger). (optional)
wakeup: script.vehicle_wakeup; button.wakeup_vehicle # Service to wake up vehicle, Entity ID for a script or a button that wakes up the vehicle (optional)
setMaxCurrent: number.vehicle_charging_current # Set charging current [A], Entity ID for setting the maximum charging current in amperes (`number` or `input_number` entity) (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)
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)
insecure: # Accept self-signed certificates, optional
statusA: not_plugged, disconnected # States for status A, Comma-separated list of additional states meaning disconnected, see [docs.evcc.io](https://docs.evcc.io/en/smarthome/home-assistant#charge-status) (optional)
statusB: charging_stopped, charging_completed # States for status B, Comma-separated list of additional states meaning connected, see [docs.evcc.io](https://docs.evcc.io/en/smarthome/home-assistant#charge-status) (optional)
statusC: instant_charging, fast_charging # States for status C, Comma-separated list of additional states meaning charging, see [docs.evcc.io](https://docs.evcc.io/en/smarthome/home-assistant#charge-status) (optional)
coarsecurrent: # 1A current control, Vehicle supports 1A current steps only (optional)
streaming: true # Supports streaming, Streaming data is received asynchronously (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)
climaterdisabled: # Disable climater detection, Ignore the vehicle's climater state for charge control, so charging stops at the SoC or energy limit even when the vehicle signals an active climater request. (optional)
autodetectdisabled: # Exclude from auto detection, Ignore the vehicle for auto detection of connected vehicles (optional)
wakeupdisabled: # Disable wake-up calls, Do not send wake-up calls to the vehicle or charger, useful for vehicles that refuse to charge after repeated wake-ups. (optional)