Giter Club home page Giter Club logo

Comments (12)

adrianmo avatar adrianmo commented on August 16, 2024 3

@julioalvp thanks for the heads up! Wow, I wasn't aware such a big change.

I'm happy to see that they are now providing an official API with more structured data and we don't have to scrap it from an RSS feed, but they could've given us some time to migrate to the new API. Due to this sudden and breaking change by the Meteoclimatic platform, I'm afraid the integration will not work until we make the necessary changes to the integration and the underlying pymeteoclimatic library to use the API.

I'll have a look at the new API and start working on the updates as soon as I can.

from core.

deathwing696 avatar deathwing696 commented on August 16, 2024 1

Same here, it constantly returns error 403: "Error while retrieving data: Error fetching station data [status_code=403]".
It seems that the API has changed to "Alba" and I don't know if the weather station codes have also changed.

from core.

ribera96 avatar ribera96 commented on August 16, 2024 1

I can't get the data from the weather station either.
From what I've read, with the new API at the moment, calls can only be made if you are the owner of the station. Although, they are still finishing implementing and documenting the new version.

from core.

Bernhelm avatar Bernhelm commented on August 16, 2024 1

There is some info in https://www.meteoclimatic.com/es/doc/api

looks like new API requieres an apiKey parameter, but I'm unable to create an account

There is more info in their forum: https://forum.meteoclimatic.net/

And there is a python example here: https://github.com/jantoni/meteoclimatic/blob/main/api-meteoclimatic.py

from core.

home-assistant avatar home-assistant commented on August 16, 2024

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

Code owner commands

Code owners of meteoclimatic 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 meteoclimatic 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)


meteoclimatic documentation
meteoclimatic source
(message by IssueLinks)

from core.

adrianmo avatar adrianmo commented on August 16, 2024

Has somebody managed to make a successful API call?

Based on the endpoints available in the API docs, it looks like station/currentData is the one we are interested in. However, I can't see any instructions on the parameters, payload, etc. in the endpoint docs nor do I know how to get an API key.

Any ideas?

from core.

adrianmo avatar adrianmo commented on August 16, 2024

Thanks for the links @Bernhelm - specially for the Python sample. That'll be useful once we are able to obtain an API key. So far I haven't even managed to create an account. I checked the forum and there seems to be a lot of confusion in this area... Let's see if we can figure it out.

from core.

julioalvp avatar julioalvp commented on August 16, 2024

from core.

joseaguardia avatar joseaguardia commented on August 16, 2024

Hi!

I think they have released the API without having it finished. For example, the domain listed in the official documentation for API queries does not exist

image

image

from core.

julioalvp avatar julioalvp commented on August 16, 2024

hello,
The integration works again!!! I've been looking on the Meteoclimatic forum and they take a step back and go back to the old API. https://forum.meteoclimatic.net/index.php/topic,5219.0.html
I think that the haste and the problems they were having made them make that decision.
The person responsible for the integration can close the incident. Greetings to all those who have been thinking about this topic.

from core.

adrianmo avatar adrianmo commented on August 16, 2024

It's good to hear that they restored the old RSS feed. I also hope they don't give up and come back again with Alba and the new APIs as soon as they resolve all the issues because I think that was a step forward for Meteoclimatic. I'll keep an eye on it in case we can get preview access to the new APIs and stay ahead of the next change to avoid another service disruption in the integration.

from core.

adrianmo avatar adrianmo commented on August 16, 2024

Thanks everyone that helped investigate and provide clarity! 💯

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.