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

Каким-то образом связать Hue/Saturation/ColorTemperature в HomeKit'e с device.capability.color_setting в Yandex'е #1

Open
Mon4ik opened this issue Nov 28, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Mon4ik
Copy link
Owner

Mon4ik commented Nov 28, 2023

No description provided.

@Mon4ik Mon4ik self-assigned this Nov 28, 2023
@Mon4ik Mon4ik added the enhancement New feature or request label Nov 28, 2023
@Mon4ik
Copy link
Owner Author

Mon4ik commented Nov 28, 2023

Идея:

Разделить всё это на 3 разных адаптера:

  1. Адаптер для Hue+Saturation и яндексовского color_model: "hsv"/"rgb" (без temperatureK!!)
  2. Адаптер для ColorTemperature и яндексовского temperatureK (без color_model!!)
  3. Адаптер для Hue+Saturation и яндексовского color_model: "hsv"/"rgb" с temperatureK

В последнем адаптере надо будет определять с HomeKit'а "это в кельвинах или HSV/RGB?" и применять на Яндексе

@Mon4ik
Copy link
Owner Author

Mon4ik commented Dec 3, 2023

У hap-nodejs есть пример с похожей проблемой: https://github.com/homebridge/HAP-NodeJS/blob/latest/src/accessories/Light-AdaptiveLighting_accessory.ts

@pilprod
Copy link

pilprod commented Jan 13, 2024

Привет, братишка. Хорошая работа! Если закончишь с выбором температуры цвета вместе с яркостью, то я могу помочь с docker версией))

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