OSRAM Lightify Openhab2 Binding

Please try the version at http://www.eris-associates.co.uk/downloads/lightify/. This will also be the current version soon once Marketplace catches up.

As well as RGB (non-W) lights this also adds effects. You’ll need to delete existing things and re-add them to get the effects channel to appear. Documentation is in the README that is shown when you click/tap the entry in the binding Addons list in PaperUI. There’s also an example of how to create your own customizations in the downloads directory above if you want to waste a few hours (although you may have to also read the source code!)

Thanks very much! I have installed the version, but unfortunately the RGB Device is still not discovered. Only the RGBW Device is discovered

Fixed it (I think). I’d missed changing an RGBW to an RGB in my
copy and pasting. Try again.

Mike

Great! :slight_smile: Works like a charm!

Thanks very much! WAF of my installation is increased by 100% now! :wink:

Only thing (issue) I see right now, is that the RGW Device has no associated effect channel.

Oliver

It does now. I’d cut 'n pasted the RGB thing before I merged the
old effects stuff and completely forgot it would need the channel
adding.

Mike

Is the a kind of heartbeat to the gateway?
I had the problem that it showed as online but commands didn’t reach the gateway.
I had to restart the binding to get it working again.

I’m seeing this too. I have two different failure scenarios that are fixed different ways…

  1. about once every 4 days I have to restart the binding and things go back to working
  2. about once every 2 weeks, i have to reboot the gateway then restart the binding a few times

It seems there are at least a handful of others experiencing the 1st issue. I don’t think the dev has come back with any insights on it either.

I’ve not seen these problems myself. Does anything get logged? Could you try turning logging up to DEBUG when you have a problem and see if that shows anything?

I installed the binding and the gateway comes up immediately however the status remains as below. Any thoughts on what I could have done wrong? I am using binding v2.4.0 and lightify gateway v1.5.1.0.

Status: UNINITIALIZED - HANDLER_INITIALIZING_ERROR

Log File:

2019-12-24 22:57:51.389 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing 'osramlightify:allpaired:f8b644b9': null
java.lang.NullPointerException: null
	at org.openhab.binding.osramlightify.internal.util.IEEEAddress.<init>(IEEEAddress.java:55) ~[?:?]
	at org.openhab.binding.osramlightify.handler.LightifyDeviceHandler.initialize(LightifyDeviceHandler.java:118) ~[?:?]
	at org.openhab.binding.osramlightify.handler.LightifyGroupHandler.initialize(LightifyGroupHandler.java:43) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:152) [bundleFile:?]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:834) [?:?]

I am also having this issue, have you been able to resolve it?

Hello,
I have the problem every several hours the binding stops working. On habpanel or basicui it looks right. I switch the light on und the changed in habpanel to on but the bulb will not go on. I think that it is since update to openhab 2.5.8. Stopping the lightify gateway thing and restart repairs the mistake for some hours. Here is the trace of the moment when the binding stops:

2020-09-12 04:16:04.082 [TRACE] [mlightify.internal.LightifyConnector] - RX: 2F020313BF380000000B00594ABB96A800AA3EB07C0A01020510020000005B8E0AFFFFFFFF5363686C61667A696D6D65720000000000000000000000005E0753EB000000261884020102050900000001648E0A010000FF45696E67616E670000000000000000004900000001000000909B4CF60B0000261884020102051002000000018E0A010000FF5363687265696274697363680000000000000000000000008BE7A9370D0000261884100102051102000001648C0A010000FF537465636B646F73652031000000000000000000000000001191EFF90E0000261884100102051102000000648C0A010000FF537465636B646F73652032000000000000000000000000005B9717870D0000261884100102051102000000648C0A010000FF537465636B646F7365203300000000000000000000000000003FEAA0B100AA3EB07C100102051102000000648C0A010000FF537465636B646F7365203500000000000000000000000000218ADEC2B100AA3EB07C100102051102000000008C0A010000FF537465636B646F736520340000000000000000000000000094845B79090AAA3EB07C100102051102000000648C0A010000FF537465636B646F73652036000000000000000000000000008D084A5F090AAA3EB07C100102051102000001648C0A010000FF537465636B646F7365203700000000000000000000000000C7CE6C5C070AAA3EB07C0A0102051002000000648E0AFFFFFFFF537465686C616D7065206C6573656E000000000000000000

