HELP - weather Binding not working

Details from the logs, I had set the log level to DEBUG and not TRACE, hence nothing showing in the logs:

07:40:00.165 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Weather_Pressure' with persistence service 'influxdb' took 9ms
07:40:00.175 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Weather_Temp_Max' with persistence service 'influxdb' took 9ms
07:40:00.184 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Weather_Humidity' with persistence service 'influxdb' took 8ms
07:40:00.194 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Weather_Temp_Min' with persistence service 'influxdb' took 9ms
07:40:00.203 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Weather_Temperature' with persistence service 'influxdb' took 8ms
07:40:00.215 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Weather_LastUpdate' with persistence service 'influxdb' took 12ms

The issue seems to be with the methods:

Weather_Temperature.maximumSince(startOfDay).state
Weather_Temperature.minimumSince(startOfDay).state

Both returning the current temperature.

Cheers
James

Iā€™m glad the persistence is working. It is odd that the max and min methods are not working correctly. Iā€™m not sure what could be the cause. All of my experience with getting historical data has been using rrd4j so I donā€™t know if there is something weird about how influxdb works that might be the cause.

The fact that Designer is not liking your maximum and minimum lines is a little concerning and the next place I would look. In my Designer the lines are not underlined in red. When you hover over the lines what is the reason Designer gives for underlining it? Also, are you using the Designer that corresponds with your version of OH (e.g. if you are running OH 1.7.1 you should be using Designer 1.7.1).

Here is a screen grab of my rule logic and the chart showing that it is working.

Greetings and thank you for all the information posted here. I believe I am very close to getting this to work but have been working and reading for a couple days and still not getting weather data to appear so thought Iā€™d make an appeal for help.

I am using yahoo (eventually would like to use Wunderground because they supply tide data and my ā€œhome automationā€ is really for my boat. Consider it Vessel Automation. I backed off a more complex display to just focus on two parameters, figuring if I can get those to work the rest will fall into place. My files below:

First question - on yahooā€™s weather api page they say ā€œget a api keyā€ but all documentation here indicates I do not need one. Is that still true that they key is not needed? Below is based on not needing one.

openhab.cfg

# location configuration, you can specify multiple locations
weather:location.home.name=Home
weather:location.home.latitude=27.xxxxx9
weather:location.home.longitude=-82.xxxxx7
weather:location.provider=Yahoo
weather:location.language=en
weather:location.home.updateInterval=10

default.Items:

String      Condition_Id    "Weather is [MAP(yahoo_weather_code.map):%s]"   { weather="locationId=home, type=condition, property=id" }

Number          Weather_Temperature     "Outside Temperature [%.0f] Ā°F" <temperature>   { weather="locationId=home, type=temperature, property=current, unit=fahrenheit" }
Number          Weather_Humidity        "Outside Humidity [%d%%]"       <temperature>   { weather="locationId=home, type=athmosphere, property=humidity" }

DateTime Date "Date/Time: [%1$tA, %1$tm/%1$td, %1$tI:%1$tM %1$tp]"  <calendar> (status) {ntp="America/New_York:en_EN"}

sitemap

  Frame label="St Petersburg, FL Weather" {
	Text item=Date
	Text item=Condition_Id icon="yahoo_weather"
	Text item=Weather_Temperature
	Text item=Weather_Humidity
  }
}

Start-up Log:

