azogue / ha-pvpc-custom

HomeAssistant custom integration for Spain electricity hourly pricing (PVPC)
MIT License
21 stars 2 forks source link

Integration doesn't charge. #5

Closed Agimgrue closed 1 year ago

Agimgrue commented 1 year ago

Since today integration doesn't charge.

Logger: homeassistant.config_entries Source: config_entries.py:1247 First occurred: 12:20:05 (3 occurrences) Last logged: 13:59:34

Config entry 'PVPC' for pvpc_hourly_pricing integration not ready yet; Retrying in background

Agimgrue commented 1 year ago

Logger: aiopvpc.pvpc_data Source: runner.py:179 First occurred: 17:48:48 (12 occurrences) Last logged: 18:00:17

[INJECTION] Timeout error requesting data from 'https://api.esios.ree.es/indicators/1739?start_date=2023-05-28T00:00&end_date=2023-05-28T23:59' [PVPC] Timeout error requesting data from 'https://api.esios.ree.es/indicators/1001?start_date=2023-05-28T00:00&end_date=2023-05-28T23:59' [MAG] Timeout error requesting data from 'https://api.esios.ree.es/indicators/1900?start_date=2023-05-28T00:00&end_date=2023-05-28T23:59' [OMIE] Timeout error requesting data from 'https://api.esios.ree.es/indicators/10211?start_date=2023-05-28T00:00&end_date=2023-05-28T23:59'

azogue commented 1 year ago

Hi @Agimgrue

There is a 🐛 bug in the current implementation 😓: when any of the price sensors fails (because there is no data available that day 🙈), all sensors become unavailable 🤬

Until it's fixed, there are just 2 options:

(Today there is no data for 'OMIE price' 🤷‍♂️)

Agimgrue commented 1 year ago

Hi, thanks! Disabling only OMIE price works for me. Integration working again!