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.
Settings
Section titled “Settings”| 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. |
What you get
Section titled “What you get”- Production in the unit EnergyID keeps it in, normally kWh.
- Resolutions
PT5M,PT15M,PT1H,P1D,P7D,P1MandP1Y. Without aresolution, you get 5 minutes. - Data is requested from EnergyID per day, so ask for whole days.
Example
Section titled “Example”type: energyid_productionapi_key: { type: secret, name: energyid_key }record_id: your-record-idcache: { max_age: PT15M }