OpenHAB2, Weather Binding and Wunderground Not working

I am currently trying to get the weather binding working with OpenHAB2. I had it working about 8 months ago, but have since started everything over, and can’t get it to connect. I have uninstalled and reinstalled the binding.

The one thing that I can’t figure out is, I get the error:

[ERROR] [org.apache.felix.configadmin ] - [, org.osgi.service.event.EventHandler, id=312, bundle=199/mvn:org.openhab.binding/]: Updating property weather of configuration caused a problem: Incomplete location config for locationId ‘’. Check openhab.cfg. weather : Incomplete location config for locationId ‘’. Check openhab.cfg.

My locationId is no any longer, I updated it to lukken, for testing purposes. I can’t seem to find where it is still pulling “” from.

Here is my weather.cfg entry:


# location configuration, you can specify multiple locations

Here is my item list entry:

Number		Weather_Temperature	"Outside Temperature [%.1f °F]"	<tempoutside>	(Weather)		{weather="locationId=lukken, type=temperature, property=current, unit=fahrenheit" }
DateTime 	Weather_LastUpdate  "Last update [%1$td.%1$tm.%1$tY %1$tH:%1$tM]"        			{weather="locationId=lukken, 	type=condition, property=lastUpdate"}

and here is my SiteMap:

Text item=Weather_Temperature 
Text item=Weather_LastUpdate visibility=[Weather_LastUpdate>30] valuecolor=[Weather_LastUpdate>120="orange", Weather_LastUpdate>300="red"]

I don’t think the issue is with the sitemap or items.

I am running OpenHAB2, and can’t find any openhab.cfg. I only have one weather.cfg file, and it does not reference the locationId as .

What am I missing?

I was able to figure it out.

There were a few weather.config files, seemingly leftover from previous updates, located in /var/lib/openhav2/config/ and /var/lib/openhav2/config/org/openhab.

The various historical config files, had reference to multiple and old iterations of my weather.cfg file stored in the /Services/ directory.

Once I deleted those .config files, everything started working as expected.

I can’t speak to if this is behaving as normal, but my OpenHAB2 instance was referencing old\outdated config references.