# \[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:** 6

<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:** [April 21, 2022, 5:10pm UTC](https://community.homey.app/t/app-pro-openweather/61482/101 "2022-04-21T17:10:29Z")

</div>

Hey Ronny,  
Just for your information,  
I just saw the “forecast time” of various weather devices is in error.  
No clue when it started to occur (it was okay before).  
Might be related to the RC firmware?  
App v1.1.7  
FW v7.4.0-RC22

 ![Screenshot_20220421-190233_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/d/2d7e1bfe9ec507383be587c5d5a68eb41fa9fff4.jpeg)

---

<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:** [April 21, 2022, 6:02pm UTC](https://community.homey.app/t/app-pro-openweather/61482/102 "2022-04-21T18:02:45Z")

</div>

> [@Dennis\_H74](#):
>
> Any idee why this happens and can this be improved because a few degrees do matter a lot for my blinds and room temp for example

Hi Dennis,

OWM is refreshing the forecast based on updated weather data. But I don’t know what local weather provider is used. Perhaps the forecast is a bit interpolated.

My max.Temp for the 1 day forecast looks like that with some changes over the day, too:

 ![grafik](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/6/2698e4e8efd1940f282ea448c1b8bdfe5ec8d0b8.png)

I can’t do much. This data is provided by OWM.

---

<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:** [April 21, 2022, 6:04pm UTC](https://community.homey.app/t/app-pro-openweather/61482/103 "2022-04-21T18:04:58Z")

</div>

> [@Peter\_Kawa](#):
>
> I just saw the “forecast time” of various weather devices is in error.

Thanks for the hint. I will look at it if the 7.40 is stable. I don’t have a experimental Homey 😁  
I’ve read about changes in using timestamps. Some firmware versions before Athom has changed to only use UTC. So the app is using Homeys timezone to get the local time. Perhaps there something was changed with the new NodeJS version.

---

<div class="post-metadata">

**Author:** ![Dennis\_H74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_h74/32/11177_2.png) [@Dennis\_H74](https://community.homey.app/u/Dennis_H74)\
**Post date:** [April 21, 2022, 6:13pm UTC](https://community.homey.app/t/app-pro-openweather/61482/104 "2022-04-21T18:13:11Z")

</div>

Thanks for the reply

Today in my city ( Nieuw Vennep - Netherlands ) it came from 15.8 to 17.7 … that is a 2 degree difference and i have this almost every day. Its weird because all weather apps and news forcast just give the correct max temp without fluctuations. Even a day upfront wheatherpro for example is spot on. So i find it weird that a max forecast can change that much 🤷

I understand your point about not being able to change the data though … no problem.  
Does OWM not have a “fixed” number they provide somewhere perhaps ?

Again thanks for the fast reply 👍

---

<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:** [April 21, 2022, 6:24pm UTC](https://community.homey.app/t/app-pro-openweather/61482/105 "2022-04-21T18:24:41Z")

</div>

I checked the API desctiption again but I could not find any details about forecast updates.

> **[One Call API: weather data for any geographical coordinate - OpenWeatherMap](https://openweathermap.org/api/one-call-api)**
>
> Make only one API call and get all essential weather data for some specific location with our new OpenWeather One Call API. Current weather
> Minute forecast, Hourly forecast for 48 hours, Daily forecast for 7 days, Government weather alerts,...

Your “Current” device is requesting the data in the set interval (5min) and all depending devices are updated. So in OWN is changing forecast data every minute, you will have updates in your device every 5min. And the forecast time for the daily forecast is fix, only the values are changing.

Which of your value is matching better? In the morning oder later? Perhaps you could make a workaround:

1. use a second “Current” device with another interval
2. Read the value with a flow at a time where it’s mostly best matching.

---

<div class="post-metadata">

**Author:** ![Dennis\_H74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_h74/32/11177_2.png) [@Dennis\_H74](https://community.homey.app/u/Dennis_H74)\
**Post date:** [April 21, 2022, 6:45pm UTC](https://community.homey.app/t/app-pro-openweather/61482/106 "2022-04-21T18:45:39Z")

</div>

Well … actually … when the highest temp is reached 17.00 / 18.00 basically to late ) After that the MAX temp is actually slowly decreasing ?? Now it is 16.3 for example.

So normally i suppose the max temp is around 17.00 pm. However i need my blinds to act in the morning to keep the heat out.

Example …6.00 am : max temp below 18 … only 2 blinds down and the house is allowed to warm up with the sun. Between 18 - 22 only 2 bliinds down and 3 halve … above 22 all 5 blinds down to keep the heat out.

I need to arange that in the morning… so i expect a max day temp that can be used. But at 6.00 it is different then the actual highest temp. And i never did see that in any weatherapp or tv forecast before.

Before your app i used darkweather … always stable and spot on ( again i understand it is not your fault ) . At 6.00 it said 20 degrees… tv morning news said 20 … weather pro said 20 … iphone native weather app said 20. Now it changes all day long.

Weird huh 😬

---

<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:** [April 21, 2022, 6:57pm UTC](https://community.homey.app/t/app-pro-openweather/61482/107 "2022-04-21T18:57:13Z")

</div>

You are using the daily forecast device with +0 days, right?  
I will add such a device for me and take a look at the value in insights.  
Could you compare with the +1day forecast now, if it’s a better forecast for tomorrow?

---

<div class="post-metadata">

**Author:** ![Dennis\_H74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_h74/32/11177_2.png) [@Dennis\_H74](https://community.homey.app/u/Dennis_H74)\
**Post date:** [April 21, 2022, 7:10pm UTC](https://community.homey.app/t/app-pro-openweather/61482/108 "2022-04-21T19:10:26Z")

</div>

Yes i used the + 0

Added a +1 now also ( currently showing 16 as a MAX ) . I interpret this as the max temp tomorrow will be 16.0 …

See todays +0 graph below. Does not look good to me.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/232fcdf0fa217eebd3b7d5c9ef986aee93dd816a.jpeg)

Also see the last 7 days … every day starts to low and spikes in the afternoon ( climbing together with the actual temp … and dropping )

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/b/1b5547b275c3f0c82fe5c74935cbba935b9876c7.jpeg)

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 21, 2022, 7:25pm UTC](https://community.homey.app/t/app-pro-openweather/61482/109 "2022-04-21T19:25:34Z")

</div>

@Dennis_H74 I always use the knmi for the max temperature and it works quite well.  
I use the open wheater for the temperature icon that cant knmi app and for the 3 hour report is good enough.  
I’m going to see this week how that max is the same as the knmi app.

---

<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:** [April 21, 2022, 7:27pm UTC](https://community.homey.app/t/app-pro-openweather/61482/110 "2022-04-21T19:27:07Z")

</div>

> [@RonnyW](#):
>
> I will look at it if the 7.40 is stable. I don’t have a experimental Homey 😁

_… a wise man said_ 😉

> [@RonnyW](#):
>
> Perhaps there something was changed with the new NodeJS version

Probably yes, the firmware status update does not mention anything about time settings.  
The date / dateHuman looks unchanged to me:

 ![Screenshot_20220421-212311_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/6/169d5b130a3e22014e9b5fea3120627aa0a39cfa.jpeg)

---

<div class="post-metadata">

**Author:** ![Dennis\_H74](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dennis_h74/32/11177_2.png) [@Dennis\_H74](https://community.homey.app/u/Dennis_H74)\
**Post date:** [April 21, 2022, 7:36pm UTC](https://community.homey.app/t/app-pro-openweather/61482/111 "2022-04-21T19:36:15Z")

</div>

👍 thanks

Yeah used KNMI for a while also. Was hoping for one app that did all.

Will check it again

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 21, 2022, 7:39pm UTC](https://community.homey.app/t/app-pro-openweather/61482/112 "2022-04-21T19:39:07Z")

</div>

At least this app Open wheater still happens a lot and good updates.👍

The knmi app is unfortunately not much more news, hopefully it will remain on. Not zo Dark Sky.

---

<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:** [April 21, 2022, 8:51pm UTC](https://community.homey.app/t/app-pro-openweather/61482/113 "2022-04-21T20:51:48Z")

</div>

> [@HuisCHovens](#):
>
> At least this app Open wheater still happens a lot and good updates.👍

Thank you for the compliment 😀

---

<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:** [April 21, 2022, 8:56pm UTC](https://community.homey.app/t/app-pro-openweather/61482/114 "2022-04-21T20:56:24Z")

</div>

Hi Peter,  
can you send me a screenshot with the complete date from the capability list in developer view?  
I have an idea what could cause the problem.

The current firmware (or NodeJS) delivers the date (as local string) as yyyy/mm/dd independent of the localization. Now it seems, the date is converted into localized string as dd.mm.yyyy.

---

<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:** [April 21, 2022, 9:00pm UTC](https://community.homey.app/t/app-pro-openweather/61482/115 "2022-04-21T21:00:36Z")

</div>

Ofcourse.  
I didn’t look there yet. The time is present and correct, but now the string is too long to be readable in the app 😉  
It says `undefined-21.04.2022-undefined 22:53`

 ![Screenshot from 2022-04-21 22-58-32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/a/5afbbf79d99209ad87cfd3ba0531a09b1681d377.png)

.  
Is this the cause of ‘undefined’ (`drivers/owmOnecallCurrent/device.js` line 207) :

```auto
                let date = now.split(", ")[0];
                date = date.split("/")[2] + "-" + date.split("/")[0] + "-" + date.split("/")[1]; 
                let time = now.split(", ")[1];
                let forecast_time = date + " " + time;

```

---

<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:** [April 24, 2022, 11:42am UTC](https://community.homey.app/t/app-pro-openweather/61482/116 "2022-04-24T11:42:14Z")

</div>

> [@Peter\_Kawa](#):
>
> It says `undefined-21.04.2022-undefined 22:53`

Hi,  
I added a version check for \>= 7.4.0 to make another date conversion based on the new NodeJS version which allows now a localized date conversion wich was not possible in the past (therefore the workaround with string conversion go get a “international” date).

Could you please check the dates now (test version 1.1.9)? It should appear in the local style based on your Homeys language - I hope 🙂

---

<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:** [April 24, 2022, 12:36pm UTC](https://community.homey.app/t/app-pro-openweather/61482/117 "2022-04-24T12:36:26Z")

</div>

Thanks Ronny.  
The time is correct, and readable again, but still an `undefined`, but now at the end.

 ![Screenshot_20220424-143409_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed025466e36b89e3c13407915160ecb3641cbdb1.jpeg)

 ![Screenshot_20220424-143343_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/ca43aa6f7059feddd5922981456233d077918a78.jpeg)

 ![Screenshot_20220424-143107_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/45f0b3b1c7c9b7567e4aaefb95ef6ff7750f7fe0.jpeg)

---

<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:** [April 24, 2022, 1:04pm UTC](https://community.homey.app/t/app-pro-openweather/61482/118 "2022-04-24T13:04:28Z")

</div>

Ok, next try: test version 1.1.10.  
The time should be hopefully ok now.

Is the format DD-MM-YYYY what you expect for your location (- instead of / or .)?

Again, thanks for testing!

---

<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:** [April 24, 2022, 1:52pm UTC](https://community.homey.app/t/app-pro-openweather/61482/119 "2022-04-24T13:52:53Z")

</div>

YW and thank _you_  
It’s OK now

 ![Screenshot_20220424-154953_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bf6062dc6a2726d644dd8b60e2b5ae26978a1cea.jpeg)

 ![Screenshot_20220424-155104_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/23aa1c9800dedaa64cd00ade540dcd422fbebce3.jpeg)

> [@RonnyW](#):
>
> DD-MM-YYYY

Yes that’s the usual format in NL

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [April 24, 2022, 7:24pm UTC](https://community.homey.app/t/app-pro-openweather/61482/120 "2022-04-24T19:24:27Z")

</div>

Is it because I haven’t updated yet?  
date is still wrong. dd-mm-yyyy is what i want  
but it is now mm-dd-yyyy.

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

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