Hello guys and girls,
i want to make a lamp that incorporates 4 leds for mixing a desired colortemperature.
- 6500k
- 1800k
- amber (580nm)
- red (660nm)
this would make it possible to get the whole range of color temperatures (1000k->6500k) with high CRI.
But i don’t know how to program that.
I did already generate a lookup table that includes the needed power levels for each led for a given color temperature.
I think i need a custom light component that reads the table and sets the outputs accordingly.
However i don’t know how to use the provided software pwm (esp8266) with a custom light component.
Does anyone have a idea how to realize my idea?
I could also use 4x monochromatic lights+dummy light and make a automation in HA that reads the dummy light and sets the 4 monochromatic lights to a desired value, but this seems like a bad solution.
thanks