OpenWeatherMap PaperUI minimum and maximum temperatures

Ok, what about a screenshot ?

Tomorrow :grinning:
Actually it is not needed because everything was autodiscovered.

:+1: thx

Here you go:

1 Like

There is no “forecastToday” if you have the free API key. I have the free version and I do not have those channels either. That is also being described in the documentation:
" Attention : The daily forecast is only available for paid accounts. The binding tries to request daily forecast data from the OpenWeatherMap API. If the request fails, all daily forecast channel groups will be removed from the thing and further request will be omitted.

:heart: thx for screenshot and your tip.
Cheers,
Peter

Hi Christian, I know. That’s why I’m asking for.
Maybe this is a new feature in the free version, as @sihui found out. Perhaps @cweitkamp can bring light into darkness for those new features ??!!

Hm, i checked again with the latest snapshot (1571). When I remove the thing for the weather information and after that add it again, I can see those channels with the daily forecast data in the thing. As soon as the binding tries to retrieve the data, those channels disappear.
So in my case the behaviour is still like it is written in the documentation.
I solved it with rules that calculate min/max values from the 3h data.

Hi Peter,

I am afraid I missed the point you asked me to help. Do you want to know if the daily forecast is available for the free account of OWM? I do not think so. Please have a look in your own: https://openweathermap.org/price. Or do you like to know which features have been introduced in the binding?

https://github.com/openhab/openhab2-addons/search?q=is%3Apr+is%3Aclosed+openweathermap&type=Commits.

Thx, for reply.
Some posts above there was a discussion with @sihui and @baeron25 about aggregated daily data for MIN/MAX Temperatures in the free version since snapshot #1549.

But as I can see now in the price-list there are no daily values available.

The only thing I learned is, that snapshot #1572 seems to be broken, when I tried to look for those “new” features. So I immediately downgraded to my former Release OH 2.5M1, which runs quite stable.

When reading the Price-list I noticed that there are “Weather-Maps” and “Weather-Alerts” available for free. Are there Channels for those features in the Binding? I can’t find any hints in the docs

Cheers,
Peter

Hi Christian,
thx for your tests and results. Is it possible to post such a Rule or sending it via PM to me? I’m working on a solution too since some months, but there are still problems in it, but at the moment I have not much time (or gusto :upside_down_face:) to look for it.

Cheers,
Peter

I have my free OWM key since four years, maybe that is the reason I can see those data.

Sure, I found it in this post:

It’s working well for me.

No likes yet for that nice work :sunglasses:
Even though I’m not using that code I gave him one :grinning:

No, the binding does not support both of them. I have no idea how to integrate “Weather-Maps”. “Weather-Alerts” should be possible. Feel free to open a feature request in Pull requests · openhab/openhab2-addons · GitHub.

Thx, for your hint. As @sihui I gave a like. There are very interesting ways how to find a solution.

Cheers,
Peter

What a pity, but thx for info

Something strange is happening.
I send an API request directly using a browser:

http://api.openweathermap.org/data/2.5/forecast?id=554233&APPID=<APIKEY>

In the browser, I get a complete answer containing the forecast data. Including a few days in advance:

