WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

LIDL Livarno Lux Lights - Color Temperature not working #282

Closed frankduiker closed 3 years ago

frankduiker commented 3 years ago

I have a few color temperature lights. Brand=LIDL Livarno Lux, Model=HG06492A controlled by the Webthings Gateway on a RaspberryPI 3B+ and a Conbee II . The color temperature of the light cannot be controlled by the webthings application. The other properties of the light (On/Off and Level Control) work fine.

If I run the deCONZ app everything work fine. The light are recognized as Color Temperature Lights and can be modified as expected. lidl_light_color_control

lidl_light_phoscon_app

This is part of my the nodes configuration file (zb-00212effff06c503.json); "588e81fffee0f50f": { "addr64": "588e81fffee0f50f", "addr16": "e591", "activeEndpoints": { "1": { "profileId": "0104", "deviceId": "010c", "deviceVersion": 1, "inputClusters": [ "0000", "0003", "0004", "0005", "0006", "0008", "0300", "1000" ], "outputClusters": [ "0019", "000a" ], "classifierAttributesPopulated": true }, "242": { "profileId": "a1e0", "deviceId": "0061", "deviceVersion": 0, "inputClusters": [], "outputClusters": [ "0021" ], "classifierAttributesPopulated": true } }, "properties": { "level": { "name": "level", "value": 54.4, "visible": true, "title": "Brightness", "type": "number", "@type": "BrightnessProperty", "unit": "percent", "minimum": 0, "maximum": 100, "multipleOf": 0.1, "links": [], "profileId": 260, "endpoint": 1, "clusterId": 8, "attr": "currentLevel", "attrId": 0, "fireAndForget": false, "bindNeeded": false, "configReportNeeded": false, "initialReadNeeded": false, "level": 138 }, "on": { "name": "on", "value": true, "visible": true, "title": "On/Off", "type": "boolean", "@type": "OnOffProperty", "links": [], "profileId": 260, "endpoint": 1, "clusterId": 6, "attr": "onOff", "attrId": 0, "fireAndForget": false, "bindNeeded": false, "configReportNeeded": false, "initialReadNeeded": false } }, "name": "zb-588e81fffee0f50f-light", "type": "light", "@type": [ "Light", "OnOffSwitch" ], "defaultName": "zb-588e81fffee0f50f-light", "extendedTimeout": true, "activeEndpointsPopulated": true, "nodeInfoEndpointsPopulated": true, "colorMode": 2, "modelId": "TS0502A", "powerSource": 1, "rxOnWhenIdle": 1 },

frankduiker commented 3 years ago

It seems that ColorTemperature is implemented for ZLL devices, but not for ZHA devices. Changes are needed in zb-classifier.js and zb-constants.js

frankduiker commented 3 years ago

I have the solution, but I am not a collaborator on this project. Can somebody tell me how to get invited to this project ?

chas-iot commented 3 years ago

If the solution is one or two lines of code, just post here and we can create a PR. If it is more complex, or you would prefer to keep attribution, then: