Home battery charge times
get_home_battery_timesFor a typical weekday and weekend day at this time of year (on a fixed-window or flat tariff, today's rates): the cheapest charge slot to fill a home battery before the 16:00 peak, an optional afternoon top-up, and what it saves a home using usage kWh a year – the battery runs the house after its charge until it's empty, through a typical day's use. No export, and not counting the battery's wear; with solar_kwp, also how full to charge overnight for the next day's sun.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"region": "<region>"
},
"name": "get_home_battery_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Grid charge rate, kW (0.5-15, default 3). | |
| usage | No | The home's electricity use, kWh a year (500-30000, default 2500 – an average home). | |
| 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, the slug from list_regions (eg `C` or `london`), or one of the well-known places list_regions lists for it (eg `Manchester`). | |
| 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 (2-50, default 10). | |
| 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. | |
| 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. | |
| battery_export | No | What the battery may export: `terms` (default) what the export tariff pays for – everything on Octopus's, only what the panels put in on the others; `all` what it charged from the grid too, on any export tariff – check the supplier pays for that; `solar` only what the panels put in, even on Octopus's; `never` – `evening_export` then says what that leaves. Without panels, give `export` too: everything a battery on its own exports came from the grid. | terms |
| solar_inverter_kw | No | The inverter's limit, kW (0.5-50), if smaller than the panels. |