home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.67k stars 30.42k forks source link

component pvpc_hourly_pricing not showing any data since December 1st #60969

Closed themaninspain closed 2 years ago

themaninspain commented 2 years ago

The problem

As of December 1st this component does not show any pricing data. The status of entity "sensor.pvpc" is unavailable

What version of Home Assistant Core has the issue?

core-2021.11.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

PVPC

Link to integration documentation on our website

https://www.home-assistant.io/integrations/pvpc_hourly_pricing

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.pvpc_hourly_pricing.sensor
Source: components/pvpc_hourly_pricing/sensor.py:136
Integration: Spain electricity hourly pricing (PVPC) (documentation, issues)
First occurred: 3 December 2021, 17:34:02 (1 occurrences)
Last logged: 3 December 2021, 17:34:02

sensor.pvpc: repeated bad data update, mark component as unavailable source

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

pvpc_hourly_pricing documentation pvpc_hourly_pricing source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @azogue, mind taking a look at this issue as it has been labeled with an integration (pvpc_hourly_pricing) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

azogue commented 2 years ago

Closing this one, as duplicated of #60556 🙈

Already fixed in #60795 (waiting for merge), so probably it will be included in 2021.12.0; but, if in a hurry, @themaninspain, check this 😜

alceasan commented 2 years ago

Still not working after 2021.12.1 update. I also deleted and created the integration again, but it's still crashing:

Logger: aiopvpc.pvpc_data
Source: /usr/local/lib/python3.9/site-packages/aiopvpc/pvpc_data.py:135
First occurred: 09:08:30 (9 occurrences)
Last logged: 09:16:17

Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '753', 'X-Iinfo': '10-37099184-0 0CNN RT(1639383088032 9) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '754', 'X-Iinfo': '12-53814000-0 0CNN RT(1639383128060 10) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '754', 'X-Iinfo': '13-60815037-0 0CNN RT(1639383317216 43) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '753', 'X-Iinfo': '11-45194843-0 0CNN RT(1639383337278 9) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '754', 'X-Iinfo': '13-60825317-0 2cNN RT(1639383377308 11) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
MrMarble commented 2 years ago

Still not working after 2021.12.1 update. I also deleted and created the integration again, but it's still crashing:

Logger: aiopvpc.pvpc_data
Source: /usr/local/lib/python3.9/site-packages/aiopvpc/pvpc_data.py:135
First occurred: 09:08:30 (9 occurrences)
Last logged: 09:16:17

Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '753', 'X-Iinfo': '10-37099184-0 0CNN RT(1639383088032 9) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '754', 'X-Iinfo': '12-53814000-0 0CNN RT(1639383128060 10) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '754', 'X-Iinfo': '13-60815037-0 0CNN RT(1639383317216 43) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '753', 'X-Iinfo': '11-45194843-0 0CNN RT(1639383337278 9) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>
Forbidden error with 'https://api.esios.ree.es/archives/70/download_json?locale=es&date=2021-12-13' -> Headers: <CIMultiDictProxy('Content-Type': 'text/html', 'Cache-Control': 'no-cache, no-store', 'Connection': 'close', 'Content-Length': '754', 'X-Iinfo': '13-60825317-0 2cNN RT(1639383377308 11) q(0 -1 -1 -1) r(0 -1) B15(11,1720275,0)', 'Strict-Transport-Security': 'max-age=31536000')>

The PR #60795 is still open, it didn't make it to the 2021.12.1 update