Giter Club home page Giter Club logo

Comments (5)

MoonshineSG avatar MoonshineSG commented on August 21, 2024 1

Seams like a lot of timeouts and unavailable APi.... not sure who's fault is it.. but leave this open in case someone is fixing anything..

from nea_sg_weather.

MoonshineSG avatar MoonshineSG commented on August 21, 2024

timeout on https://www.nea.gov.sg/api/WeatherForecast/forecast24hrnowcast2hrs/1647311672 request

from nea_sg_weather.

MoonshineSG avatar MoonshineSG commented on August 21, 2024

seams like the issue was with the api, and it has been restored.

from nea_sg_weather.

coffeepotatochips avatar coffeepotatochips commented on August 21, 2024

Is this related to the issue where weather forecast does not change unless HA is reset (which causes it to refresh the sensor value)?

from nea_sg_weather.

liangleslie avatar liangleslie commented on August 21, 2024

KeyError happens when the API call returns data that is incomplete and Python is unable to parse the response to extract the values needed to update the sensor. It really shouldn't happen and even if it does, it would be a server side error that I won't be able to fix.

I haven't seen any such errors recently on my end, so I will close this issue.

As for the weather forecast (separate issue from this), I noticed a bug in the code and just released an update to fix it hopefully. Please try v1.3.1 and see if it works

from nea_sg_weather.

Related Issues (19)

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.