Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colormode is missing from group doc #86

Closed
donnib opened this issue Aug 4, 2017 · 4 comments
Closed

colormode is missing from group doc #86

donnib opened this issue Aug 4, 2017 · 4 comments

Comments

@donnib
Copy link

donnib commented Aug 4, 2017

Hi,
I can see that the REST API returns a colormode but i can't set it or there is no doc about this.

@ebaauw
Copy link
Collaborator

ebaauw commented Aug 4, 2017

colormode is read-only. It reflects how the light or group colour was last set: using ct, using hue and sat (hs) or using xy. Indeed it's missing from the documentation for /groups, but it's documented for /lights.

@donnib
Copy link
Author

donnib commented Aug 4, 2017

Yes i know but it's not shown for groups and also does it make sense ? Since i can use ct only. I don't know how this works when you have lights that support different colormode hmmm

@manup
Copy link
Member

manup commented Aug 4, 2017

In my opinion it doesn't make sense, since all lights in the group need to be of same type and all set to equally color (and color mode), which is rarely the case.

@manup
Copy link
Member

manup commented Aug 18, 2017

Closing this for now.
The lights state colormode is documented here: http://dresden-elektronik.github.io/deconz-rest-doc/lights/#getstate

As mentioned for groups colormode won't be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants