Hello,
I'm using the TCS3472 sketch developed by Dan Ogercheck.
I successfully have this sketch running with an icon on the Hubitat dashboard.
Questions:
It appears only the Illuminance Value is exposed and displayable on the Dashboard. Is there a means to expose and act on the RGB Values?
The TCS3472 devise has a bright white LED to detect / measure an object's color components. This white LED is on all the time. Is there a means to turn on/off this white LED with the 8266?
Truth be told, I believe that sketch may have been developed by the SmartThings user who helped to add support for the TCS34725 to ST_Anything/HubDuino years ago. I recall there was a user who wanted to monitor the color temperature of the outdoor light and then try to replicate that inside his house using RGBW smart bulbs.
I do not believe there is any native RGB tile for the Hubitat dashboard. You might be able to use custom Attribute tiles to display each of the RGB values.
Looking through the Adafruit Arduino Library for the TCS34725, I do not see any option to control the white LED.
With help from my neighbor, who is also a Hubitat enthusiast, I was able to expose the individual RGB values and display on the Dashboard. I modified the TCS3472 Groovy code on my system.
See image below (assuming it loads). I added lines 36 thru 40.