esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
420 stars 26 forks source link

TCS34725 RGB Color Sensor to RGB output to control RGB leds. #849

Open cromulus opened 4 years ago

cromulus commented 4 years ago

Describe the problem you have/What new integration you would like I'd like to be able to use the output of this color sensor: TCS34725 RGB to change the color of an RGB Led strip. Currently, the output of percentages is not tremendously valuable. I know I can pre-process the output, however, it would be nice not to have to do that pre-processing.

Please describe your use case for this integration and alternatives you've tried: I've tried to implement a filter that converts the output of the TCS34725 RGB Color Sensor to RGB, but it's been tough going to do so in yaml.

Additional context

I've always wanted lights that match the illuminance of my windows, especially during sunrise and sunset.

Thanks!

andreashergert1984 commented 3 years ago

can you provide the calculation you want to do?

swifty99 commented 2 years ago

just as a sidenote: I tried to calibrate the color of LED lights with this sensor. The results were near bitperfect, however the visible colors ugly at best. Wavelength of sensors and LEDs probably do not match. So handle with care.