Gå til indhold
smart opladning

Home Assistant Charger

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

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

Understøttede funktioner

  • Kan nedreguleres: Effektforbruget kan reduceres (f.eks. § 14a EnWG). Se Ekstern grænse.

Parametre

NavnBeskrivelseVærdiNiveau
uriHome Assistant URI
Eksempel: http://homeassistant.local:8123
valgfri
statusCharging status sensor

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

Eksempel: sensor.charger_status
valgfri
enabledEnabled status sensor

Entity ID for enabled state (sensor, binary_sensor or switch with on/off or true/false state)

Eksempel: binary_sensor.charger_enabled
valgfri
enableEnable switch

Entity ID for enable/disable control (switch or input_boolean)

Eksempel: switch.charger_enable
valgfri
setMaxCurrentMaximum current entity [A]

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

Eksempel: number.charger_max_current
valgfri
insecureAccept self-signed certificatesavanceret
statusAStates for status A

Comma-separated list of additional states meaning ready, 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
milliamps0.1A current steps

Enable if the maximum current entity accepts fractional amperes; otherwise evcc sends whole amperes only

avanceret
powerPower entity

Entity ID for instantaneous power measurement in watts

Eksempel: sensor.charger_power
avanceret
energyEnergy entity

Entity ID for cumulative energy measurement in kWh

Eksempel: sensor.charger_energy
avanceret
identifyVehicle identification sensor

Entity ID for the current RFID or vehicle identifier

Eksempel: sensor.charger_identify
avanceret
tempTemperature entity

Entity ID for temperature measurement in °C (heating devices)

Eksempel: sensor.boiler_temperature
avanceret
currentL1L1 current entity

Entity ID for L1 current measurement in amperes

Eksempel: sensor.charger_current_l1
avanceret
currentL2L2 current entity

Entity ID for L2 current measurement in amperes

Eksempel: sensor.charger_current_l2
avanceret
currentL3L3 current entity

Entity ID for L3 current measurement in amperes

Eksempel: sensor.charger_current_l3
avanceret
voltageL1L1 voltage entity

Entity ID for L1 voltage measurement in volts

Eksempel: sensor.charger_voltage_l1
avanceret
voltageL2L2 voltage entity

Entity ID for L2 voltage measurement in volts

Eksempel: sensor.charger_voltage_l2
avanceret
voltageL3L3 voltage entity

Entity ID for L3 voltage measurement in volts

Eksempel: sensor.charger_voltage_l3
avanceret
phaseswitchPhase switching entity

Entity ID for 1p/3p phase switching (select entity with options "1" and "3")

Eksempel: select.charger_phases
avanceret
heatingHeating device

Shows °C instead of %

avanceret
integrateddeviceIntegrated device

Integrated device. No charging sessions

avanceret
Konfigurationseksempel til evcc.yaml

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

chargers:
- name: my_charger
type: template
template: homeassistant
uri: http://homeassistant.local:8123 # Home Assistant URI
status: sensor.charger_status # Charging status sensor, Entity ID for charging status (A=ready, B=connected, C=charging)
enabled: binary_sensor.charger_enabled # Enabled status sensor, Entity ID for enabled state (`sensor`, `binary_sensor` or `switch` with `on`/`off` or `true`/`false` state)
enable: switch.charger_enable # Enable switch, Entity ID for enable/disable control (`switch` or `input_boolean`)
setMaxCurrent: number.charger_max_current # Maximum current entity [A], Entity ID for setting maximum current in amperes (`number` or `input_number` entity)
insecure: # Accept self-signed certificates, optional
statusA: not_plugged, disconnected # States for status A, Comma-separated list of additional states meaning ready, 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)
milliamps: # 0.1A current steps, Enable if the maximum current entity accepts fractional amperes; otherwise evcc sends whole amperes only (optional)
power: sensor.charger_power # Power entity, Entity ID for instantaneous power measurement in watts (optional)
energy: sensor.charger_energy # Energy entity, Entity ID for cumulative energy measurement in kWh (optional)
identify: sensor.charger_identify # Vehicle identification sensor, Entity ID for the current RFID or vehicle identifier (optional)
temp: sensor.boiler_temperature # Temperature entity, Entity ID for temperature measurement in °C (heating devices) (optional)
currentL1: sensor.charger_current_l1 # L1 current entity, Entity ID for L1 current measurement in amperes (optional)
currentL2: sensor.charger_current_l2 # L2 current entity, Entity ID for L2 current measurement in amperes (optional)
currentL3: sensor.charger_current_l3 # L3 current entity, Entity ID for L3 current measurement in amperes (optional)
voltageL1: sensor.charger_voltage_l1 # L1 voltage entity, Entity ID for L1 voltage measurement in volts (optional)
voltageL2: sensor.charger_voltage_l2 # L2 voltage entity, Entity ID for L2 voltage measurement in volts (optional)
voltageL3: sensor.charger_voltage_l3 # L3 voltage entity, Entity ID for L3 voltage measurement in volts (optional)
phaseswitch: select.charger_phases # Phase switching entity, Entity ID for 1p/3p phase switching (select entity with options "1" and "3") (optional)
heating: # Heating device, Shows °C instead of % (optional)
integrateddevice: # Integrated device, Integrated device. No charging sessions (optional)