[OH2] Can't set color on bulbs from certain manufacturers

Hi,

I’ve ran into an issue lately.

With certain manufacturers, OpenHAB can not set the color or the white tone of a bulb, when the bulb is in the other mode.

This is not a problem limited to OpenHAB nor to a specific binding, because I see this problem both on the Hue binding and the Zigbee binding.

The problem dos not exist, when using the official Hue app on the Hue hub. Nor does it exist, when using the 3rd party “Hue essentials app” on Android. The “Hue Lights” app on iOS has the same issue though.

In this screenshot, the Hue and the Müller tint bulb are connected to the Hue hub.
The Lidl/Livarno/TuyaSmart and Ikea bulb are connected via a Bitron Zigbee USB stick and using the Zigbee binding.

On the Hue bulb (Hue hub), I can set the colors and white tones from OpenHAB, no problem.
On the Müller tint bulb (Hue hub), I can not set the colors. OpenHAB updates to the correct color, if I set the color in the android app (Hue or Hue essentials).
Now, here is the culprit:

  • if I set a color in the app, then I can set colors in OpenHAB, but can’t set white temperatures anymore
  • if I set a white temperature in the app, I can set white temperatures, but can’t set colors anymore

On the Lidl bulb (Zigbee binding), I can not set the colors.
On the Ikea bulb (Zigbee binding), I can set the colors no problem.
Obviously no options to set the lights using an app.

Essentially, it hints to me like a problem with, that certain bulbs have to be told first, what portion of the bulb you’re setting (WW or CSW), while others don’t care.

I created a bug on the issue, but it has gone unnoticed so far: [hue] [zigbee] openhab does not change color on a bulb or zone, if the bulb or zone is in white mode · Issue #10159 · openhab/openhab-addons · GitHub

Any ideas ?

It should be able to fix this, as the Hue Essentials app seems to have managed to work around the problem.

/M

Hi,
the issue with the Lidl bulb are also discussed here:

The Bulb did support xy color, which is not support from zigbee binding.

The ZigBee Binding does support XY mode of operation and this was tested on some bulbs a long time ago. If there is a problem, a log may help understand what it is.

I will have a look at looking into the logs.

It does seem to be a bug (or unwanted feature), as the “Hue Lights” app on iOS has the same problems, but the “Hue essentials” app on Android doesn’t.

/M

Besides, Chris, thanks for the work on the Zigbee binding.

It’s a bit of a pain, that you need specific firmware releases, but once you get the right USB dongle, it seems to work pretty sweet.

I had first bought one, that turned out only to work with zigbee2mqtt and I don’t have the flash tool. Got a Bitron Zigbee dongle today and apart from the hickup with the device ID, it worked flawless with the Zigbee binding.

Going to fiddle with the Lidl/Silvercrest switched powerstrips and Ikea smart blinds next.

/M

Hi Chris,
first off all, thanks for your good binding and sorry to guess XY is not support.

Hope follow Log help to analyze the issue.

Set OFF: Bulb switch off
set 16,16,16: Bulb switch on
set 64,64,64: Bulb brightness increase

2021-02-25 23:47:13.663 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> OFF [OnOffType]

2021-02-25 23:47:13.767 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=On/Off, id=0, name=On Off, dataType=BOOLEAN, lastValue=false, lastReportTime=Thu Feb 25 23:47:13 CET 2021, implemented=false]

2021-02-25 23:47:13.769 [DEBUG] [converter.ZigBeeBaseChannelConverter] - 842E14FFFE0FDF9E: Channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color updated to OFF

2021-02-25 23:47:13.770 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Updating ZigBee channel state zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color to OFF

2021-02-25 23:47:13.789 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker reset for handler with thingUID=zigbee:device:01380E32:842e14fffe0fdf9e

2021-02-25 23:47:13.790 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker cancelled task for thingUID=zigbee:device:01380E32:842e14fffe0fdf9e

2021-02-25 23:47:13.790 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker scheduled task for thingUID=zigbee:device:01380E32:842e14fffe0fdf9e in 14430 seconds



2021-02-25 23:47:24.407 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> 16,16,16 [HSBType]

2021-02-25 23:47:24.518 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=On/Off, id=0, name=On Off, dataType=BOOLEAN, lastValue=true, lastReportTime=Thu Feb 25 23:47:24 CET 2021, implemented=false]

