I was searching for an item that provides the maximum temperature for today. I had the same Problem that there was just a temp min/max for the tomorrow forecast and the days after.
I wanted to limit the automatic rollershutter-rule for the sun-protection (only working when forecasted max temp for today >23).
I use the weather binding (1.14.0) and today I found an item for the max temperatur of today (same for min temp).
Number Temp_Max_Today "Max [%s °C]" {weather="locationId=*whats_in_your_weather.cfg*, forecast=0, type=temperature, property=max"}
I hope this will help someone!
EDIT:
Thanks to rossko57 - I forgot the weather service I am using.
It’s forecast.io (Darksky). They are no longer accepting new signups. So it’s just interesting if you already have an account there - sorry.
unfortunately this is not a solution for me
the temp_max and temp_min channels are available for the (free API) hourly weather forecasts but are missing for the (free API) current weather
I’m not speaking about the (paid API) todays or daily forecast - this is a complete other topic in my case
I repeat that the temp_max and temp_min data is probably not what you think.
For current weather, there is no max and min in the usual sense. It is what it is, the temperature as measured now. There is no range to that, unlike when a period is involved like a day.
OpenWeatherMap can - but does not always - return data like temp_max and temp_min where the location for the current weather is an area like a city. Perhaps it’ll be warmer in the east of the city than the west, etc. https://openweathermap.org/current
I suspect the vast majority of the time you simply will not get this data at all from OWM, when using openHAB with lat/long coordinates. What are you planning to do with it?
Try it out with a direct request in your browser.
If you want to request a binding enhancement to add channels to support, you should create an issue in github
I’d better go with the sunrise and sunset channels
the temp_min and temp_max are more as a feature completion to the already existing hourly equivalent
about the effort - sooner or later we go with the One Call API