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.cm.ManagedService, org.osgi.service.event.EventHandler, id=312, bundle=199/mvn:org.openhab.binding/org.openhab.binding.weather/1.9.0-SNAPSHOT]: Updating property weather of configuration org.openhab.weather caused a problem: Incomplete location config for locationId ‘’. Check openhab.cfg.
org.osgi.service.cm.ConfigurationException: 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:
apikey.Wunderground=xxxxxxxxxxxxxxxx
# location configuration, you can specify multiple locations
location.lukken.name=House
location.lukken.latitude=45.055365
location.lukken.longitude=-93.415005
location.lukken.provider=Wunderground
location.lukken.language=en
location.lukken.updateInterval=15
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?