[App][Pro] OpenWeather

Hi, I’ve configured today’s forecast and tomorrow’s forecast. I noticed Probability of precipitation & volume as well wind speed showing same values for today and tomorrow. I’ve just queried the open weather API for my location manually. looks like tomorrow’s values are the same, but today is showing tomorrow’s value for precipitation etc. Temperature for today is correct though. Have you observed similar behaviour before?

Rgds
Lars

The today forecast (daily forecast with 0 days offset) is not showinh correct values every time.
Many users recognized changes during the day as if the forecastbis adjusted to the current weather during the late morning.
But it also depends on the local weather provider whose data is used by OWM.

A possible solution could be:

  • add a new current weahter device (location) with deactivated interval.
  • add the 0day forecast
  • create a flow somewhen in the morning to read weather data (e.g. 6:00)

So you get a today forecast witb onetime reading in the morning.
You can check the data in insights to find a good time to read the data.
So you can prevent the data updates during the day.
I hope this helps a bit :blush:

Is the error still present? If yes, please send me a diagnostic log from app details. I would say there is a missing field in API responde that’s causing an error.
Thanks in advance.

Yes, issue still there. Log sent …
8f5e330d-81a2-4bba-ab73-02ef2cf5b3f5

Thanks. There are no errors in the log.
Only some changes for dew point, temperature, humidity…

Can you please try the URL directly?
You can copy the Lat/Lon values and API key from device settings of your current weather device and insert them into the URL.

https://api.openweathermap.org/data/3.0/onecall?exclude=current,minutely,daily&lat={lat}&lon={lon}&appid={API key}

Ylou should get a large JSON text and inside the hourly list, every hour one set of {…} including hourly data:
grafik

Please check if there is a “clouds” value. If not, then perhaps your weather provider doesn’t provide the data. Did it work in the past, because there is 50% set for every hour?

Morning.
Thanks for the URL. it works and i’m getting the following results (+16h, +17h, 18h):

The devices are refreshed and the update also works. But all devices are showing the same “cloudiness”:
homey OW result

So, i don’t know where the issue is and what i can do … Any ideas?

Thx.

I checked the data readings with my location.

+15h:
grafik

grafik

Looks good.
Are you sure that the values in your tiles are clouds, not humidity?

yes, the values in the titel are the cloudiness.
Sometimes it seems that it is working. At the moment there are some different values:

But the 41% values are still wrong. The others are correct at the moment. about 40 minutes ago all values were at 41%. Now some are correct.
I’m using a new API-Key and i changed my location (just 4 places behind the point)
Does the app needs a lot of perfomance? What refresh intervalll should i use?

At this moment the values for 1h to 3h changed again… all with 59%.

This is the correct value for the +3h device!

But it is the wrong value for +1h and +2h. I took the value from the URL:

I also deleted all devices and uninstalled the app today. Restart Homey Pro 2023 and starts all new.

Still the same problem. What can / should i do?
Or does it just take a bit of time to process all the data?

Thanks!

I try to reproduce this situation and I’ll come back to you when I know something new.

Update:
@Ostys: Found the reason, now I can search for a good fix :slight_smile:

I uploaded a test version 1.5.2 Can you please install and test if the forecast data is ok now? Thanks,

1 Like

Wow, that was fast … Thanks.
I’ve installed the test version 1.5.2 and added a few new devices.
Well, cloudiness for all devices from +10h to +20h are at 100%.
BUT: yes, it’s bad weather here. The URL is given back the same values! Tomorrow seems to be the same bad weather.
So, it shows the correct values at the moment.

I’m offline the whole day and back late. I’ll take a look at the app, today and tomorrow and give you a feedback.

At the moment the test version looks very good.

Thanks for the great support!

1 Like

@RonnyW , thanks for the great support.
The bug is fixed. The cloudiness is shown correctly at the cards now. I’ve checked it yesterday and today with the URL of OpenWeather and my location. PERFECT!

For this bug I can give you a release. But of course, I can’t do a complete quality assurance, because I don’t know (yet) all functions and the cross effects of your change. But the repoprted bug is fixed. And I don’t have other issues at the moment.

If there’s anything else I can do to support you, just please get in touch.
Thanks again! Osty

1 Like

Great app.
I have a question: Why is the order of the information in the overview different in each case?
I always have to search for something.
Wouldn’t it make sense if it was the same everywhere?
And the categories (rain, wind, name) arranged next to each other?

Regards

With “overview” you mean the capability/sensor list in device details?

The app/device is designed to show the sensors in a “nice” order. It’s defined in device definition.
HomeyPro19 is showing all capabilitites in defined order.
HomeyPro23 is showing standard capabilities first, and custom (app specific) capabilities later. So you get a mixed sensor list.

Examples:

  1. HP19: “most used” information first
  2. HP23: Standard capabilities first, then custom capabilities (starting with the last one showing date/time)

It’s caused by Athoms implementations in Homey Firmware and the way of MobileApp/WebApp showing the sensors.

Thank you for the information.
I thought it was due to the engineering.
It’s a pity that this is displayed like this, for me it’s a mess.
But I’ll live with it :smiley:

New test version 1.5.4

  • Added weather ‘dust’ for OneCall current weather.
1 Like

Someone vermillion whit this? A have a valid subscription but it stil not working?

Have someone advise?

Many thanks

And, did you follow the mentioned links already?

Did you check your OWM profile? Perhaps a credit card is not valid anymore.

It’s already working I just had to wait for a couple of minutes

1 Like