All my devices work well with the same API only the Air Pollution gives an error
Any suggestions?
It’s again the OWM issue providing an empty data/forecast response:
Hi there,
I hope you can help me with an issue I’m experiencing with the OpenWeather app in Homey. I’m currently using it to trigger certain flows based on the maximum expected temperature of the day, but I’ve noticed a significant discrepancy between the temperature provided by OpenWeather and other, more reliable sources such as Buienradar.
As shown in the attached image, Buienradar forecasts a maximum temperature of 26°C, while the OpenWeather app in Homey is showing only 14.1°C for the same location (Nazareth, BE, East Flanders). This large difference is affecting my automations, leading to incorrect triggers.
I find it quite frustrating and hope there’s a way to resolve this, as having accurate temperature data is crucial for my setup. Specifically, I’m looking for a way to retrieve the expected maximum temperature of the day (up to midnight) reliably.
Additionally, I am unable to install a personal weather station due to the limited space available. I only have a small courtyard in a densely built area, which would not provide accurate weather data.
Is there a solution for this problem, or any recommendations for improving the accuracy of the temperature data in Homey?
Thank you in advance for your help!
Best regards,
Damien
There are 15 places called Nazareth in the world. Are you sure the one in Buienradar is the correct one?
Thanks for your answer. It is certainly the correct Nazareth, the same page has been starting automatically for years when starting my PC.
You are using the free API device. I don’t know how exact this data is.
It’s also possible to use the OneCall API. You need a subscription and Credit card but you have still 1000 calls free.
Then you can add a ‘location’ (currwnt weather) and a daiöy forecast with +0 days. This way you get the daiöy forecast dor today.
The data seems to be ok for me.
I have the same mail @Dennis_H74
i have nothing to do?
If you already have a V3 API key with subscription (and credit card) then all is ok.
If you have still an old V2.5 key, you have to register a new V3 key.
Thanks for your answer, I have solved it in the meantime with the free Belgian KMI app, the forecasts and current weather conditions are sufficiently correct for my automations. Greetings
i find it hard to see 3.0 on that open wheater site. when i look at plans it looks like a 3.0 version. But is not so clear. Where can i see?
In your Openweathermap account you can check the API and subscription. With active subscription it should be a 3.0 key. And it seems, the 2.5 key is still present and can be upgrated to 3.0 adding a subscription.
That means: add a subscription and it should work as 3.0 key.
Hi I would like to switch to one 3.0 api. I just don’t have a credit card. Can I also pay in another way, for example via PayPal?
I have sent it to open weather to.
From OWM page:
We accept payments by credit or debit cards as well as payments made via bank transfer. You can pay with most of credit or debit card such as Visa®, MasterCard®, Union Pay®, American Express®, ApplePay®, GooglePay®, Link via Stripe®, Wechat®, Alipay+, Revolut Pay®
Debit cards (standard VISA bank cards) als also possible. You don’t need a credit card.
why doesn’t it recognize the code when i enter it? all the numbers on the card don’t work.
Please ask OpenWeather team. I can’t help with OWM internals.
Hi, I am struggling with parsing the JSON return from the onecall api.
An example result is:
{
"lat": XXX,
"lon": XXX,
"timezone": "Europe/Berlin",
"timezone_offset": 7200,
"hourly": [
{
"dt": 1727265600,
"temp": 15.39,
"feels_like": 15.18,
"pressure": 1003,
"humidity": 84,
"dew_point": 12.7,
"uvi": 1.52,
"clouds": 100,
"visibility": 10000,
"wind_speed": 5.18,
"wind_deg": 232,
"wind_gust": 9.52,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.61
}
},
{
"dt": 1727269200,
"temp": 15.23,
"feels_like": 15.03,
"pressure": 1003,
"humidity": 85,
"dew_point": 12.73,
"uvi": 1.18,
"clouds": 100,
"visibility": 10000,
"wind_speed": 5.23,
"wind_deg": 234,
"wind_gust": 10.19,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.56
}
},
{
"dt": 1727272800,
"temp": 15.13,
"feels_like": 14.94,
"pressure": 1003,
"humidity": 86,
"dew_point": 12.81,
"uvi": 0.6,
"clouds": 100,
"visibility": 10000,
"wind_speed": 4.63,
"wind_deg": 229,
"wind_gust": 9.83,
"weather": [
{
"id": 501,
"main": "Rain",
"description": "Mäßiger Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 3.16
}
},
{
"dt": 1727276400,
"temp": 14.37,
"feels_like": 14.16,
"pressure": 1003,
"humidity": 88,
"dew_point": 12.41,
"uvi": 0.56,
"clouds": 100,
"visibility": 10000,
"wind_speed": 4.61,
"wind_deg": 223,
"wind_gust": 10.4,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.25
}
},
{
"dt": 1727280000,
"temp": 14.15,
"feels_like": 13.94,
"pressure": 1003,
"humidity": 89,
"dew_point": 12.37,
"uvi": 0.22,
"clouds": 100,
"visibility": 10000,
"wind_speed": 4.15,
"wind_deg": 221,
"wind_gust": 8.96,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.13
}
},
{
"dt": 1727283600,
"temp": 12.85,
"feels_like": 12.65,
"pressure": 1002,
"humidity": 94,
"dew_point": 11.89,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 3.2,
"wind_deg": 208,
"wind_gust": 7.65,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04d"
}
],
"pop": 0.8
},
{
"dt": 1727287200,
"temp": 12.33,
"feels_like": 12.1,
"pressure": 1003,
"humidity": 95,
"dew_point": 11.56,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 2.64,
"wind_deg": 195,
"wind_gust": 7.42,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0.8
},
{
"dt": 1727290800,
"temp": 11.96,
"feels_like": 11.74,
"pressure": 1002,
"humidity": 97,
"dew_point": 11.44,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 2.39,
"wind_deg": 182,
"wind_gust": 6.93,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727294400,
"temp": 11.31,
"feels_like": 11,
"pressure": 1002,
"humidity": 96,
"dew_point": 10.82,
"uvi": 0,
"clouds": 78,
"visibility": 10000,
"wind_speed": 2.35,
"wind_deg": 178,
"wind_gust": 5.12,
"weather": [
{
"id": 803,
"main": "Clouds",
"description": "Überwiegend bewölkt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727298000,
"temp": 11.2,
"feels_like": 10.88,
"pressure": 1001,
"humidity": 96,
"dew_point": 10.65,
"uvi": 0,
"clouds": 86,
"visibility": 10000,
"wind_speed": 2.22,
"wind_deg": 149,
"wind_gust": 3.35,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727301600,
"temp": 11.17,
"feels_like": 10.88,
"pressure": 1001,
"humidity": 97,
"dew_point": 10.78,
"uvi": 0,
"clouds": 90,
"visibility": 10000,
"wind_speed": 2.4,
"wind_deg": 157,
"wind_gust": 5.94,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727305200,
"temp": 11.25,
"feels_like": 10.99,
"pressure": 1000,
"humidity": 98,
"dew_point": 10.91,
"uvi": 0,
"clouds": 92,
"visibility": 10000,
"wind_speed": 2.59,
"wind_deg": 150,
"wind_gust": 7.74,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727308800,
"temp": 11.11,
"feels_like": 10.84,
"pressure": 999,
"humidity": 98,
"dew_point": 10.78,
"uvi": 0,
"clouds": 93,
"visibility": 10000,
"wind_speed": 2.86,
"wind_deg": 148,
"wind_gust": 8.45,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727312400,
"temp": 11.31,
"feels_like": 11.03,
"pressure": 998,
"humidity": 97,
"dew_point": 10.87,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 3.15,
"wind_deg": 146,
"wind_gust": 9.87,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727316000,
"temp": 11.75,
"feels_like": 11.51,
"pressure": 996,
"humidity": 97,
"dew_point": 11.22,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 3.47,
"wind_deg": 153,
"wind_gust": 10.31,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727319600,
"temp": 12.7,
"feels_like": 12.56,
"pressure": 995,
"humidity": 97,
"dew_point": 12.21,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 3.76,
"wind_deg": 142,
"wind_gust": 10.47,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10n"
}
],
"pop": 0.34,
"rain": {
"1h": 0.27
}
},
{
"dt": 1727323200,
"temp": 13.4,
"feels_like": 13.3,
"pressure": 994,
"humidity": 96,
"dew_point": 12.71,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 4.65,
"wind_deg": 148,
"wind_gust": 11.33,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10n"
}
],
"pop": 0.8,
"rain": {
"1h": 0.3
}
},
{
"dt": 1727326800,
"temp": 13.67,
"feels_like": 13.57,
"pressure": 993,
"humidity": 95,
"dew_point": 12.82,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 5.02,
"wind_deg": 157,
"wind_gust": 12.1,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10n"
}
],
"pop": 1,
"rain": {
"1h": 0.53
}
},
{
"dt": 1727330400,
"temp": 13.59,
"feels_like": 13.49,
"pressure": 991,
"humidity": 95,
"dew_point": 12.78,
"uvi": 0,
"clouds": 100,
"visibility": 10000,
"wind_speed": 5.66,
"wind_deg": 148,
"wind_gust": 13.21,
"weather": [
{
"id": 501,
"main": "Rain",
"description": "Mäßiger Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 1.13
}
},
{
"dt": 1727334000,
"temp": 13.81,
"feels_like": 13.7,
"pressure": 990,
"humidity": 94,
"dew_point": 12.82,
"uvi": 0.03,
"clouds": 100,
"visibility": 10000,
"wind_speed": 6.09,
"wind_deg": 162,
"wind_gust": 13.73,
"weather": [
{
"id": 501,
"main": "Rain",
"description": "Mäßiger Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 1.78
}
},
{
"dt": 1727337600,
"temp": 13.99,
"feels_like": 13.9,
"pressure": 990,
"humidity": 94,
"dew_point": 13.09,
"uvi": 0.03,
"clouds": 100,
"visibility": 10000,
"wind_speed": 6.67,
"wind_deg": 178,
"wind_gust": 14.45,
"weather": [
{
"id": 501,
"main": "Rain",
"description": "Mäßiger Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 1.65
}
},
{
"dt": 1727341200,
"temp": 14.5,
"feels_like": 14.43,
"pressure": 990,
"humidity": 93,
"dew_point": 13.48,
"uvi": 0.26,
"clouds": 100,
"visibility": 10000,
"wind_speed": 6.65,
"wind_deg": 198,
"wind_gust": 13.24,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.18
}
},
{
"dt": 1727344800,
"temp": 15.28,
"feels_like": 15.29,
"pressure": 990,
"humidity": 93,
"dew_point": 14.1,
"uvi": 0.16,
"clouds": 100,
"visibility": 10000,
"wind_speed": 6.53,
"wind_deg": 211,
"wind_gust": 12.32,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04d"
}
],
"pop": 0.8
},
{
"dt": 1727348400,
"temp": 15.94,
"feels_like": 15.91,
"pressure": 990,
"humidity": 89,
"dew_point": 14.14,
"uvi": 1.61,
"clouds": 100,
"visibility": 10000,
"wind_speed": 6.52,
"wind_deg": 222,
"wind_gust": 11.96,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.11
}
},
{
"dt": 1727352000,
"temp": 16.54,
"feels_like": 16.5,
"pressure": 991,
"humidity": 86,
"dew_point": 14.08,
"uvi": 2.04,
"clouds": 100,
"visibility": 10000,
"wind_speed": 5.67,
"wind_deg": 231,
"wind_gust": 12.04,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.11
}
},
{
"dt": 1727355600,
"temp": 16.65,
"feels_like": 16.59,
"pressure": 991,
"humidity": 85,
"dew_point": 14.14,
"uvi": 1.92,
"clouds": 100,
"visibility": 10000,
"wind_speed": 5.55,
"wind_deg": 224,
"wind_gust": 11.09,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.39
}
},
{
"dt": 1727359200,
"temp": 16.77,
"feels_like": 16.72,
"pressure": 990,
"humidity": 85,
"dew_point": 14.25,
"uvi": 0.8,
"clouds": 98,
"visibility": 10000,
"wind_speed": 6.41,
"wind_deg": 214,
"wind_gust": 12.25,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.4
}
},
{
"dt": 1727362800,
"temp": 15.41,
"feels_like": 15.33,
"pressure": 990,
"humidity": 89,
"dew_point": 13.66,
"uvi": 0.55,
"clouds": 98,
"visibility": 10000,
"wind_speed": 6.17,
"wind_deg": 213,
"wind_gust": 12.4,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.79
}
},
{
"dt": 1727366400,
"temp": 15.51,
"feels_like": 15.39,
"pressure": 991,
"humidity": 87,
"dew_point": 13.39,
"uvi": 0.23,
"clouds": 80,
"visibility": 10000,
"wind_speed": 6.95,
"wind_deg": 223,
"wind_gust": 13.5,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.71
}
},
{
"dt": 1727370000,
"temp": 14.56,
"feels_like": 14.37,
"pressure": 990,
"humidity": 88,
"dew_point": 12.77,
"uvi": 0,
"clouds": 84,
"visibility": 10000,
"wind_speed": 6.38,
"wind_deg": 223,
"wind_gust": 13.94,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 1,
"rain": {
"1h": 0.59
}
},
{
"dt": 1727373600,
"temp": 13.9,
"feels_like": 13.72,
"pressure": 991,
"humidity": 91,
"dew_point": 12.56,
"uvi": 0,
"clouds": 89,
"visibility": 10000,
"wind_speed": 5.33,
"wind_deg": 208,
"wind_gust": 13.91,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10n"
}
],
"pop": 1,
"rain": {
"1h": 0.1
}
},
{
"dt": 1727377200,
"temp": 13.68,
"feels_like": 13.53,
"pressure": 991,
"humidity": 93,
"dew_point": 12.6,
"uvi": 0,
"clouds": 93,
"visibility": 10000,
"wind_speed": 5.53,
"wind_deg": 206,
"wind_gust": 14.37,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10n"
}
],
"pop": 1,
"rain": {
"1h": 0.13
}
},
{
"dt": 1727380800,
"temp": 13.91,
"feels_like": 13.76,
"pressure": 991,
"humidity": 92,
"dew_point": 12.48,
"uvi": 0,
"clouds": 82,
"visibility": 10000,
"wind_speed": 5.94,
"wind_deg": 216,
"wind_gust": 13.92,
"weather": [
{
"id": 803,
"main": "Clouds",
"description": "Überwiegend bewölkt",
"icon": "04n"
}
],
"pop": 0.65
},
{
"dt": 1727384400,
"temp": 13.72,
"feels_like": 13.52,
"pressure": 992,
"humidity": 91,
"dew_point": 12.3,
"uvi": 0,
"clouds": 88,
"visibility": 10000,
"wind_speed": 6.03,
"wind_deg": 212,
"wind_gust": 14.42,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727388000,
"temp": 13.66,
"feels_like": 13.48,
"pressure": 991,
"humidity": 92,
"dew_point": 12.34,
"uvi": 0,
"clouds": 91,
"visibility": 10000,
"wind_speed": 6.28,
"wind_deg": 213,
"wind_gust": 14.46,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727391600,
"temp": 13.47,
"feels_like": 13.27,
"pressure": 992,
"humidity": 92,
"dew_point": 12.21,
"uvi": 0,
"clouds": 87,
"visibility": 10000,
"wind_speed": 6.79,
"wind_deg": 210,
"wind_gust": 15.11,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727395200,
"temp": 13.38,
"feels_like": 13.18,
"pressure": 992,
"humidity": 92,
"dew_point": 12.11,
"uvi": 0,
"clouds": 90,
"visibility": 10000,
"wind_speed": 7.83,
"wind_deg": 214,
"wind_gust": 15.47,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10n"
}
],
"pop": 0.2,
"rain": {
"1h": 0.14
}
},
{
"dt": 1727398800,
"temp": 13.67,
"feels_like": 13.36,
"pressure": 991,
"humidity": 87,
"dew_point": 11.57,
"uvi": 0,
"clouds": 86,
"visibility": 10000,
"wind_speed": 8.42,
"wind_deg": 223,
"wind_gust": 15.68,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727402400,
"temp": 13.27,
"feels_like": 12.87,
"pressure": 991,
"humidity": 85,
"dew_point": 10.8,
"uvi": 0,
"clouds": 89,
"visibility": 10000,
"wind_speed": 8.81,
"wind_deg": 223,
"wind_gust": 15.99,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727406000,
"temp": 12.72,
"feels_like": 12.27,
"pressure": 992,
"humidity": 85,
"dew_point": 10.28,
"uvi": 0,
"clouds": 92,
"visibility": 10000,
"wind_speed": 8.96,
"wind_deg": 221,
"wind_gust": 16.66,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727409600,
"temp": 12.59,
"feels_like": 12.05,
"pressure": 992,
"humidity": 82,
"dew_point": 9.67,
"uvi": 0,
"clouds": 94,
"visibility": 10000,
"wind_speed": 9.42,
"wind_deg": 218,
"wind_gust": 18.18,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727413200,
"temp": 12.69,
"feels_like": 12.08,
"pressure": 992,
"humidity": 79,
"dew_point": 9.14,
"uvi": 0,
"clouds": 96,
"visibility": 10000,
"wind_speed": 9.79,
"wind_deg": 222,
"wind_gust": 18.41,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04n"
}
],
"pop": 0
},
{
"dt": 1727416800,
"temp": 12.86,
"feels_like": 12.21,
"pressure": 993,
"humidity": 77,
"dew_point": 8.93,
"uvi": 0,
"clouds": 96,
"visibility": 10000,
"wind_speed": 9.34,
"wind_deg": 221,
"wind_gust": 17.05,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04d"
}
],
"pop": 0
},
{
"dt": 1727420400,
"temp": 12.37,
"feels_like": 11.75,
"pressure": 994,
"humidity": 80,
"dew_point": 9.04,
"uvi": 0.09,
"clouds": 65,
"visibility": 10000,
"wind_speed": 9.34,
"wind_deg": 222,
"wind_gust": 16.9,
"weather": [
{
"id": 803,
"main": "Clouds",
"description": "Überwiegend bewölkt",
"icon": "04d"
}
],
"pop": 0
},
{
"dt": 1727424000,
"temp": 13.33,
"feels_like": 12.73,
"pressure": 994,
"humidity": 77,
"dew_point": 9.41,
"uvi": 0.18,
"clouds": 56,
"visibility": 10000,
"wind_speed": 8.67,
"wind_deg": 223,
"wind_gust": 16.11,
"weather": [
{
"id": 803,
"main": "Clouds",
"description": "Überwiegend bewölkt",
"icon": "04d"
}
],
"pop": 0
},
{
"dt": 1727427600,
"temp": 14.63,
"feels_like": 14.05,
"pressure": 995,
"humidity": 73,
"dew_point": 9.9,
"uvi": 0.34,
"clouds": 34,
"visibility": 10000,
"wind_speed": 8.6,
"wind_deg": 224,
"wind_gust": 16.17,
"weather": [
{
"id": 802,
"main": "Clouds",
"description": "Mäßig bewölkt",
"icon": "03d"
}
],
"pop": 0
},
{
"dt": 1727431200,
"temp": 14.92,
"feels_like": 14.4,
"pressure": 995,
"humidity": 74,
"dew_point": 10.23,
"uvi": 1.65,
"clouds": 30,
"visibility": 10000,
"wind_speed": 8.31,
"wind_deg": 229,
"wind_gust": 14.9,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 0.2,
"rain": {
"1h": 0.2
}
},
{
"dt": 1727434800,
"temp": 15.16,
"feels_like": 14.66,
"pressure": 995,
"humidity": 74,
"dew_point": 10.6,
"uvi": 2.05,
"clouds": 36,
"visibility": 10000,
"wind_speed": 8.12,
"wind_deg": 226,
"wind_gust": 14.36,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"pop": 0.93,
"rain": {
"1h": 0.32
}
}
],
"daily": [
{
"dt": 1727262000,
"sunrise": 1727241143,
"sunset": 1727284358,
"moonrise": 1727298960,
"moonset": 1727276640,
"moon_phase": 0.77,
"summary": "Expect a day of partly cloudy with rain",
"temp": {
"day": 14.96,
"min": 11.2,
"max": 15.39,
"night": 11.2,
"eve": 12.85,
"morn": 11.86
},
"feels_like": {
"day": 14.76,
"night": 10.88,
"eve": 12.65,
"morn": 11.53
},
"pressure": 1003,
"humidity": 86,
"dew_point": 12.64,
"wind_speed": 5.77,
"wind_deg": 218,
"wind_gust": 13.41,
"weather": [
{
"id": 501,
"main": "Rain",
"description": "Mäßiger Regen",
"icon": "10d"
}
],
"clouds": 100,
"pop": 1,
"rain": 5.64,
"uvi": 1.8
},
{
"dt": 1727348400,
"sunrise": 1727327649,
"sunset": 1727370610,
"moonrise": 0,
"moonset": 1727365020,
"moon_phase": 0.8,
"summary": "Expect a day of partly cloudy with rain",
"temp": {
"day": 15.94,
"min": 11.11,
"max": 16.77,
"night": 13.72,
"eve": 14.56,
"morn": 13.67
},
"feels_like": {
"day": 15.91,
"night": 13.52,
"eve": 14.37,
"morn": 13.57
},
"pressure": 990,
"humidity": 89,
"dew_point": 14.14,
"wind_speed": 6.95,
"wind_deg": 223,
"wind_gust": 14.45,
"weather": [
{
"id": 501,
"main": "Rain",
"description": "Mäßiger Regen",
"icon": "10d"
}
],
"clouds": 100,
"pop": 1,
"rain": 9.17,
"uvi": 2.04
},
{
"dt": 1727434800,
"sunrise": 1727414154,
"sunset": 1727456862,
"moonrise": 1727390040,
"moonset": 1727452680,
"moon_phase": 0.84,
"summary": "Expect a day of partly cloudy with rain",
"temp": {
"day": 15.16,
"min": 10.33,
"max": 15.16,
"night": 10.33,
"eve": 11.6,
"morn": 12.69
},
"feels_like": {
"day": 14.66,
"night": 9.66,
"eve": 10.98,
"morn": 12.08
},
"pressure": 995,
"humidity": 74,
"dew_point": 10.6,
"wind_speed": 10.63,
"wind_deg": 228,
"wind_gust": 18.41,
"weather": [
{
"id": 501,
"main": "Rain",
"description": "Mäßiger Regen",
"icon": "10d"
}
],
"clouds": 36,
"pop": 1,
"rain": 5.89,
"uvi": 2.05
},
{
"dt": 1727521200,
"sunrise": 1727500660,
"sunset": 1727543114,
"moonrise": 1727481240,
"moonset": 1727539920,
"moon_phase": 0.87,
"summary": "Expect a day of partly cloudy with rain",
"temp": {
"day": 11.63,
"min": 7.41,
"max": 12.6,
"night": 8.99,
"eve": 9.49,
"morn": 8.34
},
"feels_like": {
"day": 10.7,
"night": 8.01,
"eve": 7.91,
"morn": 6.67
},
"pressure": 1016,
"humidity": 71,
"dew_point": 6.53,
"wind_speed": 5.03,
"wind_deg": 284,
"wind_gust": 10,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"clouds": 97,
"pop": 1,
"rain": 5.74,
"uvi": 2.12
},
{
"dt": 1727607600,
"sunrise": 1727587166,
"sunset": 1727629367,
"moonrise": 1727572380,
"moonset": 1727626920,
"moon_phase": 0.9,
"summary": "You can expect rain in the morning, with partly cloudy in the afternoon",
"temp": {
"day": 11.98,
"min": 7.5,
"max": 13.43,
"night": 7.5,
"eve": 9.16,
"morn": 8.35
},
"feels_like": {
"day": 11.32,
"night": 6.24,
"eve": 9.16,
"morn": 6.92
},
"pressure": 1028,
"humidity": 80,
"dew_point": 8.82,
"wind_speed": 3.08,
"wind_deg": 241,
"wind_gust": 7.56,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"clouds": 100,
"pop": 1,
"rain": 6.22,
"uvi": 0.92
},
{
"dt": 1727694000,
"sunrise": 1727673672,
"sunset": 1727715620,
"moonrise": 1727663280,
"moonset": 1727713860,
"moon_phase": 0.93,
"summary": "There will be partly cloudy today",
"temp": {
"day": 13.89,
"min": 6.08,
"max": 13.89,
"night": 8.33,
"eve": 9.89,
"morn": 6.08
},
"feels_like": {
"day": 12.74,
"night": 6.37,
"eve": 8.22,
"morn": 4.06
},
"pressure": 1020,
"humidity": 54,
"dew_point": 4.95,
"wind_speed": 4.87,
"wind_deg": 134,
"wind_gust": 10.58,
"weather": [
{
"id": 804,
"main": "Clouds",
"description": "Bedeckt",
"icon": "04d"
}
],
"clouds": 100,
"pop": 0,
"uvi": 1
},
{
"dt": 1727780400,
"sunrise": 1727760179,
"sunset": 1727801873,
"moonrise": 1727754120,
"moonset": 1727800680,
"moon_phase": 0.96,
"summary": "You can expect partly cloudy in the morning, with rain in the afternoon",
"temp": {
"day": 14.5,
"min": 6.29,
"max": 14.5,
"night": 8.8,
"eve": 9.43,
"morn": 6.44
},
"feels_like": {
"day": 13.57,
"night": 6.77,
"eve": 7.38,
"morn": 6.44
},
"pressure": 1009,
"humidity": 60,
"dew_point": 6.89,
"wind_speed": 4.65,
"wind_deg": 293,
"wind_gust": 10.5,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"clouds": 17,
"pop": 1,
"rain": 1.29,
"uvi": 1
},
{
"dt": 1727866800,
"sunrise": 1727846686,
"sunset": 1727888127,
"moonrise": 1727844840,
"moonset": 1727887500,
"moon_phase": 0,
"summary": "Expect a day of partly cloudy with rain",
"temp": {
"day": 12.9,
"min": 6.37,
"max": 12.9,
"night": 7.26,
"eve": 8.08,
"morn": 7.51
},
"feels_like": {
"day": 12,
"night": 5.66,
"eve": 6.48,
"morn": 4.89
},
"pressure": 1012,
"humidity": 67,
"dew_point": 6.78,
"wind_speed": 6.21,
"wind_deg": 290,
"wind_gust": 11.47,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "Leichter Regen",
"icon": "10d"
}
],
"clouds": 94,
"pop": 1,
"rain": 1.56,
"uvi": 1
}
]
}
What I want to extract is the hourly precipitation for the next 4 hours (approx). I already extract other data successfully, but here I am failing:
No error occurring, bit #number1-4 are all “0”… I am using the better logic app for the calculations.
Suggestions - or even better - solutions? Thanks!
I would say, the “1” as first part of the JSON object is causing an error.
But why don’t you just add 4 forecast devices for OpenWeather app with the hours 1 to 4 and use their flows/capabilities?
I initially thought this would be easier… And also it would cause a 4fold increase of the api token usage… I remember that there was a limit…?
Anyhow: The JSON parsing app is not throwing an exception/error… but I will happily try out your suggestion. Is it
hourly.rain.1h instead of hourly[1].rain.1h ?
I assumed that the indicated the specific field in an array (= the JSON object)?
I think this “1” as first character can cause an issue:
But anyway… just use the devices.
In general: Every device where you have to provide an API key (in pair view or settings) is doing API calls in the defined period.
All devices where you select a location device in pair view are updated by this location device.
Thanks, that simplifies things a lot! …and brings me back to a point I´ve been at some time ago, and which lead me to my JSON parsing solution:
What is the difference between
Hamburg, DE
Hamburg. tägliche Vorhersage 0d and
Hamburg tägliche Zusammenfassung 0d?
Also, as you can see, I inadvertently ended up with 2 devices in this list, but under the actual devices tab there is only one: