Yahoo weather binding not working

So I’ve been working on getting my weather binding to work for 2 days now. I’ll get straight to it. I’m running openhab 1.8 and here are my files:

.cfg
weather:location..name=home
#weather:location..latitude=37.28424
#weather:location..longitude=-80.04353
weather:location..woeid=2487363
weather:location..provider=Yahoo
weather:location..language=en
weather:location..updateInterval=10

.items
Number Weather_Temperature “Outside Temperature [%.0f] °F” { weather=“locationId=home, type=temperature, property=current, unit=fahrenheit” }

.sitemap
Text item=Temperature

I’m using Yahoo so I don’t need an API key. I foind my WOEID, but it just won’t update. from the log file:

2016-02-15 13:12:54.845 [INFO ] [o.o.b.w.i.common.WeatherConfig] - LocationConfig[providerName=YAHOO,language=en,updateInterval=10,latitude=,longitude=,woeid=2487365,locationId=,name=home]

Shouldn’t your config be:

weather:location.home.woeid=2487363
weather:location.home.provider=Yahoo
weather:location.home.language=en
weather:location.home.updateInterval=10

You have to provide a location-id in the config file and from your items it looks like you should be using “home”.

1 Like

Thank you, @rlkoshak ! I understand how that works together now!

for others my new.cfg:
#weather:location.Home.latitude=37.28424
#weather:location.Home.longitude=-80.04353
weather:location.Home.woeid=2487363
weather:location.Home.provider=Yahoo
weather:location.Home.language=en
weather:location.Home.updateInterval=10

.items:
Number Weather_Temperature "Outside Temperature [%.0f] °F" <temperature> { weather="locationId=Home, type=temperature, property=current, unit=fahrenheit" }

.sitemap:
Text item=Temperature

Are you getting valid values from the Yahoo-weater? I found it absolutely unreliable, see further Yahoo weather: data unreliable, binding problems
The “bad data” returned by Yahoo is not a fault of OpenHAB!