EV charging plan
plan_ev_chargingThe cheapest or greenest half hours to charge an electric car by a ready-by time up to four days ahead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Ready-by day: today, tomorrow, in2 or in3 (default: the next time `time` comes round, at least four hours away). | |
| mpk | No | Miles per kWh, for the per-mile figures (1.5-6, default 3.3). | |
| now | No | Charge now, % (0-100, default 30). | |
| mode | No | `timer` (one unbroken block, default) or `smart` (any half hours). | timer |
| time | No | Ready-by local time, HH:MM (default 07:00). | 07:00 |
| export | No | How export is paid: `paired` (the tariff's own export tariff, default), `fixed` (with export_rate), `fit` (the Feed-in Tariff's deemed export: paid whatever is exported, so the sun used at home gives nothing up), `none`, or an export tariff's key from list_tariffs?direction=export (used where the tariff can have it, else its own). | |
| region | Yes | Agile region: a letter A-P or the slug from list_regions (eg `C` or `london`); list_regions lists well-known places in each. | |
| target | No | Target charge, % (0-100, default 80). | |
| tariff | No | A tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`. | agile |
| battery | No | Usable battery, kWh (5-200, default 60). | |
| charger | No | Charging power, kW (1-22, default 7.4). | |
| optimise | No | `cost` (default) or `carbon`. | cost |
| solar_kwp | No | The home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section. | |
| efficiency | No | Charging efficiency, % (60-100, default 90). | |
| export_rate | No | A fixed export rate, p/kWh (0-100). | |
| solar_pitch | No | Their angle from flat, degrees (0-90, default 35). | |
| solar_facing | No | The way they face: S, SE, SW, E, W, NE, NW or N – or a bearing in degrees (south is 180). Default S. | |
| solar_inverter_kw | No | The inverter's limit, kW (0.5-50), if smaller than the panels. |