Salta ai contenuti
ricarica intelligente

Home Assistant

Questa pagina mostra la versione nightly. Passa alla versione release.

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

Parametri

NomeDescrizioneValoreLivello
uriHome Assistant URI
Esempio: http://homeassistant.local:8123
facoltativo
socState of charge [%]

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

Esempio: sensor.vehicle_soc
facoltativo
titleTitle

Will be displayed in the user interface

facoltativo
capacity [kWh]Battery capacity
Esempio: 50
facoltativo
rangeRemaining range [km]

Entity ID for the vehicle's remaining range in kilometers

Esempio: sensor.vehicle_range
facoltativo
statusCharging status

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

Esempio: sensor.vehicle_charging
facoltativo
limitSocTarget state of charge [%]

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

Esempio: number.vehicle_target_state_of_charge
facoltativo
odometerOdometer [km]

Entity ID for the vehicle's odometer reading in kilometers

Esempio: sensor.vehicle_odometer
facoltativo
climaterClimatisation active

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

Esempio: binary_sensor.vehicle_climater
facoltativo
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.

Esempio: script.vehicle_start_charge; switch.vehicle_charger
facoltativo
stop_chargingService to stop charging

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

Esempio: script.vehicle_stop_charge
facoltativo
wakeupService to wake up vehicle

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

Esempio: script.vehicle_wakeup; button.wakeup_vehicle
facoltativo
setMaxCurrentSet charging current [A]

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

Esempio: number.vehicle_charging_current
facoltativo
iconIcon

Will be displayed in the user interface

Predefinito: car
avanzato
phasesMaximum number of phases

Used to determine the minimum solar surplus and plan duration.

avanzato
minCurrent [A]Minimum current

The minimum current per connected phase that can be used

Esempio: 6
avanzato
maxCurrent [A]Maximum current

The maximum current per connected phase that can be used

Esempio: 16
avanzato
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.

Esempio: 10000
avanzato
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.

avanzato
priorityPriority

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

avanzato
insecureAccept self-signed certificatesavanzato
statusAStates for status A

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

Esempio: not_plugged, disconnected
avanzato
statusBStates for status B

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

Esempio: charging_stopped, charging_completed
avanzato
statusCStates for status C

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

Esempio: instant_charging, fast_charging
avanzato
coarsecurrent1A current control

Vehicle supports 1A current steps only

avanzato
streamingSupports streaming

Streaming data is received asynchronously

Predefinito: true
avanzato
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.

avanzato
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.

avanzato
autodetectdisabledExclude from auto detection

Ignore the vehicle for auto detection of connected vehicles

avanzato
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.

avanzato
Esempio di configurazione per evcc.yaml

Se preferisci non configurare il dispositivo dall’interfaccia, puoi usare questo blocco YAML.

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)