You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there someone around who can give me a hint regarding the color-feature? I'm using a FHEM-server behind my ha-bridge, which controls my Milights. That server expects HEX encoded values for RGB.
Are there any chances to not only have ${color.r} ${color.g} ${color.b} (0-255 format)
but also ${color.rgb} (HEX format)?
I'm looking forward your answers.
Best
Nils
The text was updated successfully, but these errors were encountered:
@peos3 Well you're right, using a bash-script which calculates the HEX representation and executes the Rest-Call would be a solution, but quite unpleasant to maintain.
@bwssytems Of course! Here you go: RGB: 66, 134, 244 (light blue) would be HEX: 4286f4
I think this could be easily mapped by something like String.format("%02x%02x%02x", r, g, b);
Hey guys,
is there someone around who can give me a hint regarding the color-feature? I'm using a FHEM-server behind my ha-bridge, which controls my Milights. That server expects HEX encoded values for RGB.
Are there any chances to not only have
${color.r} ${color.g} ${color.b}
(0-255 format)but also
${color.rgb}
(HEX format)?I'm looking forward your answers.
Best
Nils
The text was updated successfully, but these errors were encountered: