As the topic says…
I have installed the binding … then editing /etc/openhab2/services/weather.cfg:
I have replaced “locationId1” with my hometowns name…
#apikey.ForecastIo=
apikey.OpenWeatherMap=xxx
#apikey.WorldWeatherOnline=
#apikey.Wunderground=
#apikey.Hamweather=
#apikey2.Hamweather=
#apikey.Meteoblue=
# location configuration, you can specify multiple locations
location.karlstad.name=Karlstad
location.karlstad.latitude=59.xxx
location.karlstad.longitude=13.xx
location.karlstad.provider=OpenWeatherMap
location.karlstad.language=en
location.karlstad.updateInterval=15
I see some result in my openhab.log:
2017-01-13 09:04:54.677 [INFO ] [eather.internal.common.WeatherConfig] - ProviderConfig[providerName=OPENWEATHERMAP,apiKey=xxx]
2017-01-13 09:04:54.683 [INFO ] [eather.internal.common.WeatherConfig] - LocationConfig[providerName=OPENWEATHERMAP,language=en,updateInterval=15,latitude=59.xxx,longitude=13.xxx,woeid=<null>,locationId=karlstad,name=Karlstad]
2017-01-13 09:04:54.687 [INFO ] [eather.internal.common.WeatherConfig] - LocationConfig[providerName=OPENWEATHERMAP,language=en,updateInterval=15,latitude=59.xxx,longitude=13.xxx,woeid=<null>,locationId=home,name=Karlstad]
2017-01-13 09:04:55.302 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-01-13 09:04:57.706 [INFO ] [ternal.scheduler.WeatherJobScheduler] - Disabling weather locationId 'karlstad', no binding available
2017-01-13 09:04:57.707 [INFO ] [ternal.scheduler.WeatherJobScheduler] - Disabling weather locationId 'home', no binding available
I have also made an .item:
Number Humidity "Humidity [%d %%]" {weather="locationId=karlstad, type=atmosphere, property=humidity"}
Number Pressure "Pressure [%.2f mb]" {weather="locationId=karlstad, type=atmosphere, property=pressure"}
DateTime ObservationTime0 "Observation time [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" {weather="locationId=karlstad, forecast=0, type=condition, property=observationTime"}
DateTime ObservationTime1 "Observation time [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" {weather="locationId=karlstad, forecast=1, type=condition, property=observationTime"}
DateTime ObservationTime2 "Observation time [%1$td.%1$tm.%1$tY %1$tH:%1$tM]" {weather="locationId=karlstad, forecast=2, type=condition, property=observationTime"}
Number Temp_Min0 "Temperature min [%.2f °C]" {weather="locationId=karlstad, forecast=0, type=temperature, property=min"}
Number Temp_Max0 "Temperature max [%.2f °C]" {weather="locationId=karlstad, forecast=0, type=temperature, property=max"}
Number Temp_Min1 "Temperature min [%.2f °C]" {weather="locationId=karlstad, forecast=1, type=temperature, property=min"}
Number Temp_Max1 "Temperature max [%.2f °C]" {weather="locationId=karlstad, forecast=1, type=temperature, property=max"}
Number Temp_Min2 "Temperature min [%.2f °C]" {weather="locationId=karlstad, forecast=2, type=temperature, property=min"}
Number Temp_Max2 "Temperature max [%.2f °C]" {weather="locationId=karlstad, forecast=2, type=temperature, property=max"}
String Condition0 "Condition [%s]" {weather="locationId=karlstad, forecast=0, type=condition, property=text"}
String Condition1 "Condition [%s]" {weather="locationId=karlstad, forecast=1, type=condition, property=text"}
String Condition2 "Condition [%s]" {weather="locationId=karlstad, forecast=2, type=condition, property=text"}
according to the logs nothing seems to happen except for the “Disabling weather locationId ‘karlstad’, no binding available”-line …
Help would be appreciated!