Making the light warmer or cooler
You may have noticed the relative control action for temperature colour is not in the usual kelvin but mired. We’ll see why it’s better in a moment but if you don’t know where to start, try this:
- Warmer: Step temperature mireds: 30
- Cooler: Step temperature mireds: -30 (yes, minus!)
That would be 12 steps from 2100 K (1.000.000 / 2100 = 476 mired) to 6500 K (153 mired), a typical range in smart bulbs. If you want less steps, aim for a number between 30 and 60.
Why mired?
- It’s better for steps since it’s a visually linear unit and allows for better control. A 30 mired step always feels like the same visual change, a 300 K step feels huge in warmer temperatures but not so much in cooler temperatures.
- It’s the native Matter unit and allows the driver to remain stateless and be more reliable since it doesn’t rely on the SmartThings history. Unlike an absolute temperature, a relative step cannot be converted without knowing the current temperature. A 30 mired step may be just 100 K from a warm temperature but 700 K from a cool temperature.
