# Current best weather API (2023)?

**URL:** <https://discourse.nodered.org/t/current-best-weather-api-2023/82310>\
**Category:** General\
**Created:** [24 October 2023 16:54 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310 "2023-10-24T16:54:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [24 October 2023 16:54 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/1 "2023-10-24T16:54:18Z")

</div>

I know this subject comes up quite often, but it's a moving target 😉

I'm about to revamp my weather flows and thought I would see if there is any consensus around the best UK API to use.  
I have been using OWM but I find the icons a bit odd, in that they don't seem to match the descriptions very well, and don't even cover some conditions like hail etc.

Any thoughts appreciated.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 October 2023 17:04 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/2 "2023-10-24T17:04:59Z")

</div>

The ones I know are still working are:

- Met Office - generally the most accurate general area forecast
- Storm Glass - Has some interesting data
- Norway MET - Highly regarded
- [open-meteo.com](http://open-meteo.com) - Up to 16 days forecast Fair use policy. Maximum 10,000 calls/day No API key required
- OWM - OpenWeatherMap's OneCall API [One Call API 3.0 - OpenWeatherMap](https://openweathermap.org/api/one-call-3) - free tier gives 1000 calls per day. Has air quality and reverse geocode lookups. May be better for micro-climate forecasts?
- Meteostat - Not sure about this one, a simple query for "sheffield" returns the entry for Sheffield in Australia!

What I would say is that if you aren't already, you should probably think about splitting the data fetch from the display via MQTT or some such. That way you can standardise your outputs even if you have to swap your inputs. You can also combine the best from different services.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [24 October 2023 17:30 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/3 "2023-10-24T17:30:49Z")

</div>

For current conditions I recommend using METAR data for your nearest airport. They are strongly motivated to have accurate data, though it has less precision than some of the forecast APIs (eg pressure to the nearest hPa not 0.1 hPa).  
If you happen to line near a US air base you have to allow for values in degrees Fahrenheit, inches of mercury and probably quarts of water vapour per cubic football pitch. 🙃

I'm finding it hard to work out which of the long array of values from the met office API represents current values

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 October 2023 18:21 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/4 "2023-10-24T18:21:49Z")

</div>

Yes, those are great if you happen to live somewhere that has matching weather to the airport. 😀

No use at all when your nearest airport is 30 miles away and the weather can be totally different 1/2 mile from your house as it is here in Sheffield. ☹

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [24 October 2023 19:15 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/5 "2023-10-24T19:15:38Z")

</div>

> [@TotallyInformation](#):
>
> No use at all when your nearest airport is 30 miles away and the weather can be totally different 1/2 mile from your house as it is here in Sheffield.

Simple: East Midlands, Leeds Bradford, Manchester. calculate a weighted average according to their distance. Apply a current weather stability correction, tweek for prevailing wind direction and add-in a random "Because it's Sheffield" factor.

"What's the weather like?"  
"Grim" 😁

I do know all those hills result in very local weather but it ought to be possible at least to estimate the local variability - more likely if humidity is higher or pressure is lower etc.  
A project to serve the local community, which the Met Office are not providing maybe.

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [24 October 2023 19:24 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/6 "2023-10-24T19:24:48Z")

</div>

Just install a burrometer and learn to read it 🐐

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [24 October 2023 19:31 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/7 "2023-10-24T19:31:59Z")

</div>

> [@hotNipi](#):
>
> install a burrometer

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/7/2783d2af9ccf336f934525b32ab8e6ef5ead8a5d.jpeg)  
This burro forecasts rain.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/a/da530f188bf1834e64ea1476d1e66c44bf2e34de.jpeg)  
Dry & sunny

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [24 October 2023 19:37 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/8 "2023-10-24T19:37:46Z")

</div>

