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

How can I make a LED Light with Color Temperature (No RGB)? #107

Open
alisadeghy opened this issue Sep 26, 2021 · 5 comments
Open

How can I make a LED Light with Color Temperature (No RGB)? #107

alisadeghy opened this issue Sep 26, 2021 · 5 comments

Comments

@alisadeghy
Copy link

Hi, I want to make a LED light with color temperature control.
It's made using 2 sets of cool and warm LEDs, how can I implement that in accessory?
I don't want it to show RGB tab in Home app, just temperature tab.

Thanks

@Yurik72
Copy link
Owner

Yurik72 commented Sep 27, 2021

I think you means some kind of adaptive lighting,
Pleased have a look #95 , it seems wil answers to your question

@alisadeghy
Copy link
Author

No I didn't mean that. I mean bicolor lights which we only have control over color temperature.
It's usually made with 2 sets of cool and warm LEDs.

@a11009
Copy link

a11009 commented Jul 23, 2022

No I didn't mean that. I mean bicolor lights which we only have control over color temperature. It's usually made with 2 sets of cool and warm LEDs.

Did you solve it? I'm also working on a project of mixing color temperature between warm and cold lighting recently.

@a11009
Copy link

a11009 commented Jul 23, 2022

I think you means some kind of adaptive lighting, Pleased have a look #95 , it seems wil answers to your question

What he meant was adjusting the color temperature using only cool and warm lights, not using RGB. I also want to do something in this area, but I have not fully understood your project due to the level, I wonder if you can give me some pointers?

@bartosz-777
Copy link

It works in HomeSpan, I know what you mean,commonly called "cct" light, it uses "ColorTemperature" HomeKit characteristic instead of hsv, the value of it isn't in Kelvins, to convert divide 1,000,000 by it (K = 1000000/value)

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

4 participants