Weather Underground widget with forecast

widgetgallery
weatherunderground
Tags: #<Tag:0x00007f0147acd9c0> #<Tag:0x00007f0147acd790>

(Richard Boksebeld) #43

Hi, would love to get this awesome widget working but having some difficulties doing so… more likely because im a total noob at this…

Im on build 1219 but do not see any values appear in this widget. What do i need to configure exactly? Images like windspeed and humidity are visible but that is. the rest show N/A of stuff like {{’ %.1f’ | sprintf:itemValue(‘Weather_Temperature’)}}

Please post a screenshot of your current configuration settings, maybe that will clear things up.


(Bauke Plugge) #44

Hi @BamiPangPang

  • did you add a new binding for the Weather Underground? , easiest to do this is from PaperUI.
  • if you did that correctly you got a “thing” for the weather underground called local weather
    you need to edit that thing enter your location and request an API key at the weather underground. that you should enter here aswell.
  • if that is successfull you will get an online thing, then probably your widget is also working

goodluck !


(Timur) #45

Hello!
i have instaled your modified widged. It’s helps me to resolve my issue about weekdays names translation, thank you. But i cant configure serverpath, icons dont displayed (


(Bauke Plugge) #46

if you go to the settings page of the HABpanel, then you see a button called “Manage>” its under custom
widgets.

there you see all installed witgets.

if you then click on the name of the widget you will get in the widget editor.
on the first page you will see the ServerPath variable.


(Richard Boksebeld) #47

Thanks for the reply! Got that already covered with the API key…
Tried a basic “dummy” weather widget, no issues… “Thing” is online and in logs no errors.

2018-02-21 23:14:34.734 [vent.ItemStateChangedEvent] - weatherunderground_weather_local_current_temperature changed from -2 to -2.2
2018-02-21 23:14:34.814 [vent.ItemStateChangedEvent] - weatherunderground_weather_local_current_relativeHumidity changed from 69 to 86
2018-02-21 23:14:34.899 [vent.ItemStateChangedEvent] - weatherunderground_weather_local_current_windDirection changed from NE to NNO
2018-02-21 23:14:35.003 [vent.ItemStateChangedEvent] - weatherunderground_weather_local_current_windSpeed changed from 11 to 1.0
2018-02-21 23:14:35.044 [vent.ItemStateChangedEvent] - weatherunderground_weather_local_current_windGust changed from 0 to 3.1
2018-02-21 23:14:35.314 [vent.ItemStateChangedEvent] - weatherunderground_weather_local_forecastToday_maxTemperature changed from 6 to 7


(Daniel Walters) #48

See the first post - specifically the section about item names. Your item names aren’t what the widget is looking for.


(Timur) #49

So, i got it by myself )
What i’m do? Just got method for localizing from modified widget by Jan and insert it in original widget code. So, now i have original widget with dayname on my language.


(Bastiaan van Haastrecht) #50

After locality change in Openhab, you need to restart it and clear your browser cache. Otherwise HABpanel wont follow the new locality.

No need for manual translations.


(Richard Boksebeld) #51

Great! Got it working! Removed cache, widget en reconfigured the items.

weather


(Christian) #52

I have a problem. Widget is working but my tablet resolution is 1280x800.
The widget does not display correctly. Is it possible to modify the settings to work with such resolution.

If i resize the browser window on my PC to simulate the tablet resolution i get the same effect.


(Mr. Yoinkz) #53

Quick question. Does this widget only work for OH 2.3 snapshot? Or is it working with stable 2.2?


(T Dods) #54

Great widget thanks. What is best way to condense/shrink the current condition image?

And for anyone that can use it, to get 12 hours clock w/ AM/PM, use

date: 'h:mm a'

(Timur) #55

bastiaan, can you add in widget day/night check and night icons for night statuses?


(Ian) #56

Wow, this is a nice widget, I saw another one last week and started creating my own and then this one appeared recently, it is very similar to what I was doing.
I am not quite finished but very close.
It’s amazing how much we made these very similar.
I also made it responsive (to a certain extent)


(Sachin Dhawade) #57

Try changing the style for the daily columns from col-md-3 to col-sm-3, worked for me…


(Renan Muniz) #58

Amazing widget, thank you. How can I change the week days labels to my language? 2018-02-25%20(1)
As you can see, only the days are in English. The rest of the widget is in Portuguese.


(Daniel Walters) #59

What’s your system locale set to?


(Renan Muniz) #60

The system locale is set to my city and language set to portuguese. I changed the language and locale of my weather underground thing.
Any language that I set, except english, it’s still showing the week days in english.


(Bastiaan van Haastrecht) #61

@fmrenan, have you restarten OH and cleared your browser cache?


(Bastiaan van Haastrecht) #62

@fta, night/day check and night icons would be possible. I need the Astro Binding to determine the local sun set/rise, and then add the wu-night class to the conditions.

I will look into it.