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

Get RGB into HUE #518

Open
OberfragGER opened this issue Feb 6, 2023 · 7 comments
Open

Get RGB into HUE #518

OberfragGER opened this issue Feb 6, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@OberfragGER
Copy link

Hi,
there is a Tuya-Plugin for Homekit, but this works just a month an then u have to reenable the API.

To get all my lightbulbs e.g. into Homekit its necessary to have the RGB code as hue (and vice versa) . So it would be very nice to have an extra datapoint directly. Somehow im too stupid to build a proper blockly.

The formula is provide here.
https://stackoverflow.com/questions/23090019/fastest-formula-to-get-hue-from-rgb

@Apollon77
Copy link
Owner

How you exactly want to bring it "into Homekit"? Yahka Adapter or what?

@Apollon77 Apollon77 added the question Further information is requested label Feb 7, 2023
@OberfragGER
Copy link
Author

How you exactly want to bring it "into Homekit"? Yahka Adapter or what?

Yes. You have this characteristics for a light.
image

@Apollon77
Copy link
Owner

The question is if it not more a feature request for Yahka to automatically beeing able to convert a RGB state into Hue settings .....

@OberfragGER
Copy link
Author

The question is if it not more a feature request for Yahka to automatically beeing able to convert a RGB state into Hue settings .....

Sorry. It was mentioned to be a feature request (i choosed between bug and feature request).

@Apollon77
Copy link
Owner

All good, I understood it as feature request ... I just think if ithat one is right in this adapter or if not Yahka should support that becaude many other adapters also provide just RGB states. Adding to all of them that they also du hue<->RGB conversion feels not right ... but Yahka (if Homekit requires Hue) and easiely do that conversion logic in one place

@Apollon77 Apollon77 added the enhancement New feature or request label Feb 9, 2023
@OberfragGER
Copy link
Author

Okay. You are right. But this Hue is as far as i know part of the official homekit api. I dont think that someone will implement that in there. And i dont see many updates of yakha..

For me its fine if you choose to close this request and suggest to make a yakha-feature request.

@Apollon77
Copy link
Owner

Please open a feazrue request there too and link the two and we have both open. I think what you can do is to create own helper states for now ... I will clairify how to continue once I find time

@Apollon77 Apollon77 removed the question Further information is requested label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants