How to dim a light based on the dimming level of a Hue lamp

Hi Experts,

I would like to dim an Ikea light (connected via the Ikea Tradfri Gateway app) based on the dimming level of a Hue light (connected via the Hue app).

Something like: If Hue lamp X dimming level is 70%, then dim the Ikea ligt to 50%.

Any ideas how I get get this done?

There is no start that would evaluate the Hue lamp regarding the dimming level…..

Thanks for all your kind help!

i see a WHEN card with ‘ if dim level changed’. then use the AND card evaluating the dim variable, the THEN card to dim the ikea

1 Like

Create a number-variable ‘target dimlevel ikea’

WHEN
dimlevel hue changed
THEN
calculate ‘target dimlevel ikea’ as {{dimlevel hue - 20%}}

WHEN
‘target dimlevel ikea’ changed
THEN
dim ikea to ‘target dimlevel ikea’

1 Like

Thanks both, it kinda works…..

I did it like shown below, but I can’t calculate “target dim level” as {{dimlevel hue - 20%}}. I can only set it to dimlevel hue.

What am I missing? Thanks!

Calculate desired dimlevel ikea