# \[App\]\[Pro\] OpenWeather

**URL:** <https://community.homey.app/t/app-pro-openweather/61482>\
**Category:** Apps\
**Tags:** app, tools, weather, homey-pro\
**Created:** [March 8, 2022, 5:55pm UTC](https://community.homey.app/t/app-pro-openweather/61482 "2022-03-08T17:55:16Z")\
**Posts on this page:** 20\
**Page:** 10

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [July 22, 2022, 1:27am UTC](https://community.homey.app/t/app-pro-openweather/61482/181 "2022-07-22T01:27:52Z")

</div>

Another 🦠 Sherlock 😬🤪

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [July 25, 2022, 4:21pm UTC](https://community.homey.app/t/app-pro-openweather/61482/182 "2022-07-25T16:21:41Z")

</div>

The version 1.2.4 (currently test version) has fixed the bug in “alarm has changed” trigger.  
This will break your flows if you are using it (the flow trigger id changed). Please remove the old trigger card and add the new one.  
This alarm will be raised on every change in alarm content (even text, not only the number of alarms).

---

<div class="post-metadata">

**Author:** ![KlyX](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/klyx/32/53967_2.png) [@KlyX](https://community.homey.app/u/KlyX)\
**Post date:** [August 2, 2022, 3:25pm UTC](https://community.homey.app/t/app-pro-openweather/61482/183 "2022-08-02T15:25:18Z")

</div>

Hi guys,  
I have a problem with the API key. I can add the default API key by hand and get the data as expected. It also updates as expected. About 30 minutes later, it switches to a red “!” and tells me, the API key is not valid. Updating the key or adding a new key (added in the OWM account) does not work.  
Removing the device, adding it again and adding the default API key works again… for 30 minutes.

What am I missing out here?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 2, 2022, 3:31pm UTC](https://community.homey.app/t/app-pro-openweather/61482/184 "2022-08-02T15:31:52Z")

</div>

What intervall are you using? You have 1000 API calls free for 24h. Perhaops the limit is reached due to a too short interval. If you have perhaps 1min interval, the set it to 10min and check if it’s stable now.  
If you have several current weather devices with the same API key, the summation of all API calls wil be counted by OWM.

In addition you could check in the browser with this API URL. Setz your key and lan/lon:  
[https://api.openweathermap.org/data/2.5/onecall?lat={lat}&lon={lon}&appid=](https://api.openweathermap.org/data/2.5/onecall?lat=%7Blat%7D&lon=%7Blon%7D&appid=){API key}

---

<div class="post-metadata">

**Author:** ![KlyX](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/klyx/32/53967_2.png) [@KlyX](https://community.homey.app/u/KlyX)\
**Post date:** [August 3, 2022, 8:49am UTC](https://community.homey.app/t/app-pro-openweather/61482/185 "2022-08-03T08:49:57Z")

</div>

Thans for your feedback. Time was set on 5 minutes, so that sould be fine.  
Funnily a few hours later the error disappeared. Seems to work for now. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [August 5, 2022, 9:24am UTC](https://community.homey.app/t/app-pro-openweather/61482/186 "2022-08-05T09:24:23Z")

</div>

Hi,

How is it possible to get different notifications from Homey as the weather conditions change?

Could it be posible to get a push notification if there is a chance of thunder, rain, wind, sunny… So you could get a weather update automatically by push notifications.

Regards

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 5, 2022, 9:31am UTC](https://community.homey.app/t/app-pro-openweather/61482/187 "2022-08-05T09:31:10Z")

</div>

You can do it individually with flows:

Send you an push message on every weather change. WHEN “The weather has changed”:  
 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/7/07fa4da6572ad22dffe0a5ad492ef840489452d1.png)

Or with a condition for a specific weather condition (here: “it’s rainy”) in the AND part of your flow.

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/09f513a2818e16b8c948f7d5753cfdc6db2cb0c6.png)

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [August 5, 2022, 11:14am UTC](https://community.homey.app/t/app-pro-openweather/61482/188 "2022-08-05T11:14:13Z")

</div>

Hi,

Thank you, that seems to work!

When I run a test it says I am in Amsterdam.  
Do I have to insert the Lat/Long manually?  
Possible for it to see the Homey Pro location?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 5, 2022, 11:28am UTC](https://community.homey.app/t/app-pro-openweather/61482/189 "2022-08-05T11:28:09Z")

</div>

That’s only a default value to show what will be set in the tag.

![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8ce7420fb54529f828d8f51d612a1f7d2f70a45a.png)

You will get the device name if it’s triggered by a real capability change.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [August 6, 2022, 6:36am UTC](https://community.homey.app/t/app-pro-openweather/61482/190 "2022-08-06T06:36:01Z")

</div>

> [@Tirrazo](#):
>
> Do I have to insert the Lat/Long manually?  
> Possible for it to see the Homey Pro location?

The settings can be done in the „Current Weather“ device. Please read [this](https://community.homey.app/t/app-pro-openweather/61482/2) post for how to set Lat/Long.

---

<div class="post-metadata">

**Author:** ![MVester](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mvester/32/26410_2.png) [@MVester](https://community.homey.app/u/MVester)\
**Post date:** [August 21, 2022, 6:34am UTC](https://community.homey.app/t/app-pro-openweather/61482/191 "2022-08-21T06:34:06Z")

</div>

Hi,

I cannot get it to work, keeps telling me

> Device Unavailable  
> Invalid API key. Please see [Frequently Asked Questions - OpenWeatherMap](http://openweathermap.org/faq#error401) for more info.

![error401](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/c/4c03fc1ffbd5533cbb10c496bd88a183a17678ea.jpeg)

I have tried with the API URL

> [https://api.openweathermap.org/data/2.5/weather?lat=58,23345028828244&lon=12,218102827427218&appid=e12345b5f123d86de7d123a1a1234567](https://api.openweathermap.org/data/2.5/weather?lat=58,23345028828244&lon=12,218102827427218&appid=e12345b5f123d86de7d123a1a1234567)

And it works, gives me info.  
So the API key should be active.

 ![settings](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/4/8433711b9bf50a4f4bae05714a54b350f8bcd5ce.jpeg)

Any suggestions?  
(The API key posted is not valid, have changed numbers in it)

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 21, 2022, 8:10am UTC](https://community.homey.app/t/app-pro-openweather/61482/192 "2022-08-21T08:10:48Z")

</div>

I could not reproduce your case.  
If you insert the Api key at adding the device. it’s checked and adding would not be possible. So I think it’s the correct key.  
Changing the key in device settings works right for me. Putting a wrong key results in the error message, changing back displays the weather data.

The only way to get this error with a vorrect Api key is when you hit the limit of 1000 calls for a day.  
So if you insertet more than one localion, please calculate your max. polling interval. But with a interval of 5min, you should be able to use 3 location devices.

I will check some constellations today. You could write if this error message occured directly after adding the device ore later.

---

<div class="post-metadata">

**Author:** ![MVester](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mvester/32/26410_2.png) [@MVester](https://community.homey.app/u/MVester)\
**Post date:** [August 21, 2022, 5:50pm UTC](https://community.homey.app/t/app-pro-openweather/61482/193 "2022-08-21T17:50:06Z")

</div>

The error message come just after adding the “Weather, current (location)” device.

I click to add new device, select the “current location” paste in the API, type a city name, and leave it at 5 min poll.  
If there are more then 1 city name match, it asks me to select one.  
It then adds the device, and within 2 sec. the red triangle appears.

Only time I have gotten a result if when testing with the API URL test.

Just now I took the API from the device in homey, pasted it into notepad,  
then took the number from the URL test, and pasted it into notepad just below the others, just to make sure they are the same…

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 21, 2022, 8:40pm UTC](https://community.homey.app/t/app-pro-openweather/61482/195 "2022-08-21T20:40:10Z")

</div>

Sorry, I have no idea at the moment what’s wrong. Reading the geolocation (getting the city list) is also using the API key. So if you see the cities, all is ok. And if you can see the API key in device settings, that means that your settings from add device dialog is stored correctly.  
I tested now several times in mobile app and WebApp and can’t get this issue reproduced.

So some questions:

- Are you using the API in other apps?
- Is the error present only after adding or keeps it staying?
- Have you restarted the app to clear perhaps cached date?
- Have yo checked in browser with the OneCall API 2.5?  
[One Call API: weather data for any geographical coordinate - OpenWeatherMap](https://openweathermap.org/api/one-call-api)  
The correct URL is: [https://api.openweathermap.org/data/2.5/onecall?lat={lat}&lon={lon}&appid=](https://api.openweathermap.org/data/2.5/onecall?lat=%7Blat%7D&lon=%7Blon%7D&appid=){API key}  
Could you test with this URL?

Another thought about OWM and OneCall API…  
Thsi API was free up to OneCall API 2.5  
With Version 3.0, OWM has changed the conditions. It seems, you have to set up a subscription with payment data. You still have 100 calls free, but getting over this will end up in a payment by call. Perhaps old API keys are not affected and new ones are blocked from OneCall API.  
Is you API key new?  
Has anyone with a new key similar issues?  
You can read about the differences here:  
[https://openweathermap.org/faq#onecall](https://openweathermap.org/faq#onecall)  
And the URL for OnceCall v3.0 ist: [https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&appid=](https://api.openweathermap.org/data/3.0/onecall?lat=%7Blat%7D&lon=%7Blon%7D&appid=){API key}  
And that’s not working for my API key, too.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 22, 2022, 2:49pm UTC](https://community.homey.app/t/app-pro-openweather/61482/196 "2022-08-22T14:49:30Z")

</div>

@MVester  
Could you please login to OWM and check your block state? There you should see if the key is blocked by too many API calls: [Members](https://home.openweathermap.org/blocks)

And this are the current pricings and call limits:  
[https://openweathermap.org/full-price#current](https://openweathermap.org/full-price#current)

---

<div class="post-metadata">

**Author:** ![MVester](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mvester/32/26410_2.png) [@MVester](https://community.homey.app/u/MVester)\
**Post date:** [August 22, 2022, 2:58pm UTC](https://community.homey.app/t/app-pro-openweather/61482/197 "2022-08-22T14:58:32Z")

</div>

Ok, I may have found a difference, the URL test you linked does not work, but i can see that they have 2 different URL test links, maybe they change it for new keys?  
If you look at “ **How can I use an API key in API calls?** ” at the FAQ  
[https://openweathermap.org/faq#onecall](https://openweathermap.org/faq#onecall)

here they say the test link is  
[api.openweathermap.org/data/2.5/weather?id=524901&appid=YOUR\_API\_KEY](https://api.openweathermap.org/data/2.5/weather?id=524901&appid=YOUR_API_KEY)

This one works, gives me the following

```auto
{"coord":{"lon":37.6156,"lat":55.7522},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"base":"stations","main":{"temp":301.77,"feels_like":301.01,"temp_min":300.45,"temp_max":302.9,"pressure":1023,"humidity":35,"sea_level":1023,"grnd_level":1006},"visibility":10000,"wind":{"speed":2.62,"deg":161,"gust":7.91},"clouds":{"all":100},"dt":1661179280,"sys":{"type":2,"id":2018597,"country":"RU","sunrise":1661134478,"sunset":1661187045},"timezone":10800,"id":524901,"name":"Moscow","cod":200}

```

I then took the link and added the “lat, lon” parametors, and it now gives my location.

The one you linked from  
[https://openweathermap.org/api/one-call-api](https://openweathermap.org/api/one-call-api)  
does not work, gives me the 401 error

```auto
{"cod":401, "message": "Invalid API key. Please see http://openweathermap.org/faq#error401 for more info."}

```

I even set up a One Call API 3.0 just to try (you get 1000 free calls a day, think that’s enough 🙂 plus you can limit the numbers of calls so you newer go above the free limit)  
tried it with this URL

```auto
https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&appid=YOUR_API_KEY

```

It works, gives me the following result

```auto
{"lat":58.2335,"lon":12.2181,"timezone":"Europe/Stockholm","timezone_offset":7200,"current":{"dt":1661179867,"sunrise":1661140107,"sunset":1661193605,"temp":292.2,"feels_like":291.68,"pressure":1019,"humidity":58,"dew_point":283.76,"uvi":1.27,"clouds":100,"visibility":10000,"wind_speed":2.75,"wind_deg":248,"wind_gust":3.13,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}]},"minutely":[{"dt":1661179920,"precipitation":0},{"dt":1661179980,"precipitation":0},{"dt":1661180040,"precipitation":0},{"dt":1661180100,"precipitation":0},{"dt":1661180160,"precipitation":0},{"dt":1661180220,"precipitation":0},{"dt":1661180280,"precipitation":0},{"dt":1661180340,"precipitation":0},{"dt":1661180400,"precipitation":0},{"dt":1661180460,"precipitation":0},{"dt":1661180520,"precipitation":0},{"dt":1661180580,"precipitation":0},{"dt":1661180640,"precipitation":0},{"dt":1661180700,"precipitation":0},{"dt":1661180760,"precipitation":0},{"dt":1661180820,"precipitation":0},{"dt":1661180880,"precipitation":0},{"dt":1661180940,"precipitation":0},{"dt":1661181000,"precipitation":0},{"dt":1661181060,"precipitation":0},{"dt":1661181120,"precipitation":0},{"dt":1661181180,"precipitation":0},{"dt":1661181240,"precipitation":0},{"dt":1661181300,"precipitation":0},{"dt":1661181360,"precipitation":0},{"dt":1661181420,"precipitation":0},{"dt":1661181480,"precipitation":0},{"dt":1661181540,"precipitation":0},{"dt":1661181600,"precipitation":0},{"dt":1661181660,"precipitation":0},{"dt":1661181720,"precipitation":0},{"dt":1661181780,"precipitation":0},{"dt":1661181840,"precipitation":0},{"dt":1661181900,"precipitation":0},{"dt":1661181960,"precipitation":0},{"dt":1661182020,"precipitation":0},{"dt":1661182080,"precipitation":0},{"dt":1661182140,"precipitation":0},{"dt":1661182200,"precipitation":0},{"dt":1661182260,"precipitation":0},{"dt":1661182320,"precipitation":0},{"dt":1661182380,"precipitation":0},{"dt":1661182440,"precipitation":0},{"dt":1661182500,"precipitation":0},{"dt":1661182560,"precipitation":0},{"dt":1661182620,"precipitation":0},{"dt":1661182680,"precipitation":0},{"dt":1661182740,"precipitation":0},{"dt":1661182800,"precipitation":0},{"dt":1661182860,"precipitation":0},{"dt":1661182920,"precipitation":0},{"dt":1661182980,"precipitation":0},{"dt":1661183040,"precipitation":0},{"dt":1661183100,"precipitation":0},{"dt":1661183160,"precipitation":0},{"dt":1661183220,"precipitation":0},{"dt":1661183280,"precipitation":0},{"dt":1661183340,"precipitation":0},{"dt":1661183400,"precipitation":0},{"dt":1661183460,"precipitation":0},{"dt":1661183520,"precipitation":0}],"hourly":[{"dt":1661176800,"temp":292.04,"feels_like":291.45,"pressure":1019,"humidity":56,"dew_point":283.08,"uvi":2.06,"clouds":100,"visibility":10000,"wind_speed":3.04,"wind_deg":252,"wind_gust":3.42,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661180400,"temp":292.2,"feels_like":291.68,"pressure":1019,"humidity":58,"dew_point":283.76,"uvi":1.27,"clouds":100,"visibility":10000,"wind_speed":2.75,"wind_deg":248,"wind_gust":3.13,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661184000,"temp":291.89,"feels_like":291.28,"pressure":1019,"humidity":56,"dew_point":282.94,"uvi":0.62,"clouds":100,"visibility":10000,"wind_speed":2.63,"wind_deg":260,"wind_gust":3.09,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661187600,"temp":291.09,"feels_like":290.48,"pressure":1019,"humidity":59,"dew_point":282.97,"uvi":0.23,"clouds":100,"visibility":10000,"wind_speed":1.91,"wind_deg":268,"wind_gust":3.51,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661191200,"temp":289.1,"feels_like":288.47,"pressure":1019,"humidity":66,"dew_point":282.76,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":1.27,"wind_deg":261,"wind_gust":1.29,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661194800,"temp":286.63,"feels_like":285.97,"pressure":1020,"humidity":74,"dew_point":282.09,"uvi":0,"clouds":100,"visibility":10000,"wind_speed":0.99,"wind_deg":264,"wind_gust":1,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661198400,"temp":284.25,"feels_like":283.58,"pressure":1020,"humidity":83,"dew_point":281.46,"uvi":0,"clouds":91,"visibility":10000,"wind_speed":0.82,"wind_deg":285,"wind_gust":0.87,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661202000,"temp":284.01,"feels_like":283.34,"pressure":1020,"humidity":84,"dew_point":281.45,"uvi":0,"clouds":94,"visibility":10000,"wind_speed":0.48,"wind_deg":322,"wind_gust":0.61,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661205600,"temp":284.06,"feels_like":283.37,"pressure":1020,"humidity":83,"dew_point":281.25,"uvi":0,"clouds":96,"visibility":10000,"wind_speed":0.49,"wind_deg":115,"wind_gust":0.46,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661209200,"temp":283.23,"feels_like":282.54,"pressure":1020,"humidity":86,"dew_point":281.01,"uvi":0,"clouds":97,"visibility":10000,"wind_speed":0.48,"wind_deg":128,"wind_gust":0.53,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661212800,"temp":282.67,"feels_like":282.67,"pressure":1020,"humidity":88,"dew_point":280.73,"uvi":0,"clouds":84,"visibility":10000,"wind_speed":0.21,"wind_deg":118,"wind_gust":0.27,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"pop":0},{"dt":1661216400,"temp":282.51,"feels_like":282.51,"pressure":1020,"humidity":88,"dew_point":280.51,"uvi":0,"clouds":91,"visibility":10000,"wind_speed":0.38,"wind_deg":52,"wind_gust":0.38,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661220000,"temp":282.36,"feels_like":282.36,"pressure":1020,"humidity":87,"dew_point":280.28,"uvi":0,"clouds":95,"visibility":10000,"wind_speed":0.39,"wind_deg":25,"wind_gust":0.41,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661223600,"temp":282.38,"feels_like":282.38,"pressure":1020,"humidity":86,"dew_point":280.1,"uvi":0,"clouds":97,"visibility":10000,"wind_speed":0.71,"wind_deg":44,"wind_gust":0.66,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"pop":0},{"dt":1661227200,"temp":282.35,"feels_like":282.35,"pressure":1021,"humidity":86,"dew_point":280.05,"uvi":0,"clouds":98,"visibility":10000,"wind_speed":0.76,"wind_deg":73,"wind_gust":0.78,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661230800,"temp":283.88,"feels_like":283.1,"pressure":1021,"humidity":80,"dew_point":280.54,"uvi":0.18,"clouds":98,"visibility":10000,"wind_speed":0.77,"wind_deg":60,"wind_gust":0.78,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661234400,"temp":285.99,"feels_like":285.21,"pressure":1021,"humidity":72,"dew_point":281.02,"uvi":0.54,"clouds":98,"visibility":10000,"wind_speed":0.79,"wind_deg":53,"wind_gust":1.47,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661238000,"temp":288.14,"feels_like":287.39,"pressure":1021,"humidity":65,"dew_point":281.5,"uvi":1.2,"clouds":100,"visibility":10000,"wind_speed":1.37,"wind_deg":62,"wind_gust":2.38,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661241600,"temp":289.84,"feels_like":289.13,"pressure":1021,"humidity":60,"dew_point":282.09,"uvi":2.1,"clouds":100,"visibility":10000,"wind_speed":1.79,"wind_deg":59,"wind_gust":2.84,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661245200,"temp":291.24,"feels_like":290.57,"pressure":1021,"humidity":56,"dew_point":282.47,"uvi":3.09,"clouds":100,"visibility":10000,"wind_speed":1.99,"wind_deg":60,"wind_gust":2.68,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661248800,"temp":292.31,"feels_like":291.69,"pressure":1021,"humidity":54,"dew_point":282.74,"uvi":3.87,"clouds":100,"visibility":10000,"wind_speed":2.1,"wind_deg":63,"wind_gust":2.39,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661252400,"temp":293.34,"feels_like":292.72,"pressure":1021,"humidity":50,"dew_point":282.68,"uvi":4.25,"clouds":98,"visibility":10000,"wind_speed":2.04,"wind_deg":61,"wind_gust":2.06,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661256000,"temp":294.13,"feels_like":293.48,"pressure":1021,"humidity":46,"dew_point":282.16,"uvi":4.09,"clouds":97,"visibility":10000,"wind_speed":1.89,"wind_deg":63,"wind_gust":1.97,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661259600,"temp":294.81,"feels_like":294.15,"pressure":1021,"humidity":43,"dew_point":281.57,"uvi":3.47,"clouds":87,"visibility":10000,"wind_speed":1.7,"wind_deg":54,"wind_gust":1.97,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661263200,"temp":294.98,"feels_like":294.29,"pressure":1020,"humidity":41,"dew_point":281.31,"uvi":2.52,"clouds":49,"visibility":10000,"wind_speed":1.83,"wind_deg":44,"wind_gust":2.12,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661266800,"temp":294.62,"feels_like":293.95,"pressure":1020,"humidity":43,"dew_point":281.54,"uvi":1.54,"clouds":37,"visibility":10000,"wind_speed":2.09,"wind_deg":38,"wind_gust":1.97,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661270400,"temp":293.35,"feels_like":292.76,"pressure":1020,"humidity":51,"dew_point":282.76,"uvi":0.76,"clouds":31,"visibility":10000,"wind_speed":2.34,"wind_deg":34,"wind_gust":2.4,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661274000,"temp":291.29,"feels_like":290.86,"pressure":1021,"humidity":65,"dew_point":284.59,"uvi":0.28,"clouds":26,"visibility":10000,"wind_speed":1.64,"wind_deg":35,"wind_gust":3.78,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661277600,"temp":288.42,"feels_like":287.99,"pressure":1021,"humidity":76,"dew_point":284.33,"uvi":0,"clouds":22,"visibility":10000,"wind_speed":1.16,"wind_deg":41,"wind_gust":1.3,"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"pop":0},{"dt":1661281200,"temp":286.66,"feels_like":286.21,"pressure":1021,"humidity":82,"dew_point":283.58,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.98,"wind_deg":58,"wind_gust":1.04,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1661284800,"temp":286.24,"feels_like":285.75,"pressure":1021,"humidity":82,"dew_point":283.2,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.84,"wind_deg":66,"wind_gust":0.84,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1661288400,"temp":285.91,"feels_like":285.41,"pressure":1021,"humidity":83,"dew_point":283.06,"uvi":0,"clouds":0,"visibility":10000,"wind_speed":0.83,"wind_deg":76,"wind_gust":0.87,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1661292000,"temp":285.63,"feels_like":285.13,"pressure":1022,"humidity":84,"dew_point":283.06,"uvi":0,"clouds":2,"visibility":10000,"wind_speed":1.29,"wind_deg":91,"wind_gust":1.26,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1661295600,"temp":285.37,"feels_like":284.92,"pressure":1021,"humidity":87,"dew_point":283.17,"uvi":0,"clouds":10,"visibility":10000,"wind_speed":1.33,"wind_deg":92,"wind_gust":1.31,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1661299200,"temp":285.07,"feels_like":284.59,"pressure":1021,"humidity":87,"dew_point":283,"uvi":0,"clouds":12,"visibility":10000,"wind_speed":1.03,"wind_deg":101,"wind_gust":1.03,"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"pop":0},{"dt":1661302800,"temp":284.87,"feels_like":284.37,"pressure":1021,"humidity":87,"dew_point":282.7,"uvi":0,"clouds":7,"visibility":10000,"wind_speed":0.61,"wind_deg":108,"wind_gust":0.65,"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"pop":0},{"dt":1661306400,"temp":284.66,"feels_like":284.11,"pressure":1021,"humidity":86,"dew_point":282.41,"uvi":0,"clouds":14,"visibility":10000,"wind_speed":0.78,"wind_deg":119,"wind_gust":0.75,"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"pop":0},{"dt":1661310000,"temp":284.71,"feels_like":284.14,"pressure":1022,"humidity":85,"dew_point":282.19,"uvi":0,"clouds":42,"visibility":10000,"wind_speed":0.73,"wind_deg":129,"wind_gust":0.74,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"pop":0},{"dt":1661313600,"temp":284.96,"feels_like":284.34,"pressure":1022,"humidity":82,"dew_point":281.99,"uvi":0,"clouds":56,"visibility":10000,"wind_speed":0.59,"wind_deg":163,"wind_gust":0.61,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"pop":0},{"dt":1661317200,"temp":286.38,"feels_like":285.77,"pressure":1022,"humidity":77,"dew_point":282.49,"uvi":0.16,"clouds":65,"visibility":10000,"wind_speed":0.89,"wind_deg":168,"wind_gust":0.89,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"pop":0},{"dt":1661320800,"temp":288.2,"feels_like":287.61,"pressure":1022,"humidity":71,"dew_point":282.95,"uvi":0.5,"clouds":71,"visibility":10000,"wind_speed":0.76,"wind_deg":153,"wind_gust":1.25,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"pop":0},{"dt":1661324400,"temp":290.65,"feels_like":290.1,"pressure":1022,"humidity":63,"dew_point":283.48,"uvi":1.18,"clouds":100,"visibility":10000,"wind_speed":0.68,"wind_deg":162,"wind_gust":1.19,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"pop":0},{"dt":1661328000,"temp":293.48,"feels_like":293.03,"pressure":1023,"humidity":56,"dew_point":284.29,"uvi":2.08,"clouds":68,"visibility":10000,"wind_speed":0.67,"wind_deg":195,"wind_gust":1.46,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"pop":0},{"dt":1661331600,"temp":295.43,"feels_like":295.05,"pressure":1023,"humidity":51,"dew_point":284.77,"uvi":3.08,"clouds":50,"visibility":10000,"wind_speed":0.79,"wind_deg":183,"wind_gust":1.49,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661335200,"temp":296.86,"feels_like":296.51,"pressure":1022,"humidity":47,"dew_point":285.02,"uvi":4.16,"clouds":40,"visibility":10000,"wind_speed":0.84,"wind_deg":196,"wind_gust":1.49,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661338800,"temp":297.78,"feels_like":297.47,"pressure":1022,"humidity":45,"dew_point":285.22,"uvi":4.58,"clouds":34,"visibility":10000,"wind_speed":0.64,"wind_deg":209,"wind_gust":1.43,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661342400,"temp":298.13,"feels_like":297.83,"pressure":1022,"humidity":44,"dew_point":285.26,"uvi":4.39,"clouds":31,"visibility":10000,"wind_speed":0.22,"wind_deg":224,"wind_gust":1.52,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"pop":0},{"dt":1661346000,"temp":298.02,"feels_like":297.74,"pressure":1022,"humidity":45,"dew_point":285.2,"uvi":3.73,"clouds":51,"visibility":10000,"wind_speed":0.54,"wind_deg":323,"wind_gust":1.61,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"pop":0}],"daily":[{"dt":1661166000,"sunrise":1661140107,"sunset":1661193605,"moonrise":0,"moonset":1661189160,"moon_phase":0.85,"temp":{"day":292.14,"min":283.74,"max":292.2,"night":284.01,"eve":291.09,"morn":285.05},"feels_like":{"day":291.35,"night":283.34,"eve":290.48,"morn":284.52},"pressure":1018,"humidity":48,"dew_point":280.89,"wind_speed":3.8,"wind_deg":254,"wind_gust":10.19,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":87,"pop":0,"uvi":3.98},{"dt":1661252400,"sunrise":1661226638,"sunset":1661279844,"moonrise":1661206440,"moonset":1661277900,"moon_phase":0.88,"temp":{"day":293.34,"min":282.35,"max":294.98,"night":285.91,"eve":291.29,"morn":283.88},"feels_like":{"day":292.72,"night":285.41,"eve":290.86,"morn":283.1},"pressure":1021,"humidity":50,"dew_point":282.68,"wind_speed":2.34,"wind_deg":34,"wind_gust":3.78,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":98,"pop":0,"uvi":4.25},{"dt":1661338800,"sunrise":1661313170,"sunset":1661366081,"moonrise":1661296800,"moonset":1661365740,"moon_phase":0.91,"temp":{"day":297.78,"min":284.66,"max":298.13,"night":290.26,"eve":293.61,"morn":286.38},"feels_like":{"day":297.47,"night":289.98,"eve":293.43,"morn":285.77},"pressure":1022,"humidity":45,"dew_point":285.22,"wind_speed":2.13,"wind_deg":314,"wind_gust":3.38,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":34,"pop":0,"uvi":4.58},{"dt":1661425200,"sunrise":1661399701,"sunset":1661452318,"moonrise":1661387820,"moonset":1661453040,"moon_phase":0.94,"temp":{"day":298.78,"min":289.22,"max":299.23,"night":289.22,"eve":294.44,"morn":290.06},"feels_like":{"day":298.39,"night":288.81,"eve":294.27,"morn":289.82},"pressure":1023,"humidity":38,"dew_point":283.56,"wind_speed":2.47,"wind_deg":36,"wind_gust":5.88,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":41,"pop":0,"uvi":4.35},{"dt":1661511600,"sunrise":1661486232,"sunset":1661538554,"moonrise":1661479260,"moonset":1661539980,"moon_phase":0.97,"temp":{"day":296.74,"min":286.23,"max":297.26,"night":290.99,"eve":293.12,"morn":287.08},"feels_like":{"day":296.02,"night":290.55,"eve":292.61,"morn":286.64},"pressure":1019,"humidity":33,"dew_point":279.8,"wind_speed":3.21,"wind_deg":23,"wind_gust":8.86,"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03d"}],"clouds":42,"pop":0,"uvi":4.38},{"dt":1661598000,"sunrise":1661572763,"sunset":1661624789,"moonrise":1661570820,"moonset":1661626800,"moon_phase":0,"temp":{"day":298.42,"min":290.47,"max":298.42,"night":290.47,"eve":291.66,"morn":291.51},"feels_like":{"day":298.28,"night":290.11,"eve":291.6,"morn":291.59},"pressure":1013,"humidity":49,"dew_point":287.02,"wind_speed":2.57,"wind_deg":274,"wind_gust":3.55,"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":99,"pop":0.22,"uvi":5},{"dt":1661684400,"sunrise":1661659294,"sunset":1661711024,"moonrise":1661662260,"moonset":1661713500,"moon_phase":0.03,"temp":{"day":298.07,"min":286.94,"max":298.07,"night":286.94,"eve":290.23,"morn":290.9},"feels_like":{"day":297.82,"night":286.91,"eve":289.9,"morn":290.48},"pressure":1013,"humidity":46,"dew_point":285.81,"wind_speed":3.37,"wind_deg":247,"wind_gust":7.49,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":68,"pop":0.22,"uvi":5},{"dt":1661770800,"sunrise":1661745824,"sunset":1661797258,"moonrise":1661753640,"moonset":1661800140,"moon_phase":0.07,"temp":{"day":293.65,"min":286.6,"max":293.73,"night":287.4,"eve":288.55,"morn":289.64},"feels_like":{"day":293.32,"night":286.89,"eve":288.1,"morn":289.59},"pressure":1012,"humidity":60,"dew_point":285.6,"wind_speed":5.54,"wind_deg":244,"wind_gust":11.55,"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":74,"pop":0,"uvi":5}]}

```

The difference I see in the two 2.5 links is that “onecall” is replaced with “weather”

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 22, 2022, 3:01pm UTC](https://community.homey.app/t/app-pro-openweather/61482/198 "2022-08-22T15:01:55Z")

</div>

The app uses OneCall API 2.5, not 3.0. So the 2.5-URL should be right for tests.

And please check the details for subscription. I read 2000 call a day max. and 0.14€ for every 100 calls.  
[https://home.openweathermap.org/subscriptions](https://home.openweathermap.org/subscriptions)

PS: Here they say 100 call free a day:

> **[Pricing - OpenWeatherMap](https://openweathermap.org/price#weather)**
>
> All data provided by OpenWeatherMap can be freely used through API with non-commercial or commercial purposes. Subscribe to current weather, forecasts, and historical data collections and enjoy our fast simple API.

Really not easy to understand 🙂

---

<div class="post-metadata">

**Author:** ![MVester](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mvester/32/26410_2.png) [@MVester](https://community.homey.app/u/MVester)\
**Post date:** [August 22, 2022, 3:05pm UTC](https://community.homey.app/t/app-pro-openweather/61482/199 "2022-08-22T15:05:47Z")

</div>

I have no blocked API calls  
I do however have 3 calls on the 3.0 billing

 ![3.0_billing](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a371e5e27a877396857c7bd840dda591e0a525e6.jpeg)

---

<div class="post-metadata">

**Author:** ![MVester](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mvester/32/26410_2.png) [@MVester](https://community.homey.app/u/MVester)\
**Post date:** [August 22, 2022, 3:13pm UTC](https://community.homey.app/t/app-pro-openweather/61482/200 "2022-08-22T15:13:58Z")

</div>

It works with this link  
[https://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid=YOUR\_API\_KEY](https://api.openweathermap.org/data/2.5/weather?lat=%7Blat%7D&lon=%7Blon%7D&appid=YOUR_API_KEY)

the difference being the bold part  
https//api.openweathermap.org/data/2.5/ **weather**?lat={lat}&lon={lon}&appid=YOUR\_API\_KEY

the one you link from the other page is  
https//api.openweathermap.org/data/2.5/ **onecall**?lat={lat}&lon={lon}&appid=YOUR\_API\_KEY

May I send you my API key in a PM for you to test?

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 22, 2022, 3:18pm UTC](https://community.homey.app/t/app-pro-openweather/61482/201 "2022-08-22T15:18:14Z")

</div>

I created a new API key on a second account.  
It’s active in the account but seems to need some time until I can use it.

After some minutes, I could add a device and got a similar situation like you.  
Using my old key all is working fine.  
I’m not sure if the calls are limited the first time?

/data/2.5/weather is the “old” API for current weather.  
/data/2.5/onecall is the new one used by the app for new added devices.

So it seems, new keys are still blocked for OneCall API 2.5. Other services seems to work (pollution and geolocation).  
Very strange…

[Previous page](https://community.homey.app/t/app-pro-openweather/61482.md?page=9)

[Next page](https://community.homey.app/t/app-pro-openweather/61482.md?page=11)