2015-10-26 12:38:25.363 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.7.1).
2015-10-26 12:38:30.366 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2015-10-26 12:38:30.615 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2015-10-26 12:38:30.642 [INFO ] [.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2015-10-26 12:38:30.996 [INFO ] [o.i.t.m.i.MqttBrokerConnection] - Starting MQTT broker connection 'mymosquitto'
2015-10-26 12:38:39.218 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'
2015-10-26 12:38:40.038 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'default.items'
2015-10-26 12:38:41.094 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2015-10-26 12:38:46.618 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /openhab.app
2015-10-26 12:38:50.975 [INFO ] [.service.AbstractActiveService] - NTP Refresh Service has been started
2015-10-26 12:38:51.184 [DEBUG] [o.o.b.w.i.bus.WeatherActivator] - Weather binding has been started.
2015-10-26 12:38:51.375 [DEBUG] [.WeatherGenericBindingProvider] - Adding item Condition_Id with WeatherBindingConfig[locationId=home,type=condition,property=id]
2015-10-26 12:38:51.382 [DEBUG] [.WeatherGenericBindingProvider] - Adding item Weather_Temperature with WeatherBindingConfig[locationId=home,type=temperature,property=current,roundingMode=HALF_UP,scale=2,unit=FAHRENHEIT]
2015-10-26 12:38:51.386 [DEBUG] [.WeatherGenericBindingProvider] - Adding item Weather_Humidity with WeatherBindingConfig[locationId=home,type=atmosphere,property=humidity,roundingMode=HALF_UP,scale=2]
2015-10-26 12:38:51.746 [DEBUG] [.w.internal.gfx.WeatherServlet] - Starting up weather servlet at /weather

I see the weather binding has started and it looks like the items are intialized, however, I never see the response from yahoo that is described on the bindingā€™s wiki page - that being:

In the openHab logfile you must see for each configured apikey one line with

ProviderConfig[providerName=xx, apiKey=xxx]

and for each configured location

LocationConfig[providerName=xxx, language=xx, updateInterval=xx, latitude=xx.xxxx, longitude=xx.xxxx, locationId=xxx]
If these entries do not exist, there is a problem in your openhab.cfg. A
common problem is a space in front of the config properties.

To ensure I could access outside web pages, I added the simple NTP Binding for date/time. That is working as expected so I know I can at least access external time.

Here is what is getting displayed on my web page (I had to add "-=Undfined to the yahoo_weather_code.map file

Any guidance would be greatly appreciated.

That is still true. No API key is needed for Yahoo weather.

I think that holds true only for those providers that require an API key. I have Wundergound configured with the API key but not attached to any location. So in my log I see the ProviderConfig line for Wunderground but not for Yahoo. However, I do see the LocationConfig line with Yahoo and the rest of my configs. I also see:

2015-10-23 10:18:36.448 [INFO ] [.o.b.w.i.s.WeatherJobScheduler] - Starting and scheduling weatherJob-home with interval of 10 minutes

After the LocationConfig (many lines down). I donā€™t have my logging set to DEBUG so I donā€™t see the other lines you list above but mine works so I assume that they would appear.

Your items look just like mine (see comment above) so the problem must be with the openhab.cfg. One thing I do notice is that in your cfg your location is called ā€œHomeā€ but in your items you use ā€œhomeā€. Maybe that is the problemā€¦

Also, check for trailing spaces.

Rich

For Yahoo the default location name is ā€œhomeā€, so if you specify a different name (in your case ā€œHomeā€) it might be confused.
Just delete that line and try again.

Thanks for the quick reply. Rich - yes those items are copied from your original post. I checked for trailing spaces - none present. I also added Wunderground provider back in with an API key to see if that configured - it did not. I took it back out for following test and traces.

Sihui I dropped:

weather:location.home.name=Home

Still no luck. So I bumped logback to TRACE to get all the details per the wikiā€™s debug suggestions. (Trace details at end of post. I see lots of weather things happening EXCEPT the two important lines:

In the openHab logfile you must see for each configured apikey one line with

ProviderConfig[providerName=xx, apiKey=xxx]

and for each configured location

LocationConfig[providerName=xxx, language=xx, updateInterval=xx, latitude=xx.xxxx, longitude=xx.xxxx, locationId=xxx]
If these entries do not exist, there is a problem in your openhab.cfg. A
common problem is a space in front of the config properties.

At the bottom of the wiki debug instructions there is a line about debian downloads.

important note if youā€™re installing from a debian based distribution:
openhab-addon-action-weather and openhab-addon-binding-weather are not
compatible with each other and will silently fail (at least since
1.7.1). If you made sure your openhab.cfg and your items are fine but
you still donā€™t see any ProviderConfig lines you might wanā€™t to check the installed openhab addons.

I am still learning about various repsoitories so by no means an expert - I downloaded the addons using this command string I found on another tutorial I was following:

sudo wget https://bintray.com/artifact/download/openhab/bin/distribution-1.7.1-addons.zip

and unzipped them into a separate folder then moved over the ones I wanted to addons folder. For weather, I only have org.openhab.binding.weather-1.7.1.jar in my addons folder

There is no openhab-addon-action-weather jar file in my addons download directory - should there be?

Trace from most recent run:

2015-10-26 14:10:13.037 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.7.1).
2015-10-26 14:10:18.060 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2015-10-26 14:10:18.629 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2015-10-26 14:10:18.646 [INFO ] [.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
2015-10-26 14:10:18.649 [INFO ] [o.i.t.m.i.MqttBrokerConnection] - Starting MQTT broker connection 'mymosquitto'
2015-10-26 14:10:26.945 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'
2015-10-26 14:10:27.799 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'default.items'
2015-10-26 14:10:28.785 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2015-10-26 14:10:34.459 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /openhab.app
2015-10-26 14:10:38.586 [DEBUG] [o.o.b.w.i.bus.WeatherActivator] - Weather binding has been started.
2015-10-26 14:10:38.770 [DEBUG] [.WeatherGenericBindingProvider] - Adding item Condition_Id with WeatherBindingConfig[locationId=home,type=condition,property=id]
2015-10-26 14:10:38.775 [DEBUG] [.WeatherGenericBindingProvider] - Adding item Weather_Temperature with WeatherBindingConfig[locationId=home,type=temperature,property=current,roundingMode=HALF_UP,scale=2,unit=FAHRENHEIT]
2015-10-26 14:10:38.777 [DEBUG] [.WeatherGenericBindingProvider] - Adding item Weather_Humidity with WeatherBindingConfig[locationId=home,type=atmosphere,property=humidity,roundingMode=HALF_UP,scale=2]
2015-10-26 14:10:38.869 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.relative_humidity,target=atmosphere.humidity,converter=PERCENT_INTEGER]
2015-10-26 14:10:38.871 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=avehumidity,target=atmosphere.humidity,converter=INTEGER]
2015-10-26 14:10:38.873 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=humidity,target=atmosphere.humidity,converter=INTEGER]
2015-10-26 14:10:38.875 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=humidity,target=atmosphere.humidity,converter=FRACTION_INTEGER]
2015-10-26 14:10:38.876 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=humidity,target=atmosphere.humidity,converter=INTEGER]
2015-10-26 14:10:38.878 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=atmosphere.humidity,target=atmosphere.humidity,converter=INTEGER]
2015-10-26 14:10:38.880 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=humidity,target=atmosphere.humidity,converter=INTEGER]
2015-10-26 14:10:38.885 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.visibility_km,target=atmosphere.visibility,converter=DOUBLE]
2015-10-26 14:10:38.887 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=visibility,target=atmosphere.visibility,converter=DOUBLE]
2015-10-26 14:10:38.889 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=visibility,target=atmosphere.visibility,converter=DOUBLE]
2015-10-26 14:10:38.892 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=atmosphere.visibility,target=atmosphere.visibility,converter=DOUBLE]
2015-10-26 14:10:38.895 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=visibilityKM,target=atmosphere.visibility,converter=DOUBLE]
2015-10-26 14:10:38.907 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.pressure_mb,target=atmosphere.pressure,converter=DOUBLE]
2015-10-26 14:10:38.910 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=pressure,target=atmosphere.pressure,converter=DOUBLE]
2015-10-26 14:10:38.911 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=pressure,target=atmosphere.pressure,converter=DOUBLE]
2015-10-26 14:10:38.913 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=pressure,target=atmosphere.pressure,converter=DOUBLE]
2015-10-26 14:10:38.914 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=atmosphere.pressure,target=atmosphere.pressure,converter=DOUBLE]
2015-10-26 14:10:38.915 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=pressureMB,target=atmosphere.pressure,converter=DOUBLE]
2015-10-26 14:10:38.917 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.pressure_trend,target=atmosphere.pressureTrend,converter=PRESSURE_TREND]
2015-10-26 14:10:38.919 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=ozone,target=atmosphere.ozone,converter=INTEGER]
2015-10-26 14:10:38.921 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.UV,target=atmosphere.uvIndex,converter=INTEGER]
2015-10-26 14:10:38.923 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=uvIndex,target=atmosphere.uvIndex,converter=INTEGER]
2015-10-26 14:10:38.926 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=clouds.all,target=clouds.percent,converter=INTEGER]
2015-10-26 14:10:38.928 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=clouds,target=clouds.percent,converter=INTEGER]
2015-10-26 14:10:38.930 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=cloudCover,target=clouds.percent,converter=FRACTION_INTEGER]
2015-10-26 14:10:38.932 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=cloudcover,target=clouds.percent,converter=INTEGER]
2015-10-26 14:10:38.934 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=sky,target=clouds.percent,converter=INTEGER]
2015-10-26 14:10:38.938 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.weather,target=condition.text,converter=STRING]
2015-10-26 14:10:38.940 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=conditions,target=condition.text,converter=STRING]
2015-10-26 14:10:38.941 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=weather.description,target=condition.text,converter=STRING]
2015-10-26 14:10:38.943 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=summary,target=condition.text,converter=STRING]
2015-10-26 14:10:38.944 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=weatherDesc.value,target=condition.text,converter=STRING]
2015-10-26 14:10:38.945 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=text,target=condition.text,converter=STRING]
2015-10-26 14:10:38.947 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=weather,target=condition.text,converter=STRING]
2015-10-26 14:10:38.952 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.observation_epoch,target=condition.observationTime,converter=UNIX_DATE]
2015-10-26 14:10:38.955 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=date.epoch,target=condition.observationTime,converter=UNIX_DATE]
2015-10-26 14:10:38.956 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=dt,target=condition.observationTime,converter=UNIX_DATE]
2015-10-26 14:10:38.958 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=time,target=condition.observationTime,converter=UNIX_DATE]
2015-10-26 14:10:38.959 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=localObsDateTime,target=condition.observationTime,converter=UTC_DATE]
2015-10-26 14:10:38.961 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=date,target=condition.observationTime,converter=DATE]
2015-10-26 14:10:38.962 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=lastBuildDate,target=condition.observationTime,converter=FULL_UTC_DATE]
2015-10-26 14:10:38.964 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=forecast.date,target=condition.observationTime,converter=SIMPLE_DATE]
2015-10-26 14:10:38.966 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=ob.timestamp,target=condition.observationTime,converter=UNIX_DATE]
2015-10-26 14:10:38.967 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=periods.timestamp,target=condition.observationTime,converter=UNIX_DATE]
2015-10-26 14:10:38.970 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=weather.id,target=condition.id,converter=STRING]
2015-10-26 14:10:38.971 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=code,target=condition.id,converter=STRING]
2015-10-26 14:10:38.973 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=weatherCode,target=condition.id,converter=STRING]
2015-10-26 14:10:38.975 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=weatherPrimaryCoded,target=condition.id,converter=MULTI_ID]
2015-10-26 14:10:38.978 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=icon,target=condition.icon,converter=STRING]
2015-10-26 14:10:38.979 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=icon,target=condition.icon,converter=STRING]
2015-10-26 14:10:38.981 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.icon,target=condition.icon,converter=STRING]
2015-10-26 14:10:38.983 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=simpleforecast.forecastday.icon,target=condition.icon,converter=STRING]
2015-10-26 14:10:38.984 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=icon,target=condition.icon,converter=STRING]
2015-10-26 14:10:38.988 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=precipIntensity,target=precipitation.rain,converter=DOUBLE]
2015-10-26 14:10:38.990 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.precip_1hr_metric,target=precipitation.rain,converter=DOUBLE]
2015-10-26 14:10:38.992 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=qpf_allday.mm,target=precipitation.rain,converter=DOUBLE]
2015-10-26 14:10:38.994 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=rain.3h,target=precipitation.rain,converter=DOUBLE_3H]
2015-10-26 14:10:38.995 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=rain,target=precipitation.rain,converter=DOUBLE_3H]
2015-10-26 14:10:38.997 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=rain.1h,target=precipitation.rain,converter=DOUBLE]
2015-10-26 14:10:38.998 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=precipMM,target=precipitation.rain,converter=DOUBLE]
2015-10-26 14:10:39.000 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=precipMM,target=precipitation.rain,converter=DOUBLE]
2015-10-26 14:10:39.003 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=snow_allday.cm,target=precipitation.snow,converter=DOUBLE]
2015-10-26 14:10:39.004 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=snow.3h,target=precipitation.snow,converter=DOUBLE_3H]
2015-10-26 14:10:39.006 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=snowDepthCM,target=precipitation.snow,converter=DOUBLE]
2015-10-26 14:10:39.009 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=precipType,target=precipitation.type,converter=STRING]
2015-10-26 14:10:39.013 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=precipProbability,target=precipitation.probability,converter=FRACTION_INTEGER]
2015-10-26 14:10:39.015 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=pop,target=precipitation.probability,converter=INTEGER]
2015-10-26 14:10:39.021 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.temp_c,target=temperature.current,converter=DOUBLE]
2015-10-26 14:10:39.022 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=main.temp,target=temperature.current,converter=DOUBLE]
2015-10-26 14:10:39.024 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=temp.day,target=temperature.current,converter=DOUBLE]
2015-10-26 14:10:39.026 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=currently.temperature,target=temperature.current,converter=DOUBLE]
2015-10-26 14:10:39.028 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=temp_C,target=temperature.current,converter=DOUBLE]
2015-10-26 14:10:39.029 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=condition.temp,target=temperature.current,converter=DOUBLE]
2015-10-26 14:10:39.031 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=tempC,target=temperature.current,converter=DOUBLE]
2015-10-26 14:10:39.035 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=low.celsius,target=temperature.min,converter=DOUBLE]
2015-10-26 14:10:39.036 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=main.temp_min,target=temperature.min,converter=DOUBLE]
2015-10-26 14:10:39.038 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=temp.min,target=temperature.min,converter=DOUBLE]
2015-10-26 14:10:39.040 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=temperatureMin,target=temperature.min,converter=DOUBLE]
2015-10-26 14:10:39.042 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=tempMinC,target=temperature.min,converter=DOUBLE]
2015-10-26 14:10:39.043 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=forecast.low,target=temperature.min,converter=DOUBLE]
2015-10-26 14:10:39.045 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=minTempC,target=temperature.min,converter=DOUBLE]
2015-10-26 14:10:39.050 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=high.celsius,target=temperature.max,converter=DOUBLE]
2015-10-26 14:10:39.052 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=main.temp_max,target=temperature.max,converter=DOUBLE]
2015-10-26 14:10:39.054 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=temp.max,target=temperature.max,converter=DOUBLE]
2015-10-26 14:10:39.056 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=temperatureMax,target=temperature.max,converter=DOUBLE]
2015-10-26 14:10:39.058 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=tempMaxC,target=temperature.max,converter=DOUBLE]
2015-10-26 14:10:39.060 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=forecast.high,target=temperature.max,converter=DOUBLE]
2015-10-26 14:10:39.062 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=maxTempC,target=temperature.max,converter=DOUBLE]
2015-10-26 14:10:39.066 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.feelslike_c,target=temperature.feel,converter=DOUBLE]
2015-10-26 14:10:39.069 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=feelslikeC,target=temperature.feel,converter=DOUBLE]
2015-10-26 14:10:39.073 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.dewpoint_c,target=temperature.dewpoint,converter=DOUBLE]
2015-10-26 14:10:39.075 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=dewPoint,target=temperature.dewpoint,converter=DOUBLE]
2015-10-26 14:10:39.076 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=dewpointC,target=temperature.dewpoint,converter=DOUBLE]
2015-10-26 14:10:39.078 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=DewPointC,target=temperature.dewpoint,converter=DOUBLE]
2015-10-26 14:10:39.082 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.wind_kph,target=wind.speed,converter=DOUBLE]
2015-10-26 14:10:39.084 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=avewind.kph,target=wind.speed,converter=DOUBLE]
2015-10-26 14:10:39.085 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=speed,target=wind.speed,converter=DOUBLE]
2015-10-26 14:10:39.087 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=windSpeed,target=wind.speed,converter=WIND_MPS]
2015-10-26 14:10:39.089 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=windspeedKmph,target=wind.speed,converter=DOUBLE]
2015-10-26 14:10:39.090 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=wind.speed,target=wind.speed,converter=DOUBLE]
2015-10-26 14:10:39.092 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=windSpeedKPH,target=wind.speed,converter=DOUBLE]
2015-10-26 14:10:39.094 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=winddir16Point,target=wind.direction,converter=STRING]
2015-10-26 14:10:39.097 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.wind_degrees,target=wind.degree,converter=INTEGER]
2015-10-26 14:10:39.099 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=avewind.degrees,target=wind.degree,converter=INTEGER]
2015-10-26 14:10:39.100 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=deg,target=wind.degree,converter=INTEGER]
2015-10-26 14:10:39.102 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=windBearing,target=wind.degree,converter=INTEGER]
2015-10-26 14:10:39.103 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=winddirDegree,target=wind.degree,converter=INTEGER]
2015-10-26 14:10:39.104 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=wind.direction,target=wind.degree,converter=INTEGER]
2015-10-26 14:10:39.106 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=windDirDEG,target=wind.degree,converter=INTEGER]
2015-10-26 14:10:39.109 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.wind_gust_kph,target=wind.gust,converter=DOUBLE]
2015-10-26 14:10:39.111 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=wind.gust,target=wind.gust,converter=DOUBLE]
2015-10-26 14:10:39.113 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=windGustKPH,target=wind.gust,converter=DOUBLE]
2015-10-26 14:10:39.118 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=wind.chill,target=wind.chill,converter=DOUBLE]
2015-10-26 14:10:39.120 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=windchill_c,target=wind.chill,converter=DOUBLE]
2015-10-26 14:10:39.121 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=windchillC,target=wind.chill,converter=DOUBLE]
2015-10-26 14:10:39.124 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.observation_location.full,target=station.name,converter=STRING]
2015-10-26 14:10:39.126 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=place.name,target=station.name,converter=STRING]
2015-10-26 14:10:39.129 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.station_id,target=station.id,converter=STRING]
2015-10-26 14:10:39.131 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=response.id,target=station.id,converter=STRING]
2015-10-26 14:10:39.134 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.observation_location.latitude,target=station.latitude,converter=DOUBLE]
2015-10-26 14:10:39.135 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=loc.lat,target=station.latitude,converter=DOUBLE]
2015-10-26 14:10:39.139 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=current_observation.observation_location.longitude,target=station.longitude,converter=DOUBLE]
2015-10-26 14:10:39.144 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=loc.long,target=station.longitude,converter=DOUBLE]
2015-10-26 14:10:39.156 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping HAMWEATHER: ProviderMappingInfo[source=error.description,target=weather.error,converter=STRING]
2015-10-26 14:10:39.158 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping FORECASTIO: ProviderMappingInfo[source=error,target=weather.error,converter=STRING]
2015-10-26 14:10:39.164 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=message,target=weather.error,converter=STRING]
2015-10-26 14:10:39.166 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WORLDWEATHERONLINE: ProviderMappingInfo[source=data.error.msg,target=weather.error,converter=STRING]
2015-10-26 14:10:39.168 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping WUNDERGROUND: ProviderMappingInfo[source=response.error.type,target=weather.error,converter=STRING]
2015-10-26 14:10:39.170 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping YAHOO: ProviderMappingInfo[source=error.description,target=weather.error,converter=STRING]
2015-10-26 14:10:39.172 [TRACE] [b.w.i.metadata.MetadataHandler] - Added provider mapping OPENWEATHERMAP: ProviderMappingInfo[source=cod,target=weather.responseCode,converter=INTEGER]
2015-10-26 14:10:39.190 [TRACE] [b.w.i.metadata.MetadataHandler] - Added forecast mapping OPENWEATHERMAP: list
2015-10-26 14:10:39.192 [TRACE] [b.w.i.metadata.MetadataHandler] - Added forecast mapping WUNDERGROUND: forecast.simpleforecast.forecastday
2015-10-26 14:10:39.193 [TRACE] [b.w.i.metadata.MetadataHandler] - Added forecast mapping FORECASTIO: daily.data
2015-10-26 14:10:39.194 [TRACE] [b.w.i.metadata.MetadataHandler] - Added forecast mapping WORLDWEATHERONLINE: data.weather
2015-10-26 14:10:39.195 [TRACE] [b.w.i.metadata.MetadataHandler] - Added forecast mapping YAHOO: query.results.channel.item.forecast
2015-10-26 14:10:39.196 [TRACE] [b.w.i.metadata.MetadataHandler] - Added forecast mapping HAMWEATHER: response.responses.response.periods
2015-10-26 14:10:39.379 [DEBUG] [.w.internal.gfx.WeatherServlet] - Starting up weather servlet at /weather
2015-10-26 14:10:39.526 [INFO ] [.service.AbstractActiveService] - NTP Refresh Service has been started
2015-10-26 14:15:01.717 [INFO ] [penhab.io.rest.RESTApplication] - Stopped REST API
2015-10-26 14:15:05.749 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Stopped Classic UI

