Nordpool (ha integration) with 15min data. apexcharts and more. Updated

sounds weird.
i did some small updates to the graph scripts today but mostly just some titles that where wrong. and a update to the template script some days ago where tomorrow gets data at minutes: 10 (i saw that pulling data to two templates at once from nordpool was giving some errors so did a little bit of delay for the tomorrows data and that seem to work)

the nordpool integration usually takes in new data within an hour after release. and tomorrows data template updates every hour. so might take up to two hours after nordpool releases new prices. you can change the update interval for tomorrows template.

also. the apex chart sometimes missbehaves and you need to reload the page to see tomorrows data. also try in another browser. if that doesn’t work. check logs if something misbehaves regarding the template. also check the state of tomorrows data under envelopment tools. to see if there is data from the template or if it gets stuck before that somehow

1 Like

also update your ha to latest core. some nordpool bugs are fixed in that

1 Like

Well, started over and redid the apex chart…
Now it seems to be working.

Is it possible to have the chart on auto scale?
~12 set and the price is low i tgives a lot of overhead and empty space…

And THANK YOU for the support and time you put into this!

regards
// Hans

Spoke to early… It work perfectly in web browser on pc.
And in HA app on android… BUT only in portrait view… Horizontal it’s just the date line and the header values that are visible.

Any ideas?

//Hans

its the reactive part that you might want to look into. its a bit buggy in apexchart and i’ve only adjusted it to my usercase. since it’s dependent on screen resolution you might want to do another graph for small devices

the reactive part? never heard about it.
Any pointers?

Edit: problem solved… didn’t really know how but changed PX values in the begining of the chart code… :slight_smile:

Again, thank you for the support and your work!

//Hans

Thank You guys! Now I get it :+1: The “key” was remove/uninstall the nordpool from HASC. Then install that Nordpool from the “devices”.

I have no Area. You have Sweden 1,2,3 and 4. I live in The Netherlands what do i need to put after area:

have you tried with NL as country and area?. since you already configure that in the nordpool integration. the data should be from the right place and in the template i just tried to mimic the hacs version data output. its not used by the graph so should be fine with whatever you put there.

Heya, I’m a bit lost. I just tried the new official Nordpool integration after using the HACS version for years. Now I’m left with seven sensors, but no daily prices or tomorrow’s prices. I understand that the new integration requires creating extra sensors via templates, but the documentation only shows an example for tomorrow’s prices. How do I create a sensor that shows today’s prices?
And I guess I now need to add VAT also via a template sensor?

@MrGlad8
have you read this thread with the examples? you get today and tomorrow. helpers for vat and such.

Should I just copy your code from the #5 post? Didnt get it tot work, will try again!