Bindings not using things discovery are not working?

I’m scratching my head on this one. I’ve got both the Nest & Weather bindings installed and both are exhibiting the same behavior.

Both bindings are installed via the Paper extension dashboard 2.0 B3.

Both bindings have valid nest.cfg & weather.cfg files in the conf/services folder

When launching weather I get the following then absolutely nothing…

11:02:38.779 [DEBUG] [         ] - BundleEvent INSTALLED -
11:02:38.863 [DEBUG] [         ] - BundleEvent RESOLVED -
11:02:38.896 [DEBUG] [         ] - BundleEvent STARTING -
11:02:38.928 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been started.
11:02:38.933 [DEBUG] [         ] - BundleEvent STARTED -
11:02:38.942 [DEBUG] [         ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader,}={,,, service.bundleid=211, service.scope=bundle} -
11:02:38.944 [DEBUG] [         ] - ServiceEvent REGISTERED - {, org.osgi.service.event.EventHandler}={event.topics=openhab/command/*,,,,, service.bundleid=211, service.scope=bundle} -
11:02:39.024 [DEBUG] [al.bus.WeatherGenericBindingProvider] - Adding item Weather_Temperature with WeatherBindingConfig[locationId=home,type=temperature,property=current,roundingMode=HALF_UP,scale=2,unit=FAHRENHEIT]
11:02:39.031 [DEBUG] [.weather.internal.gfx.WeatherServlet] - Starting up weather servlet at /weather
11:02:39.732 [DEBUG] [         ] - ServiceEvent REGISTERED - {javax.servlet.ServletContext}={, osgi.web.version=1.9.0.b3, osgi.web.contextpath=/,, service.bundleid=211, service.scope=singleton} -

When launching Nest, I get the following then nothing…

08:35:51.973 [DEBUG] [org.openhab.binding.nest            ] - BundleEvent STARTING - org.openhab.binding.nest
08:35:51.990 [DEBUG] [.binding.nest.internal.NestActivator] - Nest binding has been started. Version 1.9.0.b3
08:35:51.990 [DEBUG] [org.openhab.binding.nest            ] - BundleEvent STARTED - org.openhab.binding.nest
08:35:52.007 [DEBUG] [org.openhab.binding.nest            ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.nest.NestBindingProvider}={,,, service.bundleid=204, service.scope=bundle} - org.openhab.binding.nest
08:35:52.066 [DEBUG] [org.openhab.binding.nest            ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler,}={event.topics=openhab/*,,,,, service.bundleid=204, service.scope=bundle} - org.openhab.binding.nest

I did try pulling out the weather 2.0 binding and dropping in the 1.8x version. When launching that I get these errors

10:59:13.128 [ERROR] [         ] - [] bind method [addBindingProvider] not found; Component will fail
10:59:13.133 [ERROR] [         ] - [] bind method [addBindingProvider] not found
10:59:13.245 [ERROR] [         ] - [] unbind method [removeBindingProvider] not found; Component will fail
10:59:13.246 [ERROR] [         ] - [] unbind method [removeBindingProvider] not found
10:59:13.248 [ERROR] [         ] - [] bind method [addBindingProvider] not found

Any ideas?

I’m migrating to OpenHAB after playing with HomeSeer, Indigo, and Home Assistant. OpenHAB has everything I want, but this is the last thing I’m stuck on!

Didn’t mention it in the original post… but there are also items set up referencing these bindings. You can see mention of one in the weather log…


Number          Weather_Temperature     "Outside Temperature [%.0f] °F" <temperature>   { weather="locationId=home, type=temperature, property=current, unit=fahrenheit" }
Number   Nest_ambient_temperature_f "Ambient Temperature [%.1f °F]"	{nest="<[thermostats(LivingRoom).target_temperature_f]"}

Neither one shows anything other than “-” for values when including in a sitemap.

After several failed attempts… I finally figured this out. I guess I should have posted sooner :slight_smile:

Even though the configs for these bindings belong in nest.cfg and weather.cfg… an openhab.cfg is still required. The bindings look first to openhab.cfg then fail over to their own files. If there is no openhab.cfg then the bindings give up (without any error messages).

@Brady. I assume this is a bug. Can you open a new issue ?

I very much doubt this. openhab.cfg is definitely not required in OH2. Are you sure that you removed the “nest:” prefix of the config lines in the nest.cfg file as it is described here?