2021-02-25 23:47:24.541 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=Level Control, id=0, name=Current Level, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=41, lastReportTime=Thu Feb 25 23:47:24 CET 2021, implemented=true]



2021-02-25 23:47:44.099 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> 64,64,64 [HSBType]

2021-02-25 23:47:44.200 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=Level Control, id=0, name=Current Level, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=163, lastReportTime=Thu Feb 25 23:47:44 CET 2021, implemented=true]



2021-02-25 23:48:00.050 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> OFF [OnOffType]

2021-02-25 23:48:00.149 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=On/Off, id=0, name=On Off, dataType=BOOLEAN, lastValue=false, lastReportTime=Thu Feb 25 23:48:00 CET 2021, implemented=false]

2021-02-25 23:48:00.151 [DEBUG] [converter.ZigBeeBaseChannelConverter] - 842E14FFFE0FDF9E: Channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color updated to OFF

2021-02-25 23:48:00.152 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Updating ZigBee channel state zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color to OFF

2021-02-25 23:48:00.178 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker reset for handler with thingUID=zigbee:device:01380E32:842e14fffe0fdf9e

2021-02-25 23:48:00.180 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker cancelled task for thingUID=zigbee:device:01380E32:842e14fffe0fdf9e

2021-02-25 23:48:00.180 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker scheduled task for thingUID=zigbee:device:01380E32:842e14fffe0fdf9e in 14430 seconds



2021-02-25 23:48:12.642 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> ON [OnOffType]

2021-02-25 23:48:12.743 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=On/Off, id=0, name=On Off, dataType=BOOLEAN, lastValue=true, lastReportTime=Thu Feb 25 23:48:12 CET 2021, implemented=false]

KR
Juergen

The log seems incomplete some how. It shows the command from OH, but doesn’t seem to show what OH is sending. It then shows the attribute updates.

Please can you enable logging of the ZigBee library as well - without this it’s really impossible to see what is happening. Please refer to the binding docs on how to enable logging for ZigBee.

Hi Chris,
I enabled LOG according documentation, hope it shows the right information now:

1.) send 16,16,16: bulb turned ON (white low brightness)
2.) send 64,64,64: bulb brightness increase (white)
3.) send OFF: bulb switched OFF

2021-02-26 10:57:19.644 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> 16,16,16 [HSBType]

2021-02-26 10:57:19.646 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=0, state=WAITING, sendCnt=0, command=MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=--, level=41, transitionTime=10]]

2021-02-26 10:57:19.649 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3

2021-02-26 10:57:19.650 [DEBUG] [transaction.ZigBeeTransactionManager] - 798F/1: Sending ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=5, state=WAITING, sendCnt=0, command=MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=58, level=41, transitionTime=10]]

2021-02-26 10:57:19.651 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerAdded: 1 outstanding

2021-02-26 10:57:19.652 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=58, level=41, transitionTime=10]

2021-02-26 10:57:19.653 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX ZCL: ZclHeader [frameType=CLUSTER_SPECIFIC_COMMAND, manufacturerSpecific=false, direction=CLIENT_TO_SERVER, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=88, commandId=4]

2021-02-26 10:57:19.654 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/1, destinationAddress=798F/1, profile=0104, cluster=0008, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=FD, rssi=--, lqi=--, payload=01 58 04 29 0A 00]

2021-02-26 10:57:19.758 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0008, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=BD, rssi=-64, lqi=FF, payload=08 58 0B 04 00]

2021-02-26 10:57:19.760 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=88, commandId=11]

2021-02-26 10:57:19.761 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: DefaultResponse [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=58, commandIdentifier=4, statusCode=SUCCESS]

2021-02-26 10:57:19.762 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: DefaultResponse [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=58, commandIdentifier=4, statusCode=SUCCESS] 

2021-02-26 10:57:19.765 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=0, state=WAITING, sendCnt=0, command=MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=--, hue=11, saturation=41, transitionTime=10]]

2021-02-26 10:57:19.765 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=119, state=COMPLETE, sendCnt=1, command=MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=58, level=41, transitionTime=10]]

2021-02-26 10:57:19.766 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=58 state=RX_ACK

2021-02-26 10:57:19.767 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=1, outstandingQueues=1, sleepy=0/3

2021-02-26 10:57:19.767 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 0 outstanding