BTW - not sure why all the other weather services are listed in the TRACE level debug. Here is my full weather portion of the config file with Wunderground commented out:

################################### Weather Binding ###################################
#
# The apikey for the different weather providers, at least one must be specified
# Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2
#weather:apikey.ForecastIo=
#weather:apikey.OpenWeatherMap=
#weather:apikey.WorldWeatherOnline=
#weather:apikey.Wunderground=3af100fd8e9xxxxx
#weather:apikey.Hamweather=
#weather:apikey2.Hamweather=

# location configuration, you can specify multiple locations
weather:location.home.latitude=27.754869
weather:location.home.longitude=-82.720787
weather:location.provider=Yahoo
weather:location.language=en
weather:location.home.updateInterval=10

#weather:location.home1.latitude=27.xxxxx9
#weather:location.home1.longitude=-82.xxxxx7
#weather:location.home1.provider=Wunderground
#weather:location.home1.language=en
#weather:location.home1.updateInterval=10

One other BTW - I redownloaded all the addons directly from the openhab.org and replaced the weather addon just in case that debian download issue was affecting the setup. There is still no action.weathern file

Iā€™ve no idea what could be wrong. So when in doubt I usually try a reinstall. You probably found an old set of instructions for installing openHAB. Since you are on Linux I recommend using the apt-get installation method described here to install both openHAB and the bindings.

