mampfes / ha_epex_spot

Adds EPEX Spot data to Home Assistant.
MIT License
116 stars 20 forks source link

EPEX Spot Web Scraper (AT) not working #139

Closed AkshayRao27 closed 1 week ago

AkshayRao27 commented 1 week ago

The EPEX Spot Web Scraper (v2.3.7) doesn't seem to be working since today. The specific error is:

Failed setup, will retry: 403, message='Forbidden', url=URL('https://www.epexspot.com/en/market-data?market_area=AT&trading_date=2024-06-28&delivery_date=2024-06-29&auction=MRC&modality=Auction&sub_modality=DayAhead&product=60&data_mode=table&ajax_form=1')

image

Edit: Seems to be the same as #138

mathieudz commented 1 week ago

Same here (be)

kverbeke commented 1 week ago

Exactly the same here. Scraping BE-data. I think the problem started yesterday after restarting HASS.

bjruberg commented 1 week ago

Same here for DE

ullibak commented 1 week ago

Same here for CH. URL in the error message is: https://www.epexspot.com/en/market-data?market_area=CH&trading_date=2024-06-29&delivery_date=2024-06-30&auction=CH&modality=Auction&sub_modality=DayAhead&product=60&data_mode=table&ajax_form=1

networkerict commented 1 week ago

Same here for NL.

WimGo commented 1 week ago

I have the same error, for BE. If you look at the URL, you see the date of yesterday. I could assume that the data of yesterday are not available anymore, and the error could come from there. But why does the code requests yesterday's data? Should be today's data in the request, no?

AkshayRao27 commented 1 week ago

Opening that URL in the browser doesn't work even when the dates are correct. It only works once &ajax_form=1 is removed from the URL.

WimGo commented 1 week ago

I have the same error, for BE. If you look at the URL, you see the date of yesterday. I could assume that the data of yesterday are not available anymore, and the error could come from there. But why does the code requests yesterday's data? Should be today's data in the request, no?

The solution in https://github.com/mampfes/ha_epex_spot/issues/138 , same issue, worked for me.

mampfes commented 1 week ago

Release 2.3.8: https://github.com/mampfes/ha_epex_spot/releases/tag/2.3.8