Withings Binding on Openhab2.1

Hello,
i try to install the org.openhab.binding.withings.1.11.0 Binding on my Stable Openhab v2.1.0.

At first i create an withings.cfg file under /etc/openhab2/services/ with following content

consumerKey=xxxx
consumerSecret=xxxx

Then I download the Binding to the Local AddOns Directory under /usr/share/openhab2/addons

2017-11-22 10:56:20.210 [DEBUG] [org.openhab.binding.withings        ] - BundleEvent INSTALLED - org.openhab.binding.withings
2017-11-22 10:56:20.328 [DEBUG] [org.openhab.binding.withings        ] - BundleEvent RESOLVED - org.openhab.binding.withings
2017-11-22 10:56:20.333 [DEBUG] [org.openhab.binding.withings        ] - BundleEvent STARTING - org.openhab.binding.withings
2017-11-22 10:56:20.334 [DEBUG] [org.openhab.binding.withings        ] - BundleEvent STARTED - org.openhab.binding.withings
2017-11-22 10:56:20.336 [DEBUG] [org.openhab.binding.withings        ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.withings.WithingsBindingProvider}={component.name=org.openhab.binding.withings.genericbindingprovider, component.id=258, service.id=402, service.bundleid=239, service.scope=bundle} - org.openhab.binding.withings
2017-11-22 10:56:20.362 [DEBUG] [org.openhab.binding.withings        ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService}={service.pid=org.openhab.withings, component.name=org.openhab.binding.withings.binding, component.id=259, service.id=403, service.bundleid=239, service.scope=bundle} - org.openhab.binding.withings
2017-11-22 10:56:20.365 [DEBUG] [org.openhab.binding.withings        ] - ServiceEvent REGISTERED - {org.osgi.service.cm.ManagedService}={service.pid=org.openhab.withings-oauth, osgi.command.function=[startAuthentication,finishAuthentication], component.name=org.openhab.binding.withings.authenticator, component.id=260, osgi.command.scope=withings, service.id=404, service.bundleid=239, service.scope=bundle} - org.openhab.binding.withings

According to the documentation i should now execute “withings:startAuthentication” on the OSGI Console.

openhab> withings:startAuthentication XXX
Command not found: withings:startAuthentication

what am I doing wrong ?

1 Like

Hi,
where did you find this binding? Any luck configuring it?

Cheers
Likonaus

Hi,

Thank for the description of the configuration process.
Can you tell how did you get consumerKey and consumerSecret values.

Best Regard