OpenWeatherMap widget for HABPanel

Thanks I’ll take a look. For now I noticed that there are days that are displayed correctly and eg today and the next 3 days are ok (non of them repeat) and next day when I look in habpannel I see that two of them are the same day like the picture above! Next day again everything ok! What’s the issue here?

@bastiaan_van_h Nice widget,thnx for ur hard work,just a noob question,how can i have only the current weather without the 4 day forecast?I need a banner like widget for my front screen.

Great widget!

I need some help formatting number items in the OpenWeatherMap widget. I’d prefer that number items be displayed as whole numbers, without any decimal places. I’ve tried changing the formatting on the Item, changing "[%.1f [%;unit]" to "[%.0f [%;unit]" but that does not seem to have any effect in the widget. A Dummy widget specified with “Use server defined format if available” displays the value as an integer, a Dummy widget with no format specified displays the number with 3 decimal places, and the OpenWeatherMap displays it with one digit. My item definition is:

Number:Temperature		Weather_OWM_Temperature			"Temperature [%.0f %unit%]" <temperature>		{channel="openweathermap:weather-and-forecast:80924c3e:local:current#temperature"}

Can someone help?

sorry. i’m new to openhab!
where do i get the ’ Local weather and forecast’ thing id?
i can’t find a hexadecimal value…

In the Paper UI, go in the item Weather and Forecast

Also, FYI, I had to remove the :local: from the item file, then everything is working now
Thanks Bastiaan and everyone else for your contribution! and advises, my weather tab is now working as well!

How did you solve this? I’m facing the same error :frowning:

EDIT: ok, the files are in Bastiaan’s Github Repo.

Is it Possible to set The time from next day 12:00 to 18:00

I’m having a problem where the degree symbol isn’t displaying properly. Any idea how to fix?

2020-03-08_13-35-40

Hi @bastiaan_van_h. I wanna thank you for the useful widget.

I’d like to suggest an improvement related to:

I’ve lived in places where it can rain in the morning and be sunny in the afternoon. So I don’t think that making a decision based on a fixed time is recommendable. How can I make a decision if it will rain most of the day, except between 11:00 and 13:00, and the widget won’t show any rain at 12:00?

I have some rules that change the color of my lights based on the weather forecast (temperature, rain, snow).
I figured out that the best approach was to find the maximum and minimum temperatures of the day. For rain and snow I add up the 3-hour forecasted figures of the whole day and behave accordingly. I coded my rules according to this logic.

I think in a way it is related to what Zyan is asking for:

Wouldn’t this approach be more suitable to most people?

If you’re using the latest version with my fix, just change 12 in this line to the time you want.

var hoursToNoon = (24 - today.getHours()) + 12;

Hi @mb300sd,

My suggestion was not to check a fixed time

I suggested that the widget should (if possible) display the max and min temp of each day. For rain and snow, it should be the total expected levels for the day.

Beautiful widget! Thanks Bastian.
I was wondering if there is a (easy) way to change from a daily forecast to a 3h-6h-9h-12h forecast. The data is already in the items file. But how can it be made visible on the HABPanel?
It needs a change in the json file, I guess.

Thanks a lot in advance,
Guido

Maybe can someone solve my issue.
I got installed weather binding 1.1.4 with OH 2.5.4

Everything is setup sitemap en items, in the paper UI en basic UI is everything nice en smooth.
But in the Habpanel I can,t get My Icons.
I use the example.Html en set the src lines with static/weather-data
I got my .png icons in the images/ colurful map.
Weather.cfg is setup with ForecastIo incl. api key

After reading lots of tutorials i can,t get find the solution.
Has someone an idea wat cause my issue.

Getting Only the first 24h is that because I have the free api or is something else wrong ?

Have the same problem
image
When i had made the change as installation guide said (Local weather and forecast set Hours to 96 and days to 1), the Thing OpenWeatherMap Account went offline

Free api gives you every 3hours forecast for 5 days. Edit your Local weather and forecast thing: change 24h for 96h

If you want the full 5 days, use 120h.

Very nice looking widget, though mine’s not fully functional yet. Installed as per instructions, rechecked file structure and everything is in its proper place. However, in Habpanel the only items displaying correctly is the sky condition, temperature and wind speed. Everything else is NULL, and no icons appear anywhere. I get the items to display in separate dummy widgets, and I also see them in PaperUI>Control and in BasicUI. Any ideas where to look and fix?

When your widget shows just an empty screen, the solution can be to just open the Widget’s settings and Save it (even when you don’t want to change anything). Only then the ‘colorsettings’ are used.

1 Like