2021-02-26 10:57:19.767 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=58, state=RX_ACK, outstanding=0

2021-02-26 10:57:19.768 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: transactionComplete, state=COMPLETE, outstanding=0

2021-02-26 10:57:19.769 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3

2021-02-26 10:57:19.771 [DEBUG] [transaction.ZigBeeTransactionManager] - 798F/1: Sending ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=5, state=WAITING, sendCnt=0, command=MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=59, hue=11, saturation=41, transitionTime=10]]

2021-02-26 10:57:19.772 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerAdded: 1 outstanding

2021-02-26 10:57:19.774 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=59, hue=11, saturation=41, transitionTime=10]

2021-02-26 10:57:19.775 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX ZCL: ZclHeader [frameType=CLUSTER_SPECIFIC_COMMAND, manufacturerSpecific=false, direction=CLIENT_TO_SERVER, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=89, commandId=6]

2021-02-26 10:57:19.776 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/1, destinationAddress=798F/1, profile=0104, cluster=0300, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=FE, rssi=--, lqi=--, payload=01 59 06 0B 29 0A 00]

2021-02-26 10:57:19.780 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0006, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=BE, rssi=-64, lqi=FF, payload=18 55 0A 00 00 10 01]

2021-02-26 10:57:19.781 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=true, manufacturerCode=0, sequenceNumber=85, commandId=10]

2021-02-26 10:57:19.782 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReportAttributesCommand [On/Off: 798F/1 -> 0000/1, cluster=0006, TID=55, reports=[AttributeReport [attributeDataType=BOOLEAN, attributeIdentifier=0, attributeValue=true]]]

2021-02-26 10:57:19.782 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: ReportAttributesCommand [On/Off: 798F/1 -> 0000/1, cluster=0006, TID=55, reports=[AttributeReport [attributeDataType=BOOLEAN, attributeIdentifier=0, attributeValue=true]]] 

2021-02-26 10:57:19.784 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=On/Off, id=0, name=On Off, dataType=BOOLEAN, lastValue=true, lastReportTime=Fri Feb 26 10:57:19 CET 2021, implemented=false]

2021-02-26 10:57:19.785 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0008, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=BF, rssi=-64, lqi=FF, payload=18 56 0A 00 00 20 29]

2021-02-26 10:57:19.786 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=true, manufacturerCode=0, sequenceNumber=86, commandId=10]

2021-02-26 10:57:19.787 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReportAttributesCommand [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=56, reports=[AttributeReport [attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=0, attributeValue=41]]]

2021-02-26 10:57:19.787 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: ReportAttributesCommand [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=56, reports=[AttributeReport [attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=0, attributeValue=41]]] 

2021-02-26 10:57:19.789 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=Level Control, id=0, name=Current Level, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=41, lastReportTime=Fri Feb 26 10:57:19 CET 2021, implemented=true]

2021-02-26 10:57:19.826 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0300, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=C0, rssi=-64, lqi=FF, payload=08 59 0B 06 00]

2021-02-26 10:57:19.828 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=89, commandId=11]

2021-02-26 10:57:19.829 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: DefaultResponse [Color Control: 798F/1 -> 0000/1, cluster=0300, TID=59, commandIdentifier=6, statusCode=SUCCESS]

2021-02-26 10:57:19.831 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: DefaultResponse [Color Control: 798F/1 -> 0000/1, cluster=0300, TID=59, commandIdentifier=6, statusCode=SUCCESS] 

2021-02-26 10:57:19.836 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=70, state=COMPLETE, sendCnt=1, command=MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=59, hue=11, saturation=41, transitionTime=10]]

2021-02-26 10:57:19.837 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=59 state=RX_ACK

2021-02-26 10:57:19.837 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 0 outstanding

2021-02-26 10:57:19.838 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=59, state=RX_ACK, outstanding=0

2021-02-26 10:57:19.838 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: transactionComplete, state=COMPLETE, outstanding=0

2021-02-26 10:57:19.839 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=0, sleepy=0/3

2021-02-26 10:57:36.598 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> 64,64,64 [HSBType]

2021-02-26 10:57:36.600 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=0, state=WAITING, sendCnt=0, command=MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=--, level=163, transitionTime=10]]

2021-02-26 10:57:36.600 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3