1 Like

Posted wrong config - this one with Home changed to home in nme=

################################### Weather Binding ###################################
#
# The apikey for the different weather providers, at least one must be specified
# Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2
#weather:apikey.ForecastIo=
#weather:apikey.OpenWeatherMap=
#weather:apikey.WorldWeatherOnline=
#weather:apikey.Wunderground=3af100fd8e9xxxxx
#weather:apikey.Hamweather=
#weather:apikey2.Hamweather=

# location configuration, you can specify multiple locations
weather.location.home.name=home
weather:location.home.latitude=27.xxxxx9
weather:location.home.longitude=-82.xxxxx7
weather:location.provider=Yahoo
weather:location.language=en
weather:location.home.updateInterval=10

#weather.location.home.name=home
#weather:location.home1.latitude=27.754869
#weather:location.home1.longitude=-82.720787
#weather:location.home1.provider=Wunderground
#weather:location.home1.language=en
#weather:location.home1.updateInterval=10

No.

Your problem is really strange ā€¦

You need to have a log entry like this (in my case wunderground):

2015-10-26 19:47:45.731 [INFO ] [.o.b.w.i.s.WeatherJobScheduler] - Starting and scheduling weatherJob-home_wgr with interval of 30 minutes

Good luck.

Yes - I know thatā€™s what I need to see, just donā€™t know why it is not showing up.