> [@jbudd](#):
>
> add-in a random "Because it's Sheffield" factor.
> 
> "What's the weather like?"  
> "Grim" 😁

Cheers for the chuckle.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [24 October 2023 20:07 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/9 "2023-10-24T20:07:11Z")

</div>

> [@hotNipi](#):
>
> Just install a burrometer and learn to read it

Actually, I mostly just look out of the window!!!! 🤣

I generally only use forecasts for when I'm going to be going somewhere, or for seeing if it is worth going cycling or into the garden. The Met Office app does everything I need so I no longer bother with my Node-RED flows unless someone asks a crazy question like this one! 😀

> [@jbudd](#):
>
> I do know all those hills result in very local weather but it ought to be possible at least to estimate the local variability - more likely if humidity is higher or pressure is lower etc.

The problem is that we are on the edge of the Pennines. So it can be raining/snowing a few hundred meters away and we are in bright sunshine - or the reverse. One one side of the house (which is about 300m up) are the Pennines and on the other is the drop onto the plain that stretches to the North Sea. And Sheffield is basically a bunch of big hills that cause the wind to circulate very oddly.

Weather conditions can be hyper-local.

> [@jbudd](#):
>
> A project to serve the local community, which the Met Office are not providing maybe.

Well, there are services that do hyper-local forecasts. I think OWM?

But, as I say, it is mostly not terribly useful and looking out the window generally tells me what will happen over the next couple of hours which is enough for most things.

> [@jbudd](#):
>
> "What's the weather like?"  
> "Grim" 😁

Its the mills ya-know!

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [24 October 2023 20:39 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/10 "2023-10-24T20:39:15Z")

</div>

> [@TotallyInformation](#):
>
> Actually, I mostly just look out of the window!!!! 🤣

Me too. And if I don't see the burrometer then it means fogg.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 October 2023 21:27 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/11 "2023-10-24T21:27:18Z")

</div>

So surely a webcam and a bit of AI could automate this ?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/6/d66ef3d6656fdd511508b85bb3ba34d365e6c2c8.jpeg)

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [24 October 2023 21:58 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/12 "2023-10-24T21:58:22Z")

</div>

> [@TotallyInformation](#):
>
> The ones I know are still working are:
> 
> - Met Office - generally the most accurate general area forecast

I would second the Met Office.  
...not the best documentation to set up, but easy if you know how 😏

I'm sure we can help with that.

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [24 October 2023 23:43 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/13 "2023-10-24T23:43:05Z")

</div>

Thanks for the replies, doesn't seem I overlooked any perfect APIs then 😉

As its for a small touch screen light switch, ideally I just want the conditions for the next hour, and maybe a text summary for today.

I'm looking at Met Office API, at least the icons make sense with reported weather type.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 October 2023 09:10 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/14 "2023-10-25T09:10:37Z")

</div>

You've reminded me that the one area where I probably would like to integrate weather information is the automated house lighting.

At present, I have lighting based on time of day and sun position but being able to dynamically vary depending on cloudiness (even cloud thickness would be nice though I don't know that any of the services provide that) and rain/snow would be a good indicator of how dark different parts of the house get.

I really should try that. Previously I've tried to use light sensors which kind of worked but you need a few of them in different places which can get complex as you need to account for the difference between artificial and natural light.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [25 October 2023 09:45 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/15 "2023-10-25T09:45:53Z")

</div>

Would a local light/luminosity sensor would be adequate ? It's not like lights take ages to "warm up" like heating so would be instant reaction rather than needing much of a prediction ?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [25 October 2023 10:30 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/16 "2023-10-25T10:30:55Z")

</div>

That's what I've tried before. You have to filter out the impact of the artificial light and once the light is on, it then becomes very complex to understand the natural light and so make decisions about whether the light should go off again.

The processing got so complex and needed constant tweaking so it wasn't really useful and I took it out. Possibly suffering from a lack of "big brain" status. 🙂

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [25 October 2023 13:47 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/17 "2023-10-25T13:47:43Z")

</div>

The best bet is to put light sensor outside facing the sky where it will never be in the shade. On the roof ? 🙂

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [25 October 2023 15:11 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/19 "2023-10-25T15:11:05Z")

</div>

Isn't it anyway always raining in UK??

😀

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [25 October 2023 15:19 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/20 "2023-10-25T15:19:29Z")

</div>

Yes but we need to know how much is it raining!

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [25 October 2023 15:56 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310/21 "2023-10-25T15:56:59Z")

</div>

We need to know if we need boots or flippers 🤣 🤣 🤣

[Next page](https://discourse.nodered.org/t/current-best-weather-api-2023/82310.md?page=2)