2021-02-26 10:57:36.601 [DEBUG] [transaction.ZigBeeTransactionManager] - 798F/1: Sending ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=2, state=WAITING, sendCnt=0, command=MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=5A, level=163, transitionTime=10]]

2021-02-26 10:57:36.602 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerAdded: 1 outstanding

2021-02-26 10:57:36.602 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=5A, level=163, transitionTime=10]

2021-02-26 10:57:36.603 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX ZCL: ZclHeader [frameType=CLUSTER_SPECIFIC_COMMAND, manufacturerSpecific=false, direction=CLIENT_TO_SERVER, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=90, commandId=4]

2021-02-26 10:57:36.604 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/1, destinationAddress=798F/1, profile=0104, cluster=0008, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=FF, rssi=--, lqi=--, payload=01 5A 04 A3 0A 00]

2021-02-26 10:57:36.679 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0008, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=C1, rssi=-64, lqi=FF, payload=08 5A 0B 04 00]

2021-02-26 10:57:36.680 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=90, commandId=11]

2021-02-26 10:57:36.682 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: DefaultResponse [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=5A, commandIdentifier=4, statusCode=SUCCESS]

2021-02-26 10:57:36.683 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: DefaultResponse [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=5A, commandIdentifier=4, statusCode=SUCCESS] 

2021-02-26 10:57:36.685 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=85, state=COMPLETE, sendCnt=1, command=MoveToLevelWithOnOffCommand [Level Control: 0000/0 -> 798F/1, cluster=0008, TID=5A, level=163, transitionTime=10]]

2021-02-26 10:57:36.685 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=1, state=WAITING, sendCnt=0, command=MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=--, hue=45, saturation=163, transitionTime=10]]

2021-02-26 10:57:36.685 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=5A state=RX_ACK

2021-02-26 10:57:36.686 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 0 outstanding

2021-02-26 10:57:36.686 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3

2021-02-26 10:57:36.687 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=5A, state=RX_ACK, outstanding=0

2021-02-26 10:57:36.688 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: transactionComplete, state=COMPLETE, outstanding=0

2021-02-26 10:57:36.689 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3

2021-02-26 10:57:36.691 [DEBUG] [transaction.ZigBeeTransactionManager] - 798F/1: Sending ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=6, state=WAITING, sendCnt=0, command=MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=5B, hue=45, saturation=163, transitionTime=10]]

2021-02-26 10:57:36.692 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerAdded: 1 outstanding

2021-02-26 10:57:36.694 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=5B, hue=45, saturation=163, transitionTime=10]

2021-02-26 10:57:36.695 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX ZCL: ZclHeader [frameType=CLUSTER_SPECIFIC_COMMAND, manufacturerSpecific=false, direction=CLIENT_TO_SERVER, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=91, commandId=6]

2021-02-26 10:57:36.697 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/1, destinationAddress=798F/1, profile=0104, cluster=0300, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=00, rssi=--, lqi=--, payload=01 5B 06 2D A3 0A 00]

2021-02-26 10:57:36.701 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0008, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=C2, rssi=-64, lqi=FF, payload=18 57 0A 00 00 20 A3]

2021-02-26 10:57:36.701 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=true, manufacturerCode=0, sequenceNumber=87, commandId=10]

2021-02-26 10:57:36.702 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReportAttributesCommand [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=57, reports=[AttributeReport [attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=0, attributeValue=163]]]

2021-02-26 10:57:36.704 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: ReportAttributesCommand [Level Control: 798F/1 -> 0000/1, cluster=0008, TID=57, reports=[AttributeReport [attributeDataType=UNSIGNED_8_BIT_INTEGER, attributeIdentifier=0, attributeValue=163]]] 

2021-02-26 10:57:36.706 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=Level Control, id=0, name=Current Level, dataType=UNSIGNED_8_BIT_INTEGER, lastValue=163, lastReportTime=Fri Feb 26 10:57:36 CET 2021, implemented=true]

2021-02-26 10:57:36.746 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0300, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=C3, rssi=-64, lqi=FF, payload=08 5B 0B 06 00]

2021-02-26 10:57:36.747 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=91, commandId=11]

2021-02-26 10:57:36.749 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: DefaultResponse [Color Control: 798F/1 -> 0000/1, cluster=0300, TID=5B, commandIdentifier=6, statusCode=SUCCESS]

