Updated API on Energidataservices.dk

Energinet is changing their API on September 1st 2022

New rest interface, that has same output as old is here:

  - platform: rest
    name: "Elpriser_DK1a"
    scan_interval: 600
    resource: https://api.energidataservice.dk/dataset/elspotprices?limit=120&filter{%22PriceArea%22:%22DK1%22}&sort=HourDK%20desc
    value_template: 'OK'
    unit_of_measurement: "DKK"
      - records

To be used with ApexCharts card

Could you show how to set it up with an ApexCharts card?

1 Like

If you rather would like the HACS approach, then it’s already there. MTrab/energidataservice: Fetches spot prices from Energi Data Service (github.com)

And in the wiki is an example for Apex Charts.


cant see “Energidataaservice” in Home Assistant > Settings > Integrations even after restart and CTRL+F5?

The plugin is installed using HACS

1 Like

If it’s installed correctly, you should see something along this:image