Coder Social home page Coder Social logo

Aemet not working after 2024.5.2 about core HOT 20 CLOSED

djrm05 avatar djrm05 commented on June 6, 2024 8
Aemet not working after 2024.5.2

from core.

Comments (20)

Albruaje avatar Albruaje commented on June 6, 2024 9

Response from AEMET:

"Le informamos que ha habido una incidencia técnica que las personas de la unidad responsable están intentando solventar a la mayor brevedad que permiten sus recursos humanos y materiales. Lamentamos las molestias, agradecemos su aviso y su interés en nuestro servicio público."

"We inform you that there has been a technical incident that the people in the responsible unit are trying to resolve as soon as their human and material resources allow. We regret the inconvenience, we appreciate your notice and your interest in our public service."

from core.

alfredros avatar alfredros commented on June 6, 2024 5

Another there with same problem and log..
Cannot connect to host opendata.aemet.es:443 ssl:default
Key API is working with 200 ok tested from browser

from core.

ajavibp avatar ajavibp commented on June 6, 2024 5

The aemet open data web is down, I suppose that will be the source of the integration problems.
Would it be possible to add a cache so that the latest downloaded data remains visible? Lately this integration fails a lot and the dashboard with the empty integration looks very ugly. Furthermore, meteorological data does not usually change much, so it is better to have some old data than nothing.

from core.

Noltari avatar Noltari commented on June 6, 2024 2

Yes, the API is unstable right now and not fully recovered.
Let's wait for the AEMET staff to fix it, as I already reported here #116973 (comment)

from core.

lluisd avatar lluisd commented on June 6, 2024 2

Aemet is down but it's always a nightmare this integration because of Aemet api

from core.

Noltari avatar Noltari commented on June 6, 2024 2

@home-assistant close

from core.

Noltari avatar Noltari commented on June 6, 2024 1

The aemet open data web is down, I suppose that will be the source of the integration problems. Would it be possible to add a cache so that the latest downloaded data remains visible? Lately this integration fails a lot and the dashboard with the empty integration looks very ugly. Furthermore, meteorological data does not usually change much, so it is better to have some old data than nothing.

It would be possible to add some kind of caching to improve the user experience due to the unstability of the AEMET API.
However, I don't have time for doing this, so feel free to create a PR with that functionality on the integration library repo:
https://github.com/Noltari/AEMET-OpenData

from core.

Noltari avatar Noltari commented on June 6, 2024 1

As proved, the AEMET OpenData API was unstable and there was nothing that we could do on our side, so I'm closing this.

from core.

home-assistant avatar home-assistant commented on June 6, 2024

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

Code owner commands

Code owners of aemet can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign aemet Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


aemet documentation
aemet source
(message by IssueLinks)

from core.

Luis1988 avatar Luis1988 commented on June 6, 2024

Same problem here with the same log error

from core.

Albruaje avatar Albruaje commented on June 6, 2024

Same here

from core.

mcrodriguezb avatar mcrodriguezb commented on June 6, 2024

Testing from the browser, it works but it takes 1 minute to reply.

@alfredros Can you check your response time? please, open the inspect window and disable cache in the network tab (chrome).

image

from core.

alfredros avatar alfredros commented on June 6, 2024

Testing from the browser, it works but it takes 1 minute to reply.

@alfredros Can you check your response time? please, open the inspect window and disable cache in the network tab (chrome).

image

At the first try took a few seconds to display the response, around 45sec.

Query: https://opendata.aemet.es/opendata/api/observacion/convencional/todas?api_key=MYKEY

Let me paste a screenshot of the test:
image

it seems that the query takes about 1 minute to response... maybe the integration marked as timeout before it.
It's clear that AEMET has a problem to reply all queries quickly...

from core.

mabusdogma avatar mabusdogma commented on June 6, 2024

I've got this:

`Registrador: homeassistant.components.aemet.coordinator
Fuente: helpers/update_coordinator.py:347
integración: AEMET OpenData
Ocurrió por primera vez: 3 de mayo de 2024, 8:16:32 p. m. (19 ocurrencias)
Último inicio de sesión: 6 de mayo de 2024, 9:44:30 p. m.

Error fetching aemet data:
Error fetching aemet data: [Errno 104] Connection reset by peer`

from core.

raulcnadal avatar raulcnadal commented on June 6, 2024

AEMET API is clearly unstable right now.

If you curl to opendata.aemet.es you will see you may connect, then drop, and next 3/4 attempts will fail with connection reset.

We'll need to wait for them to address this on the backend side.

from core.

ajavibp avatar ajavibp commented on June 6, 2024

The aemet open data web is down, I suppose that will be the source of the integration problems. Would it be possible to add a cache so that the latest downloaded data remains visible? Lately this integration fails a lot and the dashboard with the empty integration looks very ugly. Furthermore, meteorological data does not usually change much, so it is better to have some old data than nothing.

It would be possible to add some kind of caching to improve the user experience due to the unstability of the AEMET API. However, I don't have time for doing this, so feel free to create a PR with that functionality on the integration library repo: https://github.com/Noltari/AEMET-OpenData

I wish I was capable, but I don't have the necessary knowledge. I was just trying to provide a useful idea.
Thank you so much

from core.

raulcnadal avatar raulcnadal commented on June 6, 2024

Well, if cosmetics is just what you want, you can always go to Developer Tools and set the last state manually to those sensors.

I've got Accuweather also configured so when AEMET fails, I can quickly switch to it until it's addressed, which at least provides real data, but the method I mentioned above is valid to at least get something on your dashboard.

from core.

alfredros avatar alfredros commented on June 6, 2024

Today is working for me, let's see for how long...

from core.

Albruaje avatar Albruaje commented on June 6, 2024

Also working for me, and I have prepared in Home Assistant a selector to choose between AEMET and AccuWeather, adapting all the automations and panels, so I can be covered if the AEMET API fails again.

from core.

Luis1988 avatar Luis1988 commented on June 6, 2024

It appears to be working but I have other error...

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.