2021-02-26 10:57:36.750 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: DefaultResponse [Color Control: 798F/1 -> 0000/1, cluster=0300, TID=5B, commandIdentifier=6, statusCode=SUCCESS] 

2021-02-26 10:57:36.752 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=67, state=COMPLETE, sendCnt=1, command=MoveToHueAndSaturationCommand [Color Control: 0000/0 -> 798F/1, cluster=0300, TID=5B, hue=45, saturation=163, transitionTime=10]]

2021-02-26 10:57:36.753 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 0 outstanding

2021-02-26 10:57:36.754 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=5B state=RX_ACK

2021-02-26 10:57:36.754 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: transactionComplete, state=COMPLETE, outstanding=0

2021-02-26 10:57:36.755 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=5B, state=RX_ACK, outstanding=0

2021-02-26 10:57:36.755 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=0, sleepy=0/3

2021-02-26 10:57:48.831 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Command for channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color --> OFF [OnOffType]

2021-02-26 10:57:48.833 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: Added transaction to queue, len=1, transaction=ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=0, state=WAITING, sendCnt=0, command=OffCommand [On/Off: 0000/0 -> 798F/1, cluster=0006, TID=--]]

2021-02-26 10:57:48.834 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=1, sleepy=0/3

2021-02-26 10:57:48.834 [DEBUG] [transaction.ZigBeeTransactionManager] - 798F/1: Sending ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=2, state=WAITING, sendCnt=0, command=OffCommand [On/Off: 0000/0 -> 798F/1, cluster=0006, TID=5C]]

2021-02-26 10:57:48.835 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerAdded: 1 outstanding

2021-02-26 10:57:48.836 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX CMD: OffCommand [On/Off: 0000/0 -> 798F/1, cluster=0006, TID=5C]

2021-02-26 10:57:48.837 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX ZCL: ZclHeader [frameType=CLUSTER_SPECIFIC_COMMAND, manufacturerSpecific=false, direction=CLIENT_TO_SERVER, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=92, commandId=0]

2021-02-26 10:57:48.837 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - TX APS: ZigBeeApsFrame [sourceAddress=0000/1, destinationAddress=798F/1, profile=0104, cluster=0006, addressMode=DEVICE, radius=8, apsSecurity=false, ackRequest=true, apsCounter=01, rssi=--, lqi=--, payload=01 5C 00]

2021-02-26 10:57:48.911 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0006, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=C4, rssi=-64, lqi=FF, payload=08 5C 0B 00 00]

2021-02-26 10:57:48.912 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=false, manufacturerCode=0, sequenceNumber=92, commandId=11]

2021-02-26 10:57:48.913 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: DefaultResponse [On/Off: 798F/1 -> 0000/1, cluster=0006, TID=5C, commandIdentifier=0, statusCode=SUCCESS]

2021-02-26 10:57:48.914 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: DefaultResponse [On/Off: 798F/1 -> 0000/1, cluster=0006, TID=5C, commandIdentifier=0, statusCode=SUCCESS] 

2021-02-26 10:57:48.916 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction complete: ZigBeeTransaction [ieeeAddress=842E14FFFE0FDF9E queueTime=83, state=COMPLETE, sendCnt=1, command=OffCommand [On/Off: 0000/0 -> 798F/1, cluster=0006, TID=5C]]

2021-02-26 10:57:48.916 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX STA: msgTag=5C state=RX_ACK

2021-02-26 10:57:48.917 [DEBUG] [transaction.ZigBeeTransactionManager] - transactionListenerRemoved: 0 outstanding

2021-02-26 10:57:48.917 [DEBUG] [e.transaction.ZigBeeTransactionQueue] - 842E14FFFE0FDF9E: transactionComplete, state=COMPLETE, outstanding=0

2021-02-26 10:57:48.917 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionProgress: TID=5C, state=RX_ACK, outstanding=0

2021-02-26 10:57:48.918 [DEBUG] [transaction.ZigBeeTransactionManager] - Transaction Manager: Send Next transaction. outstandingTransactions=0, outstandingQueues=0, sleepy=0/3

2021-02-26 10:57:48.933 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX APS: ZigBeeApsFrame [sourceAddress=798F/1, destinationAddress=0000/1, profile=0104, cluster=0006, addressMode=DEVICE, radius=0, apsSecurity=false, ackRequest=false, apsCounter=C5, rssi=-65, lqi=FF, payload=18 58 0A 00 00 10 00]

