-
-
Notifications
You must be signed in to change notification settings - Fork 16
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.
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.
| 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 |
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 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.
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.
- In the mobile app: Settings > EV Charging
- Enable Smart EV Charging
- Select your Charger Type
- Enter charger connection details
- Set your Grid Capacity (typically 7kW single phase, 22kW three phase)
| 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 |
When EV integration is enabled, the optimizer automatically:
- Reads the planned EV charging windows
- Adds the expected EV power draw to the household load forecast
- Runs with the combined load (household + EV)
- 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.