Giter VIP home page Giter VIP logo

Comments (9)

bremor avatar bremor commented on May 29, 2024

Anything interesting in your logs? What is your geohash? Does it resolve after a reboot?

from bureau_of_meteorology.

leogaggl avatar leogaggl commented on May 29, 2024

Nothing in the logs at all. Tried to reboot and still the same.

However, it has resolved itself just now (about 6 hours later). Unsure as to how I could find the cause.

Will resolve the issue. Any pointers for future debugging are appreciated.

from bureau_of_meteorology.

bremor avatar bremor commented on May 29, 2024

If it breaks again, try browsing to these URLS to see if they work, but put your own geohash code in the URL. You can get your geohash code if you enable debug level logging for this component.
https://api.weather.bom.gov.au/v1/locations/r1f3pw/observations
https://api.weather.bom.gov.au/v1/locations/r1f3pw/forecasts/daily

Put this on your config to enable debugging.

logger:
  default: warn
  logs:
    custom_components.bureau_of_meteorology: debug

from bureau_of_meteorology.

leogaggl avatar leogaggl commented on May 29, 2024

Thanks for the info. Much appreciated. Will check this next time it happens.

Thanks for the great work on the integration. It's highly useful!

from bureau_of_meteorology.

leogaggl avatar leogaggl commented on May 29, 2024

The same issue has been occurring for last days and I managed to locate the root cause of the issue.

When I use my geohash from the debug logs the "forecasts" endpoint actually returns the NULL values.

https://api.weather.bom.gov.au/v1/locations/r1f88p/forecasts/daily

Question is now how to change the setup as it doesn't seem to be exposed with an edit function anywhere in the UI.

from bureau_of_meteorology.

leogaggl avatar leogaggl commented on May 29, 2024

#56 This seems to be related.

from bureau_of_meteorology.

AWoodley avatar AWoodley commented on May 29, 2024

@leogaggl I'm not sure #56 is related - in that issue the remainder of the forecast is present, and only the short_text is null. I have verified this is the case in the json provided by the BoM API.

from bureau_of_meteorology.

bremor avatar bremor commented on May 29, 2024

@leogaggl When I have looked at your location URL, it seems fine. When it's not working for you can you please copy/paste the contents of the URL?

from bureau_of_meteorology.

bremor avatar bremor commented on May 29, 2024

@leogaggl
I'm closing this one for now, please comment/reopen if required.

from bureau_of_meteorology.

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.