dresden-elektronik / deconz-rest-plugin

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

Group of lights without hue #4067

Open Kristian8606 opened 3 years ago

Kristian8606 commented 3 years ago

Describe the question or issue you are having

When I display all Deconz groups for the Homebridge-Hue plugin, all groups are displayed with the HUE characteristic, ie lights that have only a color temperature are also displayed with a color wheel. Еeven lights that are only dimmable are displayed as colored, how can I fix this problem? Or an adjustment is needed on your part.

Screenshots

No

Environment

deCONZ Logs

No

Additional context

ebaauw commented 3 years ago

This is a well-known, long outstanding bug. See #415, #342. Don't know why the bloody bot closed 415.

A /groups resource should only expose action attributes for which at least one member /lights resource has a corresponding state attribute. So a group of Dimmable Light devices should not expose xy, ct, hue, sat, nor effect. The Hue bridge API works like this.

This should also work for open, lift, and tilt for Window Covering devices, so the group can send Open, Close, Go to Lift Percentage, and Go to Tilt Percentage (but see also #3881, they should be sent to all devices, not just to Receiver on When Idle devices). For Warning Devices, we probably need a different attribute for alert, so the group can know when to send Identify vs Start Warning.

I don't know what the state on door locks is, but if they're exposed as /lights (which would be valid if and only if they support Groups), they would need a different state attribute (lock?) so the group can send the Lock Door and Unlock Door commands.

stale[bot] commented 3 years ago

As there hasn't 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.

ebaauw commented 3 years ago

This is still an issue