Renewably
v1.12.1Cheapest and greenest times to use electricity in Great Britain, and which tariff suits a home.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_regions Regions
The 14 Agile regions (GSP groups), each with well-known places in it - to place a home by its town. The regions are the local electricity networks' areas, not counties, so some places surprise (Milton Keynes and Coventry are in the East Midlands, Croydon in South East England, York in North East England). The surest way: the first two digits of the 13-digit MPAN on the home's electricity bill (`mpan_prefix`).
list_tariffs Tariffs
The time-of-use and standard tariffs from Octopus, EDF and E.ON Next that the `tariff` parameter accepts – or, with `direction=export`, their export tariffs (for get_prices and `export`), each saying which homes can have it.
| Parameter | Type | Description |
|---|---|---|
direction | string | `import` (default) or `export`. |
get_prices Prices
Half-hourly prices for a region from midnight today, up to five days (`days`) - Renewably's own format, and the one to use unless your software was built for Octopus's API (then /unit-rates). On Agile (the default), Agile Outgoing, FreePhase Dynamic and Shape Shifters: Agile, each is published by the supplier or estimated by Renewably (flagged `estimate`), with how good the estimate has been for each day ahead (`estimate_accuracy`); other tariffs show only their supplier's published prices. An export tariff's are what it pays for export (and take no panels). Cached to the next half hour (five…
| Parameter | Type | Description |
|---|---|---|
region * | string | 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`). |
days | integer | Days from today, 1-5 (default 2: today and tomorrow). |
export | string | 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… |
export_rate | number | A fixed export rate, p/kWh (0-100). |
solar_facing | string | 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 | number | The inverter's limit, kW (0.5-50), if smaller than the panels. |
solar_kwp | number | The home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section. |
solar_pitch | number | Their angle from flat, degrees (0-90, default 35). |
tariff | string | A tariff's key from list_tariffs (default `agile`) – an import tariff, or an export tariff from list_tariffs?direction=export (eg `agile-outgoing`), for what it pays. |
find_cheapest_window Cheapest window
The cheapest (or lowest-carbon) run of `duration_hours` starting from the next half hour and finishing by the next `finish_by` – when to set a washing machine or dishwasher's delay timer.
| Parameter | Type | Description |
|---|---|---|
region * | string | 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`). |
duration_hours | number | How long it runs, 0.5-12 in half hours (default 3.5). |
export | string | 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… |
export_rate | number | A fixed export rate, p/kWh (0-100). |
finish_by | string | Local time it must finish by, HH:MM (default 07:00) – the next one at least `duration_hours` away. |
kwh | number | Energy the run uses, kWh (0-20), for its cost – on the energy label, or kW times hours. Leave out for no cost. |
optimise | string | `cost` (default) or `carbon` (NESO's regional forecast, about two days ahead). |
solar_facing | string | 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 | number | The inverter's limit, kW (0.5-50), if smaller than the panels. |
solar_kwp | number | The home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section. |
solar_pitch | number | Their angle from flat, degrees (0-90, default 35). |
tariff | string | A tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`. |
plan_ev_charging EV charging plan
The cheapest or greenest half hours to charge an electric car by a ready-by time up to four days ahead.
| Parameter | Type | Description |
|---|---|---|
region * | string | 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`). |
battery | number | Usable battery, kWh (5-200, default 60). |
charger | number | Charging power, kW (1-22, default 7.4). |
day | string | Ready-by day: today, tomorrow, in2 or in3 (default: the next time `time` comes round, at least four hours away). |
efficiency | integer | Charging efficiency, % (60-100, default 90). |
export | string | 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… |
export_rate | number | A fixed export rate, p/kWh (0-100). |
mode | string | `timer` (one unbroken block, default) or `smart` (any half hours). |
mpk | number | Miles per kWh, for the per-mile figures (1.5-6, default 3.3). |
now | integer | Charge now, % (0-100, default 30). |
optimise | string | `cost` (default) or `carbon`. |
solar_facing | string | 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 | number | The inverter's limit, kW (0.5-50), if smaller than the panels. |
solar_kwp | number | The home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section. |
solar_pitch | number | Their angle from flat, degrees (0-90, default 35). |
target | integer | Target charge, % (0-100, default 80). |
tariff | string | A tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`. |
time | string | Ready-by local time, HH:MM (default 07:00). |
get_heat_pump_times Heat pump times
For a typical weekday and weekend day at this time of year (on a fixed-window or flat tariff, today's rates): the cheapest time to reheat hot water (and the cheapest ready by 07:00), and the cost of each kWh of heat by hour – price divided by a generic air-source heat pump's efficiency at that hour's typical temperature.
| Parameter | Type | Description |
|---|---|---|
region * | string | 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`). |
export | string | 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… |
export_rate | number | A fixed export rate, p/kWh (0-100). |
solar_facing | string | 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 | number | The inverter's limit, kW (0.5-50), if smaller than the panels. |
solar_kwp | number | The home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section. |
solar_pitch | number | Their angle from flat, degrees (0-90, default 35). |
tariff | string | A tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`. |
get_home_battery_times Home battery charge times
For 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.
| Parameter | Type | Description |
|---|---|---|
region * | string | 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`). |
battery | number | Usable battery, kWh (2-50, default 10). |
battery_export | string | 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 e… |
export | string | 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… |
export_rate | number | A fixed export rate, p/kWh (0-100). |
rate | number | Grid charge rate, kW (0.5-15, default 3). |
solar_facing | string | 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 | number | The inverter's limit, kW (0.5-50), if smaller than the panels. |
solar_kwp | number | The home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section. |
solar_pitch | number | Their angle from flat, degrees (0-90, default 35). |
tariff | string | A tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`. |
usage | number | The home's electricity use, kWh a year (500-30000, default 2500 – an average home). |
plan_home_battery Home battery plan
A home battery's plan from the half hour under way to the end of tomorrow, on the tariff's real prices (Agile's, and Agile Outgoing's, estimated beyond what Octopus has published), half hour by half hour: charge from the grid, hold, run the house (self-use), export, or send the sun to the grid – the cheapest way through, counting the battery's losses and wear. Exporting follows what the export tariff pays for – everything on Octopus's, only what the panels put in on the others – unless `battery_export=all` says the home is paid for what the battery charged from the grid too. A battery wi…
| Parameter | Type | Description |
|---|---|---|
region * | string | 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`). |
battery | number | Usable battery, kWh (2-50, default 10). |
battery_export | string | What the battery may export: `terms` (default) what the export terms pay for – on Octopus's export tariffs everything, on the others only what the panels put in; without panels everything, once `exp… |
ceiling | number | Never charged above this, per cent (10-100, default 100; above `reserve`) – for an inverter set to stop short of full. |
export | string | 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… |
export_limit | number | The home's export limit, kW (0-30, default 3.68: a G98 connection). |
export_rate | number | A fixed export rate, p/kWh (0-100). |
grid_charging | string | `1` (default) may charge from the grid; `0` only from the panels. |
rate | number | Charge and discharge rate, kW (0.5-15, default 3). |
reserve | number | Never below this, per cent (0-90, default 0). |
round_trip | number | Round-trip efficiency, per cent (60-100, default 90). |
soc | number | The battery's charge now, per cent (0-100). Default: at its reserve. |
solar_facing | string | 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 | number | The inverter's limit, kW (0.5-50), if smaller than the panels. |
solar_kwp | number | The home's solar panels, kWp (0.2-50): the answer then counts their forecast spare sun – see the docs' Solar panels section. |
solar_pitch | number | Their angle from flat, degrees (0-90, default 35). |
tariff | string | A tariff's key from list_tariffs (default `agile`), eg `go`, `edf-go-electric`, `eon-next-drive`. |
usage | number | The home's electricity use, kWh a year (500-30000, default 2500). |
wear | number | The battery's wear for each kWh it gives back, pence (0-20, default 2). |
plan_home Your home
A home's past year on every tariff in list_tariffs and at Ofgem's price cap – and what switching tariff, an electric car, a heat pump, solar panels or a battery would save, each added to everything before it (tariff, car, heating, solar, battery). Each of car, heating, solar and battery is something the home has (it explains the bill) or is considering. Totals are electricity, gas at the price cap and petrol or diesel – only what changes.
get_flexibility_events Flexibility events
When the grid operator, NESO, is asking homes in a region to use less electricity (often the evening peak) or more (often in Scotland, when there's more wind than the grid can carry south), through its Demand Flexibility Service: live events from now to the end of tomorrow, usually announced the same morning. Households can sometimes get paid for taking part – but only if they've signed up to a scheme with their energy supplier or another provider (eg Octopus's Saving Sessions), and that provider is taking part in the event; it tells them and says what it pays. These are NESO's requests to s…
| Parameter | Type | Description |
|---|---|---|
region * | string | 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`). |