Free electricity price and CO2 forecast API for Home Assistant automations

Hi everyone,

I built a free public API for Home Assistant automations that provides forecasted electricity prices and CO2 values for several European markets.

The idea is simple:

  • use it for dynamic tariff automations
  • shift EV charging or appliances into cheaper hours
  • or prefer lower-CO2 hours instead of only lower-price hours

No custom integration is required at the moment. It works with the public endpoints plus standard REST/template sensors in Home Assistant.

Setup guide and more detailed Information:

Currently supported:
DE, NL, BE, DK1, DK2, FR, AT, CZ
soon NO1-5
later the rest of europe

A typical use case would be:

  • charge when the forecasted price is low
  • or charge only when price is acceptable and CO2 is below a chosen threshold

A few notes:

  • these are forecasted market values
  • household-specific grid fees, taxes, and supplier add-ons are not always included automatically
  • for many automations, the relative curve is more important than the exact final household price

Feedback is welcome.