Change color temp of bulbs with rotation? #209
-
|
I am trying to adjust the color temp of my Hue bulbs with rotation but cannot get it working correctly. Is it possible? I may be interpreting how this plugin works but if I use "Kelvin", rotationAbsolute is only a number between 0 and 255 and rotationPercent is 0-100%, does it not work because Kelvin is a range of numbers that do not fit for these categories? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
With a bit of Math-Foo it works (for me with my hue lights):
You can validate all values and the outcome with custom labels: Bonus: |
Beta Was this translation helpful? Give feedback.
-
WOW! Thank you! Works great! That's way above my Math-Foo level... |
Beta Was this translation helpful? Give feedback.
-
|
Is it possible to create something similar for colours? Requires a bit more maths. I mucked around with it but couldn't get anything reliable |
Beta Was this translation helpful? Give feedback.


With a bit of Math-Foo it works (for me with my hue lights):
Service Data for "Turn On" Service:
min= Minimum color temp supported by bulbmax= Maximum color temp supported by bulbYou can validate all values and the outcome with custom labels:
Bonus:
You can create nice "bright cold to dim warm" effects, too: