Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

IMPROVEMENT : ct should be also converted to xy #9

Closed
dercaptainbc opened this issue Oct 31, 2019 · 11 comments
Closed

IMPROVEMENT : ct should be also converted to xy #9

dercaptainbc opened this issue Oct 31, 2019 · 11 comments
Labels
enhancement New feature or request verify-fix Verify if the implemented fix has solved the issue

Comments

@dercaptainbc
Copy link

Because of ct values is not available for IKEA Tradfri Color Bulbs it should be possible to convert the ct values from group to xy value in case of ct is not there (like IKEA Tradfri Color Bulbs).

Its not a bug its more an improvement for the next versions of the adapter. I guess it would be very useful for groups with contains hue and ikea bulbs (like in my bathroom 😄 )

@Zefau Zefau added the enhancement New feature or request label Oct 31, 2019
@Zefau
Copy link
Collaborator

Zefau commented Oct 31, 2019

Sounds interesting. I will have a look at that.

@Zefau
Copy link
Collaborator

Zefau commented Oct 31, 2019

Please try and install v1.1.5 from Github and upload the adapter.

This adds an option to the adapter settings for the conversion of ct to xy.
The conversion itself probably needs some more adjusting. Please test and try this.

@Zefau Zefau added the verify-fix Verify if the implemented fix has solved the issue label Oct 31, 2019
@dercaptainbc
Copy link
Author

Very cool! So far I can say it works as expected for me.

@dercaptainbc
Copy link
Author

I've realized in my living room where only hue color lamps (Model : LCT0015) that here the adapter also set xy values instead of ct. Sorry but I need to reopen the issue. :-/

@dercaptainbc dercaptainbc reopened this Oct 31, 2019
@Zefau
Copy link
Collaborator

Zefau commented Oct 31, 2019

What value does the state manufacturername of that lamps hold?

@Zefau
Copy link
Collaborator

Zefau commented Oct 31, 2019

damn, just realized that groups don't have that, only lights. :(

@Zefau
Copy link
Collaborator

Zefau commented Oct 31, 2019

@dercaptainbc could you try this again with the current Github version?

If a group contains at least one non-Philips light, the adapter will use xy. If it's only Philips lights, it will use the provided commands, e.g. hue.

@dercaptainbc
Copy link
Author

For groups with only Philips lights the adapter still use XY and not ct

Quelle Zeit debug Meldung
hue-extended.0 2019-11-03 10:27:45.266 debug (7060) Successfully set /groups/8/action/xy on Schreibtisch (to 0.4198,0.3652).
hue-extended.0 2019-11-03 10:27:45.196 debug (7060) Attempt 1x - Send commands to Schreibtisch (groups/8/action): {"xy":[0.4198,0.3652]}.
hue-extended.0 2019-11-03 10:27:45.193 debug (7060) State of hue-extended.0.groups.008-schreibtisch.action._commands has changed {"val":"{"ct":250}","ack":false,"ts":1572773265188,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin

@Zefau
Copy link
Collaborator

Zefau commented Nov 3, 2019

Could you try the current version from Github once again? I think I finally fixed that one now. Thanks!

@Zefau
Copy link
Collaborator

Zefau commented Nov 5, 2019

@dercaptainbc Have you had the chance to verify this one? Thanks!

@dercaptainbc
Copy link
Author

Yes! For me it looks fine. CT values have been used for Groups with only Philips lamps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request verify-fix Verify if the implemented fix has solved the issue
Projects
None yet
Development

No branches or pull requests

2 participants