EvO connection forecast
The acc_forecast source provides the forecast net volume of one connection, from Energie van Ons (EvO): kWh per quarter-hour, positive for what the connection takes from the grid and negative for what it puts on it.
Install: pip install "cofy-api[acc]"
Fits: the simultaneity source, directive and timeseries.
Settings
Section titled “Settings”| Field | What it is |
|---|---|
ean |
The connection’s 18-digit EAN. Required. |
credentials |
A secret holding the service account key, in JSON, that EvO provided. Put the JSON on a single line. Required. |
cache |
How to cache the forecast. Optional; give it a max_age. |
What you get
Section titled “What you get”- kWh per quarter-hour,
PT15M, the only resolution.
Example
Section titled “Example”Simultaneity across two connections:
type: simultaneitysources: - type: acc_forecast ean: "541234567890123456" credentials: { type: secret, name: evo_credentials } cache: { max_age: PT15M } - type: acc_forecast ean: "541234567890123457" credentials: { type: secret, name: evo_credentials } cache: { max_age: PT15M }