Skip to content

EnergyID production

The energyid_production source provides the energy produced by a meter, from an EnergyID record.

Install: pip install "cofy-api[production,energyid]"

Fits: production, directive and timeseries.

Field What it is
api_key A secret holding an EnergyID API key with access to the record. Required.
record_id The EnergyID record. Required.
cache How to cache the data. Optional; give it a max_age.
  • Production in the unit EnergyID keeps it in, normally kWh.
  • Resolutions PT5M, PT15M, PT1H, P1D, P7D, P1M and P1Y. Without a resolution, you get 5 minutes.
  • Data is requested from EnergyID per day, so ask for whole days.
type: energyid_production
api_key: { type: secret, name: energyid_key }
record_id: your-record-id
cache: { max_age: PT15M }