Weather Underground widget with forecast

Tags: #<Tag:0x00007f0147ac9140> #<Tag:0x00007f0147ac8fd8>

(Christian Karl) #145

Than you for your hint. Unfortunately it did not help.
I digged little bit deeper. In console bundle:diag gave me alot of unsatisfied requirements (java-stuff). For that new WeatherUnderground Binding.
But never mind. I dont want to waste to much time for an Weather Widget! I will take another one or build my own.

(H2rrisson) #146

You are missing the items file in conf/items folder.

Create a file with the content that is described at the beginning of this post (the section: “Add and configure these items:”). Name the file weather.items (or something-you-like.items) and refresh your widget.

(Christian Karl) #147

My problem was, to get the new .jar running.
With all steps done I got this:

       openhab> bundle:list -s | grep weather
        211 │ Installed │  80 │    │ org.eclipse.smarthome.binding.weatherunderground
        openhab> bundle:diag 211
        WeatherUnderground Binding (211)
        Status: Installed
        Unsatisfied Requirements:
        osgi.wiring.package; filter:="(osgi.wiring.package=javax.measure)"
        osgi.wiring.package; filter:="(osgi.wiring.package=javax.measure.quantity)"
        osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.jdt.annotation)"; resolution:="optional"
        osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.smarthome.binding.weatherunderground)"
        osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.smarthome.binding.weatherunderground.handler)"
        osgi.wiring.package; filter:="(osgi.wiring.package=org.eclipse.smarthome.core.library.unit)"
        Declarative Services

And, there is no more “Thing local weather”, nowhere. The new binding does not appear. In Log Viewer its the same:

FrameworkEvent ERROR - org.eclipse.smarthome.binding.weatherunderground
Unresolved requirement: Import-Package: javax.measure

**I took only the bindings file from 2.3 Did not realize that I have completely upgrade to 2.3. **
Now I switched the whole thing to 2.3.
Thankyou to all

(Arnaud) #149

Hello All,

<div ng-init="ServerPath='/static/weather-underground-icons-master/dist'; IconSet='white'"

Where do you put this line and in which folder?



(Pete Stanley) #150

so trying to get this working does anyone know now to get api key? the last post was from 5 days ago so i would have thought this thread is still active.

i go to the wu site and go to the api bit at the bottom and it just says they no longer provide free api keys.

i have tried to contact them with no joy. so at a bit of a lot end now. any help here will be cool


(david) #151

This looks like a new development in the last week or so where they no longer offer free keys.

(Sten Johnsen) #152

I’m having the exact same issue. Have been spending a lot of time trying to figure this out, and no luck so far.
Values are listed in PaperUI as in your case and I am running OpenHAB 2.3.0-SNAPSHOT 16th of may version.

Anywhere/how to start debug this issue?
I do have “undefined” notation on some values tho…

(Jan Heidle) #153

Sorry for answering so late - was busy with some other things and forgot this message. To be honest, I was not trying again since a while. It’s frustrating but I don’t know what I did wrong so I hope a newer version will make it more simple to implement it again

It doewsn’t help you but at least you know that you are not alone :slight_smile:
Have a great weekend

(Edwin de Boer) #154


After a few hours of reading en trying, I finaly got it to work.
The only issue I’ve got is some resizing.
On a tablet the with is still ok, but at the bottom the tekst is below the container.
I will look into the code later on to see how to fix this.

I just wanted to lat you know so maybe you come with a general fix.


(G) #155

I’m struggling with this, trying to get the icons to show. I’ve followed all instructions to the letter, but inspecting the html, I’m seeing null returned for the icons, like so:

<i class="wu wu-white wu-64 wu-NULL"></i>

This is how it looks:

I’m on snapshot 2.4.0

(Bastiaan van Haastrecht) #156

You are probebly not on a newer build of the weatherunderground binding wich has the icon feature. Update tot the latest snapshot of OH.

To test create use the Dummy and point it to the icon item.

(G) #157


I’m on 2.4.0 snapshot. I can see the icon channel in the thing.

Dummy pointing to the icon returns:



WeatherConditionId just all return null because of iconKey I think.

(Kris K) #158

Hi All, ive installed the binding and the Local Weather thing is present, in unitlisated status. It seems it wants an API key, where do I find this?

(Pit) #159


I have exactly the same issue as you guys. Any progress with this? Seems like the Thing is somehow missconfigured maybe, since widget cannot get the data?

(Turloiu Razvan) #160

New on OH and i’m wondering if is there any way to make this awesome widget get responsive on different disp resolutions?
On pc it fits but on a tablet the icons and text is messed up.

Or any way to change the text size.


(Kim Andersen) #161

Sten, does your items definition contain underscores? I have seen PaperUI show “undefined” when using underscores in the item defintion (name). They should work allright in BasicUI though, if this is the reason though.

(Maciej Eckstein) #162

Do i need an API key for this one? It looks like WU stopped giving those for free, is there any workaround?

(Renan Muniz) #163

For now we don’t have any solutions, just wait the community develop a new binding with other weather source.

(Greg) #164

I’ve had tablets hanging on my walls for over 4 years and never being used until I discovered Openhab. I just got this fabulous widget working this morning when the conditions were partly cloudy. Now the conditions have changed to clear and the big conditions image remained partly cloudy. The daily conditions small image for today (Sunday) is correct. Also, the feels like temperature of 114 degrees is way off. Any ideas on what is going wrong?

(Bastiaan van Haastrecht) #165

The current condition and forecast condition are two different channels:

String		Weather_ConditionId			"ConditionId [%s]"		{channel="weatherunderground:weather:local:current#iconKey"}
String		Weather_ConditionId0		"ConditionId [%s]"		{channel="weatherunderground:weather:local:forecastToday#iconKey"}

So the widget is purely showing you whats provided from the WU binding, and the binding from whats provided from WU API. You could add two dummy widgets to these two channels and view its result, but there’s nothing that could be done.