-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
Open
Labels
Description
The problem
AEMET integration is failing with "Server disconnected" a few times. Entities are not available.
What version of Home Assistant Core has the issue?
core-2025.4.4
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
aemet
Link to integration documentation on our website
https://www.home-assistant.io/integrations/aemet/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
2025-05-01 10:02:43.045 DEBUG (MainThread) [aemet_opendata.interface] api_call: cmd=observacion/convencional/todas
2025-05-01 10:02:58.078 INFO (MainThread) [aemet_opendata.interface] Loading cmd=observacion/convencional/todas from "observacion-convencional-todas.json"...
2025-05-01 10:02:58.123 ERROR (MainThread) [aemet_opendata.interface]
2025-05-01 10:02:58.209 DEBUG (MainThread) [aemet_opendata.interface] distance: 9.125055829068419, station: {'idema': '3195', 'lon': -3.678095, 'fint': '2025-04-29T22:00:00+0000', 'prec': 0.0, 'alt': 667.0, 'vmax': 6.3, 'vv': 2.0, 'dv': 260.0, 'lat': 40.411804, 'dmax': 214.0, 'ubi': 'MADRID RETIRO', 'pres': 938.2, 'hr': 60.0, 'pres_nmar': 1014.3, 'tamin': 15.6, 'ta': 15.6, 'tamax': 16.6, 'tpr': 7.8, 'rviento': 99.0}
2025-05-01 10:02:58.212 DEBUG (MainThread) [aemet_opendata.interface] api_call: cmd=maestro/municipios
2025-05-01 10:02:58.268 INFO (MainThread) [aemet_opendata.interface] Loading cmd=maestro/municipios from "maestro-municipios.json"...
2025-05-01 10:02:58.291 ERROR (MainThread) [aemet_opendata.interface] Server disconnected
2025-05-01 10:02:58.366 DEBUG (MainThread) [aemet_opendata.interface] distance: 2.6325420621317037, town: {'latitud': '40º19\'54.277752"', 'id_old': '28370', 'url': 'leganes-id28074', 'latitud_dec': '40.33174382', 'altitud': '667', 'capital': 'Leganés', 'num_hab': '186696', 'zona_comarcal': '722802', 'destacada': '1', 'nombre': 'Leganés', 'longitud_dec': '-3.76655557', 'id': 'id28074', 'longitud': '-3º45\'59.600052"'}
2025-05-01 10:02:58.368 DEBUG (MainThread) [aemet_opendata.interface] api_call: cmd=prediccion/especifica/municipio/diaria/28074
2025-05-01 10:02:58.369 DEBUG (MainThread) [aemet_opendata.interface] api_call: cmd=prediccion/especifica/municipio/horaria/28074
2025-05-01 10:02:58.369 DEBUG (MainThread) [aemet_opendata.interface] api_call: cmd=observacion/convencional/datos/estacion/3195
2025-05-01 10:02:58.419 INFO (MainThread) [aemet_opendata.interface] Loading cmd=prediccion/especifica/municipio/diaria/28074 from "prediccion-especifica-municipio-diaria-28074.json"...
2025-05-01 10:02:58.420 ERROR (MainThread) [aemet_opendata.interface] Server disconnected
2025-05-01 10:02:58.421 INFO (MainThread) [aemet_opendata.interface] Loading cmd=observacion/convencional/datos/estacion/3195 from "observacion-convencional-datos-estacion-3195.json"...
2025-05-01 10:02:58.421 DEBUG (MainThread) [homeassistant.components.aemet.coordinator] Finished fetching aemet data in 0.053 seconds (success: False)
2025-05-01 10:02:58.422 INFO (MainThread) [aemet_opendata.interface] Loading cmd=prediccion/especifica/municipio/horaria/28074 from "prediccion-especifica-municipio-horaria-28074.json"...
2025-05-01 10:02:58.423 ERROR (MainThread) [aemet_opendata.interface] Server disconnected
2025-05-01 10:02:58.424 DEBUG (MainThread) [aemet_opendata.town] HourlyForecastValue 2025-05-02 00:00:00+02:00 20:00
2025-05-01 10:02:58.424 DEBUG (MainThread) [aemet_opendata.town] HourlyForecastValue 2025-05-02 00:00:00+02:00 21:00
2025-05-01 10:02:58.424 DEBUG (MainThread) [aemet_opendata.town] HourlyForecastValue 2025-05-02 00:00:00+02:00 22:00
2025-05-01 10:02:58.424 DEBUG (MainThread) [aemet_opendata.town] HourlyForecastValue 2025-05-02 00:00:00+02:00 23:00
Additional information
No response
jlaarias, Foguet, JokeRsevilla, luca-angemi and Linx-ESP