2021-02-26 10:57:48.934 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX ZCL: ZclHeader [frameType=ENTIRE_PROFILE_COMMAND, manufacturerSpecific=false, direction=SERVER_TO_CLIENT, disableDefaultResponse=true, manufacturerCode=0, sequenceNumber=88, commandId=10]

2021-02-26 10:57:48.936 [DEBUG] [tsystems.zigbee.ZigBeeNetworkManager] - RX CMD: ReportAttributesCommand [On/Off: 798F/1 -> 0000/1, cluster=0006, TID=58, reports=[AttributeReport [attributeDataType=BOOLEAN, attributeIdentifier=0, attributeValue=false]]]

2021-02-26 10:57:48.937 [DEBUG] [transaction.ZigBeeTransactionManager] - notifyTransactionCommand: ReportAttributesCommand [On/Off: 798F/1 -> 0000/1, cluster=0006, TID=58, reports=[AttributeReport [attributeDataType=BOOLEAN, attributeIdentifier=0, attributeValue=false]]] 

2021-02-26 10:57:48.938 [DEBUG] [.converter.ZigBeeConverterColorColor] - 842E14FFFE0FDF9E: ZigBee attribute reports ZclAttribute [cluster=On/Off, id=0, name=On Off, dataType=BOOLEAN, lastValue=false, lastReportTime=Fri Feb 26 10:57:48 CET 2021, implemented=false]

2021-02-26 10:57:48.939 [DEBUG] [converter.ZigBeeBaseChannelConverter] - 842E14FFFE0FDF9E: Channel zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color updated to OFF

2021-02-26 10:57:48.940 [DEBUG] [ng.zigbee.handler.ZigBeeThingHandler] - 842E14FFFE0FDF9E: Updating ZigBee channel state zigbee:device:01380E32:842e14fffe0fdf9e:842E14FFFE0FDF9E_1_color to OFF

2021-02-26 10:57:48.942 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker reset for handler with thingUID=zigbee:device:01380E32:842e14fffe0fdf9e

2021-02-26 10:57:48.943 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker cancelled task for thingUID=zigbee:device:01380E32:842e14fffe0fdf9e

2021-02-26 10:57:48.944 [DEBUG] [.zigbee.handler.ZigBeeIsAliveTracker] - IsAlive Tracker scheduled task for thingUID=zigbee:device:01380E32:842e14fffe0fdf9e in 14430 seconds

Thanks. It’s not really clear why this isn’t sending a color command. Can you please provide the XML file for this device - it will be in the userdata/zigbee/XXX folder where XXX is the name of the coordinator. The file will be named with the devices IEEE address.

Hi Chris,

thanks for analyze, follow the XML

842E14FFFE0FDF9E.xml (64.0 KB)

  • zigbee_manufacturercode 0x1002
  • modelId TS0505A
  • vendor _TZ3000_dbou1ap4

Looks like, also in zigbee2mqtt are some integration was required.

Kind regards
Juergen

Hi,

I got the same problem with a TS0505A device (Lidl Smart Home - Livarno Lux - LED-Stimmungsleuchte). The device was detected in org.openhab.binding.zigbee.internal.converter.ZigBeeConverterColorColor:discoverSupportedColorCommands as a ZclColorControlCluster.ATTR_CURRENTHUE and I got a log message

Device supports Hue/Saturation color set of commands

My device xml (842E14FFFE05D30C.xml) contains

            <entry>
              <int>0</int>
              <ZclAttribute>
                <id>0</id>
                <name>Current Hue</name>
                <dataType>UNSIGNED_8_BIT_INTEGER</dataType>
                <mandatory>false</mandatory>
                <implemented>true</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1617101410646</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">0</lastValue>
              </ZclAttribute>
            </entry>

and

            <entry>
              <int>3</int>
              <ZclAttribute>
                <id>3</id>
                <name>Current X</name>
                <dataType>UNSIGNED_16_BIT_INTEGER</dataType>
                <mandatory>true</mandatory>
                <implemented>true</implemented>
                <readable>true</readable>
                <writable>false</writable>
                <reportable>true</reportable>
                <minimumReportingPeriod>0</minimumReportingPeriod>
                <maximumReportingPeriod>0</maximumReportingPeriod>
                <reportingTimeout>0</reportingTimeout>
                <lastReportTime>
                  <time>1617106477055</time>
                  <timezone>Europe/Berlin</timezone>
                </lastReportTime>
                <lastValue class="int">22703</lastValue>
              </ZclAttribute>
            </entry>

