WeatherAPI com weather service

Weather data by WeatherAPI.com

weatherapi been around a few years now, but it's not been on my radar (and not mentioned elsewhere in the node-RED forum), so I thought I'd give it a try, as most of the other weather api's are no longer available (for free).

On the free tier, weatherapi allows;

  • A generous 1,000,000 api calls per month
  • Realtime, 3 day city and town weather. Daily and Hourly
  • Last 7 days history
  • Air quality data
  • Weather alerts
  • https api
  • plus lots more...

There isn't a contrib node for weatherapi, but their api is really easy to use, and the api format is prepared for you in their website, just copy & paste it into a http response node, (set the response node to return a 'parsed json object'), and you can retrieve as much, or as little data as you want.
image
On the free tier, service uptime is listed as 95.5%, but I've had 100% for the past week retrieving data every 15 minutes, and the quality of the data has been excellent, and representative of my local sensor data (UK).

Their git account is weatherapicom (weatherapi.com) · GitHub (MIT licensed :grinning:)

PS - Sorry, this reads like a sales pitch, but it's not, I'm not connected with weatherapi, or an affiliate. I'm just sharing in case it helps others...

5 Likes

Paul, the http request node can return a parsed JSON object.

2 Likes

Yes, of course I knew that. It was a test to see who was paying attention :flushed: :flushed: :flushed:

Will update :+1:

3 Likes

I know because I always forget!

2 Likes

Nice find. If I can pause the obsession that is uibuilder development at some point, I'll give it a go and maybe update the comparison table I did a while back.

1 Like

The problem I've always found with these third party weather providers is their accuracy. It wasn't immediately obvious to me where they source their data from.

1 Like

Thanks Paul for doing this for the community - will give it a go and see how accurate it is compared to the Australian BOM in Sydney

Craig

1 Like

Even my official British Met Office forecast can't get it right for tomorrow so I don't think it's a data issue :slight_smile:

F1 teams with millions to spend can't accurately predict if it's going to rain later on in a 2 hour race :slight_smile:

We are not there yet when it comes to weather prediction :slight_smile:

If you look up the old table I did, you'll see that some forecasts only use data from places like Airports. If that is the case, for somewhere like Sheffield that has lots of micro-climates, they are generally worthless. Data from 30 miles away is no use. Others use additional data sources and have machine learning to identify smaller cells for forecasts.

Not to say those are more accurate. Though generally they are if they use decent weather models.

I live about a mile from Doncaster airport, which probably explains why the 'current conditions' data is accurate.

2 Likes

Hello Everyone,

I am from WeatherAPI.com support team and if there is anything I could assist you with in regards to WeatherAPI.com API and weather then please do let me know.

Thank you.

4 Likes

Welcome to the forum!

1 Like

Hi Sana, thanks for joining us in the forum :+1:

1 Like