2020-09-12 04:16:04.082 [TRACE] [ightify.internal.LightifyDeviceState] - 84:18:26:00:00:00:EB:53: waiting device type=2 reachable=0 time since seen=365mins joining=1 power=true temperature=2702 luminance=100
2020-09-12 04:16:14.084 [TRACE] [mlightify.internal.LightifyConnector] - TX: Packet type = GROUPCAST, Command = LIST_GROUPS, Seq number = 14528
2020-09-12 04:16:14.085 [TRACE] [mlightify.internal.LightifyConnector] - TX: 0700021EC038000001
2020-09-12 05:37:23.413 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-00-B1-A0-EA:switch, Command: OnOffType OFF
2020-09-12 05:37:23.414 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-79-5B:switch, Command: OnOffType OFF
2020-09-12 05:37:23.415 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-00-B1-A0-EA:switch: set power: OFF
2020-09-12 05:37:23.415 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-79-5B:switch: set power: OFF
2020-09-12 06:00:00.032 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-5F-4A:switch, Command: OnOffType OFF
2020-09-12 06:00:00.033 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-5F-4A:switch: set power: OFF
2020-09-12 06:00:00.055 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-00-B1-A0-EA:switch, Command: OnOffType ON
2020-09-12 06:00:00.056 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-00-B1-A0-EA:switch: set power: ON
2020-09-12 06:00:00.070 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-79-5B:switch, Command: OnOffType ON
2020-09-12 06:00:00.070 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-79-5B:switch: set power: ON
2020-09-12 06:22:35.525 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-00-B1-A0-EA:switch, Command: OnOffType ON
2020-09-12 06:22:35.526 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-00-B1-A0-EA:switch: set power: ON
2020-09-12 06:22:35.544 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-79-5B:switch, Command: OnOffType ON
2020-09-12 06:22:35.545 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-0A-09-79-5B:switch: set power: ON
2020-09-12 06:42:39.919 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:tunable:84-18-26-00-00-00-EB-53:dimmer, Command: OnOffType ON
2020-09-12 06:42:39.920 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:tunable:84-18-26-00-00-00-EB-53:dimmer: command ignored - thing is not online
2020-09-12 06:42:58.845 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:7C-B0-3E-AA-00-B1-A0-EA:switch, Command: OnOffType ON

2020-09-12 08:38:43.553 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:power:84-18-26-00-00-0E-F9-EF:switch: set power: OFF
2020-09-12 08:44:26.670 [DEBUG] [ghtify.handler.LightifyBridgeHandler] - Interrupt Lightify connector
2020-09-12 08:44:26.671 [TRACE] [mlightify.internal.LightifyConnector] - interrupt received
2020-09-12 08:44:29.548 [DEBUG] [mlightify.internal.LightifyConnector] - Close
2020-09-12 08:44:29.549 [DEBUG] [mlightify.internal.LightifyConnector] - Lightify connector stopped
2020-09-12 08:44:36.762 [DEBUG] [mlightify.internal.LightifyConnector] - Lightify connector started
2020-09-12 08:44:36.763 [DEBUG] [mlightify.internal.LightifyConnector] - Connecting to Lightify gateway…
2020-09-12 08:44:36.790 [DEBUG] [mlightify.internal.LightifyConnector] - Connecting to Lightify gateway using configured address 192.168.1.79:4000
2020-09-12 08:44:36.801 [DEBUG] [mlightify.internal.LightifyConnector] - Connected
2020-09-12 08:44:36.802 [TRACE] [mlightify.internal.LightifyConnector] - TX: Packet type = GROUPCAST, Command = LIST_PAIRED_DEVICES, Seq number = 0
2020-09-12 08:44:36.803 [TRACE] [mlightify.internal.LightifyConnector] - TX: 070002130000000001
2020-09-12 08:44:36.804 [DEBUG] [ghtify.handler.LightifyDeviceHandler] - osramlightify:tunable:84-18-26-00-00-0B-F6-4C:dimmer, Command: RefreshType REFRESH
This is my first post here. My english ist from 1970, I hope you understand me. What may I do to correct the problem?

Hello specialists,
4 days without a brake, and now it happens again. In openhab log, the last entry was at 10 o`clock in the morning. The 16 o’clock entry gone.
’ 2020-09-16 10:17:23.264 [INFO ] [sages.LightifyGatewayFirmwareMessage] - osramlightify:gateway:017baf0a: firmware version = 1.7.0.0’

Here is my solution…
Caveats: Lightify service has been announced to be ceasing operations 2021/08/01
This is the number one reason for the below suggestion… abandon the Lightify Hub NOW while you still can… you may be unable to once they go offline.
I used https://www.amazon.com/gp/product/B01GJ826F8/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1 GoControl CECOMINOD016164 HUSBZB-1 USB Hub
It provides a Zigbee and ZWave hub combined.
Unpair your Osram/Sylvania Lightify bulbs and or switches from the lightify. Follow the instructions to pair the bulbs but instead of using the lightify app or hub, use the Zigbeee controller and Zigbee plugin to find the devices. Now configure your Things and Items in Open Hab as normal… Now you can disasemble the Lightify Hub as it is an electronic puck with no use.

I am gone to the hue binding with the conbee II stick. It will be a hardware problem of the old osram gateway.
Thank you for the answer,
Ralf