so it seems that both modes are supported. But Hue/Saturation does not work with my device. So I changed the order of the else if blocks in org.openhab.binding.zigbee.internal.converter.ZigBeeConverterColorColor:discoverSupportedColorCommands on my local machine to:

            } else if (serverClusterColorControl.getSupportedAttributes()
                    .contains(ZclColorControlCluster.ATTR_CURRENTX)) {
                logger.debug("{}: Device supports XY color set of commands", endpoint.getIeeeAddress());
                supportsHue = false;
                delayedColorChange = true; // For now, only for XY lights till this is configurable
            } else if (serverClusterColorControl.getSupportedAttributes()
                    .contains(ZclColorControlCluster.ATTR_CURRENTHUE)) {
                logger.debug("{}: Device supports Hue/Saturation color set of commands", endpoint.getIeeeAddress());
                supportsHue = true;
            } 

and my device is discovered as:

Device supports XY color set of commands

And the color channel works finally. I don’t know if this is the correct solution for the problem, but the binding works now with LIDL, IKEA Tradfri and Tint RGB devices.

1 Like

Hi Juergen,
sounds resonable.

As I have no experiance with Java, I am not able to test your solution.
@chris would be perfect if you could check if this are the solution ?

Thanks and kind regards

It should work properly on these devices already. Certainly I have personally tested Ikea and Tint - I don’t have any LIDL devices to test against.

Yes, it worked with ikea and tint before my changes. Just wanted to say my changes didn’t break it. Maybe somebody could test it with other rgb devices :slight_smile:

I’m not really sure that this is an appropriate way to work around a bug with a device - it just moves the problem around.

Is this bug something that the manufacturer is looking to resolve through a firmware update?

The question is, if it is a bug or a problem in how the Zigbee and Hue Binding are addressing these bulbs.

Especially seeing, as it’s the same behavior with more than one manufacturer. I see this behavior both on the Tuya / Livarno / Lidl bulbs and with the Müller tint bulbs.

/M

For me, it is a bug with the device. The device seems to report that it supports both options (as I understand - I’ve not tested this myself as I don’t have one), but then doesn’t do anything if Hue commands are sent.

Are you sure these are different manufacturers?

I have tested these bulbs and do not see this problem.

Tuya / Livarno / Lidl is the same manufacturer. They are all Tuya bulbs.

As for Müller Tint, I’ve not tested them on the Zigbee binding, but on the Hue binding, they have the same behavior, as the Tuya bulbs.

I can try and test one of the Müller tint ones on the Zigbee binding this weekend just to confirm.

/M

Hi all,

I see the same bug with the hue binding and the TS0505A bulb. The problem seems to be that the hue binding by default uses HSB values, i.e., when the bulb is in color temperature mode and it should be set to a color, the binding sends a HSB value instead of a XY value (see [1] → when in CT mode, the ternary operator returns the HSB values).

In order to handle bulbs like the TS0505A correctly, the hue binding has to select the XY mode here.

Since this is a behavior which only occurs with few bulbs (apparently), I am wondering if we cannot simply handle those with a bit of special logic. There is actually a precedent in the code handling a specific OSRAM bulb [2]. There was also a vendor map in the code some time ago. So, what if we add an additional check based on the modelId in places like the HueLightHandler or the FullLight class to force selection of the XY mode? Would that be an acceptable handling of the buggy behavior of the bulb in the hue binding?

[1] openhab-addons/LightStateConverter.java at main · openhab/openhab-addons · GitHub
[2] openhab-addons/HueLightHandler.java at main · openhab/openhab-addons · GitHub

1 Like

If what I’ve read in this thread is correct, yes it seems like a bug with the devices.

However, I’m not sure I agree with the conclusion that we therefore should not add extra checks for compatibility, and instead just blame bad firmware. In the end OpenHAB is there to help us automate our homes and connect all our devices. Sure the manufacturer might be at fault, not following the standard etc. But what does not working around their crap help us, the users of OpenHAB? In the end OpenHAB is more powerful and will grow larger with support for more devices, workarounds or not.

It’s apparent that others such as the official Philips Hue app already have such extras in place OR they pass on pure luck.