Skip to content

EV Smart Charging

bolagnaise edited this page Apr 19, 2026 · 8 revisions

EV Smart Charging

PowerSync coordinates EV charging alongside battery optimization. The EV charging plan is included in the battery optimizer's schedule so both systems plan around each other — the EV won't compete with the battery for grid import at the worst time.

How It Works

PowerSync shares your available grid capacity between the battery and the EV. When the battery is charging hard overnight, the EV gets what's left over. As the battery tapers off, more power flows to the EV automatically.

During the day, excess solar that can't go into the battery or power the house gets directed to the EV first before being exported.

Both the battery and EV plans update every 5 minutes.

Charging Modes

Mode Description
Solar Only Only charge from excess solar production
Prefer Solar Prefer solar, use grid during cheap periods if needed
Cheapest Charge during cheapest periods (grid or solar)
Meet Deadline Charge to meet departure time, using cheapest available windows

Supported EV Chargers

EV charger support is experimental and depends on the HA integration for your charger exposing the right entities and services.

Charger Type Control Method Notes
Tesla Wall Connector Tesla BLE Requires the Tesla BLE MQTT integration
OCPP Chargers OCPP integration Works with any charger that uses the OCPP protocol
Wallbox Wallbox integration
Easee Easee integration
Generic Switch + Number entity Any charger with a simple on/off switch and current control

If your charger's HA integration uses different service names or entity patterns, it may not work automatically. Please report issues on Discord.

OCPP Chargers

OCPP chargers connect via the Home Assistant OCPP integration. PowerSync can start/stop charging sessions and adjust the charge rate through it. The mobile app includes an OCPP charger management screen — view connected chargers, start/stop, and monitor status.

EV Sensors (v2.6.5+)

When EV charging is configured, PowerSync creates dedicated EV sensors:

Sensor Entity ID Description
EV Power sensor.power_sync_ev_power Current charging power (kW)
EV Battery Level sensor.power_sync_ev_battery_level EV battery state of charge (%)

These sensors are used by the dashboard power flow card and are available for automations.

Configuration

EV Charging

  1. In the mobile app: Settings > EV Charging
  2. Enable Smart EV Charging
  3. Select your Charger Type
  4. Enter charger connection details
  5. Set your Grid Capacity (typically 7kW single phase, 22kW three phase)

Charging Parameters

Setting Description
Departure Time When you need the car ready
Target SOC Desired battery percentage
Charging Mode Solar Only, Prefer Solar, Cheapest, or Meet Deadline
Home Battery Minimum Don't discharge home battery below this for EV charging
Max Grid Price Maximum price (c/kWh) willing to pay for grid charging

Optimizer Integration

When EV integration is enabled, the optimizer automatically:

  1. Reads the planned EV charging windows
  2. Adds the expected EV power draw to the household load forecast
  3. Runs with the combined load (household + EV)
  4. Adjusts the battery schedule — for example, charges the battery earlier to avoid competing for grid import during EV charging windows

The battery and EV plans update together every 5 minutes.

Clone this wiki locally