{"cod":"200","message":0,"cnt":40,"list":[{"dt":1576584000,"main":{"temp":274.44,"feels_like":269.61,"temp_min":273.99,"temp_max":274.44,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":97,"temp_kf":0.45},"weather":[{"id":600,"main":"Snow","description":"light snow","icon":"13d"}],"clouds":{"all":100},"wind":{"speed":4.25,"deg":220},"snow":{"3h":0.38},"sys":{"pod":"d"},"dt_txt":"2019-12-17 12:00:00"},{"dt":1576594800,"main":{"temp":274.65,"feels_like":270.52,"temp_min":274.31,"temp_max":274.65,"pressure":1012,"sea_level":1012,"grnd_level":991,"humidity":97,"temp_kf":0.34},"weather":[{"id":600,"main":"Snow","description":"light snow","icon":"13n"}],"clouds":{"all":100},"wind":{"speed":3.3,"deg":225},"snow":{"3h":0.63},"sys":{"pod":"n"},"dt_txt":"2019-12-17 15:00:00"},{"dt":1576605600,"main":{"temp":274.54,"feels_like":270.65,"temp_min":274.32,"temp_max":274.54,"pressure":1012,"sea_level":1012,"grnd_level":992,"humidity":98,"temp_kf":0.22},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":100},"wind":{"speed":2.96,"deg":256},"rain":{"3h":0.06},"sys":{"pod":"n"},"dt_txt":"2019-12-17 18:00:00"},{"dt":1576616400,"main":{"temp":273.67,"feels_like":270.05,"temp_min":273.56,"temp_max":273.67,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":97,"temp_kf":0.11},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":2.36,"deg":256},"sys":{"pod":"n"},"dt_txt":"2019-12-17 21:00:00"},{"dt":1576627200,"main":{"temp":273.3,"feels_like":270.24,"temp_min":273.3,"temp_max":273.3,"pressure":1014,"sea_level":1014,"grnd_level":993,"humidity":97,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":1.48,"deg":266},"sys":{"pod":"n"},"dt_txt":"2019-12-18 00:00:00"},{"dt":1576638000,"main":{"temp":272.53,"feels_like":269.83,"temp_min":272.53,"temp_max":272.53,"pressure":1014,"sea_level":1014,"grnd_level":993,"humidity":96,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":88},"wind":{"speed":0.78,"deg":262},"sys":{"pod":"n"},"dt_txt":"2019-12-18 03:00:00"},{"dt":1576648800,"main":{"temp":272.53,"feels_like":269.1,"temp_min":272.53,"temp_max":272.53,"pressure":1014,"sea_level":1014,"grnd_level":994,"humidity":97,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":92},"wind":{"speed":1.86,"deg":180},"sys":{"pod":"d"},"dt_txt":"2019-12-18 06:00:00"},{"dt":1576659600,"main":{"temp":274.44,"feels_like":270.8,"temp_min":274.44,"temp_max":274.44,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":93,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":95},"wind":{"speed":2.43,"deg":183},"sys":{"pod":"d"},"dt_txt":"2019-12-18 09:00:00"},{"dt":1576670400,"main":{"temp":275.15,"feels_like":270.32,"temp_min":275.15,"temp_max":275.15,"pressure":1011,"sea_level":1011,"grnd_level":990,"humidity":95,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":97},"wind":{"speed":4.34,"deg":173},"rain":{"3h":0.31},"sys":{"pod":"d"},"dt_txt":"2019-12-18 12:00:00"},{"dt":1576681200,"main":{"temp":276.06,"feels_like":271.99,"temp_min":276.06,"temp_max":276.06,"pressure":1008,"sea_level":1008,"grnd_level":988,"humidity":96,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":3.5,"deg":197},"sys":{"pod":"n"},"dt_txt":"2019-12-18 15:00:00"},{"dt":1576692000,"main":{"temp":277.21,"feels_like":272.19,"temp_min":277.21,"temp_max":277.21,"pressure":1005,"sea_level":1005,"grnd_level":985,"humidity":94,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":5.07,"deg":212},"sys":{"pod":"n"},"dt_txt":"2019-12-18 18:00:00"},{"dt":1576702800,"main":{"temp":278.05,"feels_like":272.42,"temp_min":278.05,"temp_max":278.05,"pressure":1004,"sea_level":1004,"grnd_level":984,"humidity":90,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":6,"deg":247},"sys":{"pod":"n"},"dt_txt":"2019-12-18 21:00:00"},{"dt":1576713600,"main":{"temp":277.54,"feels_like":271.22,"temp_min":277.54,"temp_max":277.54,"pressure":1004,"sea_level":1004,"grnd_level":984,"humidity":78,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":90},"wind":{"speed":6.38,"deg":265},"sys":{"pod":"n"},"dt_txt":"2019-12-19 00:00:00"},{"dt":1576724400,"main":{"temp":275.24,"feels_like":267.85,"temp_min":275.24,"temp_max":275.24,"pressure":1004,"sea_level":1004,"grnd_level":984,"humidity":76,"temp_kf":0},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"clouds":{"all":32},"wind":{"speed":7.38,"deg":268},"sys":{"pod":"n"},"dt_txt":"2019-12-19 03:00:00"},{"dt":1576735200,"main":{"temp":275.25,"feels_like":267.69,"temp_min":275.25,"temp_max":275.25,"pressure":1005,"sea_level":1005,"grnd_level":984,"humidity":76,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":52},"wind":{"speed":7.63,"deg":272},"sys":{"pod":"d"},"dt_txt":"2019-12-19 06:00:00"},{"dt":1576746000,"main":{"temp":276.19,"feels_like":268.38,"temp_min":276.19,"temp_max":276.19,"pressure":1006,"sea_level":1006,"grnd_level":985,"humidity":73,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":100},"wind":{"speed":8.05,"deg":286},"sys":{"pod":"d"},"dt_txt":"2019-12-19 09:00:00"},{"dt":1576756800,"main":{"temp":275.18,"feels_like":267.6,"temp_min":275.18,"temp_max":275.18,"pressure":1008,"sea_level":1008,"grnd_level":987,"humidity":69,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":98},"wind":{"speed":7.42,"deg":295},"sys":{"pod":"d"},"dt_txt":"2019-12-19 12:00:00"},{"dt":1576767600,"main":{"temp":274.28,"feels_like":266.69,"temp_min":274.28,"temp_max":274.28,"pressure":1010,"sea_level":1010,"grnd_level":989,"humidity":71,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":80},"wind":{"speed":7.34,"deg":300},"sys":{"pod":"n"},"dt_txt":"2019-12-19 15:00:00"},{"dt":1576778400,"main":{"temp":273.81,"feels_like":266.25,"temp_min":273.81,"temp_max":273.81,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":78,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":90},"wind":{"speed":7.44,"deg":305},"sys":{"pod":"n"},"dt_txt":"2019-12-19 18:00:00"},{"dt":1576789200,"main":{"temp":273.91,"feels_like":267.09,"temp_min":273.91,"temp_max":273.91,"pressure":1015,"sea_level":1015,"grnd_level":994,"humidity":79,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":93},"wind":{"speed":6.43,"deg":304},"sys":{"pod":"n"},"dt_txt":"2019-12-19 21:00:00"},{"dt":1576800000,"main":{"temp":272.52,"feels_like":266.32,"temp_min":272.52,"temp_max":272.52,"pressure":1017,"sea_level":1017,"grnd_level":996,"humidity":81,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":92},"wind":{"speed":5.37,"deg":299},"sys":{"pod":"n"},"dt_txt":"2019-12-20 00:00:00"},{"dt":1576810800,"main":{"temp":273.14,"feels_like":266.53,"temp_min":273.14,"temp_max":273.14,"pressure":1018,"sea_level":1018,"grnd_level":997,"humidity":78,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":98},"wind":{"speed":5.97,"deg":309},"sys":{"pod":"n"},"dt_txt":"2019-12-20 03:00:00"},{"dt":1576821600,"main":{"temp":272.57,"feels_like":267.07,"temp_min":272.57,"temp_max":272.57,"pressure":1019,"sea_level":1019,"grnd_level":997,"humidity":81,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":95},"wind":{"speed":4.38,"deg":302},"sys":{"pod":"d"},"dt_txt":"2019-12-20 06:00:00"},{"dt":1576832400,"main":{"temp":273.1,"feels_like":267.65,"temp_min":273.1,"temp_max":273.1,"pressure":1020,"sea_level":1020,"grnd_level":998,"humidity":81,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":76},"wind":{"speed":4.4,"deg":285},"sys":{"pod":"d"},"dt_txt":"2019-12-20 09:00:00"},{"dt":1576843200,"main":{"temp":273.46,"feels_like":268.65,"temp_min":273.46,"temp_max":273.46,"pressure":1019,"sea_level":1019,"grnd_level":998,"humidity":76,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":56},"wind":{"speed":3.4,"deg":279},"sys":{"pod":"d"},"dt_txt":"2019-12-20 12:00:00"},{"dt":1576854000,"main":{"temp":271.65,"feels_like":267.57,"temp_min":271.65,"temp_max":271.65,"pressure":1019,"sea_level":1019,"grnd_level":998,"humidity":86,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":8},"wind":{"speed":2.33,"deg":275},"sys":{"pod":"n"},"dt_txt":"2019-12-20 15:00:00"},{"dt":1576864800,"main":{"temp":271.94,"feels_like":267.97,"temp_min":271.94,"temp_max":271.94,"pressure":1019,"sea_level":1019,"grnd_level":998,"humidity":84,"temp_kf":0},"weather":[{"id":802,"main":"Clouds","description":"scattered clouds","icon":"03n"}],"clouds":{"all":39},"wind":{"speed":2.17,"deg":251},"sys":{"pod":"n"},"dt_txt":"2019-12-20 18:00:00"},{"dt":1576875600,"main":{"temp":271.99,"feels_like":267.97,"temp_min":271.99,"temp_max":271.99,"pressure":1018,"sea_level":1018,"grnd_level":996,"humidity":83,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":97},"wind":{"speed":2.23,"deg":236},"sys":{"pod":"n"},"dt_txt":"2019-12-20 21:00:00"},{"dt":1576886400,"main":{"temp":272.44,"feels_like":268.31,"temp_min":272.44,"temp_max":272.44,"pressure":1017,"sea_level":1017,"grnd_level":995,"humidity":79,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":98},"wind":{"speed":2.35,"deg":224},"sys":{"pod":"n"},"dt_txt":"2019-12-21 00:00:00"},{"dt":1576897200,"main":{"temp":272.45,"feels_like":268.61,"temp_min":272.45,"temp_max":272.45,"pressure":1015,"sea_level":1015,"grnd_level":995,"humidity":78,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":1.91,"deg":203},"sys":{"pod":"n"},"dt_txt":"2019-12-21 03:00:00"},{"dt":1576908000,"main":{"temp":272.16,"feels_like":268.3,"temp_min":272.16,"temp_max":272.16,"pressure":1015,"sea_level":1015,"grnd_level":994,"humidity":78,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":100},"wind":{"speed":1.89,"deg":180},"sys":{"pod":"d"},"dt_txt":"2019-12-21 06:00:00"},{"dt":1576918800,"main":{"temp":273.56,"feels_like":269.34,"temp_min":273.56,"temp_max":273.56,"pressure":1014,"sea_level":1014,"grnd_level":993,"humidity":69,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":100},"wind":{"speed":2.36,"deg":177},"sys":{"pod":"d"},"dt_txt":"2019-12-21 09:00:00"},{"dt":1576929600,"main":{"temp":273.21,"feels_like":269.33,"temp_min":273.21,"temp_max":273.21,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":71,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":100},"wind":{"speed":1.88,"deg":160},"sys":{"pod":"d"},"dt_txt":"2019-12-21 12:00:00"},{"dt":1576940400,"main":{"temp":272.34,"feels_like":268.2,"temp_min":272.34,"temp_max":272.34,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":73,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":2.18,"deg":138},"sys":{"pod":"n"},"dt_txt":"2019-12-21 15:00:00"},{"dt":1576951200,"main":{"temp":272,"feels_like":267.66,"temp_min":272,"temp_max":272,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":71,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":2.37,"deg":132},"sys":{"pod":"n"},"dt_txt":"2019-12-21 18:00:00"},{"dt":1576962000,"main":{"temp":271.87,"feels_like":267.46,"temp_min":271.87,"temp_max":271.87,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":69,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":2.39,"deg":122},"sys":{"pod":"n"},"dt_txt":"2019-12-21 21:00:00"},{"dt":1576972800,"main":{"temp":271.95,"feels_like":267.28,"temp_min":271.95,"temp_max":271.95,"pressure":1012,"sea_level":1012,"grnd_level":991,"humidity":68,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":2.75,"deg":127},"sys":{"pod":"n"},"dt_txt":"2019-12-22 00:00:00"},{"dt":1576983600,"main":{"temp":272.39,"feels_like":267.7,"temp_min":272.39,"temp_max":272.39,"pressure":1012,"sea_level":1012,"grnd_level":991,"humidity":70,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04n"}],"clouds":{"all":100},"wind":{"speed":2.89,"deg":139},"sys":{"pod":"n"},"dt_txt":"2019-12-22 03:00:00"},{"dt":1576994400,"main":{"temp":272.56,"feels_like":268.01,"temp_min":272.56,"temp_max":272.56,"pressure":1012,"sea_level":1012,"grnd_level":991,"humidity":78,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":100},"wind":{"speed":2.94,"deg":123},"sys":{"pod":"d"},"dt_txt":"2019-12-22 06:00:00"},{"dt":1577005200,"main":{"temp":272.63,"feels_like":268.05,"temp_min":272.63,"temp_max":272.63,"pressure":1013,"sea_level":1013,"grnd_level":992,"humidity":88,"temp_kf":0},"weather":[{"id":804,"main":"Clouds","description":"overcast clouds","icon":"04d"}],"clouds":{"all":100},"wind":{"speed":3.27,"deg":132},"sys":{"pod":"d"},"dt_txt":"2019-12-22 09:00:00"}],"city":{"id":554233,"name":"Korolev","coord":{"lat":55.9142,"lon":37.8256},"country":"RU","timezone":10800,"sunrise":1576562090,"sunset":1576587264}}

Including data on the maximum and minimum temperatures for today. Based on this data, I can conclude that my APIKEY has no restrictions on these values. The server provides them.
But if I change the 0 value in the local weather settings:


then the thing changes its status:

'openweathermap:weather-and-forecast:c8bf6942:local' changed from ONLINE to UNKNOWN

At the same time, Today Maximum Temperature and Today Minimum Temperature channels appear!

If i change the value back to 0, then this does not help, the status remains “unknown”.

After a reboot, the value of “Number of days for daily forecast” automatically returns to 0.
And also the channels of maximum and minimum temperatures disappear.
What is it? Binding error? The server provides the necessary data, even with the free APIKEY. I conclude that there is some kind of binding problem.

You mean, you try to set for Daily forecasts and it doesn’t work?
Yes, that is expected for free users.
For free, you can get the data in three-hour chunks (for a few days ahead).

This might clarify -

Also -

Not what you think -

Thank you. It explains everything.