[SOLVED] Philips Hue binding issue

Hello everyone,

I spent my afternoon trying to pair Hue Bridge with Openhab, but no success and i don’t understand why…

So i have my jar in addons/org.openhab.binding.hue-1.8.1.jar

My conf in openhab.cfg :

hue:ip=192.168.1.50
hue:secret=pairingKeyForOpenHABSystem2
hue:refresh=10000

And my openhab.log after restart :

 2016-03-12 19:47:45.962 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.8.1).
2016-03-12 19:47:47.371 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2016-03-12 19:47:47.480 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2016-03-12 19:47:49.880 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2016-03-12 19:47:56.879 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.sitemap'
2016-03-12 19:47:57.164 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'logging.persist'
2016-03-12 19:47:57.193 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'exec.persist'
2016-03-12 19:47:57.207 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'db4o.persist'
2016-03-12 19:47:57.212 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2016-03-12 19:47:57.224 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'mysql.persist'
2016-03-12 19:47:57.305 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.script'
2016-03-12 19:47:57.423 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.items'
2016-03-12 19:47:57.789 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /classicui/openhab.app
2016-03-12 19:48:00.462 [WARN ] [.p.m.i.MysqlPersistenceService] - The SQL database URL is missing - please configure the sql:url parameter in openhab.cfg
2016-03-12 19:48:00.665 [INFO ] [.service.AbstractActiveService] - HTTP Refresh Service has been started
2016-03-12 19:48:07.572 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'demo.rules'

I have no trace of Hue, anyone have any idea why?

Thanks you.

Lets start with the basics. Can you ping the IP address of the hue from your OpenHAB server?

Hello,

Yeap i can ping the bridge.

Can you access the hue from the philips app and there switch on and off lights from there?

Yea that works from API and from android apps

Try this command on the openhab server

more /opt/openhab/logs/openhab.log | grep HueBinding

That’s assuming you’ve installed openhab in the folder /opt/openhab/

In 5 mins, i’m reinstalling a clean openhab with the wiki. Thanks u.

Solved after reinstalling Ubuntu VM + openhab.

Thx