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] [org.openhab.binding.weather         ] - BundleEvent INSTALLED - org.openhab.binding.weather
11:02:38.863 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent RESOLVED - org.openhab.binding.weather
11:02:38.896 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTING - org.openhab.binding.weather
11:02:38.928 [DEBUG] [eather.internal.bus.WeatherActivator] - Weather binding has been started.
11:02:38.933 [DEBUG] [org.openhab.binding.weather         ] - BundleEvent STARTED - org.openhab.binding.weather
11:02:38.942 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.weather.WeatherBindingProvider}={component.name=org.openhab.binding.weather.genericbindingprovider, component.id=201, service.id=364, service.bundleid=211, service.scope=bundle} - org.openhab.binding.weather
11:02:38.944 [DEBUG] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService, org.osgi.service.event.EventHandler}={event.topics=openhab/command/*, service.pid=org.openhab.weather, component.name=org.openhab.binding.weather, component.id=200, service.id=365, service.bundleid=211, service.scope=bundle} - org.openhab.binding.weather
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] [org.openhab.binding.weather         ] - ServiceEvent REGISTERED - {javax.servlet.ServletContext}={osgi.web.symbolicname=org.openhab.binding.weather, osgi.web.version=1.9.0.b3, osgi.web.contextpath=/, service.id=367, service.bundleid=211, service.scope=singleton} - org.openhab.binding.weather

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}={component.name=org.openhab.binding.nest.genericbindingprovider, component.id=168, service.id=307, 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, org.osgi.service.cm.ManagedService}={event.topics=openhab/*, service.pid=org.openhab.nest, component.name=org.openhab.binding.nest.binding, component.id=167, service.id=309, 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] [org.openhab.binding.weather         ] - [org.openhab.binding.weather(194)] bind method [addBindingProvider] not found; Component will fail
10:59:13.133 [ERROR] [org.openhab.binding.weather         ] - [org.openhab.binding.weather(194)] bind method [addBindingProvider] not found
10:59:13.245 [ERROR] [org.openhab.binding.weather         ] - [org.openhab.binding.weather(194)] unbind method [removeBindingProvider] not found; Component will fail
10:59:13.246 [ERROR] [org.openhab.binding.weather         ] - [org.openhab.binding.weather(194)] unbind method [removeBindingProvider] not found
10:59:13.248 [ERROR] [org.openhab.binding.weather         ] - [org.openhab.binding.weather(194)] 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…

Examples…

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?