Problems with OpenWeatherMap Daily Forecast

Hey there =)

I am facing an issue with the OpenWeatherMap Binding that @cweitkamp created:

Adding the Account works perfectly. However when I try to add the weather info thing in the paper UI I get a problem. I add the thing with the daily forecast variable set to 6 (as it is to automatically). The thing goes online, however the dailyforecasts get set to 0. As a consequence I dont get the channels for the daily forecasts. The hour forecast works just fine(:+1:).

When editing the thing in the paper UI and setting the variable to 6 this change gets applied, saved and doesn’t change back. However the thing goes UNKNOWN and stays there and doesn’t go ONLINE.

2019-01-11 14:20:15.146 [hingStatusInfoChangedEvent] - 'openweathermap:weather-and-forecast:e934b1f6' changed from UNINITIALIZED to INITIALIZING
2019-01-11 14:20:15.160 [hingStatusInfoChangedEvent] - 'openweathermap:weather-and-forecast:e934b1f6' changed from INITIALIZING to UNKNOWN
2019-01-11 14:20:15.521 [me.event.ThingUpdatedEvent] - Thing 'openweathermap:weather-and-forecast:e934b1f6' has been updated.
2019-01-11 14:20:30.502 [WARN ] [nWeatherMapWeatherAndForecastHandler] - @text/offline.conf-error-invalid-apikey
2019-01-11 14:20:30.682 [me.event.ThingUpdatedEvent] - Thing 'openweathermap:weather-and-forecast:e934b1f6' has been updated.
2019-01-11 14:20:31.130 [me.event.ThingUpdatedEvent] - Thing 'openweathermap:weather-and-forecast:e934b1f6' has been updated.
2019-01-11 14:20:31.292 [hingStatusInfoChangedEvent] - 'openweathermap:weather-and-forecast:e934b1f6' changed from UNKNOWN to ONLINE

me editing it

2019-01-11 14:20:48.252 [me.event.ThingUpdatedEvent] - Thing 'openweathermap:weather-and-forecast:e934b1f6' has been updated.
2019-01-11 14:20:48.273 [hingStatusInfoChangedEvent] - 'openweathermap:weather-and-forecast:e934b1f6' changed from ONLINE to UNKNOWN
2019-01-11 14:20:48.489 [me.event.ThingUpdatedEvent] - Thing 'openweathermap:weather-and-forecast:e934b1f6' has been updated.

then nothing happens.
Also I can’t change the daily forecast back. When I set it to 0, the setting gets saved, updated but the thing doesn’t come ONLINE anymore.

I am running OpenHAB 2.4 with the binding-openweathermap - 2.4.0 installed.

Do you have any ideas?


P.S. thanks @cweitkamp for this great binding!


Do you have a free apikey or a paid apikey?

I have a free apikey, and no daily forecast was available!

As you can read here: OpenWeatherMap

Attention : The daily forecast is only available for paid accounts

yup, sorry. I have a free apikey. Thanks!

1 Like