As another step, I launched openhab using start_debug.sh to see more details. There are a couple warnings (I googled them but do not yet have the expertise to understand the comments about them.) Would they be related to this problem

Log

17:06:50.604 [DEBUG] [.s.internal.SchedulerActivator:36   ] - Scheduler has been started.
17:06:50.849 [INFO ] [uartz.impl.StdSchedulerFactory:1175 ] - Using default implementation for ThreadExecutor
17:06:50.975 [INFO ] [rtz.core.SchedulerSignalerImpl:61   ] - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
17:06:50.978 [INFO ] [rg.quartz.core.QuartzScheduler:243  ] - Quartz Scheduler v.2.1.7 created.
17:06:50.986 [INFO ] [org.quartz.simpl.RAMJobStore  :154  ] - RAMJobStore initialized.
17:06:50.994 [INFO ] [rg.quartz.core.QuartzScheduler:268  ] - Scheduler meta-data: Quartz Scheduler (v2.1.7) 'openHAB-job-scheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 2 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

17:06:50.996 [INFO ] [uartz.impl.StdSchedulerFactory:1324 ] - Quartz scheduler 'openHAB-job-scheduler' initialized from specified file: './etc/quartz.properties'
17:06:50.998 [INFO ] [uartz.impl.StdSchedulerFactory:1328 ] - Quartz scheduler version: 2.1.7
17:06:51.001 [INFO ] [rg.quartz.core.QuartzScheduler:534  ] - Scheduler openHAB-job-scheduler_$_NON_CLUSTERED started.
17:06:51.025 [DEBUG] [o.config.core.ConfigDispatcher:146  ] - Processing openHAB default configuration file '/opt/openhab/configurations/openhab_default.cfg'.
17:06:51.327 [DEBUG] [o.config.core.ConfigDispatcher:168  ] - Processing openHAB main configuration file '/opt/openhab/configurations/openhab.cfg'.
17:06:51.496 [DEBUG] [.o.core.internal.CoreActivator:93   ] - UUID file already exists at '/opt/openhab/webapps/static/uuid' with content 'ad0c7f79-3990-48f4-a505-8b190bac6a42'
17:06:51.504 [DEBUG] [.o.core.internal.CoreActivator:115  ] - Created file '/opt/openhab/webapps/static/version' with content '1.7.1'
17:06:51.506 [INFO ] [.o.core.internal.CoreActivator:61   ] - openHAB runtime has been started (v1.7.1).
17:06:51.681 [DEBUG] [a.internal.AutoUpdateActivator:31   ] - AutoUpdate binding has been started.
17:06:56.480 [DEBUG] [.p.i.PersistenceModelActivator:23   ] - Registered 'persistence' configuration parser
17:06:56.585 [DEBUG] [.c.t.i.TransformationActivator:38   ] - Transformation Service has been started.
17:06:56.793 [DEBUG] [m.internal.MultimediaActivator:34   ] - Multimedia I/O bundle has been started.
17:06:56.908 [DEBUG] [.s.i.DiscoveryServiceActivator:27   ] - Discovery service has been started.
17:06:56.933 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl:93   ] - mDNS service has been started
17:06:57.021 [DEBUG] [.io.transport.mqtt.MqttService:123  ] - Starting MQTT Service...
17:06:57.742 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl:53   ] - Service Discovery initialization completed.
17:06:57.770 [INFO ] [.io.transport.mqtt.MqttService:108  ] - MQTT Service initialization completed.
17:06:57.775 [INFO ] [o.i.t.m.i.MqttBrokerConnection:114  ] - Starting MQTT broker connection 'mymosquitto'
17:06:57.841 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:294  ] - Creating new client for 'tcp://localhost:1883' using id 'root.1445893617829' and file store '/tmp/mymosquitto'
17:06:58.114 [DEBUG] [.i.internal.ItemModelActivator:24   ] - Registered 'item' configuration parser
17:06:58.609 [DEBUG] [o.o.c.i.items.ItemRegistryImpl:137  ] - Item provider 'GenericItemProvider' has been added.
17:07:02.009 [DEBUG] [.o.m.s.i.SitemapModelActivator:23   ] - Registered 'sitemap' configuration parser
17:07:02.446 [DEBUG] [io.rest.internal.RESTActivator:33   ] - REST API has been started.
17:07:02.752 [INFO ] [org.atmosphere.util.IOUtils   :370  ] - META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
17:07:02.999 [INFO ] [sphere.cpr.AtmosphereFramework:2601 ] - Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
17:07:03.004 [INFO ] [cpr.DefaultAnnotationProcessor:138  ] - AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
17:07:03.130 [WARN ] [cpr.DefaultAnnotationProcessor:178  ] - Unable to detect annotations. Application may fail to deploy.
17:07:03.326 [INFO ] [sphere.cpr.AtmosphereFramework:1891 ] - Auto detecting atmosphere handlers /WEB-INF/classes/
17:07:03.438 [INFO ] [sphere.cpr.AtmosphereFramework:639  ] - Installed AtmosphereHandler org.atmosphere.handler.ReflectorServletProcessor mapped to context-path /* and Broadcaster Class org.atmosphere.jersey.JerseyBroadcaster
17:07:03.440 [INFO ] [sphere.cpr.AtmosphereFramework:1945 ] - Auto detecting WebSocketHandler in /WEB-INF/classes/
17:07:03.448 [INFO ] [sphere.cpr.AtmosphereFramework:1602 ] - Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
17:07:03.673 [INFO ] [.a.h.ReflectorServletProcessor:103  ] - Installing Servlet com.sun.jersey.spi.container.servlet.ServletContainer
17:07:04.287 [INFO ] [c.s.j.s.i.a.WebApplicationImpl:815  ] - Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM'
17:07:04.300 [INFO ] [c.s.j.s.i.a.WebApplicationImpl:826  ] - Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
  class org.atmosphere.jersey.AtmosphereResourceConfigurator
17:07:05.167 [INFO ] [j.s.i.a.DeferredResourceConfig:101  ] - Instantiated the Application class org.openhab.io.rest.RESTApplication
17:07:05.748 [INFO ] [c.internal.ModelRepositoryImpl:80   ] - Loading model 'default.sitemap'
17:07:06.691 [INFO ] [c.internal.ModelRepositoryImpl:80   ] - Loading model 'default.items'
17:07:06.871 [DEBUG] [i.internal.GenericItemProvider:154  ] - Processing binding configs for items from model 'default.items'
17:07:06.895 [DEBUG] [i.internal.GenericItemProvider:133  ] - Read items from model 'default.items'
17:07:09.390 [INFO ] [sphere.cpr.AtmosphereFramework:2435 ] - AtmosphereInterceptor CORS Interceptor Support will always be executed first
17:07:09.392 [INFO ] [sphere.cpr.AtmosphereFramework:2404 ] - Installed AtmosphereInterceptor CORS Interceptor Support with priority FIRST_BEFORE_DEFAULT 
17:07:09.395 [INFO ] [sphere.cpr.AtmosphereFramework:2404 ] - Installed AtmosphereInterceptor Default Response's Headers Interceptor with priority AFTER_DEFAULT 
17:07:09.402 [INFO ] [sphere.cpr.AtmosphereFramework:2404 ] - Installed AtmosphereInterceptor Android Interceptor Support with priority AFTER_DEFAULT 
17:07:09.408 [INFO ] [sphere.cpr.AtmosphereFramework:2404 ] - Installed AtmosphereInterceptor SSE Interceptor Support with priority AFTER_DEFAULT 
17:07:09.412 [INFO ] [sphere.cpr.AtmosphereFramework:2404 ] - Installed AtmosphereInterceptor JSONP Interceptor Support with priority AFTER_DEFAULT 
17:07:09.420 [INFO ] [sphere.cpr.AtmosphereFramework:2404 ] - Installed AtmosphereInterceptor Atmosphere JavaScript Protocol with priority AFTER_DEFAULT 
17:07:09.424 [INFO ] [sphere.cpr.AtmosphereFramework:2404 ] - Installed AtmosphereInterceptor Browser disconnection detection with priority AFTER_DEFAULT 
17:07:09.447 [INFO ] [sphere.cpr.AtmosphereFramework:935  ] - Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
17:07:09.454 [WARN ] [sphere.cpr.AtmosphereFramework:941  ] - No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
17:07:09.456 [INFO ] [sphere.cpr.AtmosphereFramework:949  ] - Default Broadcaster Class: org.atmosphere.jersey.JerseyBroadcaster
17:07:09.459 [INFO ] [sphere.cpr.AtmosphereFramework:950  ] - Broadcaster Polling Wait Time 100
17:07:09.462 [INFO ] [sphere.cpr.AtmosphereFramework:951  ] - Shared ExecutorService supported: true
17:07:09.465 [INFO ] [sphere.cpr.AtmosphereFramework:958  ] - Messaging Thread Pool Size: 10
17:07:09.468 [INFO ] [sphere.cpr.AtmosphereFramework:968  ] - Async I/O Thread Pool Size: 10
17:07:09.470 [INFO ] [sphere.cpr.AtmosphereFramework:979  ] - Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
17:07:09.473 [INFO ] [sphere.cpr.AtmosphereFramework:980  ] - Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
17:07:09.482 [INFO ] [sphere.cpr.AtmosphereFramework:990  ] - Invoke AtmosphereInterceptor on WebSocket message true
17:07:09.485 [INFO ] [sphere.cpr.AtmosphereFramework:991  ] - HttpSession supported: false
17:07:09.487 [INFO ] [sphere.cpr.AtmosphereFramework:993  ] - Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
17:07:09.491 [INFO ] [sphere.cpr.AtmosphereFramework:994  ] - Atmosphere is using async support: org.atmosphere.container.JettyAsyncSupportWithWebSocket running under container: jetty/8.1.3.v20120522 with WebSocket enabled.
17:07:09.498 [INFO ] [sphere.cpr.AtmosphereFramework:996  ] - Atmosphere Framework 2.2.5 started.
17:07:09.501 [INFO ] [sphere.cpr.AtmosphereFramework:998  ] - 

    For Atmosphere Framework Commercial Support, visit 
    http://www.async-io.org/ or send an email to support@async-io.org

17:07:09.506 [INFO ] [penhab.io.rest.RESTApplication:144  ] - Started REST API at /rest
17:07:09.513 [DEBUG] [o.o.i.s.i.DiscoveryServiceImpl:66   ] - Registering new service _openhab-server._tcp.local. at port 8080
17:07:12.237 [DEBUG] [o.o.i.s.i.DiscoveryServiceImpl:66   ] - Registering new service _openhab-server-ssl._tcp.local. at port 8443
17:07:15.127 [INFO ] [.o.u.w.i.servlet.WebAppServlet:79   ] - Started Classic UI at /openhab.app
17:07:16.658 [DEBUG] [.r.internal.RuleModelActivator:42   ] - Registered 'rules' configuration parser
17:07:16.714 [DEBUG] [m.r.internal.engine.RuleEngine:77   ] - Started rule engine
17:07:20.561 [DEBUG] [.o.b.ntp.internal.NtpActivator:31   ] - NTP binding has been started.
17:07:20.605 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Date (Type=DateTimeItem, State=Uninitialized)' with 'NtpGenericBindingProvider' reader.
17:07:20.655 [INFO ] [.service.AbstractActiveService:169  ] - NTP Refresh Service has been started
17:07:20.690 [DEBUG] [o.o.b.w.i.bus.WeatherActivator:32   ] - Weather binding has been started.
17:07:20.737 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Condition_Id (Type=StringItem, State=Uninitialized)' with 'WeatherGenericBindingProvider' reader.
17:07:20.875 [DEBUG] [.WeatherGenericBindingProvider:57   ] - Adding item Condition_Id with WeatherBindingConfig[locationId=home,type=condition,property=id]
17:07:20.877 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Weather_Temperature (Type=NumberItem, State=Uninitialized)' with 'WeatherGenericBindingProvider' reader.
17:07:20.883 [DEBUG] [.WeatherGenericBindingProvider:57   ] - Adding item Weather_Temperature with WeatherBindingConfig[locationId=home,type=temperature,property=current,roundingMode=HALF_UP,scale=2,unit=FAHRENHEIT]
17:07:20.885 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Weather_Humidity (Type=NumberItem, State=Uninitialized)' with 'WeatherGenericBindingProvider' reader.
17:07:20.889 [DEBUG] [.WeatherGenericBindingProvider:57   ] - Adding item Weather_Humidity with WeatherBindingConfig[locationId=home,type=atmosphere,property=humidity,roundingMode=HALF_UP,scale=2]
17:07:21.218 [DEBUG] [.w.internal.gfx.WeatherServlet:72   ] - Starting up weather servlet at /weather
17:07:21.228 [DEBUG] [.b.mqtt.internal.MqttActivator:34   ] - MQTT binding has been started.
17:07:21.291 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Node01Temperature (Type=NumberItem, State=Uninitialized)' with 'MqttGenericBindingProvider' reader.
17:07:21.309 [DEBUG] [b.mqtt.internal.MqttItemConfig:71   ] - Loaded MQTT config for item 'Node01Temperature' : 1 subscribers, 0 publishers
17:07:21.312 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:476  ] - Starting message consumer for broker 'mymosquitto' on topic 'home/bedroom/temperature'
17:07:21.333 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Node01Humidity (Type=NumberItem, State=Uninitialized)' with 'MqttGenericBindingProvider' reader.
17:07:21.336 [DEBUG] [b.mqtt.internal.MqttItemConfig:71   ] - Loaded MQTT config for item 'Node01Humidity' : 1 subscribers, 0 publishers
17:07:21.346 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:476  ] - Starting message consumer for broker 'mymosquitto' on topic 'home/bedroom/humidity'
17:07:21.351 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Node01Light (Type=NumberItem, State=Uninitialized)' with 'MqttGenericBindingProvider' reader.
17:07:21.353 [DEBUG] [b.mqtt.internal.MqttItemConfig:71   ] - Loaded MQTT config for item 'Node01Light' : 1 subscribers, 0 publishers
17:07:21.355 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:476  ] - Starting message consumer for broker 'mymosquitto' on topic 'home/bedroom/light'
17:07:21.362 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Node01Motion (Type=NumberItem, State=Uninitialized)' with 'MqttGenericBindingProvider' reader.
17:07:21.364 [DEBUG] [b.mqtt.internal.MqttItemConfig:71   ] - Loaded MQTT config for item 'Node01Motion' : 1 subscribers, 0 publishers
17:07:21.366 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:476  ] - Starting message consumer for broker 'mymosquitto' on topic 'home/bedroom/motion'
17:07:21.411 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Node01Door (Type=NumberItem, State=Uninitialized)' with 'MqttGenericBindingProvider' reader.
17:07:21.414 [DEBUG] [b.mqtt.internal.MqttItemConfig:71   ] - Loaded MQTT config for item 'Node01Door' : 1 subscribers, 0 publishers
17:07:21.416 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:476  ] - Starting message consumer for broker 'mymosquitto' on topic 'home/bedroom/door'
17:07:21.421 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'LEDSwitch (Type=SwitchItem, State=Uninitialized)' with 'MqttGenericBindingProvider' reader.
17:07:21.429 [DEBUG] [b.mqtt.internal.MqttItemConfig:71   ] - Loaded MQTT config for item 'LEDSwitch' : 0 subscribers, 2 publishers
17:07:21.460 [DEBUG] [m.internal.MqttEventBusBinding:61   ] - MQTT: Activating event bus binding.
17:07:22.831 [INFO ] [sphere.cpr.AtmosphereFramework:1053 ] - Latest version of Atmosphere's JavaScript Client 2.2.12
17:07:22.832 [INFO ] [sphere.cpr.AtmosphereFramework:1060 ] - 

    Atmosphere Framework Updates:
    Minor Update available (bugs fixes): 2.2.8
17:07:30.850 [DEBUG] [inding.ntp.internal.NtpBinding:83   ] - Got time from 0.us.pool.ntp.org: Monday, October 26, 2015 5:07:30 PM EDT

Thanks Rich. I may have to do the reinstall.

Trying to ā€œpiece-mealā€ it like I have been not only is frustrating but can also lead to changes on changes that overlap and cause conflicting statements. I have a couple other ideas to try based on more reading but will update this post when I get a solution.

Appreciate you inputs.

Thanks to Rich I was able to get weather working.

Two issues -

First, per Richā€™s recommendation above, I did a full OpenHAB re-install using the apt-get approach vs the zip file install. The the zip install was masking the real issue, that being config lines:

weather:location.provider=Yahoo
weather:location.language=en

should have been:

weather:location.home.provider=Yahoo
weather:location.home.language=en

Thanks Rich!

1 Like

Great information in this thread, I am pretty much there now with my configuration, the only thing missing is the sunset, sunrise and twilight items.

Any tips?

Look at the Astro binding.

Perfect thanks, sunrise and sunset now working.

Only the persistence left to get working now, I have the rrd4j in my addons but think I am missing the persistence configuration.

See the wiki for how to configure persistence. With rrd4j make sure to use an every minute strategy or else your charts and history queries will not work.

All working now, thanks for the help :smile:

@rlkoshak Just in case anyone else runs into this there is a extra ] after the 2nd aqua in the sitemap for the Todayā€™s Min

Text item=Weather_Temp_Min valuecolor=[>77=ā€œorangeā€,>60=ā€œgreenā€,>40=ā€œaqua]ā€,<=40=ā€œblueā€]

Also you have minimum 4 times in the items file but I donā€™t think that is shown anywhere. I think it should be min max and min max.

Thanks for this great example. Took me awhile but I think its working. Now to convert it to WUnderground.

One more thing. how do you get the top level weather icon? I see it in your screenshot but not in the example code?

Edit: Fixed the missing icons. I guess I thought download zip was enough. Also couldnā€™t do the download/convert using sudo. Had to do it in my user folder and then copy over.