jacek2511 / ha_rce

Rynkowa cena energii elektrycznej (RCE)
MIT License
17 stars 5 forks source link

New RCE API #2

Closed robertugo2 closed 5 months ago

robertugo2 commented 5 months ago

Unfortunately PSE changed, how prices can be obtained from CSV to RESTful API, that is available here https://api.raporty.pse.pl/

To get actual prices in JSON format we can query following URL https://api.raporty.pse.pl/api/rce-pln?$filter=doba%20eq%20'2024-06-14'

But it is needed to check, if correct data is queried :)

If you want I can help you somehow, but unfortunately I have no experience in HA integration development.

And thank you for your work! I have been using that and everything was running fine until today.

jacek2511 commented 5 months ago

I made changes adapting the integration to the new PSE API 😄

robertugo2 commented 5 months ago

You are great! Thank you!