Skip to content

Production

The production module serves energy produced, in kWh, as a time series: what a community’s wind turbine or solar panels produced.

Install: pip install "cofy-api[production]", plus the extra of the source you use.

Field What it is
source Where the production comes from. Required.
formats json and csv, the defaults.

And the settings every module has.

Source Production
energyid_production The production of a meter, from EnergyID
demo_production Generated solar production, to try things out

A forecast of production, such as Elia’s or NED’s, is served by the timeseries module instead.

GET /production/{name}/v1, with the usual time series parameters. Without a resolution, you get the source’s finest one: for EnergyID, steps of 5 minutes.

type: production
name: wind
source:
type: energyid_production
api_key: { type: secret, name: energyid_key }
record_id: your-record-id