azogue / aiopvpc

Simple aio library to download Spanish electricity hourly prices (PVPC) from esios.ree.es
MIT License
41 stars 10 forks source link

Sensor unavailable desde 02/11 (con actualización) #31

Closed paniagualopez closed 2 years ago

paniagualopez commented 2 years ago

Buenas!!

Necesito un cable, porque continuo teniendo problemas con la integración.

Tengo actualizado el core a la versión core-2021.11.1core-2021.11.2 He descargado el custom component pvpc_hourly_pricing.zip He desinstalado e instalado varias veces la integración He revertido la versión del core-2021.11.1 a la anterior core-2021.10.7 y vuelto a reinstalar

Y sigue sin funcionar. Este es el log de mi último arranque.

2021-11-09 08:27:50 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration pvpc_hourly_pricing which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2021-11-09 08:31:07 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform pvpc_hourly_pricing is taking over 10 seconds. 2021-11-09 08:31:51 ERROR (MainThread) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2020-11-09 08:31:08.063687 to 2021-11-09 23:59:59.000059 in 43.12 sec 2021-11-09 08:32:10 WARNING (MainThread) [custom_components.pvpc_hourly_pricing.sensor] sensor.pvpc: repeated bad data update, mark component as unavailable source 2021-11-09 08:32:34 ERROR (MainThread) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2020-11-09 08:32:07.855658 to 2021-11-09 23:59:59.000059 in 26.84 sec 2021-11-09 08:32:55 ERROR (MainThread) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 8.45 sec 2021-11-09 08:33:22 ERROR (MainThread) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 7.63 sec 2021-11-09 08:33:42 ERROR (SyncWorker_14) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2021-03-28 01:00:00 to 2021-03-28 03:00:00 in 3.13 sec 2021-11-09 08:33:48 ERROR (SyncWorker_14) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2021-11-02 11:00:00 to 2021-11-09 08:32:34.885720 in 5.02 sec 2021-11-09 08:33:51 ERROR (MainThread) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 7.28 sec 2021-11-09 08:34:20 ERROR (MainThread) [aiopvpc.pvpc_data] BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 6.05 sec

Saludos!

ldsmovil commented 2 years ago

Actualizado a la 11.2 y ver que no iba ni recargando (ni uso el custom) , he eliminado la integración, he reiniciado el Core, y una vez reiniciado he tenido que volver a instalarla para que lea los valores. Me daba error similar a ti.

paniagualopez commented 2 years ago

Nada, igual, unavailable:

Esta ha sido mi última intentona

Igual...

Logger: aiopvpc.pvpc_data Source: /usr/local/lib/python3.9/site-packages/aiopvpc/pvpc_data.py:416 First occurred: 16:50:14 (10 occurrences) Last logged: 16:53:40

BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 8.37 sec BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 4.95 sec BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 1.65 sec BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 4.59 sec BAD Download of PVPC prices from 2021-10-01 00:00:00 to 2021-11-09 23:59:59.000059 in 2.17 sec

paniagualopez commented 2 years ago

.....y sin hacer absolutamente nada más, volvió a funcionar.

paniagualopez commented 2 years ago

Cierro