One possible suggestion - could we have the ability to reuse existing items (e.g. in “Advanced” configuration tab) rather than having to create these specific ones? Not a big deal, I just added them to my OWM items file, but I feel li’d be nice to have that flexibility.

On order to accomplish that, all items need to become a setting in the widget. There are about 20 items to be set there. Doing it via a pre-configured set of items is easier and less mistakes can be made. The widget needs extra code to verify each items data to ensure it will work. Therefore, an easy request is not so easy to implement.

One point took me a few minutes to find: I had to change the list of items a little bit; change of all the Hex codes within the channel definition (…weather-and-forecast:2fd1295b:…) was required. I already had the OpenWeather binding installed before; maybe this is the reason…

Last question: I am still waiting for Humidity and Wind Speed to appear within the widged; currently both are only “N/A”. I linked both channels to two additional items using PaperUI; both items are displayed ate PaperUI/Control with proper numbers. I am using Openhab 2.4.

One point took me a few minutes to find: I had to change the list of items a little bit; change of all the Hex codes within the channel definition (…weather-and-forecast:2fd1295b:…) was required. I already had the OpenWeather binding installed before; maybe this is the reason…

Yup, everybody needs to change that id to match to their own. I will update the steps to make that more clear.

Last question: I am still waiting for Humidity and Wind Speed to appear within the widged; currently both are only “N/A”. I linked both channels to two additional items using PaperUI; both items are displayed ate PaperUI/Control with proper numbers. I am using Openhab 2.4.

Please add a dummy widget to that item and see if it displays it correctly. If so, add another dummy widget to the same item and select ‘Use server provided format’ and check again. Could be something with your unit conversion somehow.

Its displaying in Celcius, and I want Fahrenheit. I can’t figure out how to change this. The documentation says to use a “unit=fahrenheit” parameter, but I can’t figure out where to put this - this clearly doesn’t work:

I also found that when I try to display this widget on an iPad t the forecast doesn’t work right - it stacks them vertically rather than horizontally. It displays properly on my Windows 10 PC, but not on the iPad. Any ideas?

Hi,
I started myself with a widget for the OMW free api, but I gave up when it came to correct ordering of the forecasts.
My problem was that if i look now at the forecast24 items they show something different than when I look at them this evening at 10 o’clock.
So it wasn’t sufficient for me because I’m not interested how the weather will be tomorrow evening at 10 o’clock, I want to know how it will be tomorrow morning or whenever.
Did you solve this somehow?

Nope, it has this exact same limitation. I do however considering implementing some logic to show the weather @ noon 12.00 of each day.

I found it less problematic because summing a full day in a single condition where everything could happen to the weather is rather usefull from the beginning, right? It just looks nice and gives so some form of indication.

Your iPad has probably smaller screen dimensions than your PC. You can set the icon sizes in the settings of the widget and you should scale the widget on the dashboard to fit it for the iPad dimensions. I myself have 3 different dashboard configurations for all of my devices. Mobile, PC and iPad. You need this because of the different screen dimensions.

The items follow the unit settings of OH. You should set your ‘Regional Settings’ as described in the steps.

OK - it does have to do with screen size, but reducing the icon size or increasing the widget size won’t help (I’ve tried the smallest icon size and a full width widget).

You json code uses “col-md-xx” (md stands for medium) for your column spacing, which allows horizontal layout only on devices with 768px or more in width, and forces a vertical layout on anything with less than 768px. The iPad2 I’m using reportedly has a 1024x768 resolution and I’m using it in portrait mode. But as it turns out the browser is interpreting this as not being a medium size screen, so it’s forced into a vertical layout.

Changing all of the “col-md-xx” designations in your code to “col-sm-xx” fixes the issue with no impact to devices with larger displays.

Question: is it possible, that the forecast will show the weather/temperature always at 12 o’clock? If I look to weather forecast e.g. at 8 pm, the 48 hour forecast will show the temperature in 2 days at 8 pm, which could be confusing.

Problem:
the icons are only shown for 48 and 72 hour forecast, but not the current weather and forecast of 3 and 24 hours.
When I view the items in PaperUI, all icons are show correct

In reply to your question: When I have the time, I will try to make the 12:00 o-clock logic into the widget.

For the missing icons, the widget is not using the ‘icon’ channels as it has ugly icons. Instead it uses the ‘condition-id’, which is an integer and gets the corresponding icon from the ‘weather icons’.

Check the Weather_OWM_ConditionId0 and Weather_OWM_ConditionId1 channels values by adding the Dummy widget.

I see you have more NULL’s, so could be your items aren’t setup right.