Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Austrian API check? #9

Open
MarfelAlex opened this issue May 11, 2023 · 7 comments
Open

Austrian API check? #9

MarfelAlex opened this issue May 11, 2023 · 7 comments

Comments

@MarfelAlex
Copy link

Hi.

First of all, thanks for the amazing work.
Looks promizing.

Unfortenately I'm not able to pull any data for the austrian Region out of the API.

I tried this request here, which provides no data. Other Countrycodes like CH or SE2 seems to work fine.
Did they change the region codes for any reason?
Couldn't find any indication on their site.

https://spot.56k.guru/api/v2/hass?currency=EUR&area=AT&extra=0&factor=1&decimals=1

Regards.

@Hexagon
Copy link
Owner

Hexagon commented May 11, 2023

Interesting! I notice that i show 15-minute interval prices on https://spot.56k.guru/at/AT while the api is pinpointed at 1 hour prices. Might be that i only fetch the 15m-prices to begin with. Will have to dig deeper into this. Are you interested in 15m or 1h prices?

@MarfelAlex
Copy link
Author

MarfelAlex commented May 11, 2023

Hi.

That would be no big deal if it shows 15 minutes or on hour prices for me, but the way the hass API on your site currently works i'm not able to request the 15 minutes intervall manually right? :)

@Hexagon
Copy link
Owner

Hexagon commented May 11, 2023

Great! You should be able to get 15m prices by appending &interval=PT15M, but it doesn't seem to work properly yet :)

@Hexagon
Copy link
Owner

Hexagon commented May 12, 2023

@MarfelAlex
Copy link
Author

This one seeems to provide readable data on the card in home assistant now:

https://spot.56k.guru/api/v2/hass?currency=EUR&area=AT&extra=0&factor=1&decimals=3&interval=PT15M

This is great, thanks.

Altough I seem to only get some values for the current state.
What would i need to do, in order to get the forecast for tomorrow?
Do i have to create history stat sensors for this?
On my recorder the stats would get wiped every 24 hours, maybe that's an issue.

@Hexagon
Copy link
Owner

Hexagon commented Aug 29, 2023

Did you get this to work? Prices for tomorrow should be added as soon as it is available from ENTSO-e, which is about 13:15 CEST

@cnu80
Copy link

cnu80 commented May 28, 2024

thanks, for the 15min hint. Is it also possible to get the cent instead of eur price ? Or should I only set the factor ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants