Skip to content

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.

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.
  • kWh per quarter-hour, PT15M, the only resolution.

Simultaneity across two connections:

type: simultaneity
sources:
- 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 }