dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 503 forks source link

Lidl bulb TS0505A has lost colours #7644

Closed LeoeLeoeL closed 5 months ago

LeoeLeoeL commented 8 months ago

Does the issue really belong here?

Is there already an existing issue for this?

Describe the bug

It's impossible to set an RGB colour. Only "whites" are available.

Steps to reproduce the behavior

Move the sliders in Phoscon never show a colour. Same behaviour in Home Assistant.

Expected behavior

Set a colour

Screenshots

No response

Environment

deCONZ Logs

No response

Additional context

For info, the lamp has the same issue in Zigbee2MQTT (using a Sonoff ZB Dongle-P). The lamp works nomally if paired to a Hue bridge or Lidl bridge

github-actions[bot] commented 8 months ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

LeoeLeoeL commented 8 months ago

Is there anybody out there?

github-actions[bot] commented 7 months ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

LeoeLeoeL commented 7 months ago

I really would like to know if my mesh is the only one in the world that suffers this issue.

ebaauw commented 7 months ago

Is the light exposed by DDF or by legacy code? Please attach deCONZ GUI screenshots so the node, including endpoints and clusters, and of the Basic and Color Control cluster attributes, making sure to read these first.

LeoeLeoeL commented 7 months ago

Hi, nice to see you. Legacy code

image Basic image On/Off image Level Control image Color Control image These Livarno lights worked OK until 6 months ago (or something more)

ebaauw commented 7 months ago

What about the other attributes in Color Control? Notably Color Capabilities (0x400A).

And what does the API resource look like? In particular: does it expose state/xy?

LeoeLeoeL commented 7 months ago

Everything else I didn't show is greyed. { "capabilities": { "alerts": [ "none", "select", "lselect" ], "color": { "ct": { "max": 65279, "min": 0 }, "modes": [] } }, "colorcapabilities": 0, "config": { "groups": [ "0", "3" ] }, "ctmax": 65279, "ctmin": 0, "etag": "610fa80cab1ba813d2fb2abc71a3a9a4", "hascolor": true, "lastannounced": "2024-03-21T01:11:38Z", "lastseen": "2024-04-10T15:26Z", "manufacturername": "_TZ3000_dbou1ap4", "modelid": "TS0505A", "name": "Extended color light 7", "state": { "alert": "none", "bri": 255, "colormode": "xy", "ct": 189, "effect": "none", "hue": 0, "on": false, "reachable": true, "sat": 254, "xy": [ 0.3012, 0.1183 ] }, "swversion": null, "type": "Extended color light", "uniqueid": "84:2e:14:ff:fe:02:c0:3e-01" }

ebaauw commented 7 months ago

Ok, as I expected, the light doesn't expose Color Capabilities (colorcapabilities is 0). But the legacy code still exposes state/xy. Can you change the light's colour through the API (PUT to state of {"xy": [1.0, 0.0]} should turn the light red-ish)? Maybe this is a limitation of Phoscon?

Anyways, the best resolution probably is to create a proper DDF for the light, defaulting the colour capabilities.

LeoeLeoeL commented 7 months ago

Can you change the light's colour through the API (PUT to state of {"xy": [1.0, 0.0]} should turn the light red-ish)?

How can I do that?

ebaauw commented 7 months ago

Using any REST client, like Postman, or even curl.

LeoeLeoeL commented 7 months ago

At this time, I think, it's beyond my possibilities.

Mimiix commented 7 months ago

At this time, I think, it's beyond my possibilities.

You can find out how to do it here https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/

It's a very comprehensive guide

LeoeLeoeL commented 7 months ago

Tks, I shall try.

github-actions[bot] commented 6 months ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

LeoeLeoeL commented 6 months ago

Keeping alive

Mimiix commented 6 months ago

Keeping alive

Did you test the DDF yet?

LeoeLeoeL commented 6 months ago

Not yet. In this time I tried to create DDF for Vimar Covering devices but with non luck and 3 days to have one device working again.

github-actions[bot] commented 5 months ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

LeoeLeoeL commented 5 months ago

Up

github-actions[bot] commented 5 months ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

LeoeLeoeL commented 5 months ago

Strange no other people suffer this issue

Mimiix commented 5 months ago

Please test the DDF , otherwise I'm closing this.

LeoeLeoeL commented 5 months ago

I'm not able to generate the DDF. If you can provide I'll be glad to test it.

Mimiix commented 5 months ago

I'm not able to generate the DDF. If you can provide I'll be glad to test it.

It's explained properly here

https://dresden-elektronik.github.io/deconz-rest-doc/getting_started/

If you are not willing to follow or try at all, we are not able to get this resolved.

LeoeLeoeL commented 5 months ago

Taking in account this issue is an effect of a previous deconz update, I think dresden-elektronik should provide to fix the regression.

Mimiix commented 5 months ago

Taking in account this issue is an effect of a previous deconz update, I think dresden-elektronik should provide to fix the regression.

And for that, some details are needed from the device.

As your not willing to provide the requested information, im closing this issue.

If you or anyone provides the info after closing, im happy to reopen.

LeoeLeoeL commented 5 months ago

Nice way to solve problems. Instead asking me (I'm an user, not an expert), you should ask to the developers why these bulbs work OK in HUE, ZHA and Zigbee2MQTT and not in Deconz.

Mimiix commented 5 months ago

Nice way to solve problems. Instead asking me (I'm an user, not an expert), you should ask to the developers why these bulbs work OK in HUE, ZHA and Zigbee2MQTT and not in Deconz.

Because some user provided the required information :)

Also, a dev already answered here. It's because the bulb is not following zigbee.

LeoeLeoeL commented 5 months ago

if you like misteries, I have one just discovered. If I switch on the lamp using TOOGLE command in deconz I see the colour. If I switch on the lamp using ON command in deconz I see only white.

Regarding users that provide infos... I don't think HUE needs. Hue works perfectly with lamps always. And, even if the device is not 100% zigbee compliant, it's a fact it works badly only in deconz.

TimSoethout commented 1 month ago

It seems I have the same issue. I can however control color within the phoscon interface, but not in HA, there it only shows as an on/off switch. This used to work correctly before last deconz add-on upgrade.

This could be related to https://github.com/home-assistant/core/pull/76305 for ZHA. This too: https://forum.phoscon.de/t/lidl-led-stripe-color-does-not-work-anymore/3868