I have been trying to get weather binding to work on my openhab2.4 installed on raspberry pi 3. I’ve configured to work on ForecastIO, however on my log, I get an error saying that Weatherbit not found.
Is also tried uninstalling and reinstalling weather binding. But the error still remains. Is there a mistake in my weather.cfg file?
2019-02-24 15:56:03.807 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler, id=336, bundle=261/mvn:org.openhab.binding/org.openhab.binding.weather/1.13.0]: Updating property weather of configuration org.openhab.weather caused a problem: Provider with name 'Weatherbit' not found. Check openhab.cfg.
org.osgi.service.cm.ConfigurationException: weather : Provider with name 'Weatherbit' not found. Check openhab.cfg.
at org.openhab.binding.weather.internal.common.WeatherConfig.getProviderName(WeatherConfig.java:218) ~[?:?]
at org.openhab.binding.weather.internal.common.WeatherConfig.parseApiKey(WeatherConfig.java:179) ~[?:?]
at org.openhab.binding.weather.internal.common.WeatherConfig.parse(WeatherConfig.java:88) ~[?:?]
at org.openhab.binding.weather.internal.bus.WeatherBinding.updated(WeatherBinding.java:82) ~[?:?]
# The apikey for the different weather providers, at least one must be specified
# Note: Hamweather requires two apikeys: client_id=apikey, client_secret=apikey2
# location configuration, you can specify multiple locations
#location.<locationId1>.woeid= (required for Yahoo provider)
#location.<locationId2>.latitude= (not required for Yahoo provider)
#location.<locationId2>.longitude= (not required for Yahoo provider)
#location.<locationId2>.woeid= (required for Yahoo provider)
Just checking, as making a change without stopping OH can create bigger issues. Also note that you shouldn’t need to make file changes in this location very often but when needed you must stop OH first. For completeness please edit the solution post to include stopping OH before making the change. Hopefully that will prevent someone from potentially making a mess of their OH.
I was going crazy trying to figure out why the weather binding was looking for Yahoo when I had removed the configuration months ago. I stopped OH, deleted the weather.config file and restarted and the new file got generated from my services/weather.cfg file.